Models of Resource Change Notification Storage
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. The time is a UTC time in a fixed format complying with ISO-8601 (for example, 2018-11-14T08:59:14Z). |
domain_id |
String |
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. The value can be CREATE, UPDATE, or DELETE. |
capture_time |
String |
Specifies the time when the event was captured. The time is a UTC time in a fixed format complying with ISO-8601 (for example, 2018-11-14T08:59:14Z). |
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. The time is a UTC time in a fixed format complying with ISO-8601 (for example, 2018-11-14T08:59:14Z). |
updated |
String |
Specifies the last time when the cloud resource was updated. The time is a UTC time in a fixed format complying with ISO-8601 (for example, 2018-11-14T08:59:14Z). |
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 attribute. |
Example of Resource Change Notification Storage
{ "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" } ] }
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot