属性
名字 |
描述 |
可选的 |
可选的参数值 |
起始支持版本 |
uuid |
请参见资源结构 |
|
|
0.6 |
name |
请参见资源结构 |
|
|
0.6 |
createDate |
请参见资源结构 |
|
|
0.6 |
lastOpDate |
请参见资源结构 |
|
|
0.6 |
arguments |
|
|
|
0.6 |
content |
|
|
|
0.6 |
opaque |
保留字段,默认为null |
|
|
0.6 |
resourceUuid |
资源uuid |
|
|
0.6 |
resourceType |
资源类型 |
|
|
0.6 |
sender |
|
|
|
0.6 |
time |
|
|
|
0.6 |
status |
|
|
|
|
type |
保留域 |
|
|
0.6 |
groupBy |
以字段分组,相当于MySQL中的group
by关键字。例如groupBy=type |
是 |
|
1.9 |
systemTags |
系统标签, 请参见 创建系统标签(CreateSystemTag) |
是 |
|
0.6 |
userTags |
用户标签, 请参见 创建用户标签(CreateUserTag) |
是 |
|
0.6 |
示例
{
"inventories": [
{
"arguments": "["453edf81a65e40f291d4220d14d20622","ef28703057374e8ea03b9d59b33fcd2a"]",
"content": "A strange vm[%s] was found on the host[%s], May cause problems, Please manually clean this vm",
"createDate": "Mar 12, 2018 4:47:37 AM",
"lastOpDate": "Mar 12, 2018 4:47:37 AM",
"name": "system",
"resourceType": "VmInstanceVO",
"resourceUuid": "453edf81a65e40f291d4220d14d20622",
"sender": "system",
"status": "Unread",
"time": 1520801257844,
"type": "Warning",
"uuid": "000dfe28a91d4219a69004067a033837"
},
{
"arguments": "["453edf81a65e40f291d4220d14d20622","ef28703057374e8ea03b9d59b33fcd2a"]",
"content": "A strange vm[%s] was found on the host[%s], May cause problems, Please manually clean this vm",
"createDate": "Mar 11, 2018 3:24:37 PM",
"lastOpDate": "Mar 11, 2018 3:24:37 PM",
"name": "system",
"resourceType": "VmInstanceVO",
"resourceUuid": "453edf81a65e40f291d4220d14d20622",
"sender": "system",
"status": "Unread",
"time": 1520753077850,
"type": "Warning",
"uuid": "000fe36b8d724d73b8163afda66c5b1f"
},
}