notification-template
notification-template
Model that represents a notification template.
JSON Example
{
"attachedRuleCount": 0,
"contentConfigs": [
{
"ancestorResourceKindKeys": [
{
"resourceKindKey": {
"adapterKind": "string",
"resourceKind": "string"
},
"stats": [
"string"
]
}
],
"baseResourceKindKeyStats": {
"resourceKindKey": {
"adapterKind": "string",
"resourceKind": "string"
},
"stats": [
"string"
]
},
"descendantResourceKindKeys": [
{
"resourceKindKey": {
"adapterKind": "string",
"resourceKind": "string"
},
"stats": [
"string"
]
}
]
}
],
"description": "string",
"editable": false,
"formattingTemplate": {
"actionTemplate": {
"endpoint": "string",
"headers": [
{
"key": "string",
"value": "string"
}
],
"method": "string",
"payload": "string"
},
"canceledAlertTemplate": {
"endpoint": "string",
"headers": [
{
"key": "string",
"value": "string"
}
],
"method": "string",
"payload": "string"
},
"newAlertTemplate": {
"endpoint": "string",
"headers": [
{
"key": "string",
"value": "string"
}
],
"method": "string",
"payload": "string"
},
"updatedAlertTemplate": {
"endpoint": "string",
"headers": [
{
"key": "string",
"value": "string"
}
],
"method": "string",
"payload": "string"
}
},
"lastModifiedBy": "string",
"lastModifiedOn": 0,
"name": "string",
"pluginTypeId": "string",
"templateId": "string",
"templateProperties": [
{
"description": "string",
"key": "string",
"name": "string",
"type": "string"
}
],
"templateType": "string"
}
integer As int32
As int32
attachedRuleCount
Optional
Attached rule count of the Notification template
string
description
Optional
Description of the Notification template
boolean
editable
Optional
Indicates whether the template is editable or not
string
lastModifiedBy
Optional
Latest user UUID which modified the template
integer As int64
As int64
lastModifiedOn
Optional
Last time the template is modified
string
name
Required
Name of the Notification template
string
pluginTypeId
Required
Notification template type
string
templateId
Optional
Notification template identifier
array of
template-property
templateProperties
Optional
Collection of template properties. Applicable only for WebhookPlugin and EmailPlugin.
string
templateType
Optional
Notification Template Type
Possible values are :
ALERT,
ACTION,
UNKNOWN,
Property Of