Compartir a través de


ServiceBusExtensions.CheckServiceBusNamespaceNameAvailability Método

Definición

Compruebe la disponibilidad del nombre del espacio de nombres give.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.ServiceBus/CheckNameAvailability
  • IdNamespaces_CheckNameAvailability de operación
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

Instancia SubscriptionResource en la que se ejecutará el método.

content
ServiceBusNameAvailabilityContent

Parámetros para comprobar la disponibilidad del nombre de espacio de nombres especificado.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a