Partager via


MockableNetAppSubscriptionResource.CheckNetAppNameAvailabilityAsync 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 virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.Models.NetAppCheckAvailabilityResult>> CheckNetAppNameAvailabilityAsync (Azure.Core.AzureLocation location, Azure.ResourceManager.NetApp.Models.NetAppNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckNetAppNameAvailabilityAsync : Azure.Core.AzureLocation * Azure.ResourceManager.NetApp.Models.NetAppNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.Models.NetAppCheckAvailabilityResult>>
override this.CheckNetAppNameAvailabilityAsync : Azure.Core.AzureLocation * Azure.ResourceManager.NetApp.Models.NetAppNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.Models.NetAppCheckAvailabilityResult>>
Public Overridable Function CheckNetAppNameAvailabilityAsync (location As AzureLocation, content As NetAppNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetAppCheckAvailabilityResult))

Paramètres

location
AzureLocation

Nom de la région Azure.

content
NetAppNameAvailabilityContent

Demande de disponibilité de nom.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à