NetAppExtensions.GetNetAppQuotaLimitAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得預設和目前的訂用帳戶配額限制
- 要求路徑/訂用帳戶/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits/{quotaLimitName}
- 作業IdNetAppResourceQuotaLimits_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.Models.NetAppSubscriptionQuotaItem>> GetNetAppQuotaLimitAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, string quotaLimitName, System.Threading.CancellationToken cancellationToken = default);
static member GetNetAppQuotaLimitAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.Models.NetAppSubscriptionQuotaItem>>
<Extension()>
Public Function GetNetAppQuotaLimitAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, quotaLimitName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetAppSubscriptionQuotaItem))
參數
- subscriptionResource
- SubscriptionResource
方法 SubscriptionResource 將對其執行的實例。
- location
- AzureLocation
Azure 區域的名稱。
- quotaLimitName
- String
配額限制的名稱。
- cancellationToken
- CancellationToken
要使用的取消權杖。
傳回
例外狀況
quotaLimitName
是空字串,預期為非空白。
quotaLimitName
為 null。