-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Cosmos DB for PostgreSQL - 2023-03-02-preview version with mis…
…sing properties (#28280) * Add CMK related properties * Fix lintdiff errors * Fix lintdiff error * Use common type for user assigned identities * Add description for primary key uri * Update UserAssignedIdentities definition from v3 to v5 * Add & update examples * Fix lintdiff error --------- Co-authored-by: madhura <[email protected]>
- Loading branch information
1 parent
ac3db63
commit a59809d
Showing
18 changed files
with
815 additions
and
1 deletion.
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
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
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
154 changes: 154 additions & 0 deletions
154
....DBforPostgreSQL/preview/2023-03-02-preview/examples/ClusterCreateCustomDatabaseName.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,154 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", | ||
"resourceGroupName": "TestGroup", | ||
"clusterName": "testcluster-custom-db-name", | ||
"api-version": "2023-03-02-preview", | ||
"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", | ||
"databaseName": "testdbname" | ||
}, | ||
"tags": { | ||
"owner": "JohnDoe" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/testcluster-custom-db-name", | ||
"name": "testcluster-custom-db-name", | ||
"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", | ||
"aadAuthEnabled": "disabled", | ||
"citusVersion": "11.3", | ||
"maintenanceWindow": { | ||
"customWindow": "Disabled", | ||
"dayOfWeek": 0, | ||
"startHour": 0, | ||
"startMinute": 0 | ||
}, | ||
"administratorLogin": "citus", | ||
"dataEncryption": { | ||
"type": "SystemManaged" | ||
}, | ||
"passwordEnabled": "enabled", | ||
"preferredPrimaryZone": "1", | ||
"nodeCount": 0, | ||
"enableShardsOnCoordinator": true, | ||
"coordinatorServerEdition": "GeneralPurpose", | ||
"coordinatorStorageQuotaInMb": 131072, | ||
"coordinatorVCores": 8, | ||
"coordinatorEnablePublicIpAccess": true, | ||
"databaseName": "testdbname", | ||
"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=2023-03-02-preview", | ||
"Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/westus/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2023-03-02-preview" | ||
}, | ||
"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", | ||
"aadAuthEnabled": "disabled", | ||
"citusVersion": "11.3", | ||
"maintenanceWindow": { | ||
"customWindow": "Disabled", | ||
"dayOfWeek": 0, | ||
"startHour": 0, | ||
"startMinute": 0 | ||
}, | ||
"administratorLogin": "citus", | ||
"dataEncryption": { | ||
"type": "SystemManaged" | ||
}, | ||
"preferredPrimaryZone": "1", | ||
"nodeCount": 0, | ||
"enableShardsOnCoordinator": true, | ||
"coordinatorServerEdition": "GeneralPurpose", | ||
"coordinatorStorageQuotaInMb": 131072, | ||
"coordinatorVCores": 8, | ||
"coordinatorEnablePublicIpAccess": true, | ||
"databaseName": "testdbname", | ||
"nodeEnablePublicIpAccess": false, | ||
"nodeServerEdition": "MemoryOptimized", | ||
"nodeStorageQuotaInMb": 131072, | ||
"nodeVCores": 8, | ||
"passwordEnabled": "enabled", | ||
"serverNames": [ | ||
{ | ||
"name": "testcluster-singlenode-c", | ||
"fullyQualifiedDomainName": "c.testcluster-singlenode.postgres.database.azure.com" | ||
} | ||
], | ||
"sourceResourceId": null, | ||
"enableHa": true, | ||
"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
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.