Compartir a través de


AppServiceExtensions.CheckAppServiceDomainRegistrationAvailabilityAsync Método

Definición

Descripción para Comprobar si un dominio está disponible para el registro.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.DomainRegistration/checkDomainAvailability
  • IdDomains_CheckAvailability de operaciones
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

Instancia SubscriptionResource en la que se ejecutará el método.

identifier
AppServiceDomainNameIdentifier

Nombre del dominio.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

identifier es null.

Se aplica a