MySqlAdvisorCollection Class

Definition

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

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

Constructors

MySqlAdvisorCollection()

Initializes a new instance of the MySqlAdvisorCollection 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}
  • Operation Id: Advisors_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlAdvisorResource
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}
  • Operation Id: Advisors_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlAdvisorResource
Get(String, CancellationToken)

Get a recommendation action advisor.

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

List recommendation action advisors.

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

List recommendation action advisors.

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

Get a recommendation action advisor.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}
  • Operation Id: Advisors_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlAdvisorResource
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}
  • Operation Id: Advisors_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlAdvisorResource
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}
  • Operation Id: Advisors_Get
  • Default Api Version: 2018-06-01
  • Resource: MySqlAdvisorResource
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<MySqlAdvisorResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MySqlAdvisorResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to