Create a new VMPP instance, and return its handle.
| Return value | ||
| type | description | |
| VMPP | reference to the newly created object | |
| Parameters | ||
| name | type | description |
| session_id | session | valid session reference |
| name_label | string | a human-readable name |
| name_description | string | a notes field containg human-readable description |
| is_policy_enabled | bool | enable or disable this policy |
| backup_type | enum vmpp_backup_type | type of the backup sub-policy |
| backup_retention_value | int | maximum number of backups that should be stored at any time |
| backup_frequency | enum vmpp_backup_frequency | frequency of the backup schedule |
| backup_schedule | Map[string,string] | schedule of the backup containing 'hour', 'min', 'days'. Date/time-related information is in XenServer Local Timezone |
| archive_target_type | enum vmpp_archive_target_type | type of the archive target config |
| archive_target_config | Map[string,string] | configuration for the archive, including its 'location', 'username', 'password' |
| archive_frequency | enum vmpp_archive_frequency | frequency of the archive schedule |
| archive_schedule | Map[string,string] | schedule of the archive containing 'hour', 'min', 'days'. Date/time-related information is in XenServer Local Timezone |
| is_alarm_enabled | bool | true if alarm is enabled for this policy |
| alarm_config | Map[string,string] | configuration for the alarm |
| Errors | ||
| name | arguments | description |
- Message has both a synchronous and asynchronous version
- This is an implicit message, derived from its class