From 78e3d5f76ce97a115489d10504f5d255d1f0b570 Mon Sep 17 00:00:00 2001 From: Sena Gungor Date: Mon, 19 Jun 2023 11:29:50 +0300 Subject: [PATCH] Add single node cluster examples and update description for Cosmos DB for PostgreSQL (#24256) * Add single node cluster example * Update description for enableShardsOnCoordinator * fix prettier * Add rebalancing to custom words * Update examples * Update single node example --- custom-words.txt | 1 + .../examples/ClusterCreateBurstablev1.json | 141 ++++++++++++++++++ .../examples/ClusterCreateBurstablev2.json | 141 ++++++++++++++++++ ...reate.json => ClusterCreateMultiNode.json} | 42 +++--- .../examples/ClusterCreateSingleNode.json | 141 ++++++++++++++++++ .../stable/2022-11-08/postgresqlhsc.json | 17 ++- 6 files changed, 458 insertions(+), 25 deletions(-) create mode 100644 specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreateBurstablev1.json create mode 100644 specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreateBurstablev2.json rename specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/{ClusterCreate.json => ClusterCreateMultiNode.json} (77%) create mode 100644 specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreateSingleNode.json diff --git a/custom-words.txt b/custom-words.txt index 344e4c10be97..b81fcd3fa63c 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -1752,6 +1752,7 @@ readwrite realtime reassociate Rebalance +rebalancing recommendedactions reconfig recordset diff --git a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreateBurstablev1.json b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreateBurstablev1.json new file mode 100644 index 000000000000..7574448abd82 --- /dev/null +++ b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreateBurstablev1.json @@ -0,0 +1,141 @@ +{ + "parameters": { + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "resourceGroupName": "TestGroup", + "clusterName": "testcluster-burstablev1", + "api-version": "2022-11-08", + "parameters": { + "location": "westus", + "properties": { + "administratorLoginPassword": "password", + "postgresqlVersion": "15", + "citusVersion": "11.3", + "enableHa": false, + "enableShardsOnCoordinator": true, + "coordinatorServerEdition": "BurstableMemoryOptimized", + "coordinatorStorageQuotaInMb": 131072, + "coordinatorVCores": 1, + "coordinatorEnablePublicIpAccess": true, + "nodeCount": 0, + "preferredPrimaryZone": "1" + }, + "tags": { + "owner": "JohnDoe" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/testcluster-burstablev1", + "name": "testcluster-burstablev1", + "type": "Microsoft.DBforPostgreSQL/serverGroupsv2", + "tags": { + "owner": "JohnDoe" + }, + "location": "westus", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2022-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Provisioning", + "state": "Provisioning", + "postgresqlVersion": "15", + "citusVersion": "11.3", + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + }, + "administratorLogin": "citus", + "preferredPrimaryZone": "1", + "nodeCount": 0, + "enableShardsOnCoordinator": true, + "coordinatorServerEdition": "BurstableMemoryOptimized", + "coordinatorStorageQuotaInMb": 131072, + "coordinatorVCores": 1, + "coordinatorEnablePublicIpAccess": true, + "nodeEnablePublicIpAccess": false, + "nodeServerEdition": "MemoryOptimized", + "nodeStorageQuotaInMb": 131072, + "nodeVCores": 2, + "serverNames": [ + { + "name": "testcluster-burstablev1-c", + "fullyQualifiedDomainName": "c.testcluster-burstablev1.postgres.database.azure.com" + } + ], + "sourceResourceId": null, + "enableHa": false, + "readReplicas": [], + "earliestRestoreTime": null, + "privateEndpointConnections": [] + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/westus/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2022-11-08", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/westus/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2022-11-08" + }, + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/testcluster-burstablev1", + "name": "testcluster-burstablev1", + "type": "Microsoft.DBforPostgreSQL/serverGroupsv2", + "tags": { + "owner": "JohnDoe" + }, + "location": "westus", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2022-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Provisioning", + "state": "Provisioning", + "postgresqlVersion": "15", + "citusVersion": "11.3", + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + }, + "administratorLogin": "citus", + "preferredPrimaryZone": "1", + "nodeCount": 0, + "enableShardsOnCoordinator": true, + "coordinatorServerEdition": "BurstableMemoryOptimized", + "coordinatorStorageQuotaInMb": 131072, + "coordinatorVCores": 1, + "coordinatorEnablePublicIpAccess": true, + "nodeEnablePublicIpAccess": false, + "nodeServerEdition": "MemoryOptimized", + "nodeStorageQuotaInMb": 131072, + "nodeVCores": 2, + "serverNames": [ + { + "name": "testcluster-burstablev1-c", + "fullyQualifiedDomainName": "c.testcluster-burstablev1.postgres.database.azure.com" + } + ], + "sourceResourceId": null, + "enableHa": false, + "readReplicas": [], + "earliestRestoreTime": null, + "privateEndpointConnections": [] + } + } + } + } +} diff --git a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreateBurstablev2.json b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreateBurstablev2.json new file mode 100644 index 000000000000..fce71f6b1a5b --- /dev/null +++ b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreateBurstablev2.json @@ -0,0 +1,141 @@ +{ + "parameters": { + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "resourceGroupName": "TestGroup", + "clusterName": "testcluster-burstablev2", + "api-version": "2022-11-08", + "parameters": { + "location": "westus", + "properties": { + "administratorLoginPassword": "password", + "postgresqlVersion": "15", + "citusVersion": "11.3", + "enableHa": false, + "enableShardsOnCoordinator": true, + "coordinatorServerEdition": "BurstableGeneralPurpose", + "coordinatorStorageQuotaInMb": 131072, + "coordinatorVCores": 2, + "coordinatorEnablePublicIpAccess": true, + "nodeCount": 0, + "preferredPrimaryZone": "1" + }, + "tags": { + "owner": "JohnDoe" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/testcluster-burstablev2", + "name": "testcluster-burstablev2", + "type": "Microsoft.DBforPostgreSQL/serverGroupsv2", + "tags": { + "owner": "JohnDoe" + }, + "location": "westus", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2022-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Provisioning", + "state": "Provisioning", + "postgresqlVersion": "15", + "citusVersion": "11.3", + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + }, + "administratorLogin": "citus", + "preferredPrimaryZone": "1", + "nodeCount": 0, + "enableShardsOnCoordinator": true, + "coordinatorServerEdition": "BurstableGeneralPurpose", + "coordinatorStorageQuotaInMb": 131072, + "coordinatorVCores": 2, + "coordinatorEnablePublicIpAccess": true, + "nodeEnablePublicIpAccess": false, + "nodeServerEdition": "MemoryOptimized", + "nodeStorageQuotaInMb": 131072, + "nodeVCores": 2, + "serverNames": [ + { + "name": "testcluster-burstablev2-c", + "fullyQualifiedDomainName": "c.testcluster-burstablev2.postgres.database.azure.com" + } + ], + "sourceResourceId": null, + "enableHa": false, + "readReplicas": [], + "earliestRestoreTime": null, + "privateEndpointConnections": [] + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/westus/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2022-11-08", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/westus/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2022-11-08" + }, + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/testcluster-burstablev2", + "name": "testcluster-burstablev2", + "type": "Microsoft.DBforPostgreSQL/serverGroupsv2", + "tags": { + "owner": "JohnDoe" + }, + "location": "westus", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2022-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Provisioning", + "state": "Provisioning", + "postgresqlVersion": "15", + "citusVersion": "11.3", + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + }, + "administratorLogin": "citus", + "preferredPrimaryZone": "1", + "nodeCount": 0, + "enableShardsOnCoordinator": true, + "coordinatorServerEdition": "BurstableGeneralPurpose", + "coordinatorStorageQuotaInMb": 131072, + "coordinatorVCores": 2, + "coordinatorEnablePublicIpAccess": true, + "nodeEnablePublicIpAccess": false, + "nodeServerEdition": "MemoryOptimized", + "nodeStorageQuotaInMb": 131072, + "nodeVCores": 2, + "serverNames": [ + { + "name": "testcluster-burstablev2-c", + "fullyQualifiedDomainName": "c.testcluster-burstablev2.postgres.database.azure.com" + } + ], + "sourceResourceId": null, + "enableHa": false, + "readReplicas": [], + "earliestRestoreTime": null, + "privateEndpointConnections": [] + } + } + } + } +} diff --git a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreate.json b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreateMultiNode.json similarity index 77% rename from specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreate.json rename to specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreateMultiNode.json index 3b91a88eedac..db5f7a914b5d 100644 --- a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreate.json +++ b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreateMultiNode.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "TestGroup", - "clusterName": "testcluster", + "clusterName": "testcluster-multinode", "api-version": "2022-11-08", "parameters": { "location": "westus", @@ -29,8 +29,8 @@ "responses": { "200": { "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/testcluster", - "name": "testcluster", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/testcluster-multinode", + "name": "testcluster-multinode", "type": "Microsoft.DBforPostgreSQL/serverGroupsv2", "tags": {}, "location": "westus", @@ -67,20 +67,20 @@ "nodeEnablePublicIpAccess": false, "serverNames": [ { - "name": "testcluster-c", - "fullyQualifiedDomainName": "c.testcluster.postgres.database.azure.com" + "name": "testcluster-multinode-c", + "fullyQualifiedDomainName": "c.testcluster-multinode.postgres.database.azure.com" }, { - "name": "testcluster-w0", - "fullyQualifiedDomainName": "w0.testcluster.postgres.database.azure.com" + "name": "testcluster-multinode-w0", + "fullyQualifiedDomainName": "w0.testcluster-multinode.postgres.database.azure.com" }, { - "name": "testcluster-w2", - "fullyQualifiedDomainName": "w0.testcluster.postgres.database.azure.com" + "name": "testcluster-multinode-w2", + "fullyQualifiedDomainName": "w0.testcluster-multinode.postgres.database.azure.com" }, { - "name": "testcluster-w3", - "fullyQualifiedDomainName": "w0.testcluster.postgres.database.azure.com" + "name": "testcluster-multinode-w3", + "fullyQualifiedDomainName": "w0.testcluster-multinode.postgres.database.azure.com" } ], "sourceResourceId": null, @@ -97,8 +97,8 @@ "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/westus/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2022-11-08" }, "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/testcluster", - "name": "testcluster", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/testcluster-multinode", + "name": "testcluster-multinode", "type": "Microsoft.DBforPostgreSQL/serverGroupsv2", "tags": {}, "location": "westus", @@ -135,20 +135,20 @@ "nodeEnablePublicIpAccess": false, "serverNames": [ { - "name": "testcluster-c", - "fullyQualifiedDomainName": "c.testcluster.postgres.database.azure.com" + "name": "testcluster-multinode-c", + "fullyQualifiedDomainName": "c.testcluster-multinode.postgres.database.azure.com" }, { - "name": "testcluster-w0", - "fullyQualifiedDomainName": "w0.testcluster.postgres.database.azure.com" + "name": "testcluster-multinode-w0", + "fullyQualifiedDomainName": "w0.testcluster-multinode.postgres.database.azure.com" }, { - "name": "testcluster-w2", - "fullyQualifiedDomainName": "w0.testcluster.postgres.database.azure.com" + "name": "testcluster-multinode-w2", + "fullyQualifiedDomainName": "w0.testcluster-multinode.postgres.database.azure.com" }, { - "name": "testcluster-w3", - "fullyQualifiedDomainName": "w0.testcluster.postgres.database.azure.com" + "name": "testcluster-multinode-w3", + "fullyQualifiedDomainName": "w0.testcluster-multinode.postgres.database.azure.com" } ], "sourceResourceId": null, diff --git a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreateSingleNode.json b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreateSingleNode.json new file mode 100644 index 000000000000..f7199475929a --- /dev/null +++ b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreateSingleNode.json @@ -0,0 +1,141 @@ +{ + "parameters": { + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "resourceGroupName": "TestGroup", + "clusterName": "testcluster-singlenode", + "api-version": "2022-11-08", + "parameters": { + "location": "westus", + "properties": { + "administratorLoginPassword": "password", + "postgresqlVersion": "15", + "citusVersion": "11.3", + "enableHa": true, + "enableShardsOnCoordinator": true, + "coordinatorServerEdition": "GeneralPurpose", + "coordinatorStorageQuotaInMb": 131072, + "coordinatorVCores": 8, + "coordinatorEnablePublicIpAccess": true, + "nodeCount": 0, + "preferredPrimaryZone": "1" + }, + "tags": { + "owner": "JohnDoe" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/testcluster-singlenode", + "name": "testcluster-singlenode", + "type": "Microsoft.DBforPostgreSQL/serverGroupsv2", + "tags": { + "owner": "JohnDoe" + }, + "location": "westus", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2022-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Provisioning", + "state": "Provisioning", + "postgresqlVersion": "15", + "citusVersion": "11.3", + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + }, + "administratorLogin": "citus", + "preferredPrimaryZone": "1", + "nodeCount": 0, + "enableShardsOnCoordinator": true, + "coordinatorServerEdition": "GeneralPurpose", + "coordinatorStorageQuotaInMb": 131072, + "coordinatorVCores": 8, + "coordinatorEnablePublicIpAccess": true, + "nodeEnablePublicIpAccess": false, + "nodeServerEdition": "MemoryOptimized", + "nodeStorageQuotaInMb": 131072, + "nodeVCores": 8, + "serverNames": [ + { + "name": "testcluster-singlenode-c", + "fullyQualifiedDomainName": "c.testcluster-singlenode.postgres.database.azure.com" + } + ], + "sourceResourceId": null, + "enableHa": true, + "readReplicas": [], + "earliestRestoreTime": null, + "privateEndpointConnections": [] + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/westus/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2022-11-08", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/westus/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2022-11-08" + }, + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/testcluster-singlenode", + "name": "testcluster-singlenode", + "type": "Microsoft.DBforPostgreSQL/serverGroupsv2", + "tags": { + "owner": "JohnDoe" + }, + "location": "westus", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2022-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Provisioning", + "state": "Provisioning", + "postgresqlVersion": "15", + "citusVersion": "11.3", + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + }, + "administratorLogin": "citus", + "preferredPrimaryZone": "1", + "nodeCount": 0, + "enableShardsOnCoordinator": true, + "coordinatorServerEdition": "GeneralPurpose", + "coordinatorStorageQuotaInMb": 131072, + "coordinatorVCores": 8, + "coordinatorEnablePublicIpAccess": true, + "nodeEnablePublicIpAccess": false, + "nodeServerEdition": "MemoryOptimized", + "nodeStorageQuotaInMb": 131072, + "nodeVCores": 8, + "serverNames": [ + { + "name": "testcluster-singlenode-c", + "fullyQualifiedDomainName": "c.testcluster-singlenode.postgres.database.azure.com" + } + ], + "sourceResourceId": null, + "enableHa": true, + "readReplicas": [], + "earliestRestoreTime": null, + "privateEndpointConnections": [] + } + } + } + } +} diff --git a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/postgresqlhsc.json b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/postgresqlhsc.json index 20cbc4a3f663..ba1673ba9ed0 100644 --- a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/postgresqlhsc.json +++ b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/postgresqlhsc.json @@ -127,8 +127,17 @@ "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "Create a new cluster": { - "$ref": "./examples/ClusterCreate.json" + "Create a new single node cluster": { + "$ref": "./examples/ClusterCreateSingleNode.json" + }, + "Create a new multi-node cluster": { + "$ref": "./examples/ClusterCreateMultiNode.json" + }, + "Create a new single node Burstable 1 vCore cluster": { + "$ref": "./examples/ClusterCreateBurstablev1.json" + }, + "Create a new single node Burstable 2 vCores cluster": { + "$ref": "./examples/ClusterCreateBurstablev2.json" }, "Create a new cluster as a point in time restore": { "$ref": "./examples/ClusterCreatePITR.json" @@ -2029,7 +2038,7 @@ }, "enableShardsOnCoordinator": { "type": "boolean", - "description": "If shards on coordinator is enabled or not for the cluster." + "description": "If distributed tables are placed on coordinator or not. Should be set to 'true' on single node clusters. Requires shard rebalancing after value is changed." }, "enableHa": { "type": "boolean", @@ -2168,7 +2177,7 @@ }, "enableShardsOnCoordinator": { "type": "boolean", - "description": "If shards on coordinator is enabled or not for the cluster." + "description": "If distributed tables are placed on coordinator or not. Should be set to 'true' on single node clusters. Requires shard rebalancing after value is changed." }, "enableHa": { "type": "boolean",