For the complete documentation index, see llms.txt. This page is also available as Markdown.

Workload Policies

Field Descriptions

Below are some of the most common fields you will find in the request and response bodies while working with these APIs.

Schedule Type
Field
Type
Description
Dependencies

Hourly

interval

Integer

Backup interval in hours (1, 2, 3, 4, 6, 12, 24).

if schedule enabledis 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.

retentionmanual

retentionmanual

Integer

Number of days to keep backups manually triggered.

In addition to the schedule fields above, the following top-level fields apply to the policy itself:

Field
Type
Description

display_name

String

Name of the policy. Required on create.

display_description

String

Description of the policy.

email

String

Optional email address associated with the policy. When set, snapshot and restore notification emails for workloads assigned to this policy are also sent to this address. Requires E-Mail notifications to be enabled.

metadata

Object

Key-value pairs attached to the policy.

List Policies

GET https://<wlm_api_endpoint>/workload_policy/

Requests the list of available Workload Policies

Path Parameters

Parameter Name
Description

wlm_api_endpoint

The endpoint URL of the Workloadmgr service

Headers

Name
Type
Description

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

Sample Response

Show Policy

GET https://<wlm_api_endpoint>/workload_policy/<policy_id>

Requests the details of a given policy

Path Parameters

Parameter Name
Description

wlm_api_endpoint

The endpoint URL of the Workloadmgr service

policy_id

ID of the Policy

Headers

Name
Type
Description

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

Sample Response

List Assigned Policies

GET https://<wlm_api_endpoint>/workload_policy/assigned/<project_id>

Requests the lists of Policies assigned to a Project.

Path Parameters

Parameter Name
Description

wlm_api_endpoint

The endpoint URL of the Workloadmgr service

project_id

ID of the Project to fetch assigned policies from

Headers

Name
Type
Description

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

Sample Response

Create Policy

POST https://<wlm_api_endpoint>/workload_policy/

Creates a Policy with the given parameters

Path Parameters

Parameter Name
Description

wlm_api_endpoint

The endpoint URL of the Workloadmgr service

Headers

Name
Type
Description

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

Body Format

email is optional. When provided, snapshot and restore notification emails for workloads assigned to this policy are also sent to this address. This requires E-Mail notifications to be enabled in the Backups-Admin settings.

Sample Request
Sample Response

Update Policy

PUT https://<wlm_api_endpoint>/workload_policy/<policy-id>

Updates a Policy with the given information

Path Parameters

Parameter Name
Description

wlm_api_endpoint

The endpoint URL of the Workloadmgr service

policy_id

ID of the Policy

Headers

Name
Type
Description

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

Body Format

Sample Response

Assign Policy

POST https://<wlm_api_endpoint>/workload_policy/<policy_id>/assign

Updates a Policy with the given information

Path Parameters

Parameter Name
Description

wlm_api_endpoint

The endpoint URL of the Workloadmgr service

policy_id

ID of the Policy

Headers

Name
Type
Description

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

Body Format

Sample Response

Delete Policy

DELETE https://<wlm_api_endpoint>/workload_policy/<policy_id>

Deletes a given Policy

Path Parameters

Parameter Name
Description

wlm_api_endpoint

The endpoint URL of the Workloadmgr service

policy_id

ID of the Policy

Headers

Name
Type
Description

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

Sample Response

Last updated

Was this helpful?