集成配置列表。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求头

该接口使用公共请求头,无特殊请求头。请参见公共请求参数文档。

请求语法

POST /integrationConfig/list HTTP/1.1

请求参数

名称 类型 位置 是否必选 示例值 描述
Object Body

A short description of struct

monitorSourceName String Body Zabbix

监控源名称

clientToken String Body 601FA6A2-AC5C-4B59-BE11-378F887A6A11

幂等标识

{

"monitorSourceName" : "Zabbix",

"clientToken" : "601FA6A2-AC5C-4B59-BE11-378F887A6A11"

}

返回数据

名称 类型 示例值 描述
requestId String 601FA6A2-AC5C-4B59-BE11-378F887A6A11

id of the request

data Array of data

data

integrationConfigId Long 1023

集成配置id

monitorSourceId Long 87

监控源id

monitorSourceName String Zabbix

监控源名城

monitorSourceShortName String Zabbix

监控源简称

isReceivedEvent Boolean false

是否已接受报警

status String NOT_INTEGRATED

集成配置状态

{

"requestId": "601FA6A2-AC5C-4B59-BE11-378F887A6A11",

"data": { "integrationConfigId": 1023, "monitorSourceId": 87, "monitorSourceName": "Zabbix", "monitorSourceShortName": "Zabbix", "isReceivedEvent": false, "status": "NOT_INTEGRATED" }

}

示例

请求示例

POST /integrationConfig/list HTTP/1.1
Host:gemp.cn-shanghai.aliyuncs.com
Content-Type:application/json

{
  "monitorSourceName" : "Zabbix",
  "clientToken" : "601FA6A2-AC5C-4B59-BE11-378F887A6A11"
}

正常返回示例

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<ListIntegrationConfigsResponse>
    <requestId>601FA6A2-AC5C-4B59-BE11-378F887A6A11</requestId>
    <data>
        <integrationConfigId>1023</integrationConfigId>
        <monitorSourceId>87</monitorSourceId>
        <monitorSourceName>Zabbix</monitorSourceName>
        <monitorSourceShortName>Zabbix</monitorSourceShortName>
        <isReceivedEvent>false</isReceivedEvent>
        <status>NOT_INTEGRATED</status>
    </data>
</ListIntegrationConfigsResponse>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "requestId" : "601FA6A2-AC5C-4B59-BE11-378F887A6A11",
  "data" : [ {
    "integrationConfigId" : 1023,
    "monitorSourceId" : 87,
    "monitorSourceName" : "Zabbix",
    "monitorSourceShortName" : "Zabbix",
    "isReceivedEvent" : false,
    "status" : "NOT_INTEGRATED"
  } ]
}

错误码

访问错误中心查看更多错误码。

访问错误中心查看更多错误码。