Partilhar via


AppServiceExtensions.CheckAppServiceDomainRegistrationAvailabilityAsync Método

Definição

Descrição de Verificar se um domínio está disponível para registro.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.DomainRegistration/checkDomainAvailability
  • Operação IdDomains_CheckAvailability
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.DomainAvailabilityCheckResult>> CheckAppServiceDomainRegistrationAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.AppService.Models.AppServiceDomainNameIdentifier identifier, System.Threading.CancellationToken cancellationToken = default);
static member CheckAppServiceDomainRegistrationAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.AppService.Models.AppServiceDomainNameIdentifier * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.DomainAvailabilityCheckResult>>
<Extension()>
Public Function CheckAppServiceDomainRegistrationAvailabilityAsync (subscriptionResource As SubscriptionResource, identifier As AppServiceDomainNameIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DomainAvailabilityCheckResult))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

identifier
AppServiceDomainNameIdentifier

Nome do domínio.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

identifier é nulo.

Aplica-se a