Compartilhar via


ServiceBusExtensions.CheckServiceBusNamespaceNameAvailability 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 Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityResult> CheckServiceBusNamespaceNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckServiceBusNamespaceNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityResult>
<Extension()>
Public Function CheckServiceBusNamespaceNameAvailability (subscriptionResource As SubscriptionResource, content As ServiceBusNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As 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