Freigeben über


AppPlatformExtensions.CheckAppPlatformNameAvailabilityAsync Methode

Definition

Überprüft, ob der Ressourcenname gültig ist und noch nicht verwendet wird.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.AppPlatform/locations/{location}/checkNameAvailability
  • Vorgang IdServices_CheckNameAvailability
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.Models.AppPlatformNameAvailabilityResult>> CheckAppPlatformNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.AppPlatform.Models.AppPlatformNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckAppPlatformNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.AppPlatform.Models.AppPlatformNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.Models.AppPlatformNameAvailabilityResult>>
<Extension()>
Public Function CheckAppPlatformNameAvailabilityAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, content As AppPlatformNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppPlatformNameAvailabilityResult))

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance, für den die Methode ausgeführt wird.

location
AzureLocation

die Region.

content
AppPlatformNameAvailabilityContent

Für den Vorgang bereitgestellte Parameter.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: