forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add single node cluster examples and update description for Cosmos DB…
… for PostgreSQL (Azure#24256) * Add single node cluster example * Update description for enableShardsOnCoordinator * fix prettier * Add rebalancing to custom words * Update examples * Update single node example
- Loading branch information
1 parent
954dffa
commit 78e3d5f
Showing
6 changed files
with
458 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1752,6 +1752,7 @@ readwrite | |
realtime | ||
reassociate | ||
Rebalance | ||
rebalancing | ||
recommendedactions | ||
reconfig | ||
recordset | ||
|
141 changes: 141 additions & 0 deletions
141
...anager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreateBurstablev1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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": [] | ||
} | ||
} | ||
} | ||
} | ||
} |
141 changes: 141 additions & 0 deletions
141
...anager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreateBurstablev2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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": [] | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.