Compartir a través de


FrontDoorExtensions.CheckFrontDoorNameAvailabilityAsync Método

Definición

Sobrecargas

CheckFrontDoorNameAvailabilityAsync(SubscriptionResource, FrontDoorNameAvailabilityContent, CancellationToken)

Compruebe la disponibilidad de un subdominio de Front Door.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.Network/checkFrontDoorNameAvailability
  • IdFrontDoorNameAvailabilityWithSubscription_Check de operación
CheckFrontDoorNameAvailabilityAsync(TenantResource, FrontDoorNameAvailabilityContent, CancellationToken)

Compruebe la disponibilidad de un nombre de recurso de Front Door.

  • Ruta de acceso de solicitud/providers/Microsoft.Network/checkFrontDoorNameAvailability
  • IdFrontDoorNameAvailability_Check de operación

CheckFrontDoorNameAvailabilityAsync(SubscriptionResource, FrontDoorNameAvailabilityContent, CancellationToken)

Compruebe la disponibilidad de un subdominio de Front Door.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.Network/checkFrontDoorNameAvailability
  • IdFrontDoorNameAvailabilityWithSubscription_Check de operación
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityResult>> CheckFrontDoorNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckFrontDoorNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityResult>>
<Extension()>
Public Function CheckFrontDoorNameAvailabilityAsync (subscriptionResource As SubscriptionResource, content As FrontDoorNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FrontDoorNameAvailabilityResult))

Parámetros

subscriptionResource
SubscriptionResource

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

content
FrontDoorNameAvailabilityContent

Entrada que se va a comprobar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a

CheckFrontDoorNameAvailabilityAsync(TenantResource, FrontDoorNameAvailabilityContent, CancellationToken)

Compruebe la disponibilidad de un nombre de recurso de Front Door.

  • Ruta de acceso de solicitud/providers/Microsoft.Network/checkFrontDoorNameAvailability
  • IdFrontDoorNameAvailability_Check de operación
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityResult>> CheckFrontDoorNameAvailabilityAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckFrontDoorNameAvailabilityAsync : Azure.ResourceManager.Resources.TenantResource * Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FrontDoor.Models.FrontDoorNameAvailabilityResult>>
<Extension()>
Public Function CheckFrontDoorNameAvailabilityAsync (tenantResource As TenantResource, content As FrontDoorNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FrontDoorNameAvailabilityResult))

Parámetros

tenantResource
TenantResource

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

content
FrontDoorNameAvailabilityContent

Entrada que se va a comprobar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a