Partager via


ApiManagementServiceOperationsExtensions.CheckNameAvailabilityAsync Méthode

Définition

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.ApiManagementServiceNameAvailabilityResult> CheckNameAvailabilityAsync (this Microsoft.Azure.Management.ApiManagement.IApiManagementServiceOperations operations, Microsoft.Azure.Management.ApiManagement.Models.ApiManagementServiceCheckNameAvailabilityParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.ApiManagement.IApiManagementServiceOperations * Microsoft.Azure.Management.ApiManagement.Models.ApiManagementServiceCheckNameAvailabilityParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.ApiManagementServiceNameAvailabilityResult>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IApiManagementServiceOperations, parameters As ApiManagementServiceCheckNameAvailabilityParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ApiManagementServiceNameAvailabilityResult)

Paramètres

operations
IApiManagementServiceOperations

Groupe d’opérations pour cette méthode d’extension.

parameters
ApiManagementServiceCheckNameAvailabilityParameters

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

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à