アラートグループ内のアラート連絡先を照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
cms:DescribeContactListByContactGroup |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ContactGroupName |
string |
必須 |
アラートグループの名前。 |
CloudMonitor |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| Code |
string |
HTTP ステータスコード。 説明
状態コード 200 は、リクエストが成功したことを示します。 |
200 |
| Message |
string |
返されたメッセージ。 |
The group is not exists. |
| RequestId |
string |
リクエスト ID。 |
06D5ECC2-B9BE-42A4-8FA3-1A610FB08B83 |
| Success |
boolean |
リクエストが成功したかどうかを示します。 有効な値:
|
true |
| Contacts |
object |
||
| Contact |
array<object> |
アラート通知を受信するアラート連絡先。 |
|
|
array<object> |
|||
| UpdateTime |
integer |
アラート連絡先が変更された時間。 単位:ミリ秒。 |
1552323252000 |
| Name |
string |
アラート連絡先の名前。 |
Alice |
| CreateTime |
integer |
アラート連絡先が作成された時間。 単位:ミリ秒。 |
1552314252000 |
| Desc |
string |
アラート連絡先の説明。 |
ECS |
| Channels |
object |
アラート通知方法。 |
|
|
string |
アラート連絡先のメールアドレス。 |
alice@example.com |
|
| AliIM |
string |
アラート連絡先の TradeManager ID。 説明
このパラメーターは、中国サイト (aliyun.com) でのみ返されます。 |
Alice |
| DingWebHook |
string |
DingTalk チャットボットの Webhook URL。 |
https://oapi.dingtalk.com/robot/send?access_token=9bf44f8189597d07dfdd7a123455ffc112**** |
| SMS |
string |
アラート連絡先の携帯電話番号。 説明
このパラメーターは、中国サイト (aliyun.com) でのみ返されます。 |
1333333**** |
例
成功レスポンス
JSONJSON
{
"Code": "200",
"Message": "The group is not exists.",
"RequestId": "06D5ECC2-B9BE-42A4-8FA3-1A610FB08B83",
"Success": true,
"Contacts": {
"Contact": [
{
"UpdateTime": 1552323252000,
"Name": "Alice",
"CreateTime": 1552314252000,
"Desc": "ECS",
"Channels": {
"Mail": "alice@example.com",
"AliIM": "Alice",
"DingWebHook": "https://oapi.dingtalk.com/robot/send?access_token=9bf44f8189597d07dfdd7a123455ffc112****",
"SMS": "1333333****"
}
}
]
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | %s | %s | |
| 500 | %s | %s | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | %s | %s | |
| 404 | %s | %s |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。