Workloads
Field Descriptions
Below are some of the most common fields you will find in the request and response bodies while working with these APIs.
Workload Fields
name
String
Name of the workload.
description
String
Description of the workload.
workload_type_id
String
Unique identifier for the selected workload type.
source_platform
String
Specifies the source platform (e.g., openstack
).
Instance List
instance-id
String
Unique identifier of the instance to be included in the workload.
Job Schedule
timezone
String
Time zone for the job schedule.
start_date
String
Start date of the schedule (Format: MM/DD/YYYY
).
end_date
String
End date of the schedule (Format: MM/DD/YYYY
).
start_time
String
Time when the schedule begins (Format: HH:MM AM/PM
).
enabled
Boolean
True
if scheduling is enabled, False
otherwise.
Scheduling Types
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.
Metadata
<key>
String
Custom metadata key-value pairs.
policy_id
String
ID of the backup policy associated with the workload.
Backup Target Types
backup_target_types
String
Backup target type ID specifying where the backups will be stored.
List Workloads
GET
https://<wlm_api_endpoint>/workloads
Provides the list of all workloads for the given tenant/project ID
Path Parameters
wlm_api_endpoint
The endpoint URL of the Workloadmgr
service
Query Parameters
nfs_share
string
lists workloads located on a specific nfs-share
all_workloads
boolean
admin role required - True lists workloads of all tenants/projects
Headers
X-Auth-Project-Id
string
project to run the authentication against
X-Auth-Token
string
Authentication token to use
Accept
string
application/json
User-Agent
string
python-workloadmgrclient
Create Workload
POST
https://<wlm_api_endpoint>/workloads
Creates a workload in the provided Tenant/Project with the given details.
Path Parameters
wlm_api_endpoint
The endpoint URL of the Workloadmgr
service
Headers
X-Auth-Project-Id
string
Project to run the authentication against
X-Auth-Token
string
Authentication token to use
Content-Type
string
application/json
Accept
string
application/json
User-Agent
string
python-workloadmgrclient
Body format
Workload Create requires a Body in json format, to provide the requested information.
Using a policy-id will pull the following information from the policy. Values provided in the Body will be overwritten with the values from the Policy.
Show Workload
GET
https://<wlm_api_endpoint>/workloads/<workload_id>
Shows all details of a specified workload
Path Parameters
wlm_api_endpoint
The endpoint URL of the Workloadmgr
service
workload_id
ID of the Workload to show
Headers
X-Auth-Project-Id
string
Project to run the authentication against
X-Auth-Token
string
Authentication token to use
Accept
string
application/json
User-Agent
string
python-workloadmgrclient
Modify Workload
PUT
https://<wlm_api_endpoint>/workloads/<workload_id>
Modifies a workload in the provided Tenant/Project with the given details.
Path Parameters
wlm_api_endpoint
The endpoint URL of the Workloadmgr
service
workload_id
ID of the Workload
Headers
X-Auth-Project-Id
string
Project to run the authentication against
X-Auth-Token
string
Authentication token to use
Content-Type
string
application/json
Accept
string
application/json
User-Agent
string
python-workloadmgrclient
Body format
Workload modify requires a Body in json format, to provide the information about the values to modify.
All values in the body are optional.
Using a policy-id will pull the following information from the policy. Values provided in the Body will be overwritten with the values from the Policy.
Field Descriptions
Workload Fields
name
String
Name of the workload.
description
String
Description of the workload.
workload_type_id
String
Unique identifier for the selected workload type.
source_platform
String
Specifies the source platform (e.g., openstack
).
Instance List
instance-id
String
Unique identifier of the instance to be included in the workload.
Job Schedule
timezone
String
Time zone for the job schedule.
start_date
String
Start date of the schedule (Format: MM/DD/YYYY
).
end_date
String
End date of the schedule (Format: MM/DD/YYYY
).
start_time
String
Time when the schedule begins (Format: HH:MM AM/PM
).
enabled
Boolean
True
if scheduling is enabled, False
otherwise.
Scheduling Types
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.
Metadata
<key>
String
Custom metadata key-value pairs.
policy_id
String
ID of the backup policy associated with the workload.
Delete Workload
DELETE
https://<wlm_api_endpoint>/workloads/<workload_id>
Deletes the specified Workload.
Path Parameters
wlm_api_endpoint
The endpoint URL of the Workloadmgr
service
workload_id
ID of the Workload
Query Parameters
database_only
boolean
True leaves the Workload data on the Backup Target
Headers
X-Auth-Project-Id
string
Project to run the authentication against
X-Auth-Token
string
Authentication Token to use
Accept
string
application/json
User-Agent
string
python-workloadmgrclient
Unlock Workload
POST
https://<wlm_api_endpoint>/workloads/<workload_id>/unlock
Unlocks the specified Workload
Path Parameters
wlm_api_endpoint
The endpoint URL of the Workloadmgr
service
workload_id
ID of the Workload
Headers
X-Auth-Project-Id
string
Project to run the authentication against
X-Auth-Token
string
Authentication Token to use
Accept
string
application/json
User-Agent
string
python-workloadmgrclient
Reset Workload
POST
https://<wlm_api_endpoint>/workloads/<workload_id>/reset
Resets the defined workload
Path Parameters
wlm_api_endpoint
The endpoint URL of the Workloadmgr
service
workload_id
ID of the Workload
Headers
X-Auth-Project-Id
string
Project to run the authentication against
X-Auth-Token
string
Authentication Token to use
Accept
string
application/json
User-Agent
string
python-workloadmgrclient
Last updated
Was this helpful?