Compartir a través de


AppServiceExtensions.CheckAppServiceNameAvailabilityAsync Método

Definición

Descripción para Comprobar si hay un nombre de recurso disponible.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.Web/checknameavailability
  • Operation IdCheckNameAvailability
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.ResourceNameAvailability>> CheckAppServiceNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.AppService.Models.ResourceNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckAppServiceNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.AppService.Models.ResourceNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.ResourceNameAvailability>>
<Extension()>
Public Function CheckAppServiceNameAvailabilityAsync (subscriptionResource As SubscriptionResource, content As ResourceNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ResourceNameAvailability))

Parámetros

subscriptionResource
SubscriptionResource

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

content
ResourceNameAvailabilityContent

Solicitud de disponibilidad de nombres.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a