required | Array of objects (PostgresqlDataCentreV2) [ 1 .. 2 ] items List of data centre settings. |
currentClusterOperationStatus | string (CurrentClusterOperationStatusV2) Indicates if the cluster is currently performing any restructuring operation such as being created or resized |
synchronousModeStrict required | boolean Create the PostgreSQL cluster with the selected replication mode, see [PostgreSQL replication mode] (https://www.instaclustr.com/support/documentation/postgresql/options/replication-mode/). |
privateNetworkCluster required | boolean Creates the cluster with private network only, see Private Network Clusters. |
name required | string [ 3 .. 32 ] characters [a-zA-Z0-9][a-zA-Z0-9_-]* Name of the cluster. |
postgresqlVersion required | string[0-9]+\.[0-9]+\.[0-9]+ Version of Postgresql to run on the cluster. Available versions:
|
Array of objects (TwoFactorDeleteSettingsV2) <= 1 items | |
slaTier required | string (SlaTierV2) SLA Tier of the cluster. Non-production clusters may receive lower priority support and reduced SLAs. Production tier is not available when using Developer class nodes. See SLA Tier for more information. |
Postgresql Cluster provisioning requested.
{- "dataCentres": [
- {
- "clientToClusterEncryption": true,
- "cloudProvider": "AWS_VPC",
- "intraDataCentreReplication": [
- {
- "replicationMode": "SYNCHRONOUS"
}
], - "name": "dc_1",
- "network": "10.1.0.0/16",
- "nodeSize": "PGS-DEV-t4g.small-5",
- "numberOfNodes": 2,
- "region": "US_EAST_1"
}
], - "name": "test_apiv2_postgresql_create",
- "postgresqlVersion": "[x.y.z]",
- "privateNetworkCluster": false,
- "slaTier": "NON_PRODUCTION",
- "synchronousModeStrict": false
}
{- "dataCentres": [
- {
- "clientToClusterEncryption": true,
- "cloudProvider": "AWS_VPC",
- "intraDataCentreReplication": [
- {
- "replicationMode": "SYNCHRONOUS"
}
], - "name": "dc_1",
- "network": "10.1.0.0/16",
- "nodeSize": "PGS-DEV-t4g.small-5",
- "numberOfNodes": 2,
- "region": "US_EAST_1"
}
], - "name": "test_apiv2_postgresql_create",
- "postgresqlVersion": "[x.y.z]",
- "privateNetworkCluster": false,
- "slaTier": "NON_PRODUCTION",
- "synchronousModeStrict": false
}
Postgresql cluster details retrieved.
{- "dataCentres": [
- {
- "clientToClusterEncryption": true,
- "cloudProvider": "AWS_VPC",
- "intraDataCentreReplication": [
- {
- "replicationMode": "SYNCHRONOUS"
}
], - "name": "dc_1",
- "network": "10.1.0.0/16",
- "nodeSize": "PGS-DEV-t4g.small-5",
- "numberOfNodes": 2,
- "region": "US_EAST_1"
}
], - "name": "test_apiv2_postgresql_create",
- "postgresqlVersion": "[x.y.z]",
- "privateNetworkCluster": false,
- "slaTier": "NON_PRODUCTION",
- "synchronousModeStrict": false
}
PostgreSQL cluster update request accepted.
PostgreSQL cluster not found.
{- "dataCentres": [
- {
- "clientToClusterEncryption": true,
- "cloudProvider": "AWS_VPC",
- "interDataCentreReplication": {
- "isPrimaryDataCentre": true
}, - "intraDataCentreReplication": {
- "replicationMode": "SYNCHRONOUS"
}, - "name": "dc_1",
- "network": "10.2.0.0/16",
- "nodeSize": "PGS-DEV-t4g.small-5",
- "numberOfNodes": 2,
- "region": "US_WEST_2"
}
]
}
{- "dataCentres": [
- {
- "clientToClusterEncryption": true,
- "cloudProvider": "AWS_VPC",
- "intraDataCentreReplication": [
- {
- "replicationMode": "SYNCHRONOUS"
}
], - "name": "dc_1",
- "network": "10.1.0.0/16",
- "nodeSize": "PGS-DEV-t4g.small-5",
- "numberOfNodes": 2,
- "region": "US_EAST_1"
}
], - "name": "test_apiv2_postgresql_create",
- "postgresqlVersion": "[x.y.z]",
- "privateNetworkCluster": false,
- "slaTier": "NON_PRODUCTION",
- "synchronousModeStrict": false
}