Modify Subclient
This operation is used to update subclient contents of an RDS instance.
Path Parameters
- subclientID integer required
id of the subclient
- application/json
Request Body
subClientProperties object
association object
Responses
- 200
- 201
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
processinginstructioninfo object
response object[]
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": [
{
"warningCode": 0,
"errorCode": 0,
"warningMessage": "string"
}
]
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": [
{
"warningCode": 0,
"errorCode": 0,
"warningMessage": ""
}
]
}
Created
- application/json
- Schema
- Example (from schema)
- Invalid subclient
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Failed to get any subclient for given association. Check if it is valid",
"errorCode": 4
}
POST /subclient/:subclientid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Subclient/:subclientID' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"subClientProperties": {
"cloudAppsSubClientProp": {
"instanceType": "AMAZON_RDS"
},
"cloudDbContent": {
"children": [
{
"path": "string",
"negation": true,
"displayName": "string",
"name": "string",
"allOrAnyChildren": true,
"type": 0,
"value": "string"
}
]
}
},
"association": {
"entity": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"_type_": "SUBCLIENT_ENTITY",
"appName": "Cloud Apps",
"backupsetName": "defaultBackupSet",
"subclientName": "string"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Subclient/:subclientID' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"subClientProperties": {
"cloudAppsSubClientProp": {
"instanceType": "AMAZON_RDS"
},
"cloudDbContent": {
"children": [
{
"path": "string",
"negation": true,
"displayName": "string",
"name": "string",
"allOrAnyChildren": true,
"type": 0,
"value": "string"
}
]
}
},
"association": {
"entity": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"_type_": "SUBCLIENT_ENTITY",
"appName": "Cloud Apps",
"backupsetName": "defaultBackupSet",
"subclientName": "string"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Subclient/:subclientID' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"subClientProperties": {
"cloudAppsSubClientProp": {
"instanceType": "AMAZON_RDS"
},
"cloudDbContent": {
"children": [
{
"path": "string",
"negation": true,
"displayName": "string",
"name": "string",
"allOrAnyChildren": true,
"type": 0,
"value": "string"
}
]
}
},
"association": {
"entity": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"_type_": "SUBCLIENT_ENTITY",
"appName": "Cloud Apps",
"backupsetName": "defaultBackupSet",
"subclientName": "string"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Subclient/:subclientID' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"subClientProperties": {
"cloudAppsSubClientProp": {
"instanceType": "AMAZON_RDS"
},
"cloudDbContent": {
"children": [
{
"path": "string",
"negation": true,
"displayName": "string",
"name": "string",
"allOrAnyChildren": true,
"type": 0,
"value": "string"
}
]
}
},
"association": {
"entity": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"_type_": "SUBCLIENT_ENTITY",
"appName": "Cloud Apps",
"backupsetName": "defaultBackupSet",
"subclientName": "string"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Subclient/:subclientID' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"subClientProperties": {
"cloudAppsSubClientProp": {
"instanceType": "AMAZON_RDS"
},
"cloudDbContent": {
"children": [
{
"path": "string",
"negation": true,
"displayName": "string",
"name": "string",
"allOrAnyChildren": true,
"type": 0,
"value": "string"
}
]
}
},
"association": {
"entity": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"_type_": "SUBCLIENT_ENTITY",
"appName": "Cloud Apps",
"backupsetName": "defaultBackupSet",
"subclientName": "string"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Subclient/:subclientID' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"subClientProperties": {
"cloudAppsSubClientProp": {
"instanceType": "AMAZON_RDS"
},
"cloudDbContent": {
"children": [
{
"path": "string",
"negation": true,
"displayName": "string",
"name": "string",
"allOrAnyChildren": true,
"type": 0,
"value": "string"
}
]
}
},
"association": {
"entity": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"_type_": "SUBCLIENT_ENTITY",
"appName": "Cloud Apps",
"backupsetName": "defaultBackupSet",
"subclientName": "string"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Subclient/:subclientID' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"subClientProperties": {
"cloudAppsSubClientProp": {
"instanceType": "AMAZON_RDS"
},
"cloudDbContent": {
"children": [
{
"path": "string",
"negation": true,
"displayName": "string",
"name": "string",
"allOrAnyChildren": true,
"type": 0,
"value": "string"
}
]
}
},
"association": {
"entity": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"_type_": "SUBCLIENT_ENTITY",
"appName": "Cloud Apps",
"backupsetName": "defaultBackupSet",
"subclientName": "string"
}
]
}
}'