共用方式為


NetAppExtensions.CheckNetAppQuotaAvailability 方法

定義

檢查配額是否可用。

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

參數

subscriptionResource
SubscriptionResource

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

location
AzureLocation

Azure 區域的名稱。

content
NetAppQuotaAvailabilityContent

配額可用性要求。

cancellationToken
CancellationToken

要使用的取消權杖。

傳回

例外狀況

content 為 null。

適用於