Compartilhar via


VoiceServicesExtensions.CheckVoiceServicesNameAvailabilityAsync 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 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

A SubscriptionResource instância na qual 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