Partager via


EventHubsNamespaceResource.CheckEventHubsDisasterRecoveryNameAvailabilityAsync 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.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/checkNameAvailability
  • IdDisasterRecoveryConfigs_CheckNameAvailability d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventHubs.Models.EventHubsNameAvailabilityResult>> CheckEventHubsDisasterRecoveryNameAvailabilityAsync (Azure.ResourceManager.EventHubs.Models.EventHubsNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckEventHubsDisasterRecoveryNameAvailabilityAsync : Azure.ResourceManager.EventHubs.Models.EventHubsNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventHubs.Models.EventHubsNameAvailabilityResult>>
override this.CheckEventHubsDisasterRecoveryNameAvailabilityAsync : Azure.ResourceManager.EventHubs.Models.EventHubsNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventHubs.Models.EventHubsNameAvailabilityResult>>
Public Overridable Function CheckEventHubsDisasterRecoveryNameAvailabilityAsync (content As EventHubsNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of EventHubsNameAvailabilityResult))

Paramètres

content
EventHubsNameAvailabilityContent

Paramètres pour case activée disponibilité du nom d’alias donné.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à