Modify PostgreSQL Cluster Instance
This operation is used to modify PostgreSQL Cluster instance property
Path Parameters
- instanceId integer required
InstanceId of the PostgreSQL Instance
- application/json
Request Body
association object
entity object[]
instanceId integerinstanceName string requiredInstance Name
applicationId integer requiredDefault value:
125
Instance Name
clientId integerclientName string requiredClient Name
commCellId integerinstanceProperties object
instance object
instanceId integerinstanceName stringInstance Name
applicationId integerclientId integerclientName stringcommCellId integerplanEntity object
planId integerPlan ID
postGreSQLInstance object
SAUser objectosUser objectArchiveDelete booleanstandbyOptions object
useMasterForDataBkp booleanuseMasterForLogBkp booleanplanSchedAssocType integerdbClusterManager stringnodes object[]
clusterPriority integerCluster node priority
physicalClient object
clientId integerclientName stringCluster node name
displayName stringpostgresProps object
DBRole stringDatabase role as per last backup:
master: 1, standby: 2, unknown: 3
BinaryDirectory stringBinary Directory
ArchiveLogDirectory stringArchive log directory
managerBinDir stringCluster manager Binary Directory
MaintainenceDB stringMaintainence Database
LibDirectory stringLibrary Directory
managerConfig stringCluster manager config file path
port stringDatabase port
sslOpt object
sslCa stringsslEnabled booleansslKey stringsslCert stringUNCUser object
userName stringSAUser object
userName stringDatabase user
osUser object
userName string
Responses
- 200
- 400
- 401
- 403
- 500
OK
- application/json
- Schema
- Example (from schema)
- Example
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
- application/json
- Schema
- Example
Schema
- string
Request body is empty or format is invalid.
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Access Denied",
"errorCode": 5
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Example 2
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "User does not have permission on the entity.",
"errorCode": 587205847
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Failed to update properties because jobs are in progress for the Instance",
"errorCode": 1
}
Loading...