Authorizations
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Path Parameters
Project ID
1
Region ID
1
Body
Action that the policy will perform.
volume_snapshot
Name of the lifecycle policy.
"schedule_1"
List of schedules associated with the policy.
10
Current status of the lifecycle policy.
active
, paused
List of volume IDs.
["3ed9e2ce-f906-47fb-ba32-c25a3f63df4f"]
Response
OK
Total billed cost of all snapshots that can be created by the schedule. Cost of max_volume_snapshot_count_usage
snapshots.
{
"currency_code": "USD",
"discount_percent": 0.16,
"price_per_hour": 1,
"price_per_month": 720,
"price_status": "show",
"price_without_discount_per_month": 604.8
}
Count of snapshots that can be created if the schedule creates the maximum possible number of snapshots.
2
Maximum volume snapshot sequence length.
2
The amount of memory in GiB that snapshots will take up if the schedule creates the maximum possible number of them.
20