DescribeActiveOperationTasks 操作を呼び出して、O&M イベントを照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
polardbx:DescribeActiveOperationTasks |
none |
*すべてのリソース。
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| Region |
string |
任意 |
リージョン。 |
cn-hangzhou |
| TaskType |
string |
任意 |
タスクタイプ。値 all は、ユーザーのすべてのタスクが照会されることを示します。値を all に設定してください。 |
all |
| ProductId |
string |
任意 |
プロダクト名。デフォルト値: polarx。 |
polarx |
| DbType |
string |
任意 |
データベースタイプ。値を polarx に設定してください。 |
polarx |
| InsName |
string |
任意 |
インスタンス名。デフォルト値: 空文字列。 |
pxc-xxxxx |
| ChangeLevel |
string |
任意 |
変更レベル。デフォルト値: all。有効な値:
|
all |
| PageSize |
integer |
任意 |
ページサイズ。デフォルト値: 25。 |
25 |
| PageNumber |
integer |
任意 |
ページ番号。値は 0 より大きい必要があります。デフォルト値: 1。 |
1 |
| Status |
integer |
任意 |
タスクのステータス。有効な値:
|
-1 |
| AllowChange |
integer |
任意 |
時間を変更できるかどうかを指定します。有効な値:
|
-1 |
| AllowCancel |
integer |
任意 |
キャンセルが許可されているかどうかを指定します。有効な値:
|
-1 |
| RegionId |
string |
必須 |
リージョン ID。 |
cn-hangzhou |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーター。 |
||
| PageSize |
integer |
ページサイズ。 |
12 |
| RequestId |
string |
リクエスト ID。 |
xxxx |
| PageNumber |
integer |
ページ番号。 |
1 |
| TotalRecordCount |
integer |
レコードの総数。 |
23 |
| Items |
array<object> |
パラメーターのリスト。 |
|
|
object |
パラメーターのリスト。 |
||
| AllowCancel |
string |
キャンセルが許可されているかどうかを示します。有効な値:
|
0 |
| AllowChange |
string |
変更が許可されているかどうかを示します。有効な値:
|
0 |
| ChangeLevel |
string |
変更レベル (無視可能)。 |
Risk |
| ChangeLevelEn |
string |
英語の変更レベル。 |
Risk repairment |
| ChangeLevelZh |
string |
中国語の変更レベル。 |
风险修复 |
| CreatedTime |
string |
作成時刻。 |
2021-06-15T16:00:00Z |
| CurrentAVZ |
string |
現在のアベイラビリティゾーン。 |
cn-shanghai-et-a |
| DbType |
string |
データベースタイプ。 |
polarx |
| DbVersion |
string |
データベースバージョン。 |
2.0 |
| Deadline |
string |
期限。 |
2021-06-15T16:00:00Z |
| Id |
integer |
タスク ID。 |
1 |
| Impact |
string |
影響 (出力されません)。 |
-- |
| ImpactEn |
string |
英語の影響。 |
一時的なインスタンス切断 |
| ImpactZh |
string |
中国語の影響。 |
中断 |
| InsComment |
string |
説明。 |
xxx |
| InsName |
string |
インスタンス名。 |
pxc-dd |
| ModifiedTime |
string |
変更時刻。 |
2021-06-15T16:00:00Z |
| PrepareInterval |
string |
準備間隔。 |
03:00:00 |
| Region |
string |
リージョン。 |
cn-shanghai-et15-b01 |
| ResultInfo |
string |
結果情報 (無視可能)。 |
-- |
| StartTime |
string |
開始時刻。 |
2021-06-15T16:00:00Z |
| Status |
integer |
ステータス。有効な値:
|
3 |
| SubInsNames |
array |
サブインスタンスのリスト。 |
|
|
string |
サブインスタンスリストのエントリ。 |
pxc-xx |
|
| SwitchTime |
string |
スイッチオーバー時刻。 |
2021-06-15T16:00:00Z |
| TaskType |
string |
タスクタイプ。 |
rds_apsaradb_transfer |
| TaskTypeEn |
string |
英語のタスクタイプ (無視可能)。 |
-- |
| TaskTypeZh |
string |
中国語のタスクタイプ (無視可能)。 |
-- |
例
成功レスポンス
JSONJSON
{
"PageSize": 12,
"RequestId": "xxxx",
"PageNumber": 1,
"TotalRecordCount": 23,
"Items": [
{
"AllowCancel": "0",
"AllowChange": "0",
"ChangeLevel": "Risk",
"ChangeLevelEn": "Risk repairment",
"ChangeLevelZh": "风险修复",
"CreatedTime": "2021-06-15T16:00:00Z",
"CurrentAVZ": "cn-shanghai-et-a",
"DbType": "polarx",
"DbVersion": "2.0",
"Deadline": "2021-06-15T16:00:00Z",
"Id": 1,
"Impact": "--",
"ImpactEn": "Transient instance disconnection",
"ImpactZh": "中断",
"InsComment": "xxx",
"InsName": "pxc-dd",
"ModifiedTime": "2021-06-15T16:00:00Z",
"PrepareInterval": "03:00:00",
"Region": "cn-shanghai-et15-b01",
"ResultInfo": "--",
"StartTime": "2021-06-15T16:00:00Z",
"Status": 3,
"SubInsNames": [
"pxc-xx"
],
"SwitchTime": "2021-06-15T16:00:00Z",
"TaskType": "rds_apsaradb_transfer",
"TaskTypeEn": "--",
"TaskTypeZh": "--"
}
]
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。