Fetch DB2 Multinode Configuration Partitions
Select
SaaS
Customer Managed
This operation is used to fetch all the physical and logical nodes of a DB2 Multinode Configuration
Query Parameters
- clientId integer required
ID of the DB2 Multinode Pseudo client
- db2Home string required
Home path of the DB2 Multinode instance
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
nodes object[]
{
"nodes": [
{
"nodenum": 0,
"nodeClient": {
"clientId": 0,
"clientName": "string",
"_type_": 0
}
}
]
}
{
"nodes": [
{
"nodenum": 0,
"nodeClient": {
"clientId": 1469,
"clientName": "vikramdpf1",
"_type_": 3
}
},
{
"nodenum": 1,
"nodeClient": {
"clientId": 1469,
"clientName": "vikramdpf1",
"_type_": 3
}
},
{
"nodenum": 2,
"nodeClient": {
"clientId": 1470,
"clientName": "vikramdpf2",
"_type_": 3
}
},
{
"nodenum": 3,
"nodeClient": {
"clientId": 1470,
"clientName": "vikramdpf2",
"_type_": 3
}
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Access denied",
"errorCode": 5
}
GET /instance/db2partitions
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Instance/DB2Partitions' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Instance/DB2Partitions' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Instance/DB2Partitions' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Instance/DB2Partitions' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Instance/DB2Partitions' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Instance/DB2Partitions' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Instance/DB2Partitions' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'