Partilhar via


EventHubsNamespaceResource.CheckEventHubsDisasterRecoveryNameAvailabilityAsync Método

Definição

Verifique a disponibilidade do nome do namespace.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/checkNameAvailability
  • Operação IdDisasterRecoveryConfigs_CheckNameAvailability
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))

Parâmetros

content
EventHubsNameAvailabilityContent

Parâmetros para marcar disponibilidade do nome do Alias fornecido.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a