name | data type | constraints | description |
---|---|---|---|
name | string | required, max size: 255, min size: 1 | |
backupRetryCount | number | required, min: 0 | |
storages | array of NameAndGuid | ||
priority | number | required, max: 100, min: 0 | |
rules | array of StorageBackupRuleRequest | required, not empty | |
active | boolean | required | |
autoRemoveNonPresent | boolean | required | |
autoAssignSettings | AutoAssignSettingsStorageRequest | required | |
failRemainingBackupTasksExportThreshold | number | max: 100, min: 0 | |
failRemainingBackupTasksStoreThreshold | number | max: 100, min: 0 | |
dailyReportEnabled | boolean | required | |
mailingList | NameAndGuid | ||
executeAutoAssignmentAfterSavingPolicy | boolean | required | |
disableCleanOldBackups | boolean | required |
Example
{ "name" : "...", "backupRetryCount" : 12345, "storages" : [ { "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67", "name" : "Entity name" }, { "guid" : "...", "name" : "..." } ], "priority" : 50, "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" }, "ruleBackupDestinations" : [ { "type" : "CLOUD", "guid" : "...", "backupDestination" : { }, "roleType" : "ARCHIVE", "backupRetentionSettings" : { }, "daysToKeepRetentionLock" : 12345, "active" : true }, { "type" : "APPLICATION", "guid" : "...", "backupDestination" : { }, "roleType" : "SECONDARY", "backupRetentionSettings" : { }, "daysToKeepRetentionLock" : 12345, "active" : true } ], "position" : 12345 }, { "guid" : "...", "name" : "...", "schedules" : [ { "guid" : "...", "name" : "..." }, { "guid" : "...", "name" : "..." } ], "active" : true, "policy" : { "guid" : "...", "name" : "..." }, "ruleBackupDestinations" : [ { "type" : "APPLICATION", "guid" : "...", "backupDestination" : { }, "roleType" : "SECONDARY", "backupRetentionSettings" : { }, "daysToKeepRetentionLock" : 12345, "active" : true }, { "type" : "VIRTUAL_MACHINE", "guid" : "...", "backupDestination" : { }, "roleType" : "PRIMARY", "backupRetentionSettings" : { }, "daysToKeepRetentionLock" : 12345, "active" : true } ], "position" : 12345 } ], "active" : true, "autoRemoveNonPresent" : true, "autoAssignSettings" : { "mode" : "DISABLED", "includeRegExps" : [ "...", "..." ], "excludeRegExps" : [ "...", "..." ], "storagePools" : [ { "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67", "name" : "Entity name" }, { "guid" : "...", "name" : "..." } ] }, "failRemainingBackupTasksExportThreshold" : 12345.0, "failRemainingBackupTasksStoreThreshold" : 12345.0, "dailyReportEnabled" : true, "mailingList" : { "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67", "name" : "Entity name" }, "executeAutoAssignmentAfterSavingPolicy" : true, "disableCleanOldBackups" : true }