Get PostgreSQL Cluster instance properties
This operation fetches the PostgreSQL Cluster Instance properties
Path Parameters
- instanceId integer required
InstanceId of the PostgreSQL Instance
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Postgre S Q L Cluster Instance Property
Schema
instanceProperties object[]
isDeleted booleanapplicationSize integerexcludeFromSLA booleanversion stringscIdxEnabled integerisSnapEnabled booleanautoDiscovered booleanstatus integerinstance object
clientName stringClient Name
instanceName stringInstance Name
displayName stringinstanceId integerinstanceGUID stringclientId integerappName stringDefault value:
PostgreSQL
PostgreSQL
applicationId integerentityInfo object
companyId integercompanyName stringmultiCommcellId integerindexSettings object
indexRetCycle integeroverrideIndexPruning integerindexRetDays integerindexPruningType integercurrentIndexServer objectqualifyingIndexServers object[]
clientId integerclientName stringpostGreSQLInstance object
BinaryDirectory stringArchiveDelete booleanuseGCPApi booleanArchiveLogDirectory stringisStandBy booleanlastLogNumber stringMaintainenceDB stringuseClientCloudCredentials booleanplanSchedAssocType integerLibDirectory stringport stringdbClusterManager integerPostgreSQL cluster manager type. 1=Patroni cluster 2=EDB Failover Manager 3=Repmgr for Postgres 4=Native Replication
sslOpt object
sslCa stringsslEnabled booleansslKey stringsslCert stringlogStoragePolicy object
storagePolicyName stringstoragePolicyId integerUNCUser object
userName stringstandbyOptions object
useMasterForLogBkp booleanisStandbyEnabled booleanuseMasterForDataBkp booleanstandbyInstance object
instanceName stringinstanceId integerSAUser object
userName stringosUser object
userName stringgcpOptions object
stagingBucketURI stringdumpFileType integeruseCompression booleannodes object[]
clusterPriority integerCluster priority
physicalClient object
clientId integerclientName stringClient name
displayName stringpostgresProps object
DBRole integerDatabase role:
Master: 1, Standby: 2, Unknown: 3
BinaryDirectory stringBinary log directory
ArchiveLogDirectory stringArchive log directory
managerBinDir stringCluster manager Binary directory
MaintainenceDB stringMaintainence DB
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 stringclusterSettings objectinstanceActivityControl object
activityControlOptions object[]
activityType integerenableAfterADelay booleanenableActivityType booleanplanEntity object
planType integerplanName stringPlan Name
planSubtype integerplanId integercloudDBInstance object
overRideAccessNode booleanaccessNodes objectlastBackupJobInfo object
jobID integerfailureReasonIds stringcommCellID integerfailureReasonMessageEnglish stringstatus integerstartTime object
time integerendTime object
time integer
{
"instanceProperties": [
{
"isDeleted": true,
"applicationSize": 0,
"excludeFromSLA": true,
"version": "string",
"scIdxEnabled": 0,
"isSnapEnabled": true,
"autoDiscovered": true,
"status": 0,
"instance": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"instanceId": 0,
"instanceGUID": "string",
"clientId": 0,
"appName": "PostgreSQL",
"applicationId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
},
"indexSettings": {
"indexRetCycle": 0,
"overrideIndexPruning": 0,
"indexRetDays": 0,
"indexPruningType": 0,
"currentIndexServer": {},
"qualifyingIndexServers": [
{
"clientId": 0,
"clientName": "string"
}
]
},
"postGreSQLInstance": {
"BinaryDirectory": "string",
"ArchiveDelete": true,
"useGCPApi": true,
"ArchiveLogDirectory": "string",
"isStandBy": true,
"lastLogNumber": "string",
"MaintainenceDB": "string",
"useClientCloudCredentials": true,
"planSchedAssocType": 0,
"LibDirectory": "string",
"port": "string",
"dbClusterManager": 0,
"sslOpt": {
"sslCa": "string",
"sslEnabled": true,
"sslKey": "string",
"sslCert": "string"
},
"logStoragePolicy": {
"storagePolicyName": "string",
"storagePolicyId": 0
},
"UNCUser": {
"userName": "string"
},
"standbyOptions": {
"useMasterForLogBkp": true,
"isStandbyEnabled": true,
"useMasterForDataBkp": true,
"standbyInstance": {
"instanceName": "string",
"instanceId": 0
}
},
"SAUser": {
"userName": "string"
},
"osUser": {
"userName": "string"
},
"gcpOptions": {
"stagingBucketURI": "string",
"dumpFileType": 0,
"useCompression": true
},
"nodes": [
{
"clusterPriority": 0,
"physicalClient": {
"clientId": 0,
"clientName": "string",
"displayName": "string"
},
"postgresProps": {
"DBRole": 0,
"BinaryDirectory": "string",
"ArchiveLogDirectory": "string",
"managerBinDir": "string",
"MaintainenceDB": "string",
"LibDirectory": "string",
"managerConfig": "string",
"port": "string",
"sslOpt": {
"sslCa": "string",
"sslEnabled": true,
"sslKey": "string",
"sslCert": "string"
},
"UNCUser": {
"userName": "string"
},
"SAUser": {
"userName": "string"
},
"osUser": {
"userName": "string"
}
}
}
],
"clusterSettings": {}
},
"instanceActivityControl": {
"activityControlOptions": [
{
"activityType": 0,
"enableAfterADelay": true,
"enableActivityType": true
}
]
},
"planEntity": {
"planType": 0,
"planName": "string",
"planSubtype": 0,
"planId": 0
},
"cloudDBInstance": {
"overRideAccessNode": true,
"accessNodes": {}
},
"lastBackupJobInfo": {
"jobID": 0,
"failureReasonIds": "string",
"commCellID": 0,
"failureReasonMessageEnglish": "string",
"status": 0,
"startTime": {
"time": 0
},
"endTime": {
"time": 0
}
}
}
]
}
{
"instanceProperties": [
{
"isDeleted": false,
"applicationSize": 0,
"excludeFromSLA": false,
"version": "15.4",
"scIdxEnabled": 0,
"isSnapEnabled": false,
"autoDiscovered": false,
"status": 0,
"instance": {
"clientName": "GK_NATIVE",
"instanceName": "GK_NATIVE",
"displayName": "GK_NATIVE",
"instanceId": 6671,
"instanceGUID": "0FCE2847-8271-4B47-8F46-166058ED99B8",
"clientId": 1706,
"appName": "PostgreSQL",
"applicationId": 125,
"entityInfo": {
"companyId": 0,
"companyName": "Commcell",
"multiCommcellId": 0
}
},
"indexSettings": {
"indexRetCycle": -1,
"overrideIndexPruning": 0,
"indexRetDays": -1,
"indexPruningType": 0,
"currentIndexServer": {},
"qualifyingIndexServers": [
{},
{
"clientId": 2,
"clientName": "dbcs"
}
]
},
"postGreSQLInstance": {
"BinaryDirectory": "",
"ArchiveDelete": true,
"useGCPApi": false,
"ArchiveLogDirectory": "",
"isStandBy": false,
"lastLogNumber": "00000002000000000000000E",
"MaintainenceDB": "",
"useClientCloudCredentials": false,
"planSchedAssocType": 0,
"LibDirectory": "",
"port": "",
"dbClusterManager": 4,
"sslOpt": {
"sslCa": "",
"sslEnabled": false,
"sslKey": "",
"sslCert": ""
},
"logStoragePolicy": {
"storagePolicyName": "GK_NEW_DB_OPTION_TEST",
"storagePolicyId": 169
},
"UNCUser": {
"userName": ""
},
"standbyOptions": {
"useMasterForLogBkp": true,
"isStandbyEnabled": false,
"useMasterForDataBkp": true,
"standbyInstance": {
"instanceName": "DefaultInstanceName",
"instanceId": 1
}
},
"SAUser": {
"userName": ""
},
"osUser": {
"userName": ""
},
"gcpOptions": {
"stagingBucketURI": "",
"dumpFileType": 0,
"useCompression": false
},
"nodes": [
{
"clusterPriority": 1,
"physicalClient": {
"clientId": 800,
"clientName": "gkpgtest2",
"displayName": "gkpgtest2"
},
"postgresProps": {
"DBRole": 0,
"BinaryDirectory": "/usr/pgsql-15/bin",
"ArchiveLogDirectory": "/var/lib/pgsql/15/wal",
"managerBinDir": "",
"MaintainenceDB": "postgres",
"LibDirectory": "/usr/pgsql-15/lib",
"managerConfig": "",
"port": "5432",
"sslOpt": {
"sslCa": "",
"sslEnabled": false,
"sslKey": "",
"sslCert": ""
},
"UNCUser": {
"userName": ""
},
"SAUser": {
"userName": "postgres"
},
"osUser": {
"userName": ""
}
}
},
{
"clusterPriority": 0,
"physicalClient": {
"clientId": 1323,
"clientName": "gkpgtest1",
"displayName": "gkpgtest1"
},
"postgresProps": {
"DBRole": 1,
"BinaryDirectory": "/usr/pgsql-15/bin",
"ArchiveLogDirectory": "/var/lib/pgsql/15/wal",
"managerBinDir": "",
"MaintainenceDB": "postgres",
"LibDirectory": "/usr/pgsql-15/lib",
"managerConfig": "",
"port": "5432",
"sslOpt": {
"sslCa": "",
"sslEnabled": false,
"sslKey": "",
"sslCert": ""
},
"UNCUser": {
"userName": ""
},
"SAUser": {
"userName": "postgres"
},
"osUser": {
"userName": "postgres"
}
}
}
],
"clusterSettings": {}
},
"instanceActivityControl": {
"activityControlOptions": [
{
"activityType": 1,
"enableAfterADelay": false,
"enableActivityType": true
},
{
"activityType": 2,
"enableAfterADelay": false,
"enableActivityType": true
}
]
},
"planEntity": {
"planType": 2,
"planName": "GK_NEW_DB_OPTION_TEST",
"planSubtype": 33554437,
"planId": 57
},
"cloudDBInstance": {
"overRideAccessNode": false,
"accessNodes": {}
},
"lastBackupJobInfo": {
"jobID": 4401833,
"failureReasonIds": "",
"commCellID": 2,
"failureReasonMessageEnglish": "",
"status": 1,
"startTime": {
"time": 1725352215
},
"endTime": {
"time": 1725352249
}
}
}
]
}
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": "string",
"errorCode": 0
}
Loading...