Compartir a través de


AppServiceExtensions.CheckAppServiceNameAvailability Método

Definición

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

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