Freigeben über


ManagedEnvironmentResource.CheckContainerAppNameAvailabilityAsync Methode

Definition

Überprüft, ob der Ressourcenname verfügbar ist. Anforderungspfad: /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))

Parameter

content
CheckNameAvailabilityContent

Die Verfügbarkeitsanforderung zur Überprüfung des Namens.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: