Compartir a través de


AppConfigurationExtensions.CheckAppConfigurationNameAvailabilityAsync Método

Definición

Comprueba si el nombre del almacén de configuración está disponible para su uso.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.AppConfiguration/checkNameAvailability
  • Operation IdCheckAppConfigurationNameAvailability
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppConfiguration.Models.AppConfigurationNameAvailabilityResult>> CheckAppConfigurationNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckAppConfigurationNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.AppConfiguration.Models.AppConfigurationNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppConfiguration.Models.AppConfigurationNameAvailabilityResult>>
<Extension()>
Public Function CheckAppConfigurationNameAvailabilityAsync (subscriptionResource As SubscriptionResource, content As AppConfigurationNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppConfigurationNameAvailabilityResult))

Parámetros

subscriptionResource
SubscriptionResource

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

content
AppConfigurationNameAvailabilityContent

Objeto que contiene información para la solicitud de disponibilidad.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a