Partilhar via


SubscriptionSupportTicketResource.CheckCommunicationNameAvailabilityAsync Método

Definição

Verifique a disponibilidade de um nome de recurso. Essa API deve ser usada para marcar a exclusividade do nome para adicionar uma nova comunicação ao tíquete de suporte.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability
  • IdCommunications_CheckNameAvailability de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Support.Models.SupportNameAvailabilityResult>> CheckCommunicationNameAvailabilityAsync (Azure.ResourceManager.Support.Models.SupportNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckCommunicationNameAvailabilityAsync : Azure.ResourceManager.Support.Models.SupportNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Support.Models.SupportNameAvailabilityResult>>
override this.CheckCommunicationNameAvailabilityAsync : Azure.ResourceManager.Support.Models.SupportNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Support.Models.SupportNameAvailabilityResult>>
Public Overridable Function CheckCommunicationNameAvailabilityAsync (content As SupportNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SupportNameAvailabilityResult))

Parâmetros

content
SupportNameAvailabilityContent

Entrada para marcar.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a