Partager via


ServiceBusNamespaceResource.CheckServiceBusDisasterRecoveryNameAvailabilityAsync Méthode

Définition

Vérifiez la disponibilité du nom de l’espace de noms.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/CheckNameAvailability
  • IdDisasterRecoveryConfigs_CheckNameAvailability d’opération
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))

Paramètres

content
ServiceBusNameAvailabilityContent

Paramètres pour case activée disponibilité du nom d’espace de noms donné.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à