名前空間内のデプロイメントオーダーを一覧表示します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
sae:ListNamespaceChangeOrders |
get |
*All Resource
|
なし | なし |
リクエスト構文
GET /pop/v1/sam/changeorder/listNamespaceChangeOrders HTTP/1.1
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| NamespaceId |
string |
必須 |
名前空間 ID。 |
cn-shanghai:test |
| CoStatus |
string |
任意 |
変更オーダーステータス。 有効値:
|
2 |
| CoType |
string |
任意 |
変更オーダータイプ。 有効値:
|
CoBatchStartApplication |
| Key |
string |
任意 |
変更オーダーの説明をあいまい検索するためのキーワード。 説明にこのキーワードが含まれる変更オーダーが返されます。 |
test |
| CurrentPage |
integer |
任意 |
現在のページ。 |
1 |
| PageSize |
integer |
任意 |
ページサイズ。 |
20 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
返されたデータ。 |
||
| RequestId |
string |
リクエスト ID。 |
0bc3915638507554994370d**** |
| ErrorCode |
string |
エラーコード。
|
|
| Success |
boolean |
リクエストが成功したかどうかを示します。 有効値:
|
true |
| Code |
string |
HTTP ステータスコードまたは POP エラーコード。
|
200 |
| Message |
string |
応答メッセージ。 |
success |
| TraceId |
string |
リクエストの詳細を照会するために使用されるトレース ID。 |
0bc3915638507554994370d**** |
| Data |
object |
返された結果。 |
|
| CurrentPage |
integer |
現在のページ番号。 |
1 |
| PageSize |
integer |
1 ページあたりのエントリ数。 |
20 |
| TotalSize |
integer |
変更オーダーの総数。 |
32 |
| ChangeOrderList |
array<object> |
変更オーダーのリスト。 |
|
|
object |
変更オーダー。 |
||
| Status |
integer |
変更オーダーのステータス。 有効値:
|
2 |
| FinishTime |
string |
変更オーダーの完了時間。 |
2019-07-11 20:12:58 |
| NamespaceId |
string |
名前空間 ID。 |
cn-shanghai:test |
| CreateTime |
string |
変更オーダーの作成時間。 |
2019-07-11 15:54:49 |
| UserId |
string |
ユーザー ID。 |
test_sae |
| Source |
string |
変更オーダーの開始ソース。 |
console |
| CreateUserId |
string |
変更オーダーを作成したユーザーの ID。 |
test@aliyun.com |
| BatchCount |
integer |
バッチ数。 |
1 |
| CoTypeCode |
string |
変更オーダーのタイプコード。 有効値:
|
CoBatchStartApplication |
| ChangeOrderId |
string |
変更オーダー ID。 |
7fa5c0-9ebb-4bb4-b383-1f885447**** |
| BatchType |
string |
バッチタイプ。 |
|
| Description |
string |
変更オーダーの説明。 |
Batch Start Applications |
| GroupId |
string |
グループ ID。 |
c9ecd2-cf6c-46c3-9f20-525de202**** |
| CoType |
string |
|
msg.docker.app.actions.CoBatchStartApplication |
| Pipelines |
string |
パイプライン。 |
xxxx |
例
成功レスポンス
JSONJSON
{
"RequestId": "0bc3915638507554994370d****",
"ErrorCode": "",
"Success": true,
"Code": "200",
"Message": "success",
"TraceId": "0bc3915638507554994370d****",
"Data": {
"CurrentPage": 1,
"PageSize": 20,
"TotalSize": 32,
"ChangeOrderList": [
{
"Status": 2,
"FinishTime": "2019-07-11 20:12:58",
"NamespaceId": "cn-shanghai:test",
"CreateTime": "2019-07-11 15:54:49",
"UserId": "test_sae",
"Source": "console",
"CreateUserId": "test@aliyun.com",
"BatchCount": 1,
"CoTypeCode": "CoBatchStartApplication",
"ChangeOrderId": "7fa5c0-9ebb-4bb4-b383-1f885447****",
"BatchType": "",
"Description": "Batch Start Applications",
"GroupId": "c9ecd2-cf6c-46c3-9f20-525de202****",
"CoType": "msg.docker.app.actions.CoBatchStartApplication",
"Pipelines": "xxxx"
}
]
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | Resouce.no.permission | You are not authorized to operate on the specified resources. | |
| 400 | InvalidParameter.NotEmpty | You must specify the parameter %s. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。