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
Examples:
1
Region ID
Examples:
1
Lifecycle policy ID.
Examples:
1
Body
application/json
List of schedule IDs.
Examples:
["1488e2ce-f906-47fb-ba32-c25a3f63df4f"]
Response
200 - application/json
OK
Action associated with the lifecycle policy.
Examples:
"volume_snapshot"
Unique identifier for the policy.
Examples:
1
Name of the policy.
Examples:
"schedule_1"
Project ID associated with the policy.
Examples:
1
Region ID where the policy is applied.
Examples:
1
List of schedules within the policy.
Examples:
[
{
"day_of_week": "*",
"hour": "0, 10, 20",
"id": "1488e2ce-f906-47fb-ba32-c25a3f63df4f",
"max_quantity": 2,
"minute": "30",
"owner": "lifecycle_policy",
"owner_id": 1,
"resource_name_template": "reserve snap of the volume {volume_id}",
"type": "cron",
"user_id": 12
}
]
Status of the lifecycle policy.
Available options:
active
, paused
User ID of the creator of the policy.
Examples:
11
Data of volumes that should be reserved. Displayed only when the query parameter is specified.
Examples:
[
{
"volume_id": "3ed9e2ce-f906-47fb-ba32-c25a3f63df4f",
"volume_name": "test schedule"
}
]