調用DescribeContactGroupList介面查詢警示聯絡組列表。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
cms:DescribeContactGroupList |
get |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| PageSize |
integer |
否 |
每頁顯示記錄條數。 |
10 |
| PageNumber |
integer |
否 |
頁碼。 |
1 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| Code |
string |
狀態代碼。說明 200 表示成功。 |
200 |
| Message |
string |
返回資訊。 |
success |
| RequestId |
string |
本次調用請求的 ID,是由阿里雲為該請求產生的唯一識別碼,可用於排查和定位問題。 |
916EE694-03C2-47B6-85EE-5054E3C168D3 |
| Total |
integer |
總記錄條數。 |
22 |
| Success |
boolean |
操作是否成功。取值:
|
true |
| ContactGroups |
object |
||
| ContactGroup |
array |
警示連絡人群組列表。 |
|
|
string |
警示連絡人群組。 |
雲帳號警示連絡人 |
|
| ContactGroupList |
object |
||
| ContactGroup |
array<object> |
警示連絡人群組列表。 |
|
|
array<object> |
警示連絡人群組。 |
||
| Describe |
string |
警示聯絡組的描述資訊。 |
Devops-營運組 |
| UpdateTime |
integer |
更新時間。 |
2025-03-04T02:12:06Z |
| CreateTime |
integer |
建立時間 |
2023-06-07T03:52:30Z |
| EnabledWeeklyReport |
boolean |
是否啟用了周報功能。 |
false |
| Name |
string |
名稱。 |
name |
| EnableSubscribed |
boolean |
是否開啟周報訂閱功能。取值:
|
false |
| Contacts |
object |
||
| Contact |
array |
連絡人清單。 |
|
|
string |
連絡人。 |
135xxxx8066 |
樣本
正常返回樣本
JSON格式
{
"Code": "200",
"Message": "success",
"RequestId": "916EE694-03C2-47B6-85EE-5054E3C168D3",
"Total": 22,
"Success": true,
"ContactGroups": {
"ContactGroup": [
"雲帳號警示連絡人"
]
},
"ContactGroupList": {
"ContactGroup": [
{
"Describe": "Devops-營運組",
"UpdateTime": 0,
"CreateTime": 0,
"EnabledWeeklyReport": false,
"Name": "name",
"EnableSubscribed": false,
"Contacts": {
"Contact": [
"135xxxx8066"
]
}
}
]
}
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 200 | ResourceNotFound | The specified resource is not found. | |
| 400 | InvalidParameter | Illegal parameters. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | InvalidAuthorization | User not authorized to operate on the specified resource. | |
| 404 | ResourceNotFound | The specified resource is not found. | 未找到指定資源。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。