Compartir a través de


ContainerAppConnectedEnvironmentResource.CheckNameAvailabilityAsync Método

Definición

Comprueba si el recurso connectedEnvironmentName está disponible.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/checkNameAvailability
  • IdConnectedEnvironments_CheckNameAvailability de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.Models.ContainerAppNameAvailabilityResult>> CheckNameAvailabilityAsync (Azure.ResourceManager.AppContainers.Models.ContainerAppNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckNameAvailabilityAsync : Azure.ResourceManager.AppContainers.Models.ContainerAppNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.Models.ContainerAppNameAvailabilityResult>>
override this.CheckNameAvailabilityAsync : Azure.ResourceManager.AppContainers.Models.ContainerAppNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.Models.ContainerAppNameAvailabilityResult>>
Public Overridable Function CheckNameAvailabilityAsync (content As ContainerAppNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerAppNameAvailabilityResult))

Parámetros

content
ContainerAppNameAvailabilityContent

Solicitud de disponibilidad connectedEnvironmentName.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a