アラートログのリストをクエリします。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
alidns:ListCloudGtmAlertLogs |
list |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| Lang |
string |
任意 |
レスポンスの言語。
|
zh-CN |
| ActionType |
string |
任意 |
アラートタイプ。
|
ALERT |
| EntityType |
string |
任意 |
アラートオブジェクト。
|
GTM_ADDRESS |
| Keyword |
string |
任意 |
検索キーワード。通常はアドレス ID、アドレスプール ID、またはドメイン名です。 |
pool-895280232254422016 |
| StartTimestamp |
integer |
必須 |
クエリする時間範囲の開始時刻。UNIX タイムスタンプです。 |
1611328826977 |
| EndTimestamp |
integer |
必須 |
クエリする時間範囲の終了時刻。UNIX タイムスタンプです。 |
1711328826977 |
| PageNumber |
integer |
必須 |
現在のページ番号。値は 1 から始まります。デフォルト値は 1 です。 |
1 |
| PageSize |
integer |
必須 |
ページングクエリで各ページに返すエントリの数。最大値は 100 です。デフォルト値は 20 です。 |
20 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
一意のリクエスト ID。 |
536E9CAD-DB30-4647-AC87-AA5CC38C5382 |
| PageNumber |
integer |
現在のページ番号。値は 1 から始まります。デフォルト値は 1 です。 |
1 |
| PageSize |
integer |
各ページに返されるエントリの数。最大値は 100 です。デフォルト値は 20 です。 |
20 |
| TotalPages |
integer |
ページの総数。 |
1 |
| TotalItems |
integer |
アラートログの総数。 |
15 |
| Logs |
object |
||
| Log |
array<object> |
アラートログのリスト。 |
|
|
object |
アラートログの情報。 |
||
| ActionType |
string |
アラートタイプ。
|
ALERT |
| EntityType |
string |
アラートオブジェクト。
|
GTM_ADDRESS |
| Content |
string |
アラートの内容。 |
"Pool name:华东\nType:IPv4\nReason: Normal health determination\nNumber of addresses in the pool : 2\nAbnormal address: --\nDetermination conditions : Any address in the addresspool is available address\nAffected domain names: www.cloud-example.com" |
| Timestamp |
integer |
アラートログが生成された時刻。UNIX タイムスタンプです。 |
1711328826977 |
例
成功レスポンス
JSONJSON
{
"RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
"PageNumber": 1,
"PageSize": 20,
"TotalPages": 1,
"TotalItems": 15,
"Logs": {
"Log": [
{
"ActionType": "ALERT",
"EntityType": "GTM_ADDRESS",
"Content": "\"Pool name:华东\\nType:IPv4\\nReason: Normal health determination\\nNumber of addresses in the pool : 2\\nAbnormal address: --\\nDetermination conditions : Any address in the addresspool is available address\\nAffected domain names: www.cloud-example.com\"",
"Timestamp": 1711328826977
}
]
}
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。