共用方式為


NetAppExtensions.GetNetAppQuotaLimit 方法

定義

取得預設和目前的訂用帳戶配額限制

  • 要求路徑/訂用帳戶/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits/{quotaLimitName}
  • 作業IdNetAppResourceQuotaLimits_Get
public static Azure.Response<Azure.ResourceManager.NetApp.Models.NetAppSubscriptionQuotaItem> GetNetAppQuotaLimit (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, string quotaLimitName, System.Threading.CancellationToken cancellationToken = default);
static member GetNetAppQuotaLimit : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetApp.Models.NetAppSubscriptionQuotaItem>
<Extension()>
Public Function GetNetAppQuotaLimit (subscriptionResource As SubscriptionResource, location As AzureLocation, quotaLimitName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of NetAppSubscriptionQuotaItem)

參數

subscriptionResource
SubscriptionResource

方法 SubscriptionResource 將對其執行的實例。

location
AzureLocation

Azure 區域的名稱。

quotaLimitName
String

配額限制的名稱。

cancellationToken
CancellationToken

要使用的取消權杖。

傳回

例外狀況

quotaLimitName 是空字串,且預期為非空白。

quotaLimitName 為 null。

適用於