Compartilhar via


ApiManagementExtensions.CheckApiManagementServiceNameAvailabilityAsync Método

Definição

Verifica a disponibilidade e a exatidão de um nome para um serviço de Gerenciamento de API.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.ApiManagement/checkNameAvailability
  • Operação IdApiManagementService_CheckNameAvailability
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.Models.ApiManagementServiceNameAvailabilityResult>> CheckApiManagementServiceNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.ApiManagement.Models.ApiManagementServiceNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckApiManagementServiceNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.ApiManagement.Models.ApiManagementServiceNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.Models.ApiManagementServiceNameAvailabilityResult>>
<Extension()>
Public Function CheckApiManagementServiceNameAvailabilityAsync (subscriptionResource As SubscriptionResource, content As ApiManagementServiceNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ApiManagementServiceNameAvailabilityResult))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

content
ApiManagementServiceNameAvailabilityContent

Parâmetros fornecidos para a operação CheckNameAvailability.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a