Freigeben über


MockableNetAppSubscriptionResource.GetNetAppQuotaLimitAsync Methode

Definition

Abrufen des Standard- und aktuellen Abonnementkontingentlimits

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits/{quotaLimitName}
  • Vorgangs-IdNetAppResourceQuotaLimits_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.Models.NetAppSubscriptionQuotaItem>> GetNetAppQuotaLimitAsync (Azure.Core.AzureLocation location, string quotaLimitName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetAppQuotaLimitAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.Models.NetAppSubscriptionQuotaItem>>
override this.GetNetAppQuotaLimitAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.Models.NetAppSubscriptionQuotaItem>>
Public Overridable Function GetNetAppQuotaLimitAsync (location As AzureLocation, quotaLimitName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetAppSubscriptionQuotaItem))

Parameter

location
AzureLocation

Der Name der Azure-Region.

quotaLimitName
String

Der Name des Kontingentlimits.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

quotaLimitName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

quotaLimitName ist NULL.

Gilt für: