Update all the included/excluded entities of backupdestination.
Select
SaaS
Customer Managed
Update all the included/excluded entities of backupdestination.
Path Parameters
- planId int32 required
- backupDestinationId int32 required
- application/json
Request Body
- updateApplicableForFutureJobs boolean
If set to true, then only future jobs will honour this update.
associations object[]
Responses
- 200
- 404
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Requested Details not found
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
PUT /v4/plan/:planid/backupdestination/:backupdestinationid/associations
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Plan/:planId/BackupDestination/:backupDestinationId/Associations' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"updateApplicableForFutureJobs": true,
"associations": [
{
"id": 0,
"name": "string",
"flags": {
"disabled": true,
"include": true,
"exclude": true
},
"type": "ALL_SERVERS",
"parentEntity1": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity2": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity3": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity4": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity5": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
}
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Plan/:planId/BackupDestination/:backupDestinationId/Associations' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"updateApplicableForFutureJobs": true,
"associations": [
{
"id": 0,
"name": "string",
"flags": {
"disabled": true,
"include": true,
"exclude": true
},
"type": "ALL_SERVERS",
"parentEntity1": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity2": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity3": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity4": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity5": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
}
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Plan/:planId/BackupDestination/:backupDestinationId/Associations' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"updateApplicableForFutureJobs": true,
"associations": [
{
"id": 0,
"name": "string",
"flags": {
"disabled": true,
"include": true,
"exclude": true
},
"type": "ALL_SERVERS",
"parentEntity1": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity2": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity3": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity4": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity5": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
}
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Plan/:planId/BackupDestination/:backupDestinationId/Associations' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"updateApplicableForFutureJobs": true,
"associations": [
{
"id": 0,
"name": "string",
"flags": {
"disabled": true,
"include": true,
"exclude": true
},
"type": "ALL_SERVERS",
"parentEntity1": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity2": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity3": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity4": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity5": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
}
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Plan/:planId/BackupDestination/:backupDestinationId/Associations' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"updateApplicableForFutureJobs": true,
"associations": [
{
"id": 0,
"name": "string",
"flags": {
"disabled": true,
"include": true,
"exclude": true
},
"type": "ALL_SERVERS",
"parentEntity1": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity2": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity3": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity4": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity5": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
}
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Plan/:planId/BackupDestination/:backupDestinationId/Associations' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"updateApplicableForFutureJobs": true,
"associations": [
{
"id": 0,
"name": "string",
"flags": {
"disabled": true,
"include": true,
"exclude": true
},
"type": "ALL_SERVERS",
"parentEntity1": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity2": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity3": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity4": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity5": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
}
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Plan/:planId/BackupDestination/:backupDestinationId/Associations' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"updateApplicableForFutureJobs": true,
"associations": [
{
"id": 0,
"name": "string",
"flags": {
"disabled": true,
"include": true,
"exclude": true
},
"type": "ALL_SERVERS",
"parentEntity1": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity2": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity3": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity4": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
},
"parentEntity5": {
"id": 0,
"name": "string",
"type": "SERVER_GROUP_ENTITY"
}
}
]
}'