Partilhar via


PurviewExtensions.CheckPurviewAccountNameAvailabilityAsync Método

Definição

Verifica se o nome da conta está disponível.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Purview/checkNameAvailability
  • IdAccounts_CheckNameAvailability de operação
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Purview.Models.PurviewAccountNameAvailabilityResult>> CheckPurviewAccountNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.Purview.Models.PurviewAccountNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckPurviewAccountNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.Purview.Models.PurviewAccountNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Purview.Models.PurviewAccountNameAvailabilityResult>>
<Extension()>
Public Function CheckPurviewAccountNameAvailabilityAsync (subscriptionResource As SubscriptionResource, content As PurviewAccountNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PurviewAccountNameAvailabilityResult))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

content
PurviewAccountNameAvailabilityContent

O marcar solicitação de disponibilidade de nome.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a