Compartir a través de


VoiceServicesExtensions.CheckVoiceServicesNameAvailability 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 Azure.Response<Azure.ResourceManager.VoiceServices.Models.VoiceServicesCheckNameAvailabilityResult> CheckVoiceServicesNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.VoiceServices.Models.VoiceServicesCheckNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckVoiceServicesNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.VoiceServices.Models.VoiceServicesCheckNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.VoiceServices.Models.VoiceServicesCheckNameAvailabilityResult>
<Extension()>
Public Function CheckVoiceServicesNameAvailability (subscriptionResource As SubscriptionResource, location As AzureLocation, content As VoiceServicesCheckNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As 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