GetComputeEffectivePlan。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
odps:GetEffectivePlan |
get |
*QuotaPlan
|
なし | なし |
リクエスト構文
GET /api/v1/quotas/{nickname}/computeEffectivePlan/ HTTP/1.1
パスパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| nickname |
string |
必須 |
レベル 1 コンピューティングクォータのニックネーム。 |
os_ComputeQuota_p |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
リクエストパラメーターは必要ありません。
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| requestId |
string |
リクエストの ID。 |
688003E1-D1B4-5468-957E-2FFB3AC8D79B |
| httpCode |
integer |
HTTP ステータスコード。
|
200 |
| errorCode |
string |
エラーコード。 |
success |
| errorMsg |
string |
エラーメッセージ。 |
plan \"***\" does not exist |
| data |
object |
返されたデータ。 |
|
| name |
string |
クォータプランの名前。 |
planA |
| createTime |
string |
クォータプランが作成された時間。 |
1714356241163 |
| quota |
object |
クォータの詳細。 |
|
| subQuotaInfoList |
array<object> |
サブクォータのリスト。 |
|
|
array<object> |
|||
| id |
string |
レベル 2 クォータの ID。 |
10940 |
| name |
string |
レベル 2 クォータの名前。 |
dp_cn_shanghai_1696659792_p |
| nickName |
string |
レベル 2 クォータのニックネーム。 |
os_MyQuota |
| type |
string |
クォータのタイプ。 |
FUXI_ONLINE |
| status |
string |
リソースのステータス。 |
ON |
| tenantId |
string |
テナントの ID。 |
478403690625249 |
| regionId |
string |
リージョン ID。 |
cn-beijing |
| cluster |
string |
クラスターの ID。 |
AT-120N |
| version |
string |
バージョン番号。 |
1386 |
| parameter |
object |
レベル 2 クォータの説明。 |
{ "enablePriority": false, "minCU": 25, "adhocCU": 0, "elasticReservedCU": 0, "forceReservedMin": false, "maxCU": 50, "schedulerType": "Fifo" } |
| createTime |
integer |
リソースが作成された時間。 |
1718155201628 |
| creatorId |
string |
リソースの作成に使用される Alibaba Cloud アカウントの ID。 |
672863518 |
| id |
string |
レベル 1 クォータの ID。 |
2413 |
| name |
string |
レベル 1 クォータの名前。 |
dp_cn_shanghai_1699533470_p |
| nickName |
string |
レベル 1 クォータのニックネーム。 |
os_MyQuota_p |
| type |
string |
クォータのタイプ。 |
FUXI_ONLINE |
| status |
string |
リソースのステータス。 |
ON |
| tenantId |
string |
テナントの ID。 |
478403690625249 |
| regionId |
string |
リージョン ID。 |
cn-beijing |
| cluster |
string |
クラスターの ID。 |
AT-120N |
| version |
string |
バージョン番号。 |
1964 |
| parameter |
object |
レベル 2 クォータの説明。 |
{ "enablePriority": false, "minCU": 25, "adhocCU": 0, "elasticReservedCU": 0, "forceReservedMin": false, "maxCU": 50, "schedulerType": "Fifo" } |
| createTime |
integer |
レベル 1 クォータが作成された時間。 |
1719886322347 |
| creatorId |
string |
リソースの作成に使用される Alibaba Cloud アカウントの ID。 |
672863518 |
| isEffective |
boolean |
現在有効かどうか。 説明
有効になったクォータプランは削除できません。つまり、isEffective=true です。 |
true/false |
例
成功レスポンス
JSONJSON
{
"requestId": "688003E1-D1B4-5468-957E-2FFB3AC8D79B",
"httpCode": 200,
"errorCode": "success",
"errorMsg": "plan \\\"***\\\" does not exist",
"data": {
"name": "planA",
"createTime": "1714356241163",
"quota": {
"subQuotaInfoList": [
{
"id": "10940",
"name": "dp_cn_shanghai_1696659792_p",
"nickName": "os_MyQuota",
"type": "FUXI_ONLINE",
"status": "ON",
"tenantId": "478403690625249",
"regionId": "cn-beijing",
"cluster": "AT-120N\n",
"version": "1386",
"parameter": {
"enablePriority": false,
"minCU": 25,
"adhocCU": 0,
"elasticReservedCU": 0,
"forceReservedMin": false,
"maxCU": 50,
"schedulerType": "Fifo"
},
"createTime": 1718155201628,
"creatorId": "672863518"
}
],
"id": "2413",
"name": "dp_cn_shanghai_1699533470_p",
"nickName": "os_MyQuota_p",
"type": "FUXI_ONLINE",
"status": "ON",
"tenantId": "478403690625249",
"regionId": "cn-beijing",
"cluster": "AT-120N\n",
"version": "1964",
"parameter": {
"enablePriority": false,
"minCU": 25,
"adhocCU": 0,
"elasticReservedCU": 0,
"forceReservedMin": false,
"maxCU": 50,
"schedulerType": "Fifo"
},
"createTime": 1719886322347,
"creatorId": "672863518"
},
"isEffective": true
}
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。