Compartir a través de


EventHubsNamespaceResource.CheckEventHubsDisasterRecoveryNameAvailability Método

Definición

Compruebe la disponibilidad de asignar nombres de espacio de nombres.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/checkNameAvailability
  • IdDisasterRecoveryConfigs_CheckNameAvailability de operaciones
public virtual Azure.Response<Azure.ResourceManager.EventHubs.Models.EventHubsNameAvailabilityResult> CheckEventHubsDisasterRecoveryNameAvailability (Azure.ResourceManager.EventHubs.Models.EventHubsNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckEventHubsDisasterRecoveryNameAvailability : Azure.ResourceManager.EventHubs.Models.EventHubsNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventHubs.Models.EventHubsNameAvailabilityResult>
override this.CheckEventHubsDisasterRecoveryNameAvailability : Azure.ResourceManager.EventHubs.Models.EventHubsNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventHubs.Models.EventHubsNameAvailabilityResult>
Public Overridable Function CheckEventHubsDisasterRecoveryNameAvailability (content As EventHubsNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of EventHubsNameAvailabilityResult)

Parámetros

content
EventHubsNameAvailabilityContent

Parámetros para comprobar la disponibilidad del nombre de alias especificado.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a