Apache CloudStack 4.0.0-incubating User API Reference
createSnapshotPolicy
Creates a snapshot policy for the account.
Request parameters
Parameter Name | Description | Required |
intervaltype | valid values are HOURLY, DAILY, WEEKLY, and MONTHLY | true |
maxsnaps | maximum number of snapshots to retain | true |
schedule | time the snapshot is scheduled to be taken. Format is:* if HOURLY, MM* if DAILY, MM:HH* if WEEKLY, MM:HH:DD (1-7)* if MONTHLY, MM:HH:DD (1-28) | true |
timezone | Specifies a timezone for this command. For more information on the timezone parameter, see Time Zone Format. | true |
volumeid | the ID of the disk volume | true |
Response Tags
Response Name | Description |
id | the ID of the snapshot policy |
intervaltype | the interval type of the snapshot policy |
maxsnaps | maximum number of snapshots retained |
schedule | time the snapshot is scheduled to be taken. |
timezone | the time zone of the snapshot policy |
volumeid | the ID of the disk volume |