RelayExtensions.CheckRelayNamespaceNameAvailability Methode

Definition

Überprüfen Sie die Verfügbarkeit des angegebenen Namespacenamens.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Relay/checkNameAvailability
  • Vorgang IdNamespaces_CheckNameAvailability
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)

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance, für den die Methode ausgeführt wird.

content
RelayNameAvailabilityContent

Parameter zum Überprüfen der Verfügbarkeit des angegebenen Namespacenamens.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: