Partager via


MySqlFlexibleServerAadAdministratorCollection.GetIfExistsAsync Méthode

Définition

Tente d’obtenir les détails de cette ressource à partir du service.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/administrators/{administratorName}
  • IdAzureADAdministrators_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServerAadAdministratorResource>> GetIfExistsAsync (Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerAdministratorName administratorName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerAdministratorName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServerAadAdministratorResource>>
override this.GetIfExistsAsync : Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerAdministratorName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServerAadAdministratorResource>>
Public Overridable Function GetIfExistsAsync (administratorName As MySqlFlexibleServerAdministratorName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of MySqlFlexibleServerAadAdministratorResource))

Paramètres

administratorName
MySqlFlexibleServerAdministratorName

Nom de l’administrateur Azure AD.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à