Compartilhar via


ManagedEnvironmentResource.CheckContainerAppNameAvailabilityAsync Método

Definição

Verifica se o nome do recurso está disponível. Caminho da Solicitação: /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

O marcar solicitação de disponibilidade de nome.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a