Below are some of the most common fields you will find in the request and response bodies while working with these APIs.
Hourly
interval
Integer
Backup interval in hours (1, 2, 3, 4, 6, 12, 24
).
if schedule enabled
is set to true, you must provide Hourly field.
retention
Integer
Retention period in backups.
snapshot_type
String
Snapshot type (incremental
or full
).
Daily
backup_time
List of String
List of specific times (HH:MM
, 24-hour format).
Requires hourly
retention
Integer
Retention period in backups.
snapshot_type
String
Snapshot type (incremental
or full
).
Weekly
backup_day
List of String
Days of the week (mon, tue, wed, thu, fri, sat, sun
).
Requires daily
retention
Integer
Retention period in backups.
snapshot_type
String
Only supports full
backups.
Monthly
month_backup_day
List of Integer
Days of the month (1-31
).
Requires daily
retention
Integer
Retention period in backups.
snapshot_type
String
Only supports full
backups.
Yearly
backup_month
List of String
List of months (jan, feb, mar, ... dec
).
Requires monthly
retention
Integer
Retention period in backups.
snapshot_type
String
Only supports full
backups.
Manual
retention
Integer
Retention period in backups.
retention_days_to_keep
Integer
Number of days to keep backups manually triggered.
GET
https://<wlm_api_endpoint>/workload_policy
Requests the list of available Workload Policies
wlm_api_endpoint
The endpoint URL of the Workloadmgr
service
X-Auth-Project-Id
string
Project to authenticate against
X-Auth-Token
string
Authentication token to use
Accept
string
application/json
User-Agent
string
python-workloadmgrclient
GET
https://<wlm_api_endpoint>/workload_policy/<policy_id>
Requests the details of a given policy
wlm_api_endpoint
The endpoint URL of the Workloadmgr
service
policy_id
ID of the Policy
X-Auth-Project-Id
string
Project to authenticate against
X-Auth-Token
string
Authentication token to use
Accept
string
application/json
User-Agent
string
python-workloadmgrclient
GET
https://<wlm_api_endpoint>/workload_policy/assigned/<project_id>
Requests the lists of Policies assigned to a Project.
wlm_api_endpoint
The endpoint URL of the Workloadmgr
service
project_id
ID of the Project to fetch assigned policies from
X-Auth-Project-Id
string
Project to authenticate against
X-Auth-Token
string
Authentication token to use
Accept
string
application/json
User-Agent
string
python-workloadmgrclient
POST
https://<wlm_api_endpoint>/workload_policy
Creates a Policy with the given parameters
wlm_api_endpoint
The endpoint URL of the Workloadmgr
service
X-Auth-Project-Id
string
Project to authenticate against
X-Auth-Token
string
Authentication token to use
Content-Type
string
application/json
Accept
string
application/json
User-Agent
string
python-workloadmgrclient
PUT
https://<wlm_api_endpoint>/workload_policy/<policy-id>
Updates a Policy with the given information
wlm_api_endpoint
The endpoint URL of the Workloadmgr
service
policy_id
ID of the Policy
X-Auth-Project-Id
string
Project to authenticate against
X-Auth-Token
string
Authentication token to use
Content-Type
string
application/json
Accept
string
application/json
User-Agent
string
python-workloadmgrclient
POST
https://<wlm_api_endpoint>/workload_policy/<policy-id>
Updates a Policy with the given information
wlm_api_endpoint
The endpoint URL of the Workloadmgr
service
policy_id
ID of the Policy
X-Auth-Project-Id
string
Project to authenticate against
X-Auth-Token
string
Authentication token to use
Content-Type
string
application/json
Accept
string
application/json
User-Agent
string
python-workloadmgrclient
DELETE
https://<wlm_api_endpoint>/workload_policy/<policy_id>
Deletes a given Policy
wlm_api_endpoint
The endpoint URL of the Workloadmgr
service
policy_id
ID of the Policy
X-Auth-Project-Id
string
Project to authenticate against
X-Auth-Token
string
Authentication token to use
Accept
string
application/json
User-Agent
string
python-workloadmgrclient