Compartir a través de


EventHubsExtensions.CheckEventHubsNamespaceNameAvailability Método

Definición

Compruebe la disponibilidad del nombre del espacio de nombres.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.EventHub/checkNameAvailability
  • IdNamespaces_CheckNameAvailability de operación
public static Azure.Response<Azure.ResourceManager.EventHubs.Models.EventHubsNameAvailabilityResult> CheckEventHubsNamespaceNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.EventHubs.Models.EventHubsNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckEventHubsNamespaceNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.EventHubs.Models.EventHubsNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventHubs.Models.EventHubsNameAvailabilityResult>
<Extension()>
Public Function CheckEventHubsNamespaceNameAvailability (subscriptionResource As SubscriptionResource, content As EventHubsNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of EventHubsNameAvailabilityResult)

Parámetros

subscriptionResource
SubscriptionResource

Instancia SubscriptionResource en la que se ejecutará el método.

content
EventHubsNameAvailabilityContent

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

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a