Partager via


MockableNetAppSubscriptionResource.CheckNetAppQuotaAvailabilityAsync Méthode

Définition

Vérifiez si un quota est disponible.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkQuotaAvailability
  • IdNetAppResource_CheckQuotaAvailability d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.Models.NetAppCheckAvailabilityResult>> CheckNetAppQuotaAvailabilityAsync (Azure.Core.AzureLocation location, Azure.ResourceManager.NetApp.Models.NetAppQuotaAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckNetAppQuotaAvailabilityAsync : Azure.Core.AzureLocation * Azure.ResourceManager.NetApp.Models.NetAppQuotaAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.Models.NetAppCheckAvailabilityResult>>
override this.CheckNetAppQuotaAvailabilityAsync : Azure.Core.AzureLocation * Azure.ResourceManager.NetApp.Models.NetAppQuotaAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.Models.NetAppCheckAvailabilityResult>>
Public Overridable Function CheckNetAppQuotaAvailabilityAsync (location As AzureLocation, content As NetAppQuotaAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetAppCheckAvailabilityResult))

Paramètres

location
AzureLocation

Nom de la région Azure.

content
NetAppQuotaAvailabilityContent

Demande de disponibilité de quota.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à