QuotaRequestStatus interface
表示 QuotaRequestStatus 的接口。
方法
| get(string, string, Quota |
根据特定位置的资源的资源配额请求 ID 获取配额请求详细信息和状态。 配额请求 ID ID 在 PUT作的响应中返回。 |
| list(string, Quota |
对于指定的范围,获取在一年内结束的一年配额请求。 使用 oData 筛选器选择配额请求。 |
方法详细信息
get(string, string, QuotaRequestStatusGetOptionalParams)
根据特定位置的资源的资源配额请求 ID 获取配额请求详细信息和状态。 配额请求 ID ID 在 PUT作的响应中返回。
function get(id: string, scope: string, options?: QuotaRequestStatusGetOptionalParams): Promise<QuotaRequestDetails>
参数
- id
-
string
配额请求 ID。
- scope
-
string
目标 Azure 资源 URI。 例如,/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/。
这是列表 GET作的目标 Azure 资源 URI。 如果在 {resourceName}后添加了 /quotas,则它是特定资源的 GET作中的目标 Azure 资源 URI。
选项参数。
返回
Promise<QuotaRequestDetails>
list(string, QuotaRequestStatusListOptionalParams)
对于指定的范围,获取在一年内结束的一年配额请求。 使用 oData 筛选器选择配额请求。
function list(scope: string, options?: QuotaRequestStatusListOptionalParams): PagedAsyncIterableIterator<QuotaRequestDetails, QuotaRequestDetails[], PageSettings>
参数
- scope
-
string
目标 Azure 资源 URI。 例如,/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/。
这是列表 GET作的目标 Azure 资源 URI。 如果在 {resourceName}后添加了 /quotas,则它是特定资源的 GET作中的目标 Azure 资源 URI。
选项参数。