name | data type | constraints | description |
---|---|---|---|
autoRemoveNonPresent | boolean | required | |
rules | array of SnapshotMgmtRuleRequest | ||
vms | array of NameAndGuid | ||
name | string | required, max size: 255, min size: 1 | |
autoAssignSettings | AutoAssignSettingsRequest | required | |
executeAutoAssignmentAfterSavingPolicy | boolean | required | |
backupRetryCount | number | required, min: 0 | |
projects | array of NameAndGuid | ||
priority | number | required, max: 100, min: 0 | |
visibleForAllProjects | boolean | required | |
active | boolean | required |
Example
{ "autoRemoveNonPresent" : true, "rules" : [ { "retentionVersions" : 12345, "guid" : "...", "name" : "...", "retentionDays" : 12345, "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 }, { "retentionVersions" : 12345, "guid" : "...", "name" : "...", "retentionDays" : 12345, "schedules" : [ { "guid" : "...", "name" : "..." }, { "guid" : "...", "name" : "..." } ], "active" : true, "policy" : { "guid" : "...", "name" : "..." }, "position" : 12345 } ], "vms" : [ { "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67", "name" : "Entity name" }, { "guid" : "...", "name" : "..." } ], "name" : "...", "autoAssignSettings" : { "mode" : "ASSIGN_AND_REMOVE", "includeRegExps" : [ "...", "..." ], "excludeRegExps" : [ "...", "..." ], "includeTags" : [ "...", "..." ], "excludeTags" : [ "...", "..." ], "hvClusters" : [ { "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67", "name" : "Entity name" }, { "guid" : "...", "name" : "..." } ], "projects" : [ { "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67", "name" : "Entity name" }, { "guid" : "...", "name" : "..." } ] }, "executeAutoAssignmentAfterSavingPolicy" : true, "backupRetryCount" : 12345, "projects" : [ { "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67", "name" : "Entity name" }, { "guid" : "...", "name" : "..." } ], "priority" : 50, "visibleForAllProjects" : true, "active" : true }