Compartir a través de


ManagedEnvironmentResource.CheckContainerAppNameAvailabilityAsync Método

Definición

Comprueba si el nombre del recurso está disponible. Ruta de acceso de solicitud: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/checkNameAvailability Operation Id: Namespaces_CheckNameAvailability

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Applications.Containers.Models.CheckNameAvailabilityResponse>> CheckContainerAppNameAvailabilityAsync (Azure.ResourceManager.Applications.Containers.Models.CheckNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckContainerAppNameAvailabilityAsync : Azure.ResourceManager.Applications.Containers.Models.CheckNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Applications.Containers.Models.CheckNameAvailabilityResponse>>
override this.CheckContainerAppNameAvailabilityAsync : Azure.ResourceManager.Applications.Containers.Models.CheckNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Applications.Containers.Models.CheckNameAvailabilityResponse>>
Public Overridable Function CheckContainerAppNameAvailabilityAsync (content As CheckNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CheckNameAvailabilityResponse))

Parámetros

content
CheckNameAvailabilityContent

Solicitud de disponibilidad del nombre de comprobación.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a