Update DB2 MultiNode Instance Properties
Select
This operation is used to update DB2 MultiNode Instance properties
Path Parameters
- InstanceID integer required
ID of the DB2 MultiNode Instance
- application/json
Request Body
association object
entity object[] required
instanceId integer requiredID of the DB2 MultiNode Instance
instanceName stringapplicationId integer requiredPossible values: [
103
]103 for DB2 Multinode
clientId integer requiredID of the DB2 MultiNode pseudo client
clientName stringcommCellId integerinstanceProperties object required
Pass the objects that you want to update inside this object
instance object
instanceId integerID of the DB2 MultiNode Instance
instanceName stringName of the DB2 MultiNode Instance
applicationId integerPossible values: [
103
]clientId integerID of the DB2 MultiNode pseudo client
clientName stringName of the DB2 MultiNode pseudo client
commCellId integerplanEntity object
Pass this object to update plan
planId integerPlan id to get associated to DB2 MultiNode Instance
db2Instance object
pass this object to update DB2 MultiNode instance properties
homeDirectory stringDB2 MultiNode Instance home directory
pureScale booleanTrue if using purescale else false
dpfpartitionclients object[]
pass this object to update physical or logical nodes of DB2 MultiNode Instance
nodenum integersequential number of the physical / logical node
nodeClient object
Client details of node
clientId integerClient ID where physical / logical node is present
clientName stringName of the cliet
_type_ integerPossible values: [
3
]nodeNumber stringsequential number of the node
userAccount object
Pass this object to update user details of DB2 MultiNode instance
userName stringUser name of DB2 MultiNode Instance
password stringPassword of the DB2 MultiNode Instance user
- 200
- 400
- 401
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
processinginstructioninfo object
attributes object[]
name stringvalue stringresponse object[]
warningCode integererrorCode integerwarningMessage stringentity object
subclientId integerclientId integerinstanceName stringinstanceId integer_type_ integer
{
"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
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Access denied",
"errorCode": 5
}
Not Found
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Unknown Instance information. Please provide valid instance id to complete the operation.",
"errorCode": 587206385
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "User does not have [Use Plan] rights on plan(s)-[Invalid PlanId].",
"errorCode": 1
}