QuotaOperations interface

代表配額作業的介面。

屬性

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginUpdate
beginUpdateAndWait
createOrUpdate

將資源的配額(服務限制)建立或更新為所要求的值。 Steps:

  1. 提出取得請求以取得特定資源的配額資訊。
  2. 若要增加配額,請將 [取得要求] 回應中的 [限制] 字段更新為新值。
  3. 將 JSON 提交至配額要求 API 以更新配額。 建立配額要求可以建構如下。 PUT 作業可用來更新配額。
get

取得資源目前的配額(服務限制)和使用量。 您可以使用 GET 作業的回應來提交配額更新要求。

list

取得目前配額的清單(服務限制)和所有資源的使用量。 清單配額作業的回應可用來要求配額更新。

update

將此資源的配額(服務限制)更新為所要求的值。 • 若要取得特定資源的配額資訊,請傳送 GET 要求。 • 若要增加配額,請將 GET 回應中的限制欄位更新為新的值。 • 若要更新配額值,請將 JSON 回應提交至配額要求 API 以更新配額。 • 更新配額。 使用 PATCH 作業。

屬性詳細資料

beginCreateOrUpdate

警告

此 API 現已淘汰。

use createOrUpdate instead

beginCreateOrUpdate: (subscriptionId: string, providerId: string, location: string, resourceName: string, createQuotaRequest: CurrentQuotaLimitBase, options?: QuotaCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<CurrentQuotaLimitBase>, CurrentQuotaLimitBase>>

屬性值

(subscriptionId: string, providerId: string, location: string, resourceName: string, createQuotaRequest: CurrentQuotaLimitBase, options?: QuotaCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<CurrentQuotaLimitBase>, CurrentQuotaLimitBase>>

beginCreateOrUpdateAndWait

警告

此 API 現已淘汰。

use createOrUpdate instead

beginCreateOrUpdateAndWait: (subscriptionId: string, providerId: string, location: string, resourceName: string, createQuotaRequest: CurrentQuotaLimitBase, options?: QuotaCreateOrUpdateOptionalParams) => Promise<CurrentQuotaLimitBase>

屬性值

(subscriptionId: string, providerId: string, location: string, resourceName: string, createQuotaRequest: CurrentQuotaLimitBase, options?: QuotaCreateOrUpdateOptionalParams) => Promise<CurrentQuotaLimitBase>

beginUpdate

警告

此 API 現已淘汰。

use update instead

beginUpdate: (subscriptionId: string, providerId: string, location: string, resourceName: string, createQuotaRequest: CurrentQuotaLimitBase, options?: QuotaUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<CurrentQuotaLimitBase>, CurrentQuotaLimitBase>>

屬性值

(subscriptionId: string, providerId: string, location: string, resourceName: string, createQuotaRequest: CurrentQuotaLimitBase, options?: QuotaUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<CurrentQuotaLimitBase>, CurrentQuotaLimitBase>>

beginUpdateAndWait

警告

此 API 現已淘汰。

use update instead

beginUpdateAndWait: (subscriptionId: string, providerId: string, location: string, resourceName: string, createQuotaRequest: CurrentQuotaLimitBase, options?: QuotaUpdateOptionalParams) => Promise<CurrentQuotaLimitBase>

屬性值

(subscriptionId: string, providerId: string, location: string, resourceName: string, createQuotaRequest: CurrentQuotaLimitBase, options?: QuotaUpdateOptionalParams) => Promise<CurrentQuotaLimitBase>

createOrUpdate

將資源的配額(服務限制)建立或更新為所要求的值。 Steps:

  1. 提出取得請求以取得特定資源的配額資訊。
  2. 若要增加配額,請將 [取得要求] 回應中的 [限制] 字段更新為新值。
  3. 將 JSON 提交至配額要求 API 以更新配額。 建立配額要求可以建構如下。 PUT 作業可用來更新配額。
createOrUpdate: (subscriptionId: string, providerId: string, location: string, resourceName: string, createQuotaRequest: CurrentQuotaLimitBase, options?: QuotaCreateOrUpdateOptionalParams) => PollerLike<OperationState<CurrentQuotaLimitBase>, CurrentQuotaLimitBase>

屬性值

(subscriptionId: string, providerId: string, location: string, resourceName: string, createQuotaRequest: CurrentQuotaLimitBase, options?: QuotaCreateOrUpdateOptionalParams) => PollerLike<OperationState<CurrentQuotaLimitBase>, CurrentQuotaLimitBase>

get

取得資源目前的配額(服務限制)和使用量。 您可以使用 GET 作業的回應來提交配額更新要求。

get: (subscriptionId: string, providerId: string, location: string, resourceName: string, options?: QuotaGetOptionalParams) => Promise<CurrentQuotaLimitBase>

屬性值

(subscriptionId: string, providerId: string, location: string, resourceName: string, options?: QuotaGetOptionalParams) => Promise<CurrentQuotaLimitBase>

list

取得目前配額的清單(服務限制)和所有資源的使用量。 清單配額作業的回應可用來要求配額更新。

list: (subscriptionId: string, providerId: string, location: string, options?: QuotaListOptionalParams) => PagedAsyncIterableIterator<CurrentQuotaLimitBase, CurrentQuotaLimitBase[], PageSettings>

屬性值

(subscriptionId: string, providerId: string, location: string, options?: QuotaListOptionalParams) => PagedAsyncIterableIterator<CurrentQuotaLimitBase, CurrentQuotaLimitBase[], PageSettings>

update

將此資源的配額(服務限制)更新為所要求的值。 • 若要取得特定資源的配額資訊,請傳送 GET 要求。 • 若要增加配額,請將 GET 回應中的限制欄位更新為新的值。 • 若要更新配額值,請將 JSON 回應提交至配額要求 API 以更新配額。 • 更新配額。 使用 PATCH 作業。

update: (subscriptionId: string, providerId: string, location: string, resourceName: string, createQuotaRequest: CurrentQuotaLimitBase, options?: QuotaUpdateOptionalParams) => PollerLike<OperationState<CurrentQuotaLimitBase>, CurrentQuotaLimitBase>

屬性值

(subscriptionId: string, providerId: string, location: string, resourceName: string, createQuotaRequest: CurrentQuotaLimitBase, options?: QuotaUpdateOptionalParams) => PollerLike<OperationState<CurrentQuotaLimitBase>, CurrentQuotaLimitBase>