CreateArchiveBackupDestination
Create a Backup Destination for a Plan
Path Parameters
- planId int32 required
Id of the Plan to modify
- application/json
Request Body
destinations object[] required
region object
Responses
- 200
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
planBackupDestination object[]
- failedDestinations string[]
List of destinations for which the operation failed
error object
{
"planBackupDestination": [
{
"id": 0,
"name": "string"
}
],
"failedDestinations": [
"string"
],
"error": {
"errorMessage": "string",
"errorCode": 0
}
}
Requested Details not found
POST /v4/archiveplan/:planid/backupdestination
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://localhost/webconsole/api/V4/ArchivePlan/:planId/BackupDestination' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"destinations": [
{
"backupDestinationName": "string",
"storagePool": {
"id": 0,
"name": "string"
},
"region": {
"id": 0,
"name": "string"
},
"sourceCopy": {
"id": 0,
"name": "string"
},
"retentionPeriodDays": 0,
"overrideRetentionSettings": true
}
],
"region": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://localhost/webconsole/api/V4/ArchivePlan/:planId/BackupDestination' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"destinations": [
{
"backupDestinationName": "string",
"storagePool": {
"id": 0,
"name": "string"
},
"region": {
"id": 0,
"name": "string"
},
"sourceCopy": {
"id": 0,
"name": "string"
},
"retentionPeriodDays": 0,
"overrideRetentionSettings": true
}
],
"region": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://localhost/webconsole/api/V4/ArchivePlan/:planId/BackupDestination' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"destinations": [
{
"backupDestinationName": "string",
"storagePool": {
"id": 0,
"name": "string"
},
"region": {
"id": 0,
"name": "string"
},
"sourceCopy": {
"id": 0,
"name": "string"
},
"retentionPeriodDays": 0,
"overrideRetentionSettings": true
}
],
"region": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://localhost/webconsole/api/V4/ArchivePlan/:planId/BackupDestination' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"destinations": [
{
"backupDestinationName": "string",
"storagePool": {
"id": 0,
"name": "string"
},
"region": {
"id": 0,
"name": "string"
},
"sourceCopy": {
"id": 0,
"name": "string"
},
"retentionPeriodDays": 0,
"overrideRetentionSettings": true
}
],
"region": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://localhost/webconsole/api/V4/ArchivePlan/:planId/BackupDestination' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"destinations": [
{
"backupDestinationName": "string",
"storagePool": {
"id": 0,
"name": "string"
},
"region": {
"id": 0,
"name": "string"
},
"sourceCopy": {
"id": 0,
"name": "string"
},
"retentionPeriodDays": 0,
"overrideRetentionSettings": true
}
],
"region": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://localhost/webconsole/api/V4/ArchivePlan/:planId/BackupDestination' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"destinations": [
{
"backupDestinationName": "string",
"storagePool": {
"id": 0,
"name": "string"
},
"region": {
"id": 0,
"name": "string"
},
"sourceCopy": {
"id": 0,
"name": "string"
},
"retentionPeriodDays": 0,
"overrideRetentionSettings": true
}
],
"region": {
"id": 0,
"name": "string"
}
}'
curl -L -X POST 'https://localhost/webconsole/api/V4/ArchivePlan/:planId/BackupDestination' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"destinations": [
{
"backupDestinationName": "string",
"storagePool": {
"id": 0,
"name": "string"
},
"region": {
"id": 0,
"name": "string"
},
"sourceCopy": {
"id": 0,
"name": "string"
},
"retentionPeriodDays": 0,
"overrideRetentionSettings": true
}
],
"region": {
"id": 0,
"name": "string"
}
}'