Compartir a través de


VoiceServicesExtensions.CheckVoiceServicesNameAvailabilityAsync Método

Definición

Compruebe si el nombre del recurso está disponible en la región especificada.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.VoiceServices/locations/{location}/checkNameAvailability
  • IdNameAvailability_CheckLocal de operaciones
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.VoiceServices.Models.VoiceServicesCheckNameAvailabilityResult>> CheckVoiceServicesNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.VoiceServices.Models.VoiceServicesCheckNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckVoiceServicesNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.VoiceServices.Models.VoiceServicesCheckNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.VoiceServices.Models.VoiceServicesCheckNameAvailabilityResult>>
<Extension()>
Public Function CheckVoiceServicesNameAvailabilityAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, content As VoiceServicesCheckNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VoiceServicesCheckNameAvailabilityResult))

Parámetros

subscriptionResource
SubscriptionResource

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

location
AzureLocation

Ubicación en la que se comprobará la unicidad.

content
VoiceServicesCheckNameAvailabilityContent

Cuerpo de la solicitud de comprobación de disponibilidad.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a