Create a snapshot policy
POST /vsa/working-environments/{workingEnvironmentId}/snapshot-policy
Creates a snapshot policy.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
workingEnvironmentId |
string |
path |
True |
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
schedules |
True |
Snapshot policy schedules |
|
snapshotPolicyName |
string |
False |
Snapshot policy name |
Example request
{
"schedules": [
{}
],
"snapshotPolicyName": "string"
}
Error
Status: Default, Default response
Definitions
See Definitions
SnapshotPolicyScheduleRequest
| Name | Type | Required | Description |
|---|---|---|---|
retention |
integer |
True |
Snapshot policy retention |
scheduleType |
string |
True |
Snapshot policy schedule type |