VmSnapshotMgmtPolicyDetails Data Type

Properties
name data type constraints description
rules array of RuleDetails  
autoRemoveNonPresent boolean required
name string  
active boolean required
backupRetryCount number required
vms array of NameAndGuid  
guid string  
autoAssignSettings AutoAssignSettingsDetails  
projects array of NameAndGuid  
visibleForAllProjects boolean required
priority number required

Example

{
  "rules" : [ {
    "guid" : "...",
    "name" : "...",
    "policy" : {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "schedules" : [ {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    }, {
      "guid" : "...",
      "name" : "..."
    } ],
    "vmCount" : 12345,
    "schedulesCount" : 12345,
    "position" : 12345,
    "active" : true,
    "removable" : true,
    "daysToKeepRetentionLock" : 12345
  }, {
    "guid" : "...",
    "name" : "...",
    "policy" : {
      "guid" : "...",
      "name" : "..."
    },
    "schedules" : [ {
      "guid" : "...",
      "name" : "..."
    }, {
      "guid" : "...",
      "name" : "..."
    } ],
    "vmCount" : 12345,
    "schedulesCount" : 12345,
    "position" : 12345,
    "active" : true,
    "removable" : true,
    "daysToKeepRetentionLock" : 12345
  } ],
  "autoRemoveNonPresent" : true,
  "name" : "...",
  "active" : true,
  "backupRetryCount" : 12345,
  "vms" : [ {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  }, {
    "guid" : "...",
    "name" : "..."
  } ],
  "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
  "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" : "..."
    } ]
  },
  "projects" : [ {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  }, {
    "guid" : "...",
    "name" : "..."
  } ],
  "visibleForAllProjects" : true,
  "priority" : 50
}