Update the cassandra instance properties
This operation is used to update the cassandra instance properties
Path Parameters
- instanceId integer required
Id of the Cassandra instance to be updated
- application/json
Request Body required
Request Body
instanceProperties object
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example1
Schema
processinginstructioninfo object
response object[]
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": [
{
"warningCode": 0,
"errorCode": 0,
"warningMessage": "string",
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "string",
"instanceId": 0,
"_type_": 0
}
}
]
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": [
{
"warningCode": 0,
"errorCode": 0,
"warningMessage": "",
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "",
"instanceId": 0,
"_type_": 0
}
}
]
}
Bad Request
- application/json
- application/xml
- Schema
- Example
Schema
- string
Request body is empty or format is invalid
- Schema
- Example (from schema)
Schema
- object
<root/>
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Access Denied",
"errorCode": 5
}
POST /instance/:instanceid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"excludeFromSLA": false,
"instance": {
"clientId": 0,
"instanceId": 0,
"applicationId": 64
},
"distributedClusterInstance": {
"clusterType": "string",
"opType": "string",
"instance": {
"InstanceId": 0,
"instanceName": "string"
},
"clusterConfig": {
"cassandrabConfig": {
"gateway": {
"node": {
"clientNode": {
"clientId": 0,
"clientName": "string"
},
"jmxConnection": {
"port": 0,
"userPassword": {
"userName": "string",
"password": "string"
}
},
"authConfig": {
"sslConfig": {
"useSSL": true,
"keyStore": "string",
"keyStorePass": "string",
"trustStore": "string",
"trustStorePass": "string"
}
}
},
"gatewayCQLPort": 0,
"gatewayCQLUser": {
"userName": "string",
"password": "string"
}
},
"nodes": [
{
"clientNode": {
"clientId": 0,
"clientName": "string"
}
}
],
"clusterName": "string",
"enableCommitLog": true,
"configFilePath": "string"
}
}
},
"isDeleted": true,
"planEntity": {
"planName": "string"
},
"scIdxEnabled": 0,
"indexSettings": {
"currentIndexServer": {},
"currentIndexBackupSP": {}
},
"autoDiscovered": true
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"excludeFromSLA": false,
"instance": {
"clientId": 0,
"instanceId": 0,
"applicationId": 64
},
"distributedClusterInstance": {
"clusterType": "string",
"opType": "string",
"instance": {
"InstanceId": 0,
"instanceName": "string"
},
"clusterConfig": {
"cassandrabConfig": {
"gateway": {
"node": {
"clientNode": {
"clientId": 0,
"clientName": "string"
},
"jmxConnection": {
"port": 0,
"userPassword": {
"userName": "string",
"password": "string"
}
},
"authConfig": {
"sslConfig": {
"useSSL": true,
"keyStore": "string",
"keyStorePass": "string",
"trustStore": "string",
"trustStorePass": "string"
}
}
},
"gatewayCQLPort": 0,
"gatewayCQLUser": {
"userName": "string",
"password": "string"
}
},
"nodes": [
{
"clientNode": {
"clientId": 0,
"clientName": "string"
}
}
],
"clusterName": "string",
"enableCommitLog": true,
"configFilePath": "string"
}
}
},
"isDeleted": true,
"planEntity": {
"planName": "string"
},
"scIdxEnabled": 0,
"indexSettings": {
"currentIndexServer": {},
"currentIndexBackupSP": {}
},
"autoDiscovered": true
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"excludeFromSLA": false,
"instance": {
"clientId": 0,
"instanceId": 0,
"applicationId": 64
},
"distributedClusterInstance": {
"clusterType": "string",
"opType": "string",
"instance": {
"InstanceId": 0,
"instanceName": "string"
},
"clusterConfig": {
"cassandrabConfig": {
"gateway": {
"node": {
"clientNode": {
"clientId": 0,
"clientName": "string"
},
"jmxConnection": {
"port": 0,
"userPassword": {
"userName": "string",
"password": "string"
}
},
"authConfig": {
"sslConfig": {
"useSSL": true,
"keyStore": "string",
"keyStorePass": "string",
"trustStore": "string",
"trustStorePass": "string"
}
}
},
"gatewayCQLPort": 0,
"gatewayCQLUser": {
"userName": "string",
"password": "string"
}
},
"nodes": [
{
"clientNode": {
"clientId": 0,
"clientName": "string"
}
}
],
"clusterName": "string",
"enableCommitLog": true,
"configFilePath": "string"
}
}
},
"isDeleted": true,
"planEntity": {
"planName": "string"
},
"scIdxEnabled": 0,
"indexSettings": {
"currentIndexServer": {},
"currentIndexBackupSP": {}
},
"autoDiscovered": true
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"excludeFromSLA": false,
"instance": {
"clientId": 0,
"instanceId": 0,
"applicationId": 64
},
"distributedClusterInstance": {
"clusterType": "string",
"opType": "string",
"instance": {
"InstanceId": 0,
"instanceName": "string"
},
"clusterConfig": {
"cassandrabConfig": {
"gateway": {
"node": {
"clientNode": {
"clientId": 0,
"clientName": "string"
},
"jmxConnection": {
"port": 0,
"userPassword": {
"userName": "string",
"password": "string"
}
},
"authConfig": {
"sslConfig": {
"useSSL": true,
"keyStore": "string",
"keyStorePass": "string",
"trustStore": "string",
"trustStorePass": "string"
}
}
},
"gatewayCQLPort": 0,
"gatewayCQLUser": {
"userName": "string",
"password": "string"
}
},
"nodes": [
{
"clientNode": {
"clientId": 0,
"clientName": "string"
}
}
],
"clusterName": "string",
"enableCommitLog": true,
"configFilePath": "string"
}
}
},
"isDeleted": true,
"planEntity": {
"planName": "string"
},
"scIdxEnabled": 0,
"indexSettings": {
"currentIndexServer": {},
"currentIndexBackupSP": {}
},
"autoDiscovered": true
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"excludeFromSLA": false,
"instance": {
"clientId": 0,
"instanceId": 0,
"applicationId": 64
},
"distributedClusterInstance": {
"clusterType": "string",
"opType": "string",
"instance": {
"InstanceId": 0,
"instanceName": "string"
},
"clusterConfig": {
"cassandrabConfig": {
"gateway": {
"node": {
"clientNode": {
"clientId": 0,
"clientName": "string"
},
"jmxConnection": {
"port": 0,
"userPassword": {
"userName": "string",
"password": "string"
}
},
"authConfig": {
"sslConfig": {
"useSSL": true,
"keyStore": "string",
"keyStorePass": "string",
"trustStore": "string",
"trustStorePass": "string"
}
}
},
"gatewayCQLPort": 0,
"gatewayCQLUser": {
"userName": "string",
"password": "string"
}
},
"nodes": [
{
"clientNode": {
"clientId": 0,
"clientName": "string"
}
}
],
"clusterName": "string",
"enableCommitLog": true,
"configFilePath": "string"
}
}
},
"isDeleted": true,
"planEntity": {
"planName": "string"
},
"scIdxEnabled": 0,
"indexSettings": {
"currentIndexServer": {},
"currentIndexBackupSP": {}
},
"autoDiscovered": true
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"excludeFromSLA": false,
"instance": {
"clientId": 0,
"instanceId": 0,
"applicationId": 64
},
"distributedClusterInstance": {
"clusterType": "string",
"opType": "string",
"instance": {
"InstanceId": 0,
"instanceName": "string"
},
"clusterConfig": {
"cassandrabConfig": {
"gateway": {
"node": {
"clientNode": {
"clientId": 0,
"clientName": "string"
},
"jmxConnection": {
"port": 0,
"userPassword": {
"userName": "string",
"password": "string"
}
},
"authConfig": {
"sslConfig": {
"useSSL": true,
"keyStore": "string",
"keyStorePass": "string",
"trustStore": "string",
"trustStorePass": "string"
}
}
},
"gatewayCQLPort": 0,
"gatewayCQLUser": {
"userName": "string",
"password": "string"
}
},
"nodes": [
{
"clientNode": {
"clientId": 0,
"clientName": "string"
}
}
],
"clusterName": "string",
"enableCommitLog": true,
"configFilePath": "string"
}
}
},
"isDeleted": true,
"planEntity": {
"planName": "string"
},
"scIdxEnabled": 0,
"indexSettings": {
"currentIndexServer": {},
"currentIndexBackupSP": {}
},
"autoDiscovered": true
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"excludeFromSLA": false,
"instance": {
"clientId": 0,
"instanceId": 0,
"applicationId": 64
},
"distributedClusterInstance": {
"clusterType": "string",
"opType": "string",
"instance": {
"InstanceId": 0,
"instanceName": "string"
},
"clusterConfig": {
"cassandrabConfig": {
"gateway": {
"node": {
"clientNode": {
"clientId": 0,
"clientName": "string"
},
"jmxConnection": {
"port": 0,
"userPassword": {
"userName": "string",
"password": "string"
}
},
"authConfig": {
"sslConfig": {
"useSSL": true,
"keyStore": "string",
"keyStorePass": "string",
"trustStore": "string",
"trustStorePass": "string"
}
}
},
"gatewayCQLPort": 0,
"gatewayCQLUser": {
"userName": "string",
"password": "string"
}
},
"nodes": [
{
"clientNode": {
"clientId": 0,
"clientName": "string"
}
}
],
"clusterName": "string",
"enableCommitLog": true,
"configFilePath": "string"
}
}
},
"isDeleted": true,
"planEntity": {
"planName": "string"
},
"scIdxEnabled": 0,
"indexSettings": {
"currentIndexServer": {},
"currentIndexBackupSP": {}
},
"autoDiscovered": true
}
}'