Udostępnij za pośrednictwem


MySqlFlexibleServerAadAdministratorCollection Class

Definition

A class representing a collection of MySqlFlexibleServerAadAdministratorResource and their operations. Each MySqlFlexibleServerAadAdministratorResource in the collection will belong to the same instance of MySqlFlexibleServerResource. To get a MySqlFlexibleServerAadAdministratorCollection instance call the GetMySqlFlexibleServerAadAdministrators method from an instance of MySqlFlexibleServerResource.

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

Constructors

MySqlFlexibleServerAadAdministratorCollection()

Initializes a new instance of the MySqlFlexibleServerAadAdministratorCollection 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, MySqlFlexibleServerAdministratorName, MySqlFlexibleServerAadAdministratorData, CancellationToken)

Creates or updates an existing Azure Active Directory administrator.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/administrators/{administratorName}
  • Operation Id: AzureADAdministrators_CreateOrUpdate
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerAadAdministratorResource
CreateOrUpdateAsync(WaitUntil, MySqlFlexibleServerAdministratorName, MySqlFlexibleServerAadAdministratorData, CancellationToken)

Creates or updates an existing Azure Active Directory administrator.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/administrators/{administratorName}
  • Operation Id: AzureADAdministrators_CreateOrUpdate
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerAadAdministratorResource
Exists(MySqlFlexibleServerAdministratorName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/administrators/{administratorName}
  • Operation Id: AzureADAdministrators_Get
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerAadAdministratorResource
ExistsAsync(MySqlFlexibleServerAdministratorName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/administrators/{administratorName}
  • Operation Id: AzureADAdministrators_Get
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerAadAdministratorResource
Get(MySqlFlexibleServerAdministratorName, CancellationToken)

Gets information about an azure ad administrator.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/administrators/{administratorName}
  • Operation Id: AzureADAdministrators_Get
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerAadAdministratorResource
GetAll(CancellationToken)

List all the AAD administrators in a given server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/administrators
  • Operation Id: AzureADAdministrators_ListByServer
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerAadAdministratorResource
GetAllAsync(CancellationToken)

List all the AAD administrators in a given server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/administrators
  • Operation Id: AzureADAdministrators_ListByServer
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerAadAdministratorResource
GetAsync(MySqlFlexibleServerAdministratorName, CancellationToken)

Gets information about an azure ad administrator.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/administrators/{administratorName}
  • Operation Id: AzureADAdministrators_Get
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerAadAdministratorResource
GetIfExists(MySqlFlexibleServerAdministratorName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/administrators/{administratorName}
  • Operation Id: AzureADAdministrators_Get
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerAadAdministratorResource
GetIfExistsAsync(MySqlFlexibleServerAdministratorName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/administrators/{administratorName}
  • Operation Id: AzureADAdministrators_Get
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerAadAdministratorResource
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<MySqlFlexibleServerAadAdministratorResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MySqlFlexibleServerAadAdministratorResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to