Models of Resource Change Notification Dump
| Parameter | Type | Description |
|---|---|---|
| notification_items | Array of Object | Specifies the list of resource change notifications. |
Notification Model of Resource Changes
| Parameter | Type | Description |
|---|---|---|
| notification_type | String | Specifies the message notification type. |
| notification_creation_time | String | Specifies the time when the message was sent.
|
| domain_id | String | Specifies the account ID. |
| detail | Object | Specifies the message details. |
| Parameter | Type | Description |
|---|---|---|
| resource_id | String | Specifies the resource ID. |
| resource_type | String | Specifies the resource type. |
| event_type | Enum | Specifies the event type. Possible values are CREATE, UPDATE, and DELETE. |
| capture_time | String | Specifies the time when the event was captured.
|
| resource | Object | Specifies the resource details. |
| Parameter | Type | Description |
|---|---|---|
| id | String | Specifies the resource ID. |
| name | String | Specifies the resource name. |
| provider | String | Specifies the cloud service name. |
| type | String | Specifies the cloud resource type. |
| region_id | String | Specifies the ID of the region where the resource is located. |
| project_id | String | Specifies the IAM project ID. |
| project_name | String | Specifies the IAM project name. |
| ep_id | String | Specifies the enterprise project ID. |
| ep_name | String | Specifies the enterprise project name. |
| checksum | String | Specifies the checksum. |
| created | String | Specifies the time when the cloud resource was created.
|
| updated | String | Specifies the last time when the cloud resource was updated.
|
| provisioning_state | String | Specifies the status of the operation that causes the resource change. |
| tags | Map | Specifies the cloud resource tag. |
| properties | Map | Specifies the cloud resource properties. |
Example of Resource Change Notification Dump
{
"notification_items": [
{
"detail": {
"resource": {
"id": "ea05ef41-8bd6-4a9c-af39-244e1ec448eb",
"name": "as-group-test",
"provider": "as",
"type": "scalingGroups",
"checksum": "",
"region_id": ""regionid1",
"project_id": "068d54ceca00d5302f70c00aaf6a471c",
"project_name": "test",
"ep_id": "0",
"ep_name": "default"
},
"resource_id": "ea05ef41-8bd6-4a9c-af39-244e1ec448eb",
"resource_type": "as.scalingGroups",
"event_type": "DELETE",
"capture_time": "2020-12-08T09:30:27.158Z"
},
"notification_type": "ResourceChanged",
"notification_creation_time": "2020-12-08T09:30:27.272Z",
"domain_id": "059b5c937100d3e40ff0c00a7675a0a0"
}
]
} Last Article: Resource Dump Models
Next Article: DSL Syntax
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.