Quota Request Status - Get
对于指定的 Azure 区域(位置),请通过资源提供程序资源的配额请求 ID 获取配额请求的详细信息和状态。 配额(服务限制)的 PUT 请求返回具有 requestId 参数的响应。
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Capacity/resourceProviders/{providerId}/locations/{location}/serviceLimitsRequests/{id}?api-version=2020-10-25
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
id
|
path | True |
string |
配额请求 ID。 |
|
location
|
path | True |
string |
Azure 区域。 |
|
provider
|
path | True |
string |
Azure 资源提供程序 ID。 |
|
subscription
|
path | True |
string |
Azure 订阅 ID。 |
|
api-version
|
query | True |
string |
API 版本。 |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 200 OK |
还行。 返回配额请求的状态。 |
|
| Other Status Codes |
响应中的错误说明。 |
安全性
azure_auth
Azure Active Directory OAuth2 流
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
| 名称 | 说明 |
|---|---|
| user_impersonation | 模拟用户帐户 |
示例
|
Quota |
|
Quota |
|
Quota |
QuotaRequestFailed
示例请求
示例响应
{
"id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605",
"type": "Microsoft.Capacity/serviceLimitsRequests",
"name": "00000000-0000-0000-0000-000000000000/2B5C8515-37D8-4B6A-879B-CD641A2CF605",
"properties": {
"requestSubmitTime": "2019-08-19T19:23:17.904Z",
"message": "Request failed, please contatct support.",
"provisioningState": "Failed",
"value": [
{
"limit": 200,
"subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C",
"name": {
"value": "standardHCSFamily",
"localizedValue": "Standard HCS Family vCPUs"
},
"message": "Request completed",
"provisioningState": "Succeeded"
},
{
"limit": 50,
"subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C",
"name": {
"value": "standardNCPromoFamily",
"localizedValue": "Standard NC Promo Family vCPUs"
},
"message": "RRequest failed, please contatct support.",
"provisioningState": "Failed"
}
]
}
}
QuotaRequestInProgress
示例请求
示例响应
{
"id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605",
"type": "Microsoft.Capacity/serviceLimitsRequests",
"name": "00000000-0000-0000-0000-000000000000/2B5C8515-37D8-4B6A-879B-CD641A2CF605",
"properties": {
"requestSubmitTime": "2019-08-19T19:23:17.904Z",
"message": "Request processing",
"provisioningState": "InProgress",
"value": [
{
"limit": 50,
"subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C",
"name": {
"value": "standardNCPromoFamily",
"localizedValue": "Standard NC Promo Family vCPUs"
},
"message": "Request processing",
"provisioningState": "InProgress"
}
]
}
}
QuotaRequestStatus
示例请求
示例响应
{
"id": "2B5C8515-37D8-4B6A-879B-CD641A2CF605",
"type": "Microsoft.Capacity/serviceLimitsRequests",
"name": "00000000-0000-0000-0000-000000000000/2B5C8515-37D8-4B6A-879B-CD641A2CF605",
"properties": {
"requestSubmitTime": "2019-08-19T19:23:17.904Z",
"message": "Request completed",
"provisioningState": "Succeeded",
"value": [
{
"limit": 200,
"subRequestId": "AD07450A-DE86-4FD3-859B-107BEF218C4C",
"name": {
"value": "standardHCSFamily",
"localizedValue": "Standard HCS Family vCPUs"
},
"message": "Request completed",
"provisioningState": "Succeeded"
},
{
"limit": 50,
"name": {
"value": "standardNCPromoFamily",
"localizedValue": "Standard NC Promo Family vCPUs"
},
"message": "Request completed",
"provisioningState": "Succeeded"
}
]
}
}
定义
| 名称 | 说明 |
|---|---|
|
Exception |
API 错误。 |
|
Quota |
配额请求详细信息。 |
|
Quota |
配额请求状态。 |
|
Resource |
资源提供程序提供的资源名称。 将此属性用于 quotaRequest 参数。 |
|
Service |
API 错误详细信息。 |
|
Service |
错误详细信息。 |
|
Sub |
使用配额请求提交的子请求。 |
ExceptionResponse
API 错误。
| 名称 | 类型 | 说明 |
|---|---|---|
| error |
API 错误详细信息。 |
QuotaRequestDetails
配额请求详细信息。
| 名称 | 类型 | 说明 |
|---|---|---|
| id |
string |
配额请求 ID。 |
| name |
string |
配额请求名称。 |
| properties.message |
string |
用户友好状态消息。 |
| properties.provisioningState |
配额请求状态。 |
|
| properties.requestSubmitTime |
string (date-time) |
使用格式提交配额请求的时间:yyyy-MM-ddTHH:mm:ssZ,由 ISO 8601 标准指定。 |
| properties.value |
quotaRequests。 |
|
| type |
string |
资源类型 |
QuotaRequestState
配额请求状态。
| 值 | 说明 |
|---|---|
| Accepted | |
| Invalid | |
| Succeeded | |
| Failed | |
| InProgress |
ResourceName
资源提供程序提供的资源名称。 将此属性用于 quotaRequest 参数。
| 名称 | 类型 | 说明 |
|---|---|---|
| localizedValue |
string |
资源显示本地化名称。 |
| value |
string |
资源名称。 |
ServiceError
API 错误详细信息。
| 名称 | 类型 | 说明 |
|---|---|---|
| code |
string |
错误代码。 |
| details |
错误详细信息的列表。 |
|
| message |
string |
错误消息文本。 |
ServiceErrorDetail
错误详细信息。
| 名称 | 类型 | 说明 |
|---|---|---|
| code |
string |
错误代码。 |
| message |
string |
错误消息。 |
SubRequest
使用配额请求提交的子请求。
| 名称 | 类型 | 说明 |
|---|---|---|
| limit |
integer (int32) |
配额(资源限制)。 |
| message |
string |
用户友好状态消息。 |
| name |
资源名称。 |
|
| provisioningState |
配额请求状态。 |
|
| resourceType |
string |
为其执行配额检查的资源类型。 |
| subRequestId |
string |
单个请求的子请求 ID。 |
| unit |
string |
限制单位,如 计数 和 字节。 使用 GET 配额作响应中提供的单元字段。 |