{
"bmc.kepler.EventService.Subscriptions": {
"methods": {
"CreateDestination": {
"description": "创建订阅方法",
"req": {
"DestinationValues": {
"baseType": "Dictionary",
"$ref": "#/defs/DestinationValues",
"description": "事件订阅的请求参数,分别包括Destination(事件订阅接收地址)、EventTypes(事件订阅侦听的事件类型)、HttpHeaders(事件订阅 HTTP 头参数)、Context(事件订阅上下文信息)、Protocol(事件订阅使用的协议)、MessageIds(事件订阅消息 Id 匹配列表)、OriginResources(事件订阅事件源匹配列表)、SendHeartbeat(告警心跳使能)、HeartbeatIntervalMinutes(告警心跳周期)、MetricReportDefinitions(指定事件订阅上报的 Metric Report 列表)、DeliveryRetryPolicy(事件上报重试策略)、Severities(告警发送级别)"
}
},
"rsp": {
"Id": {
"description": "事件订阅资源的标识",
"baseType": "U8"
}
}
}
}
},
"defs": {
"DestinationValues": {
"key": {
"baseType": "String"
},
"value": {
"baseType": "String"
}
}
}
}