Condividi tramite


MySqlServerKeyCollection Class

Definition

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

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

Constructors

MySqlServerKeyCollection()

Initializes a new instance of the MySqlServerKeyCollection 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, MySqlServerKeyData, CancellationToken)

Creates or updates a MySQL Server key.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/keys/{keyName}
  • Operation Id: ServerKeys_CreateOrUpdate
  • Default Api Version: 2020-01-01
  • Resource: MySqlServerKeyResource
CreateOrUpdateAsync(WaitUntil, String, MySqlServerKeyData, CancellationToken)

Creates or updates a MySQL Server key.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/keys/{keyName}
  • Operation Id: ServerKeys_CreateOrUpdate
  • Default Api Version: 2020-01-01
  • Resource: MySqlServerKeyResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/keys/{keyName}
  • Operation Id: ServerKeys_Get
  • Default Api Version: 2020-01-01
  • Resource: MySqlServerKeyResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/keys/{keyName}
  • Operation Id: ServerKeys_Get
  • Default Api Version: 2020-01-01
  • Resource: MySqlServerKeyResource
Get(String, CancellationToken)

Gets a MySQL Server key.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/keys/{keyName}
  • Operation Id: ServerKeys_Get
  • Default Api Version: 2020-01-01
  • Resource: MySqlServerKeyResource
GetAll(CancellationToken)

Gets a list of Server keys.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/keys
  • Operation Id: ServerKeys_List
  • Default Api Version: 2020-01-01
  • Resource: MySqlServerKeyResource
GetAllAsync(CancellationToken)

Gets a list of Server keys.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/keys
  • Operation Id: ServerKeys_List
  • Default Api Version: 2020-01-01
  • Resource: MySqlServerKeyResource
GetAsync(String, CancellationToken)

Gets a MySQL Server key.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/keys/{keyName}
  • Operation Id: ServerKeys_Get
  • Default Api Version: 2020-01-01
  • Resource: MySqlServerKeyResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/keys/{keyName}
  • Operation Id: ServerKeys_Get
  • Default Api Version: 2020-01-01
  • Resource: MySqlServerKeyResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/keys/{keyName}
  • Operation Id: ServerKeys_Get
  • Default Api Version: 2020-01-01
  • Resource: MySqlServerKeyResource
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<MySqlServerKeyResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MySqlServerKeyResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to