Partager via


NetAppExtensions.CheckNetAppNameAvailability Méthode

Définition

Vérifiez si un nom de ressource est disponible.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkNameAvailability
  • IdNetAppResource_CheckNameAvailability d’opération
public static Azure.Response<Azure.ResourceManager.NetApp.Models.NetAppCheckAvailabilityResult> CheckNetAppNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.NetApp.Models.NetAppNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckNetAppNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.NetApp.Models.NetAppNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetApp.Models.NetAppCheckAvailabilityResult>
<Extension()>
Public Function CheckNetAppNameAvailability (subscriptionResource As SubscriptionResource, location As AzureLocation, content As NetAppNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of NetAppCheckAvailabilityResult)

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

location
AzureLocation

Nom de la région Azure.

content
NetAppNameAvailabilityContent

Nommez la demande de disponibilité.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à