Partilhar via


MySqlFlexibleServerAadAdministratorCollection.GetIfExistsAsync Método

Definição

Tenta obter detalhes desse recurso do serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/administrators/{administratorName}
  • IdAzureADAdministrators_Get de operação
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))

Parâmetros

administratorName
MySqlFlexibleServerAdministratorName

O nome do administrador do Azure AD.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a