Create Storage policy for a plan
Select
SaaS
Customer Managed
Create Storage Policy for a plan.
Path Parameters
- planId int32 required
- application/json
Request Body
- name string
Name of the storage policy to create
copies object[]
List of copies to create
backupDestinationName string requiredBackup destination details. Enter the name during creation.
storagePool object required
id int32name stringregion object
id int32name stringsourceCopy object
id int32name stringretentionPeriodDays int32Possible values:
>= 1
and<= 9999
Retention period in days. -1 can be specified for infinite retention.
overrideRetentionSettings booleanTells if this copy should use storage pool retention period days or the retention defined for this copy. Set as true to use retention defined on this copy.
storagePolicy object
id int32name string
Responses
- 200
- 403
- 404
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- id int32
copies object[]
id int32name stringerror object
errorMessage stringerrorCode int32
{
"id": 0,
"copies": [
{
"id": 0,
"name": "string"
}
],
"error": {
"errorMessage": "string",
"errorCode": 0
}
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Not Found
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Loading...