Compartilhar via


ServiceBusExtensions.CheckServiceBusNamespaceNameAvailabilityAsync Método

Definição

Verifique a disponibilidade do nome do namespace.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.ServiceBus/CheckNameAvailability
  • IdNamespaces_CheckNameAvailability de operação
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityResult>> CheckServiceBusNamespaceNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckServiceBusNamespaceNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityResult>>
<Extension()>
Public Function CheckServiceBusNamespaceNameAvailabilityAsync (subscriptionResource As SubscriptionResource, content As ServiceBusNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ServiceBusNameAvailabilityResult))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

content
ServiceBusNameAvailabilityContent

Parâmetros para marcar disponibilidade do nome do namespace fornecido.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a