Sdílet prostřednictvím


MySqlRecommendationActionCollection Class

Definition

A class representing a collection of MySqlRecommendationActionResource and their operations. Each MySqlRecommendationActionResource in the collection will belong to the same instance of MySqlAdvisorResource. To get a MySqlRecommendationActionCollection instance call the GetMySqlRecommendationActions method from an instance of MySqlAdvisorResource.

public class MySqlRecommendationActionCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.MySql.MySqlRecommendationActionResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MySql.MySqlRecommendationActionResource>
type MySqlRecommendationActionCollection = class
    inherit ArmCollection
    interface seq<MySqlRecommendationActionResource>
    interface IEnumerable
    interface IAsyncEnumerable<MySqlRecommendationActionResource>
Public Class MySqlRecommendationActionCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of MySqlRecommendationActionResource), IEnumerable(Of MySqlRecommendationActionResource)
Inheritance
MySqlRecommendationActionCollection
Implements

Constructors

MySqlRecommendationActionCollection()

Initializes a new instance of the MySqlRecommendationActionCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}/recommendedActions/{recommendedActionName}
  • Operation Id: RecommendedActions_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlRecommendationActionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}/recommendedActions/{recommendedActionName}
  • Operation Id: RecommendedActions_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlRecommendationActionResource
Get(String, CancellationToken)

Retrieve recommended actions from the advisor.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}/recommendedActions/{recommendedActionName}
  • Operation Id: RecommendedActions_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlRecommendationActionResource
GetAll(String, CancellationToken)

Retrieve recommended actions from the advisor.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}/recommendedActions
  • Operation Id: RecommendedActions_ListByServer
  • Default Api Version: 2018-06-01
  • Resource: MySqlRecommendationActionResource
GetAllAsync(String, CancellationToken)

Retrieve recommended actions from the advisor.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}/recommendedActions
  • Operation Id: RecommendedActions_ListByServer
  • Default Api Version: 2018-06-01
  • Resource: MySqlRecommendationActionResource
GetAsync(String, CancellationToken)

Retrieve recommended actions from the advisor.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}/recommendedActions/{recommendedActionName}
  • Operation Id: RecommendedActions_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlRecommendationActionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}/recommendedActions/{recommendedActionName}
  • Operation Id: RecommendedActions_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlRecommendationActionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}/recommendedActions/{recommendedActionName}
  • Operation Id: RecommendedActions_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlRecommendationActionResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<MySqlRecommendationActionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MySqlRecommendationActionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to