Share via


MySqlConfigurationCollection Class

Definition

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

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

Constructors

MySqlConfigurationCollection()

Initializes a new instance of the MySqlConfigurationCollection 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

CreateOrUpdate(WaitUntil, String, MySqlConfigurationData, CancellationToken)

Updates a configuration of a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/configurations/{configurationName}
  • Operation Id: Configurations_CreateOrUpdate
  • Default Api Version: 2017-12-01
  • Resource: MySqlConfigurationResource
CreateOrUpdateAsync(WaitUntil, String, MySqlConfigurationData, CancellationToken)

Updates a configuration of a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/configurations/{configurationName}
  • Operation Id: Configurations_CreateOrUpdate
  • Default Api Version: 2017-12-01
  • Resource: MySqlConfigurationResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/configurations/{configurationName}
  • Operation Id: Configurations_Get
  • Default Api Version: 2017-12-01
  • Resource: MySqlConfigurationResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/configurations/{configurationName}
  • Operation Id: Configurations_Get
  • Default Api Version: 2017-12-01
  • Resource: MySqlConfigurationResource
Get(String, CancellationToken)

Gets information about a configuration of server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/configurations/{configurationName}
  • Operation Id: Configurations_Get
  • Default Api Version: 2017-12-01
  • Resource: MySqlConfigurationResource
GetAll(CancellationToken)

List all the configurations in a given server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/configurations
  • Operation Id: Configurations_ListByServer
  • Default Api Version: 2017-12-01
  • Resource: MySqlConfigurationResource
GetAllAsync(CancellationToken)

List all the configurations in a given server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/configurations
  • Operation Id: Configurations_ListByServer
  • Default Api Version: 2017-12-01
  • Resource: MySqlConfigurationResource
GetAsync(String, CancellationToken)

Gets information about a configuration of server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/configurations/{configurationName}
  • Operation Id: Configurations_Get
  • Default Api Version: 2017-12-01
  • Resource: MySqlConfigurationResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/configurations/{configurationName}
  • Operation Id: Configurations_Get
  • Default Api Version: 2017-12-01
  • Resource: MySqlConfigurationResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/configurations/{configurationName}
  • Operation Id: Configurations_Get
  • Default Api Version: 2017-12-01
  • Resource: MySqlConfigurationResource
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<MySqlConfigurationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MySqlConfigurationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to