Create Comment Alarms
DescriptionThis operation creates a CommentAlarms entity.
Request
URLURL
Request Body
{
"alarmPattern": [
{
"alarmedObjectType": "Container",
"state": "ACTIVE"
},
{
"id": "Name:NOTIFICATION-VPN_VPN-100_:9900_Impacted$Source:INCHARGE-SA-PRES$"
}
],
"comment": {
"comment": "Testing Comment Alarms OpenAPI"
}
}
Alarm patterns to match target alarms. An alarm will match if an attribute in any of the patterns is equal to the corresponding attribute of the alarm. The attributes which are supported with matching are - id, alarmType, alarmedObjectType, perceivedSeverity, plannedOutageIndicator and state.
Current state of the operation task
Authentication
Response
Response BodyResponse Body
201 Created
{
"@baseType": null,
"@schemaLocation": null,
"@type": null,
"alarmPattern": [
{
"alarmedObjectType": "Container",
"state": "ACTIVE"
},
{
"id": "Name:NOTIFICATION-VPN_VPN-100_:9900_Impacted$Source:INCHARGE-SA-PRES$"
}
],
"comment": {
"@baseType": "alarm",
"@schemaLocation": "https://developer.vmware.com/apis/telco-cloud-service-assurance/latest",
"@type": "notification",
"comment": "Testing Comment Alarms OpenAPI",
"systemId": null,
"time": "2022-11-02T11:07:44Z",
"userId": "admin"
},
"commentedAlarm": [],
"href": "/tcsa/api/tmf/v1/commentAlarms/hEgGOIQB9XatrL7sjVDb",
"id": "hEgGOIQB9XatrL7sjVDb",
"state": "IN_PROGRESS"
}
When sub-classing, this defines the super-class
A URI to a JSON-Schema file that defines additional attributes and relationships
When sub-classing, this defines the sub-class entity name
Alarm patterns to match target alarms. An alarm will match if an attribute in any of the patterns is equal to the corresponding attribute of the alarm. The attributes which are supported with matching are - id, alarmType, alarmedObjectType, perceivedSeverity, plannedOutageIndicator and state.
A reference to the task
The identifier of the task
Current state of the operation task
Errors
Bad Request
Unauthorized
Forbidden
Method Not allowed
Conflict
Internal Server Error
Code Samples
cURL Command
Vendor Extensions
x-codegen-request-body-name: commentAlarms