Freigeben über


AgFoodPlatformExtensions.CheckNameAvailabilityLocation Methode

Definition

Überprüft die Verfügbarkeit des Namens der Ressource mit dem angeforderten Ressourcennamen.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.AgFoodPlatform/checkNameAvailability
  • Vorgang IdLocations_CheckNameAvailability
public static Azure.Response<Azure.ResourceManager.AgFoodPlatform.Models.CheckNameAvailabilityResponse> CheckNameAvailabilityLocation (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.AgFoodPlatform.Models.CheckNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityLocation : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.AgFoodPlatform.Models.CheckNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AgFoodPlatform.Models.CheckNameAvailabilityResponse>
<Extension()>
Public Function CheckNameAvailabilityLocation (subscriptionResource As SubscriptionResource, content As CheckNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CheckNameAvailabilityResponse)

Parameter

subscriptionResource
SubscriptionResource

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

content
CheckNameAvailabilityContent

NameAvailabilityRequest-Objekt.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: