NotificationPolicyDetail Data Type

Properties
name data type constraints description
guid string  
name string  
active boolean required
actions array of NotificationActionDetail  
conditions array of NotificationConditionDetail  

Example

{
  "guid" : "...",
  "name" : "...",
  "active" : true,
  "actions" : [ {
    "actionType" : "EMAIL",
    "recipients" : [ {
      "name" : "...",
      "type" : "ADMIN",
      "notificationPushSettings" : [ { }, { } ]
    }, {
      "name" : "...",
      "type" : "ADMIN",
      "notificationPushSettings" : [ { }, { } ]
    } ]
  }, {
    "actionType" : "PUSH",
    "recipients" : [ {
      "name" : "...",
      "type" : "ADMIN",
      "notificationPushSettings" : [ { }, { } ]
    }, {
      "name" : "...",
      "type" : "ADMIN",
      "notificationPushSettings" : [ { }, { } ]
    } ]
  } ],
  "conditions" : [ {
    "conditionType" : "QUOTA_RELATED",
    "conditionName" : "BACKUP_DESTINATION_NO_SPACE_ON_PHYSICAL_DEVICE_BY_VDO",
    "taskType" : "TAPE_MANAGER_INVENTORY_SYNC",
    "maxAttempts" : 12345,
    "maxDays" : 12345
  }, {
    "conditionType" : "TASK_RELATED",
    "conditionName" : "TASK_STATE_CHANGED_TO_CANCELLED",
    "taskType" : "IMPORT_TAPE",
    "maxAttempts" : 12345,
    "maxDays" : 12345
  } ]
}