Snapshot Schedules
snapshot_schedules
Methods
post/v1/lifecycle_policy/{project_id}/{region_id}/{lifecycle_policy_id}/add_schedules
Add new schedules to the policy
put/v1/lifecycle_policy/{project_id}/{region_id}/{lifecycle_policy_id}/add_volumes_to_policy
Add volumes to the policy if not present
post/v1/lifecycle_policy/{project_id}/{region_id}
Create a policy
Delete The Policy ->
delete/v1/lifecycle_policy/{project_id}/{region_id}/{lifecycle_policy_id}
Delete the policy
Get Maximum Usage Quota Of Resources If All Snapshots Create By The Policy -> { max_cost, max_volume_snapshot_count_usage, max_volume_snapshot_sequence_length, 1 more... }
post/v1/lifecycle_policy/{project_id}/{region_id}/estimate_max_policy_usage
Get maximum usage quota of resources if all snapshots create by the policy
Get All Policies -> { count, results }
get/v1/lifecycle_policy/{project_id}/{region_id}
Get all policies
post/v1/lifecycle_policy/{project_id}/{region_id}/{lifecycle_policy_id}/remove_schedules
Remove schedules from the policy
Parameters
project_id: number
Project ID
region_id: number
Region ID
lifecycle_policy_id: number
Lifecycle policy ID.
Response fields
Request example
200Example
put/v1/lifecycle_policy/{project_id}/{region_id}/{lifecycle_policy_id}/remove_volumes_from_policy
Remove volumes from the policy
get/v1/lifecycle_policy/{project_id}/{region_id}/{lifecycle_policy_id}
Get the policy by id
patch/v1/lifecycle_policy/{project_id}/{region_id}/{lifecycle_policy_id}
Update the policy
Domain types
LifecyclePolicy = { id, action, name, 6 more... }
VolumeIDs = { volume_ids }
Snapshot Schedules
Schedules
snapshot_schedules.schedules
Methods
get/v1/schedule/{project_id}/{region_id}/{schedule_id}
Get a schedule by id
patch/v1/schedule/{project_id}/{region_id}/{schedule_id}
Patch the schedule
Domain types
Schedule = { id, max_quantity, owner, 12 more... } | { id, max_quantity, owner, 9 more... }