VmRuleBackupDestinationRequest Data Type

Properties
name data type constraints description
type BackupRuleType  
guid string  
backupDestination NameAndGuid required
roleType BackupDestinationRole required
backupRetentionSettings BackupRetentionSettingsRequest required
daysToKeepRetentionLock number required, min: 0
active boolean required

Example

{
  "type" : "OS",
  "guid" : "...",
  "backupDestination" : {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  },
  "roleType" : "SECONDARY",
  "backupRetentionSettings" : {
    "retentionKeepLastNFull" : 12345,
    "retentionKeepFullNewerThan" : 12345,
    "retentionKeepLastNIncremental" : 12345,
    "retentionKeepIncrementalNewerThan" : 12345,
    "keepLastBackupWhenSourceStillExists" : true
  },
  "daysToKeepRetentionLock" : 12345,
  "active" : true
}