Partager via


ApiManagementExtensions.CheckApiManagementServiceNameAvailability Méthode

Définition

Vérifie la disponibilité et l’exactitude d’un nom pour un service Gestion des API.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.ApiManagement/checkNameAvailability
  • IdApiManagementService_CheckNameAvailability d’opération
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)

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

content
ApiManagementServiceNameAvailabilityContent

Paramètres fournis à l’opération CheckNameAvailability.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à