Udostępnij za pośrednictwem


MockableServiceBusSubscriptionResource.CheckServiceBusNamespaceNameAvailability Method

Definition

Check the give namespace name availability.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/CheckNameAvailability
  • Operation Id: Namespaces_CheckNameAvailability
  • Default Api Version: 2024-01-01
  • Resource: ServiceBusNamespaceResource
public virtual Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityResult> CheckServiceBusNamespaceNameAvailability (Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckServiceBusNamespaceNameAvailability : Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityResult>
override this.CheckServiceBusNamespaceNameAvailability : Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityResult>
Public Overridable Function CheckServiceBusNamespaceNameAvailability (content As ServiceBusNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ServiceBusNameAvailabilityResult)

Parameters

content
ServiceBusNameAvailabilityContent

Parameters to check availability of the given namespace name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to