-
Notifications
You must be signed in to change notification settings - Fork 5.5k
[Hub Generated] Review request for Microsoft.DBforPostgreSQL to add version stable/2022-11-08 #22124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
live1206
merged 13 commits into
main
from
dev-postgresqlhsc-Microsoft.DBforPostgreSQL-2022-11-08
Feb 28, 2023
Merged
[Hub Generated] Review request for Microsoft.DBforPostgreSQL to add version stable/2022-11-08 #22124
Changes from 9 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
f3b6992
Adds base for updating Microsoft.DBforPostgreSQL from version preview…
senatol 0fa78ee
Updates readme
senatol c344166
Updates API version in new specs and examples
senatol af278a7
empty commit (#21932)
mozansaka 69328fe
2022 11 08 (#22025)
mozansaka b0bf06c
Fix credscan password (#22127)
mozansaka 48616ba
Add required parameters (#22244)
senatol e455a41
Add 200 resp. code to put&patch, change boolean to enum (#22290)
senatol 4517b01
Fix arm feedbacks (#22334)
senatol 2558796
Update response codes to 201, address feedbacks (#22386)
senatol 7fd77d2
Fix credscan issue (#22389)
senatol f1da0a4
Fix PutRequestResponseScheme error (#22408)
senatol 8fb4aad
Fix server properties (#22772)
senatol File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
...e-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/CheckNameAvailability.json
This file contains hidden or 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,20 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", | ||
| "api-version": "2022-11-08", | ||
| "nameAvailabilityRequest": { | ||
| "name": "name1", | ||
| "type": "Microsoft.DBforPostgreSQL/serverGroupsv2" | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "nameAvailable": true, | ||
| "message": "", | ||
| "name": "name1", | ||
| "type": "Microsoft.DBforPostgreSQL/serverGroupsv2" | ||
| } | ||
| } | ||
| } | ||
| } |
138 changes: 138 additions & 0 deletions
138
...resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterAddNode.json
This file contains hidden or 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,138 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", | ||
| "resourceGroupName": "TestGroup", | ||
| "clusterName": "hsctestsg", | ||
| "api-version": "2022-11-08", | ||
| "parameters": { | ||
| "properties": { | ||
| "nodeCount": 2 | ||
| } | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/hsctestsg", | ||
| "name": "hsctestsg", | ||
| "type": "Microsoft.DBforPostgreSQL/serverGroupsv2", | ||
| "systemData": { | ||
| "createdBy": "user1", | ||
| "createdByType": "User", | ||
| "createdAt": "2020-01-01T17:18:19.1234567Z", | ||
| "lastModifiedBy": "user2", | ||
| "lastModifiedByType": "User", | ||
| "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" | ||
| }, | ||
| "properties": { | ||
| "provisioningState": "Provisioning", | ||
| "state": "Provisioning", | ||
| "postgresqlVersion": "15", | ||
| "citusVersion": "11.1", | ||
| "maintenanceWindow": { | ||
| "customWindow": "Disabled", | ||
| "dayOfWeek": 0, | ||
| "startHour": 0, | ||
| "startMinute": 0 | ||
| }, | ||
| "preferredPrimaryZone": "1", | ||
| "nodeCount": 2, | ||
| "enableShardsOnCoordinator": false, | ||
| "coordinatorServerEdition": "GeneralPurpose", | ||
| "coordinatorStorageQuotaInMb": 524288, | ||
| "coordinatorVCores": 4, | ||
| "coordinatorEnablePublicIpAccess": true, | ||
| "nodeServerEdition": "MemoryOptimized", | ||
| "nodeStorageQuotaInMb": 524288, | ||
| "nodeVCores": 8, | ||
| "nodeEnablePublicIpAccess": false, | ||
| "serverNames": [ | ||
| { | ||
| "name": "hsctestsg-c", | ||
| "fullyQualifiedDomainName": "c.hsctestsg.marlin-development.com" | ||
| }, | ||
| { | ||
| "name": "hsctestsg-w0", | ||
| "fullyQualifiedDomainName": "w0.hsctestsg.marlin-development.com" | ||
| }, | ||
| { | ||
| "name": "hsctestsg-w1", | ||
| "fullyQualifiedDomainName": "w1.hsctestsg.marlin-development.com" | ||
| } | ||
| ], | ||
| "sourceResourceId": null, | ||
| "sourceLocation": null, | ||
| "pointInTimeUTC": null, | ||
| "enableHa": true, | ||
| "readReplicas": [], | ||
| "earliestRestoreTime": null, | ||
| "privateEndpointConnections": [] | ||
| }, | ||
| "location": "westus" | ||
| } | ||
| }, | ||
| "202": { | ||
| "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/hsctestsg", | ||
| "name": "hsctestsg", | ||
| "type": "Microsoft.DBforPostgreSQL/serverGroupsv2", | ||
| "systemData": { | ||
| "createdBy": "user1", | ||
| "createdByType": "User", | ||
| "createdAt": "2020-01-01T17:18:19.1234567Z", | ||
| "lastModifiedBy": "user2", | ||
| "lastModifiedByType": "User", | ||
| "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" | ||
| }, | ||
| "properties": { | ||
| "provisioningState": "Provisioning", | ||
| "state": "Provisioning", | ||
| "postgresqlVersion": "15", | ||
| "citusVersion": "11.1", | ||
| "maintenanceWindow": { | ||
| "customWindow": "Disabled", | ||
| "dayOfWeek": 0, | ||
| "startHour": 0, | ||
| "startMinute": 0 | ||
| }, | ||
| "preferredPrimaryZone": "1", | ||
| "nodeCount": 2, | ||
| "enableShardsOnCoordinator": false, | ||
| "coordinatorServerEdition": "GeneralPurpose", | ||
| "coordinatorStorageQuotaInMb": 524288, | ||
| "coordinatorVCores": 4, | ||
| "coordinatorEnablePublicIpAccess": true, | ||
| "nodeServerEdition": "MemoryOptimized", | ||
| "nodeStorageQuotaInMb": 524288, | ||
| "nodeVCores": 8, | ||
| "nodeEnablePublicIpAccess": false, | ||
| "serverNames": [ | ||
| { | ||
| "name": "hsctestsg-c", | ||
| "fullyQualifiedDomainName": "c.hsctestsg.marlin-development.com" | ||
| }, | ||
| { | ||
| "name": "hsctestsg-w0", | ||
| "fullyQualifiedDomainName": "w0.hsctestsg.marlin-development.com" | ||
| }, | ||
| { | ||
| "name": "hsctestsg-w1", | ||
| "fullyQualifiedDomainName": "w1.hsctestsg.marlin-development.com" | ||
| } | ||
| ], | ||
| "sourceResourceId": null, | ||
| "sourceLocation": null, | ||
| "enableHa": true, | ||
| "readReplicas": [], | ||
| "earliestRestoreTime": null, | ||
| "privateEndpointConnections": [] | ||
| }, | ||
| "location": "westus" | ||
| } | ||
| } | ||
| } | ||
| } |
166 changes: 166 additions & 0 deletions
166
.../resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreate.json
This file contains hidden or 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,166 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", | ||
| "resourceGroupName": "TestGroup", | ||
| "clusterName": "hsctestsg", | ||
| "api-version": "2022-11-08", | ||
| "parameters": { | ||
| "location": "westus", | ||
| "properties": { | ||
| "administratorLoginPassword": "p@ssword1234", | ||
| "postgresqlVersion": "15", | ||
| "citusVersion": "11.1", | ||
| "enableHa": true, | ||
| "enableShardsOnCoordinator": false, | ||
| "coordinatorServerEdition": "GeneralPurpose", | ||
| "coordinatorStorageQuotaInMb": 524288, | ||
| "coordinatorVCores": 4, | ||
| "coordinatorEnablePublicIpAccess": true, | ||
| "nodeServerEdition": "MemoryOptimized", | ||
| "nodeCount": 3, | ||
| "nodeStorageQuotaInMb": 524288, | ||
| "nodeVCores": 8, | ||
| "nodeEnablePublicIpAccess": false, | ||
| "preferredPrimaryZone": "1" | ||
| }, | ||
| "tags": {} | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/hsctestsg", | ||
| "name": "hsctestsg", | ||
| "type": "Microsoft.DBforPostgreSQL/serverGroupsv2", | ||
| "tags": {}, | ||
| "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.1", | ||
| "maintenanceWindow": { | ||
| "customWindow": "Disabled", | ||
| "dayOfWeek": 0, | ||
| "startHour": 0, | ||
| "startMinute": 0 | ||
| }, | ||
| "administratorLogin": "citus", | ||
| "preferredPrimaryZone": "1", | ||
| "nodeCount": 3, | ||
| "enableShardsOnCoordinator": false, | ||
| "coordinatorServerEdition": "GeneralPurpose", | ||
| "coordinatorStorageQuotaInMb": 524288, | ||
| "coordinatorVCores": 4, | ||
| "coordinatorEnablePublicIpAccess": true, | ||
| "nodeServerEdition": "MemoryOptimized", | ||
| "nodeStorageQuotaInMb": 524288, | ||
| "nodeVCores": 8, | ||
| "nodeEnablePublicIpAccess": false, | ||
| "serverNames": [ | ||
| { | ||
| "name": "hsctestsg-c", | ||
| "fullyQualifiedDomainName": "c.hsctestsg.marlin-development.com" | ||
| }, | ||
| { | ||
| "name": "hsctestsg-w0", | ||
| "fullyQualifiedDomainName": "w0.hsctestsg.marlin-development.com" | ||
| }, | ||
| { | ||
| "name": "hsctestsg-w2", | ||
| "fullyQualifiedDomainName": "w0.hsctestsg.marlin-development.com" | ||
| }, | ||
| { | ||
| "name": "hsctestsg-w3", | ||
| "fullyQualifiedDomainName": "w0.hsctestsg.marlin-development.com" | ||
| } | ||
| ], | ||
| "sourceResourceId": null, | ||
| "sourceLocation": null, | ||
| "pointInTimeUTC": 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/hsctestsg", | ||
| "name": "hsctestsg", | ||
| "type": "Microsoft.DBforPostgreSQL/serverGroupsv2", | ||
| "tags": {}, | ||
| "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.1", | ||
| "maintenanceWindow": { | ||
| "customWindow": "Disabled", | ||
| "dayOfWeek": 0, | ||
| "startHour": 0, | ||
| "startMinute": 0 | ||
| }, | ||
| "administratorLogin": "citus", | ||
| "preferredPrimaryZone": "1", | ||
| "nodeCount": 3, | ||
| "enableShardsOnCoordinator": false, | ||
| "coordinatorServerEdition": "GeneralPurpose", | ||
| "coordinatorStorageQuotaInMb": 524288, | ||
| "coordinatorVCores": 4, | ||
| "coordinatorEnablePublicIpAccess": true, | ||
| "nodeServerEdition": "MemoryOptimized", | ||
| "nodeStorageQuotaInMb": 524288, | ||
| "nodeVCores": 8, | ||
| "nodeEnablePublicIpAccess": false, | ||
| "serverNames": [ | ||
| { | ||
| "name": "hsctestsg-c", | ||
| "fullyQualifiedDomainName": "c.hsctestsg.marlin-development.com" | ||
| }, | ||
| { | ||
| "name": "hsctestsg-w0", | ||
| "fullyQualifiedDomainName": "w0.hsctestsg.marlin-development.com" | ||
| }, | ||
| { | ||
| "name": "hsctestsg-w2", | ||
| "fullyQualifiedDomainName": "w0.hsctestsg.marlin-development.com" | ||
| }, | ||
| { | ||
| "name": "hsctestsg-w3", | ||
| "fullyQualifiedDomainName": "w0.hsctestsg.marlin-development.com" | ||
| } | ||
| ], | ||
| "sourceResourceId": null, | ||
| "sourceLocation": null, | ||
| "enableHa": true, | ||
| "readReplicas": [], | ||
| "earliestRestoreTime": null, | ||
| "privateEndpointConnections": [] | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.