Compartir a través de


ApiManagementExtensions.CheckApiManagementServiceNameAvailability Método

Definición

Comprueba la disponibilidad y corrección de un nombre para un servicio de API Management.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.ApiManagement/checkNameAvailability
  • IdApiManagementService_CheckNameAvailability de operaciones
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)

Parámetros

subscriptionResource
SubscriptionResource

Instancia SubscriptionResource en la que se ejecutará el método.

content
ApiManagementServiceNameAvailabilityContent

Parámetros proporcionados a la operación CheckNameAvailability.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a