Table of Contents Previous Next



2.1.3 /clusters
An administrator can use the /clusters resource to retrieve a list of all clusters; the output will include information about the master instance of each cluster.
{
"autoScaleReplicas": "true",
"autoScaleStorage": "true",
"availabilityZone": "us-east-1c",
"backupRetention": "1",
"backupWindow": "12:00am - 2:00am",
"caState": "",
"clusterKey": "-----BEGIN RSA PRIVATE KEY-----\n … ==\n-----END RSA PRIVATE KEY-----",
"clusterKeyName": "acctg-clerks",
"clusterName": "accounting",
"clusterNodeCount": "1",
"clusterState": "2",
"clusterUuid": "a694bb1b-8071-4069-89f9-1fde6f620223",
"connectionThreshold": "95",
"connections": "1",
"continuousArchiving": "false",
"cpuLoad": "80",
"creationTime": "2019-02-12T11:07:24-05:00",
"dataThreshold": "65",
"dbEngine": {
"engineId": "PG_96_CR7_ARK22",
"eol": "false",
"id": "8",
"name": "PostgreSQL 9.6 64bit on CentOS / RHEL 7",
"optionalPkgs": "",
"repos": {
"id": "10",
"url": "http://yum.postgresql.org/9.6/rhel-7/pgdg-redhat96-9.6-3.noarch.rpm"
},
"requiredPkgs": "postgresql96-server pgpool-II-96",
"serverImage": {
"id": "1",
"imageId": "ami-46c1650",
"initialUser": "centos",
"isStatic": "false",
"osType": "CentOS",
"serverDescription": "Cent OS 7",
"serverId": "C7"
},
"type": "postgres",
"version": "9.6"
},
"dbName": "postgres",
"dbPort": "5432",
"dbState": "2",
"dnsName": "ec2-5-173-12-155.compute-1.amazonaws.com",
"encrypted": "false",
"engineVersion": "PostgreSQL 9.6 64bit on CentOS / RHEL 7",
"freeDataSpace": "1861084",
"serverClass": "t2.micro",
"id": "i-095e43c1e1225278c",
"imageId": "ami-46c1b650",
"instanceState": "running",
"iops": "0",
"lbPort": "9999",
"manuallyScaleReplicas": "true",
"manuallyScaleStorage": "true",
"masterUser": "postgres",
"monitoringDatabase": "true",
"monitoringLB": "true",
"notificationEmail": "name@email.com",
"numberOfNodes": "1",
"optimized": "false",
"owner": "name@email.com",
"pendingModifications": "",
"port": "22",
"primaryFailoverToReplica": "true",
"privateIp": "112.30.23.41",
"publicIp": "3.213.15.154",
"readonly": "false",
"region": "us-east-1",
"securityGroup": "acctg-clerks",
"storage": "1.0",
"subnetid": "subnet-760fc2b",
"templateName": "",
"tenant": "acctg",
"usedDataSpace": "45288",
"versionNum": "020000",
"vpcid": "vpc-49a1f3e",
"yumStatus": "2",
"yumUpdate": "false",
"zone": "us-east-1c"


Table of Contents Previous Next