文档首页> 配置审计 Config> 用户指南> 附录> 消息通知模型> 资源关系变更的消息通知模型
更新时间:2024-07-22 GMT+08:00
分享

资源关系变更的消息通知模型

资源关系变更的消息通知模型

表1 资源关系变更的消息通知模型

参数

参数类型

描述

notification_type

String

消息通知类型。此处的消息通知类型为“ResourceRelationChanged”。

notification_creation_time

String

消息发送时间。

具有固定格式:遵循ISO8601格式,UTC时区(例如:2018-11-14T08:59:14Z)。

domain_id

String

账号ID。

detail

Object

消息详情。

表2 detail

参数

参数类型

描述

resource_id

String

资源ID。

resource_type

String

资源类型。

event_type

Enum

事件类型(CHANGE)。

capture_time

String

事件捕获时间。

具有固定格式:遵循ISO8601格式,UTC时区(例如:2018-11-14T08:59:14Z)。

资源关系变更消息通知示例

{
  "detail": {
    "resource_id": "f65b06d1-d63b-438a-93cc-bdd55b304f0a",
    "resource_type": "ecs.cloudservers",
    "event_type": "CHANGE",
    "capture_time": "2020-08-12T07:15:14.257Z"
  },
  "notification_type": "ResourceRelationChanged",
  "notification_creation_time": "2020-08-12T07:14:56.296Z",
  "domain_id": "059b5c937100d3e40ff0c00a7675a0a0"
}
分享:

    相关文档

    相关产品