Compartir a través de


RelayExtensions.CheckRelayNamespaceNameAvailability Método

Definición

Compruebe la disponibilidad del nombre del espacio de nombres especificado.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.Relay/checkNameAvailability
  • IdNamespaces_CheckNameAvailability de operaciones
public static Azure.Response<Azure.ResourceManager.Relay.Models.RelayNameAvailabilityResult> CheckRelayNamespaceNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.Relay.Models.RelayNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckRelayNamespaceNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.Relay.Models.RelayNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Relay.Models.RelayNameAvailabilityResult>
<Extension()>
Public Function CheckRelayNamespaceNameAvailability (subscriptionResource As SubscriptionResource, content As RelayNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RelayNameAvailabilityResult)

Parámetros

subscriptionResource
SubscriptionResource

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

content
RelayNameAvailabilityContent

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

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a