Skip to main content

Modify PostgreSQL Instance

Select

SaaS
Customer Managed

This operation is used to modify PostgreSQL instance property

Path Parameters
  • instanceId integer required

    InstanceId of the PostgreSQL Instance

Request Body
  • instanceProperties object
  • instance object
  • instanceId integer

    Instance ID

  • instanceName string

    Instance Name

  • applicationId integer
  • clientId integer

    Client ID

  • clientName string

    Client Name

  • commCellId integer
  • planEntity object
  • planId integer

    Plan ID

  • postGreSQLInstance object
  • MaintainenceDB string
  • BinaryDirectory string

    Binary directory Path

  • LibDirectory string

    Library directory Path

  • ArchiveLogDirectory string

    Archive log directory Path

  • port string

    Port associated with PostgreSQL server

  • SAUser object
  • userName string
  • osUser object
  • userName string
  • ArchiveDelete boolean
  • standbyOptions object
  • isStandbyEnabled boolean
Responses

OK


Schema
  • processinginstructioninfo object
  • attributes object[]
  • name string
  • value string
  • response object[]
  • warningCode integer
  • errorCode integer
  • warningMessage string
  • entity object
  • subclientId integer
  • clientId integer
  • instanceName string
  • instanceId integer
  • _type_ integer
POST /instance/:instanceid    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
token
instanceId — path required
Body

{
"instanceProperties": {
"instance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 0,
"clientId": 0,
"clientName": "string",
"commCellId": 0
},
"planEntity": {
"planId": 0
},
"postGreSQLInstance": {
"MaintainenceDB": "string",
"BinaryDirectory": "string",
"LibDirectory": "string",
"ArchiveLogDirectory": "string",
"port": "string",
"SAUser": {
"userName": "string"
},
"osUser": {
"userName": "string"
},
"ArchiveDelete": true,
"standbyOptions": {
"isStandbyEnabled": 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": {
"instance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 0,
"clientId": 0,
"clientName": "string",
"commCellId": 0
},
"planEntity": {
"planId": 0
},
"postGreSQLInstance": {
"MaintainenceDB": "string",
"BinaryDirectory": "string",
"LibDirectory": "string",
"ArchiveLogDirectory": "string",
"port": "string",
"SAUser": {
"userName": "string"
},
"osUser": {
"userName": "string"
},
"ArchiveDelete": true,
"standbyOptions": {
"isStandbyEnabled": true
}
}
}
}'