Freigeben über


ServiceBusNamespaceResource.CheckServiceBusDisasterRecoveryNameAvailabilityAsync Methode

Definition

Überprüfen Sie die Verfügbarkeit des Namespacenamens geben.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/CheckNameAvailability
  • Vorgang IdDisasterRecoveryConfigs_CheckNameAvailability
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))

Parameter

content
ServiceBusNameAvailabilityContent

Parameter zum Überprüfen der Verfügbarkeit des angegebenen Namespacenamens.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: