Share via


ServiceBusNamespaceResource.CheckServiceBusDisasterRecoveryNameAvailabilityAsync Method

Definition

Check the give namespace name availability.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/CheckNameAvailability
  • Operation Id: DisasterRecoveryConfigs_CheckNameAvailability
  • Default Api Version: 2022-10-01-preview
  • Resource: ServiceBusDisasterRecoveryResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityResult>> CheckServiceBusDisasterRecoveryNameAvailabilityAsync (Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckServiceBusDisasterRecoveryNameAvailabilityAsync : Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityResult>>
override this.CheckServiceBusDisasterRecoveryNameAvailabilityAsync : Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityResult>>
Public Overridable Function CheckServiceBusDisasterRecoveryNameAvailabilityAsync (content As ServiceBusNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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