Sdílet prostřednictvím


ServiceBusNamespaceResource.CheckServiceBusDisasterRecoveryNameAvailability 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 Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityResult> CheckServiceBusDisasterRecoveryNameAvailability (Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckServiceBusDisasterRecoveryNameAvailability : Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityResult>
override this.CheckServiceBusDisasterRecoveryNameAvailability : Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusNameAvailabilityResult>
Public Overridable Function CheckServiceBusDisasterRecoveryNameAvailability (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