VoiceServicesExtensions.CheckVoiceServicesNameAvailability Método

Definição

Verifique se o nome do recurso está disponível na região especificada.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.VoiceServices/locations/{location}/checkNameAvailability
  • Operação IdNameAvailability_CheckLocal
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

A SubscriptionResource instância em que o método será executado.

location
AzureLocation

O local no qual a exclusividade será verificada.

content
VoiceServicesCheckNameAvailabilityContent

O marcar corpo da solicitação de disponibilidade.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a