Partilhar via


CommunicationExtensions.CheckCommunicationNameAvailability Método

Definição

Verifica se o nome CommunicationService é válido e ainda não está em uso.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Communication/checkNameAvailability
  • Operação IdCommunicationServices_CheckNameAvailability
public static Azure.Response<Azure.ResourceManager.Communication.Models.CommunicationNameAvailabilityResult> CheckCommunicationNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.Communication.Models.CommunicationServiceNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckCommunicationNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.Communication.Models.CommunicationServiceNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Communication.Models.CommunicationNameAvailabilityResult>
<Extension()>
Public Function CheckCommunicationNameAvailability (subscriptionResource As SubscriptionResource, content As CommunicationServiceNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CommunicationNameAvailabilityResult)

Parâmetros

subscriptionResource
SubscriptionResource

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

content
CommunicationServiceNameAvailabilityContent

Parâmetros fornecidos para a operação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a