この操作は、クォータのリストを照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
odps:ListQuotas |
get |
*Quota
|
なし | なし |
リクエスト構文
GET /api/v1/quotas HTTP/1.1
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
tenantId
deprecated
|
string |
任意 |
||
region
deprecated
|
string |
任意 |
||
productId
deprecated
|
string |
任意 |
||
| billingType |
string |
任意 |
課金方法。 |
subscription |
| saleTags |
string |
任意 |
クォータのフィルターに使用される費用配分タグ。タグサービスで費用配分タグを作成できます。 |
{"tag":"this_is_tag_demo"} |
| marker |
string |
任意 |
結果の返信を開始する位置を指定するトークン。結果はアルファベット順にソートされます。 |
cHlvZHBzX3VkZl8xMDExNV8xNDU3NDI4NDkzKg== |
| maxItem |
integer |
任意 |
各ページで返されるエントリの最大数。 |
100 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
PopCompatibleResult |
||
| requestId |
string |
リクエストの ID。 |
0bc12e6f16677875480593081d2956 |
| quotaInfoList |
array<object> |
クォータのリスト。 |
|
|
array<object> |
クォータのリスト。 |
||
| billingPolicy |
object |
課金情報。 |
|
| billingMethod |
string |
課金方法。
|
subscription |
| odpsSpecCode |
string |
注文の仕様。 |
OdpsStandard |
| orderId |
string |
注文の ID。 |
45245678 |
| saleTag |
object |
クォータの販売タグ。このタグは課金識別子と同じで、費用配分に使用されます。 |
|
| resourceIds |
array |
リソースの ID。この ID は課金システムでも使用されます。この ID を使用して、クォータのコストをタグに関連付けることができます。 |
|
|
string |
MaxCompute クォータの ID。 |
"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd" |
|
| resourceType |
string |
リソースのタイプ。有効な値: quota および project。 |
"project" |
| cluster |
string |
クラスターの ID。 |
AT-120N |
| createTime |
integer |
クォータが作成された時間。 |
2022-09-06T02:14:44Z |
| creatorId |
string |
クォータを作成したアカウントの ID。この ID は Alibaba Cloud アカウントの UID です。 |
672863518 |
| id |
string |
クォータの ID。 |
0 |
| name |
string |
クォータの名前。 |
quota_a |
| nickName |
string |
クォータのエイリアス。 |
quota_nickname |
| parameter |
object |
クォータのパラメーター。 |
{"minCU":10, "adhocCU":0, "maxCU":10, "schedulerType":"Fair", } |
| parentId |
string |
親リソースの ID。 |
null |
| regionId |
string |
リージョンの ID。 |
cn-beijing |
| scheduleInfo |
object |
時間ベースのスケジューリング情報。 |
|
| currPlan |
string |
現在有効なクォータプラン。 |
planA |
| currTime |
string |
現在のプランが有効になった時間。 |
0800 |
| nextPlan |
string |
次に有効になる予定のクォータプラン。 |
planB |
| nextTime |
string |
次のプランが有効になる予定の時間。 |
1700 |
| oncePlan |
string |
すぐに有効になるクォータプラン。このパラメーターは、ユーザーが現在のプランとは異なる即時プランをトリガーした場合にのみ返されます。 |
planC |
| onceTime |
string |
即時プランがトリガーされた時間。 |
1500 |
| operatorName |
string |
オペレーターの名前。 |
userA |
| timezone |
string |
タイムゾーン。 |
UTC+8 |
| status |
string |
クォータのステータス。 |
ON |
| subQuotaInfoList |
array<object> |
サブクォータに関する情報。 |
|
|
array<object> |
サブクォータに関する情報。 |
||
| saleTag |
object |
クォータの販売タグ。このタグは課金識別子と同じで、費用配分に使用されます。 |
|
| resourceIds |
array |
リソースの ID。この ID は課金システムでも使用されます。この ID を使用して、クォータのコストをタグに関連付けることができます。 |
|
|
string |
MaxCompute クォータの ID。 |
"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd" |
|
| resourceType |
string |
リソースのタイプ。有効な値: quota および project。 |
"quota" |
| billingPolicy |
object |
課金情報。 |
|
| billingMethod |
string |
課金方法。
|
subscription |
| odpsSpecCode |
string |
注文の仕様。 |
OdpsStandard |
| orderId |
string |
注文の ID。 |
45245678 |
| cluster |
string |
クラスターの ID。 |
AT-120N |
| createTime |
integer |
クォータが作成された時間。 |
2022-09-06T02:14:44Z |
| creatorId |
string |
クォータを作成したアカウントの ID。この ID は Alibaba Cloud アカウントの UID です。 |
672863518 |
| id |
string |
サブクォータの ID。 |
1000048 |
| name |
string |
サブクォータの名前。 |
subquotaA |
| nickName |
string |
サブクォータのエイリアス。 |
subquotaA |
| parameter |
object |
クォータの説明。 |
{"minCU":10, "adhocCU":0, "maxCU":10, "schedulerType":"Fair", } |
| enablePriority |
boolean |
優先度ベースのスケジューリングを有効にするかどうかを示します。 |
true |
| forceReservedMin |
boolean |
リソースが排他的かどうかを示します。 |
true |
| maxCU |
integer |
予約済みコンピューティングユニット (CU) の最大値。 |
50 |
| minCU |
integer |
予約済み CU の最小値。 |
50 |
| schedulerType |
string |
スケジューリングポリシー。 |
Fifo/Fair |
| singleJobCULimit |
integer |
単一ジョブの最大 CU 数。 |
10 |
| elasticReservedCU |
integer |
弾力的に予約された CU。 |
50 |
| slotNum |
integer |
||
| adhocSlot |
integer |
||
| minGu |
integer |
||
| maxGu |
integer |
||
| autoScaleCPULimit |
integer |
||
| parentId |
string |
親リソースの ID。 |
0 |
| regionId |
string |
リージョンの ID。 |
cn-beijing |
| scheduleInfo |
object |
時間ベースのスケジューリング情報。 |
|
| currPlan |
string |
現在有効なクォータプラン。 |
planA |
| currTime |
string |
現在のプランが有効になった時間。 |
0800 |
| nextPlan |
string |
次に有効になる予定のクォータプラン。 |
planB |
| nextTime |
string |
次のプランが有効になる予定の時間。 |
1700 |
| oncePlan |
string |
すぐに有効になるクォータプラン。このパラメーターは、ユーザーが現在のプランとは異なる即時プランをトリガーした場合にのみ返されます。 |
planC |
| onceTime |
string |
即時プランがトリガーされた時間。 |
1500 |
| operatorName |
string |
オペレーターの名前。 |
userA |
| timezone |
string |
タイムゾーン。 |
UTC+8 |
| status |
string |
クォータのステータス。 |
ON |
| tag |
string |
クォータのタグ。 |
abc |
| tenantId |
string |
テナントの ID。 |
280747109771520 |
| type |
string |
リソースシステムのタイプ。このパラメーターは、コントロールクラスターの resourceSystemType パラメーターに対応します。 |
FUXI_ONLINE |
| version |
string |
バージョン番号。 |
1 |
| tag |
string |
クォータのタグ。 |
abc |
| tenantId |
string |
テナントの ID。 |
280747109771520 |
| type |
string |
リソースシステムのタイプ。このパラメーターは、コントロールクラスターの resourceSystemType パラメーターに対応します。 |
FUXI_ONLINE |
| version |
string |
バージョン番号。 |
1 |
| Tags |
array<object> |
タグ。 |
|
|
object |
タグ。 |
||
| TagValue |
string |
タグの値。 |
1 |
| TagKey |
string |
タグのキー。 |
Department |
| marker |
string |
結果の返信を開始する位置を指定するトークン。結果はアルファベット順にソートされます。 |
cHlvZHBzX3VkZl8xMDExNV8xNDU3NDI4NDkzKg== |
| maxItem |
integer |
各ページで返されるエントリの最大数。 |
10 |
| data |
object |
返されたデータ。 |
|
| quotaInfoList |
array<object> |
クォータのリスト。 |
|
|
array<object> |
クォータのリスト。 |
||
| id |
string |
クォータの ID。 |
0 |
| name |
string |
クォータの名前。 |
quota_a |
| nickName |
string |
クォータのエイリアス。 |
quota_nickname |
| type |
string |
リソースシステムのタイプ。このパラメーターは、コントロールクラスターの resourceSystemType パラメーターに対応します。 |
FUXI_ONLINE |
| status |
string |
クォータのステータス。 |
ON |
| tenantId |
string |
テナントの ID。 |
280747109771520 |
| regionId |
string |
リージョンの ID。 |
cn-beijing |
| parentId |
string |
親リソースの ID。 |
null |
| cluster |
string |
クラスターの ID。 |
AT-120N |
| version |
string |
バージョン番号。 |
1 |
| billingPolicy |
object |
課金情報。 |
|
| odpsSpecCode |
string |
注文の仕様。 |
OdpsStandard |
| orderId |
string |
注文の ID。 |
45245678 |
| billingMethod |
string |
課金方法。
|
subscription |
| scheduleInfo |
object |
時間ベースのスケジューリング情報。 |
|
| currPlan |
string |
現在有効なクォータプラン。 |
planA |
| currTime |
string |
現在のプランが有効になった時間。 |
0800 |
| nextPlan |
string |
次に有効になる予定のクォータプラン。 |
planB |
| nextTime |
string |
次のプランが有効になる予定の時間。 |
1700 |
| oncePlan |
string |
すぐに有効になるクォータプラン。このパラメーターは、ユーザーが現在のプランとは異なる即時プランをトリガーした場合にのみ返されます。 |
planC |
| onceTime |
string |
即時プランがトリガーされた時間。 |
1500 |
| operatorName |
string |
オペレーターの名前。 |
userA |
| timezone |
string |
タイムゾーン。 |
UTC+8 |
| parameter |
object |
クォータの説明。 |
{"minCU":10, "adhocCU":0, "maxCU":10, "schedulerType":"Fair", } |
| tag |
string |
クォータのタグ。 |
abc |
| createTime |
integer |
クォータが作成された時間。 |
2022-09-06T02:14:44Z |
| creatorId |
string |
クォータを作成したアカウントの ID。この ID は Alibaba Cloud アカウントの UID です。 |
672863518 |
| saleTag |
object |
クォータの販売タグ。このタグは課金識別子と同じで、費用配分に使用されます。 |
|
| resourceIds |
array |
リソースの ID。この ID は課金システムでも使用されます。この ID を使用して、クォータのコストをタグに関連付けることができます。 |
|
|
string |
MaxCompute クォータの ID。 |
"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd" |
|
| resourceType |
string |
リソースのタイプ。有効な値: quota および project。 |
"quota" |
| subQuotaInfoList |
array<object> |
サブクォータに関する情報。 |
|
|
array<object> |
サブクォータに関する情報。 |
||
| id |
string |
サブクォータの ID。 |
1000048 |
| name |
string |
サブクォータの名前。 |
subquotaA |
| nickName |
string |
サブクォータのエイリアス。 |
subquotaA |
| type |
string |
リソースシステムのタイプ。このパラメーターは、コントロールクラスターの resourceSystemType パラメーターに対応します。 |
FUXI_ONLINE |
| status |
string |
クォータのステータス。 |
ON |
| tenantId |
string |
テナントの ID。 |
280747109771520 |
| regionId |
string |
リージョンの ID。 |
cn-beijing |
| parentId |
string |
親リソースの ID。 |
0 |
| cluster |
string |
クラスターの ID。 |
AT-120N |
| version |
string |
バージョン番号。 |
1 |
| billingPolicy |
object |
課金情報。 |
|
| odpsSpecCode |
string |
注文の仕様。 |
OdpsStandard |
| orderId |
string |
注文の ID。 |
45245678 |
| billingMethod |
string |
課金方法。
|
subscription |
| scheduleInfo |
object |
時間ベースのスケジューリング情報。 |
|
| currPlan |
string |
現在有効なクォータプラン。 |
planA |
| currTime |
string |
現在のプランが有効になった時間。 |
0800 |
| nextPlan |
string |
次に有効になる予定のクォータプラン。 |
planB |
| nextTime |
string |
次のプランが有効になる予定の時間。 |
1700 |
| oncePlan |
string |
すぐに有効になるクォータプラン。このパラメーターは、ユーザーが |
planC |
| onceTime |
string |
即時有効プランがトリガーされた時刻。 |
1500 |
| operatorName |
string |
オペレーターの名前。 |
userA |
| timezone |
string |
タイムゾーン。 |
UTC+8 |
| parameter |
object |
クォータの説明。 |
{"minCU":10, "adhocCU":0, "maxCU":10, "schedulerType":"Fair", } |
| enablePriority |
boolean |
優先度ベースのスケジューリングを有効にするかどうかを指定します。 |
true |
| forceReservedMin |
boolean |
リソースが排他的であるかどうかを指定します。 |
true |
| maxCU |
integer |
予約済み CU の上限。 |
50 |
| minCU |
integer |
保証された予約 CU の最小数。 |
50 |
| schedulerType |
string |
スケジューリングポリシー。 |
Fifo/Fair |
| singleJobCULimit |
integer |
単一ジョブの CU の上限。 |
10 |
| elasticReservedCU |
integer |
エラスティックに予約された CUs の値。 |
50 |
| slotNum |
integer |
||
| adhocSlot |
integer |
||
| autoScaleCPULimit |
integer |
||
| minGu |
integer |
||
| maxGu |
integer |
||
| tag |
string |
クォータのリソースタグ。 |
abc |
| createTime |
integer |
リソースが作成された時刻。 |
2022-09-06T02:14:44Z |
| creatorId |
string |
リソースの作成者。これは Alibaba Cloud アカウントの UID です。 |
672863518 |
| saleTag |
object |
MaxCompute クォータオブジェクトの識別子。この識別子は Alibaba Cloud の請求書にあるものと同じで、タギングシナリオで使用されます。 |
|
| resourceIds |
array |
MaxCompute クォータオブジェクトの識別子です。この識別子は、Alibaba Cloud 販売サブシステムにも存在します。これにより、クォータオブジェクトのコストがタグに関連付けられます。 |
|
|
string |
MaxCompute クォータオブジェクトの識別子。 |
"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd" |
|
| resourceType |
string |
オブジェクトのタイプ。 `quota` と `project` のみがサポートされています。 |
"quota" |
| Tags |
array<object> |
タグ。 |
|
|
object |
タグ。 |
||
| TagValue |
string |
タグの値。 |
a12351qHDP6YEQMt |
| TagKey |
string |
タグキー。 |
Department |
| marker |
string |
結果は、marker の後のエントリからアルファベット順に返されます。 |
cHlvZHBzX3VkZl8xMDExNV8xNDU3NDI4NDkzKg== |
| maxItem |
integer |
1ページあたりに返されるエントリの最大数。 |
10 |
| NextToken |
string |
次のページの結果を取得するためのトークンです。このパラメーターに値がある場合、さらに結果が利用可能です。次のページを取得するには、次のリクエストの `NextToken` パラメーターにこの値を含めます。 |
"abcde" |
| NextToken |
string |
結果の次のページに進むためのトークンです。この操作は連続ページングのみをサポートします。返された値が空でない場合、さらにデータが利用可能です。次のページを取得するには、次のリクエストで返された値を使用します。 |
AAAAAdDWBF2w6Olxc+cMPjUtUMo/CvPe4IK7f7kIQFrIZjyc |
例
成功レスポンス
JSONJSON
{
"requestId": "0bc12e6f16677875480593081d2956",
"quotaInfoList": [
{
"billingPolicy": {
"billingMethod": "subscription",
"odpsSpecCode": "OdpsStandard ",
"orderId": "45245678"
},
"saleTag": {
"resourceIds": [
"\"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd\""
],
"resourceType": "\"project\""
},
"cluster": "AT-120N\n",
"createTime": 0,
"creatorId": "672863518\n",
"id": "0",
"name": "quota_a\n",
"nickName": "quota_nickname\n",
"parameter": {
"test": "test",
"test2": 1
},
"parentId": "null",
"regionId": "cn-beijing",
"scheduleInfo": {
"currPlan": "planA",
"currTime": "0800",
"nextPlan": "planB",
"nextTime": "1700",
"oncePlan": "planC",
"onceTime": "1500",
"operatorName": "userA",
"timezone": "UTC+8"
},
"status": "ON \n",
"subQuotaInfoList": [
{
"saleTag": {
"resourceIds": [
"\"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd\"\n"
],
"resourceType": "\"quota\""
},
"billingPolicy": {
"billingMethod": "subscription\n",
"odpsSpecCode": "OdpsStandard ",
"orderId": "45245678\n"
},
"cluster": "AT-120N",
"createTime": 0,
"creatorId": "672863518\n",
"id": "1000048",
"name": "subquotaA\n",
"nickName": "subquotaA\n",
"parameter": {
"enablePriority": true,
"forceReservedMin": true,
"maxCU": 50,
"minCU": 50,
"schedulerType": "Fifo/Fair\n",
"singleJobCULimit": 10,
"elasticReservedCU": 50,
"slotNum": 0,
"adhocSlot": 0,
"minGu": 0,
"maxGu": 0,
"autoScaleCPULimit": 0
},
"parentId": "0",
"regionId": "cn-beijing",
"scheduleInfo": {
"currPlan": "planA",
"currTime": "0800",
"nextPlan": "planB",
"nextTime": "1700",
"oncePlan": "planC",
"onceTime": "1500",
"operatorName": "userA",
"timezone": "UTC+8"
},
"status": "ON",
"tag": "abc",
"tenantId": "280747109771520\n",
"type": "FUXI_ONLINE\n",
"version": "1"
}
],
"tag": "abc",
"tenantId": "280747109771520\n",
"type": "FUXI_ONLINE\n",
"version": "1",
"Tags": [
{
"TagValue": "1",
"TagKey": "Department"
}
]
}
],
"marker": "cHlvZHBzX3VkZl8xMDExNV8xNDU3NDI4NDkzKg==",
"maxItem": 10,
"data": {
"quotaInfoList": [
{
"id": "0\n",
"name": "quota_a\n",
"nickName": "quota_nickname",
"type": "FUXI_ONLINE",
"status": "ON",
"tenantId": "280747109771520",
"regionId": "cn-beijing",
"parentId": "null",
"cluster": "AT-120N",
"version": "1",
"billingPolicy": {
"odpsSpecCode": "OdpsStandard ",
"orderId": "45245678\n",
"billingMethod": "subscription"
},
"scheduleInfo": {
"currPlan": "planA\n",
"currTime": "0800",
"nextPlan": "planB",
"nextTime": "1700",
"oncePlan": "planC",
"onceTime": "1500",
"operatorName": "userA",
"timezone": "UTC+8"
},
"parameter": {
"test": "test",
"test2": 1
},
"tag": "abc",
"createTime": 0,
"creatorId": "672863518\n",
"saleTag": {
"resourceIds": [
"\"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd\"\n"
],
"resourceType": "\"quota\"\n"
},
"subQuotaInfoList": [
{
"id": "1000048",
"name": "subquotaA\n",
"nickName": "subquotaA\n",
"type": "FUXI_ONLINE\n",
"status": "ON",
"tenantId": "280747109771520\n",
"regionId": "cn-beijing",
"parentId": "0",
"cluster": "AT-120N",
"version": "1",
"billingPolicy": {
"odpsSpecCode": "OdpsStandard ",
"orderId": "45245678\n",
"billingMethod": "subscription"
},
"scheduleInfo": {
"currPlan": "planA",
"currTime": "0800",
"nextPlan": "planB",
"nextTime": "1700",
"oncePlan": "planC",
"onceTime": "1500",
"operatorName": "userA",
"timezone": "UTC+8"
},
"parameter": {
"enablePriority": true,
"forceReservedMin": true,
"maxCU": 50,
"minCU": 50,
"schedulerType": "Fifo/Fair\n",
"singleJobCULimit": 10,
"elasticReservedCU": 50,
"slotNum": 0,
"adhocSlot": 0,
"autoScaleCPULimit": 0,
"minGu": 0,
"maxGu": 0
},
"tag": "abc",
"createTime": 0,
"creatorId": "672863518\n",
"saleTag": {
"resourceIds": [
"\"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd\"\n"
],
"resourceType": "\"quota\"\n"
}
}
],
"Tags": [
{
"TagValue": "a12351qHDP6YEQMt",
"TagKey": "Department"
}
]
}
],
"marker": "cHlvZHBzX3VkZl8xMDExNV8xNDU3NDI4NDkzKg==",
"maxItem": 10,
"NextToken": "\"abcde\""
},
"NextToken": "AAAAAdDWBF2w6Olxc+cMPjUtUMo/CvPe4IK7f7kIQFrIZjyc"
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。