com.xensource.xenapi
Class VMPP.Record

java.lang.Object
  extended by com.xensource.xenapi.VMPP.Record
All Implemented Interfaces:
Types.Record
Enclosing class:
VMPP

public static class VMPP.Record
extends java.lang.Object
implements Types.Record

Represents all the fields in a VMPP


Field Summary
 java.util.Map<java.lang.String,java.lang.String> alarmConfig
          configuration for the alarm
 Types.VmppArchiveFrequency archiveFrequency
          frequency of the archive schedule
 java.util.Date archiveLastRunTime
          time of the last archive
 java.util.Map<java.lang.String,java.lang.String> archiveSchedule
          schedule of the archive containing 'hour', 'min', 'days'.
 java.util.Map<java.lang.String,java.lang.String> archiveTargetConfig
          configuration for the archive, including its 'location', 'username', 'password'
 Types.VmppArchiveTargetType archiveTargetType
          type of the archive target config
 Types.VmppBackupFrequency backupFrequency
          frequency of the backup schedule
 java.util.Date backupLastRunTime
          time of the last backup
 java.lang.Long backupRetentionValue
          maximum number of backups that should be stored at any time
 java.util.Map<java.lang.String,java.lang.String> backupSchedule
          schedule of the backup containing 'hour', 'min', 'days'.
 Types.VmppBackupType backupType
          type of the backup sub-policy
 java.lang.Boolean isAlarmEnabled
          true if alarm is enabled for this policy
 java.lang.Boolean isArchiveRunning
          true if this protection policy's archive is running
 java.lang.Boolean isBackupRunning
          true if this protection policy's backup is running
 java.lang.Boolean isPolicyEnabled
          enable or disable this policy
 java.lang.String nameDescription
          a notes field containg human-readable description
 java.lang.String nameLabel
          a human-readable name
 java.util.Set<java.lang.String> recentAlerts
          recent alerts
 java.lang.String uuid
          Unique identifier/object reference
 java.util.Set<VM> VMs
          all VMs attached to this protection policy
 
Constructor Summary
VMPP.Record()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> toMap()
          Convert a VMPP.Record to a Map
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

uuid

public java.lang.String uuid
Unique identifier/object reference


nameLabel

public java.lang.String nameLabel
a human-readable name


nameDescription

public java.lang.String nameDescription
a notes field containg human-readable description


isPolicyEnabled

public java.lang.Boolean isPolicyEnabled
enable or disable this policy


backupType

public Types.VmppBackupType backupType
type of the backup sub-policy


backupRetentionValue

public java.lang.Long backupRetentionValue
maximum number of backups that should be stored at any time


backupFrequency

public Types.VmppBackupFrequency backupFrequency
frequency of the backup schedule


backupSchedule

public java.util.Map<java.lang.String,java.lang.String> backupSchedule
schedule of the backup containing 'hour', 'min', 'days'. Date/time-related information is in XenServer Local Timezone


isBackupRunning

public java.lang.Boolean isBackupRunning
true if this protection policy's backup is running


backupLastRunTime

public java.util.Date backupLastRunTime
time of the last backup


archiveTargetType

public Types.VmppArchiveTargetType archiveTargetType
type of the archive target config


archiveTargetConfig

public java.util.Map<java.lang.String,java.lang.String> archiveTargetConfig
configuration for the archive, including its 'location', 'username', 'password'


archiveFrequency

public Types.VmppArchiveFrequency archiveFrequency
frequency of the archive schedule


archiveSchedule

public java.util.Map<java.lang.String,java.lang.String> archiveSchedule
schedule of the archive containing 'hour', 'min', 'days'. Date/time-related information is in XenServer Local Timezone


isArchiveRunning

public java.lang.Boolean isArchiveRunning
true if this protection policy's archive is running


archiveLastRunTime

public java.util.Date archiveLastRunTime
time of the last archive


VMs

public java.util.Set<VM> VMs
all VMs attached to this protection policy


isAlarmEnabled

public java.lang.Boolean isAlarmEnabled
true if alarm is enabled for this policy


alarmConfig

public java.util.Map<java.lang.String,java.lang.String> alarmConfig
configuration for the alarm


recentAlerts

public java.util.Set<java.lang.String> recentAlerts
recent alerts

Constructor Detail

VMPP.Record

public VMPP.Record()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toMap

public java.util.Map<java.lang.String,java.lang.Object> toMap()
Convert a VMPP.Record to a Map

Specified by:
toMap in interface Types.Record