AppBackupPolicyRequest Data Type

Data class used for creating new backup policy for application.

Properties
name data type constraints description
name string required, max size: 255, min size: 1
backupRetryCount number required, min: 0
priority number required, max: 100, min: 0
apps array of NameAndGuid  
rules array of AppBackupRuleRequest required, not empty
active boolean required
failRemainingBackupTasksExportThreshold number max: 100, min: 0
failRemainingBackupTasksStoreThreshold number max: 100, min: 0
dailyReportEnabled boolean required
mailingList NameAndGuid  
disableCleanOldBackups boolean required

Example

{
  "name" : "...",
  "backupRetryCount" : 12345,
  "priority" : 50,
  "apps" : [ {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  }, {
    "guid" : "...",
    "name" : "..."
  } ],
  "rules" : [ {
    "guid" : "...",
    "name" : "...",
    "schedules" : [ {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    }, {
      "guid" : "...",
      "name" : "..."
    } ],
    "active" : true,
    "policy" : {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "position" : 12345,
    "ruleBackupDestinations" : [ {
      "type" : "APPLICATION",
      "guid" : "...",
      "backupDestination" : { },
      "roleType" : "SECONDARY",
      "backupRetentionSettings" : { },
      "daysToKeepRetentionLock" : 12345,
      "active" : true
    }, {
      "type" : "OS",
      "guid" : "...",
      "backupDestination" : { },
      "roleType" : "ARCHIVE",
      "backupRetentionSettings" : { },
      "daysToKeepRetentionLock" : 12345,
      "active" : true
    } ]
  }, {
    "guid" : "...",
    "name" : "...",
    "schedules" : [ {
      "guid" : "...",
      "name" : "..."
    }, {
      "guid" : "...",
      "name" : "..."
    } ],
    "active" : true,
    "policy" : {
      "guid" : "...",
      "name" : "..."
    },
    "position" : 12345,
    "ruleBackupDestinations" : [ {
      "type" : "OS",
      "guid" : "...",
      "backupDestination" : { },
      "roleType" : "PRIMARY",
      "backupRetentionSettings" : { },
      "daysToKeepRetentionLock" : 12345,
      "active" : true
    }, {
      "type" : "APPLICATION",
      "guid" : "...",
      "backupDestination" : { },
      "roleType" : "SECONDARY",
      "backupRetentionSettings" : { },
      "daysToKeepRetentionLock" : 12345,
      "active" : true
    } ]
  } ],
  "active" : true,
  "failRemainingBackupTasksExportThreshold" : 12345.0,
  "failRemainingBackupTasksStoreThreshold" : 12345.0,
  "dailyReportEnabled" : true,
  "mailingList" : {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  },
  "disableCleanOldBackups" : true
}