Freigeben über


ApiManagementExtensions.CheckApiManagementServiceNameAvailability Methode

Definition

Überprüft die Verfügbarkeit und Richtigkeit eines Namens für einen API Management-Dienst.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/checkNameAvailability
  • Vorgang IdApiManagementService_CheckNameAvailability
public static Azure.Response<Azure.ResourceManager.ApiManagement.Models.ApiManagementServiceNameAvailabilityResult> CheckApiManagementServiceNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.ApiManagement.Models.ApiManagementServiceNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckApiManagementServiceNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.ApiManagement.Models.ApiManagementServiceNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApiManagement.Models.ApiManagementServiceNameAvailabilityResult>
<Extension()>
Public Function CheckApiManagementServiceNameAvailability (subscriptionResource As SubscriptionResource, content As ApiManagementServiceNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ApiManagementServiceNameAvailabilityResult)

Parameter

subscriptionResource
SubscriptionResource

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

content
ApiManagementServiceNameAvailabilityContent

Parameter, die für den CheckNameAvailability-Vorgang bereitgestellt werden.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: