Skip to content

Commit 17c19a3

Browse files
senatolmozansakaOzan Saka
authored andcommitted
[Hub Generated] Review request for Microsoft.DBforPostgreSQL to add version stable/2022-11-08 (Azure#22124)
* Adds base for updating Microsoft.DBforPostgreSQL from version preview/2020-10-05-privatepreview to version 2022-11-08 * Updates readme * Updates API version in new specs and examples * empty commit (Azure#21932) Co-authored-by: Ozan Saka <[email protected]> * 2022 11 08 (Azure#22025) * Add private endpoint con. and private link endpoints * Add private link list example * Cluster related endpoint and exampled changes * Cluster changes and configuration updates * Long running operation header additions * Change server group to cluster * Add systemData to examples, fix private endpoint con. property * Fix private link resource name parameter * Fix INVALID_TYPE boolean given as strings * Update approve private endp. con. request body * Fix OBJECT_ADDITIONAL_PROPERTIES and READONLY_PROPERTY_NOT_ALLOWED_IN_REQUEST * Fix INVALID_TYPE * Fix ModelValidation Errors * Fix lint errors * Fix lint errors * Remove location from cluster examples * Update example details, fix common types * Update readme files, fix configuration example name * Fix SDK generation by removing wrong pageable tags * Update configuration response types, fix cluster name pattern * Update configuration example names * Readme changes and minor final state via fix * Fix indentation on suppression items * Update node count description, remove pec id * Update cluster examples * Style fix * Update description Co-authored-by: Ozan Saka <[email protected]> Co-authored-by: Sena Gungor <[email protected]> * Fix credscan password (Azure#22127) Co-authored-by: Ozan Saka <[email protected]> * Add required parameters (Azure#22244) * Add 200 resp. code to put&patch, change boolean to enum (Azure#22290) * Add 200 resp. code to put&patch, change boolean to enum * Update 200 responses * Update 200 response schemas, enum casing * Update configuration put requests * Remove role no-op case * fix private endp con list error, remove 200 code from role example * Add coord/node config list endpoints * fix sdk errors * add 200 resp for configuration put requests * Update readme * Fix arm feedbacks (Azure#22334) * Fix arm feedbacks * Add pointInTimeUTC * Update passwords and readme file * Update response codes to 201, address feedbacks (Azure#22386) * Update response codes to 201 * Add server configuration get * Update password * Fix duplicate operation id * Update configuration example files * Update configuration example files * Fix credscan issue (Azure#22389) * Fix PutRequestResponseScheme error (Azure#22408) * Fix PutRequestResponseScheme error * Update readme file * Update x-ms-mutability * Update property description * Fix server properties (Azure#22772) * Fix server properties --------- Co-authored-by: mozansaka <[email protected]> Co-authored-by: Ozan Saka <[email protected]>
1 parent c81a51d commit 17c19a3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+6011
-39
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
4+
"api-version": "2022-11-08",
5+
"nameAvailabilityRequest": {
6+
"name": "name1",
7+
"type": "Microsoft.DBforPostgreSQL/serverGroupsv2"
8+
}
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"nameAvailable": true,
14+
"message": "",
15+
"name": "name1",
16+
"type": "Microsoft.DBforPostgreSQL/serverGroupsv2"
17+
}
18+
}
19+
}
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
4+
"resourceGroupName": "TestGroup",
5+
"clusterName": "hsctestsg",
6+
"api-version": "2022-11-08",
7+
"parameters": {
8+
"properties": {
9+
"nodeCount": 2
10+
}
11+
}
12+
},
13+
"responses": {
14+
"200": {
15+
"body": {
16+
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/hsctestsg",
17+
"name": "hsctestsg",
18+
"type": "Microsoft.DBforPostgreSQL/serverGroupsv2",
19+
"systemData": {
20+
"createdBy": "user1",
21+
"createdByType": "User",
22+
"createdAt": "2020-01-01T17:18:19.1234567Z",
23+
"lastModifiedBy": "user2",
24+
"lastModifiedByType": "User",
25+
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
26+
},
27+
"properties": {
28+
"provisioningState": "Provisioning",
29+
"state": "Provisioning",
30+
"postgresqlVersion": "15",
31+
"citusVersion": "11.1",
32+
"maintenanceWindow": {
33+
"customWindow": "Disabled",
34+
"dayOfWeek": 0,
35+
"startHour": 0,
36+
"startMinute": 0
37+
},
38+
"preferredPrimaryZone": "1",
39+
"nodeCount": 2,
40+
"enableShardsOnCoordinator": false,
41+
"coordinatorServerEdition": "GeneralPurpose",
42+
"coordinatorStorageQuotaInMb": 524288,
43+
"coordinatorVCores": 4,
44+
"coordinatorEnablePublicIpAccess": true,
45+
"nodeServerEdition": "MemoryOptimized",
46+
"nodeStorageQuotaInMb": 524288,
47+
"nodeVCores": 8,
48+
"nodeEnablePublicIpAccess": false,
49+
"serverNames": [
50+
{
51+
"name": "hsctestsg-c",
52+
"fullyQualifiedDomainName": "c.hsctestsg.marlin-development.com"
53+
},
54+
{
55+
"name": "hsctestsg-w0",
56+
"fullyQualifiedDomainName": "w0.hsctestsg.marlin-development.com"
57+
},
58+
{
59+
"name": "hsctestsg-w1",
60+
"fullyQualifiedDomainName": "w1.hsctestsg.marlin-development.com"
61+
}
62+
],
63+
"sourceResourceId": null,
64+
"sourceLocation": null,
65+
"pointInTimeUTC": null,
66+
"enableHa": true,
67+
"readReplicas": [],
68+
"earliestRestoreTime": null,
69+
"privateEndpointConnections": []
70+
},
71+
"location": "westus"
72+
}
73+
},
74+
"202": {
75+
"headers": {
76+
"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",
77+
"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"
78+
},
79+
"body": {
80+
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/hsctestsg",
81+
"name": "hsctestsg",
82+
"type": "Microsoft.DBforPostgreSQL/serverGroupsv2",
83+
"systemData": {
84+
"createdBy": "user1",
85+
"createdByType": "User",
86+
"createdAt": "2020-01-01T17:18:19.1234567Z",
87+
"lastModifiedBy": "user2",
88+
"lastModifiedByType": "User",
89+
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
90+
},
91+
"properties": {
92+
"provisioningState": "Provisioning",
93+
"state": "Provisioning",
94+
"postgresqlVersion": "15",
95+
"citusVersion": "11.1",
96+
"maintenanceWindow": {
97+
"customWindow": "Disabled",
98+
"dayOfWeek": 0,
99+
"startHour": 0,
100+
"startMinute": 0
101+
},
102+
"preferredPrimaryZone": "1",
103+
"nodeCount": 2,
104+
"enableShardsOnCoordinator": false,
105+
"coordinatorServerEdition": "GeneralPurpose",
106+
"coordinatorStorageQuotaInMb": 524288,
107+
"coordinatorVCores": 4,
108+
"coordinatorEnablePublicIpAccess": true,
109+
"nodeServerEdition": "MemoryOptimized",
110+
"nodeStorageQuotaInMb": 524288,
111+
"nodeVCores": 8,
112+
"nodeEnablePublicIpAccess": false,
113+
"serverNames": [
114+
{
115+
"name": "hsctestsg-c",
116+
"fullyQualifiedDomainName": "c.hsctestsg.marlin-development.com"
117+
},
118+
{
119+
"name": "hsctestsg-w0",
120+
"fullyQualifiedDomainName": "w0.hsctestsg.marlin-development.com"
121+
},
122+
{
123+
"name": "hsctestsg-w1",
124+
"fullyQualifiedDomainName": "w1.hsctestsg.marlin-development.com"
125+
}
126+
],
127+
"sourceResourceId": null,
128+
"sourceLocation": null,
129+
"enableHa": true,
130+
"readReplicas": [],
131+
"earliestRestoreTime": null,
132+
"privateEndpointConnections": []
133+
},
134+
"location": "westus"
135+
}
136+
}
137+
}
138+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,166 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
4+
"resourceGroupName": "TestGroup",
5+
"clusterName": "hsctestsg",
6+
"api-version": "2022-11-08",
7+
"parameters": {
8+
"location": "westus",
9+
"properties": {
10+
"administratorLoginPassword": "password",
11+
"postgresqlVersion": "15",
12+
"citusVersion": "11.1",
13+
"enableHa": true,
14+
"enableShardsOnCoordinator": false,
15+
"coordinatorServerEdition": "GeneralPurpose",
16+
"coordinatorStorageQuotaInMb": 524288,
17+
"coordinatorVCores": 4,
18+
"coordinatorEnablePublicIpAccess": true,
19+
"nodeServerEdition": "MemoryOptimized",
20+
"nodeCount": 3,
21+
"nodeStorageQuotaInMb": 524288,
22+
"nodeVCores": 8,
23+
"nodeEnablePublicIpAccess": false,
24+
"preferredPrimaryZone": "1"
25+
},
26+
"tags": {}
27+
}
28+
},
29+
"responses": {
30+
"200": {
31+
"body": {
32+
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/hsctestsg",
33+
"name": "hsctestsg",
34+
"type": "Microsoft.DBforPostgreSQL/serverGroupsv2",
35+
"tags": {},
36+
"location": "westus",
37+
"systemData": {
38+
"createdBy": "user1",
39+
"createdByType": "User",
40+
"createdAt": "2022-01-01T17:18:19.1234567Z",
41+
"lastModifiedBy": "user2",
42+
"lastModifiedByType": "User",
43+
"lastModifiedAt": "2022-01-02T17:18:19.1234567Z"
44+
},
45+
"properties": {
46+
"provisioningState": "Provisioning",
47+
"state": "Provisioning",
48+
"postgresqlVersion": "15",
49+
"citusVersion": "11.1",
50+
"maintenanceWindow": {
51+
"customWindow": "Disabled",
52+
"dayOfWeek": 0,
53+
"startHour": 0,
54+
"startMinute": 0
55+
},
56+
"administratorLogin": "citus",
57+
"preferredPrimaryZone": "1",
58+
"nodeCount": 3,
59+
"enableShardsOnCoordinator": false,
60+
"coordinatorServerEdition": "GeneralPurpose",
61+
"coordinatorStorageQuotaInMb": 524288,
62+
"coordinatorVCores": 4,
63+
"coordinatorEnablePublicIpAccess": true,
64+
"nodeServerEdition": "MemoryOptimized",
65+
"nodeStorageQuotaInMb": 524288,
66+
"nodeVCores": 8,
67+
"nodeEnablePublicIpAccess": false,
68+
"serverNames": [
69+
{
70+
"name": "hsctestsg-c",
71+
"fullyQualifiedDomainName": "c.hsctestsg.marlin-development.com"
72+
},
73+
{
74+
"name": "hsctestsg-w0",
75+
"fullyQualifiedDomainName": "w0.hsctestsg.marlin-development.com"
76+
},
77+
{
78+
"name": "hsctestsg-w2",
79+
"fullyQualifiedDomainName": "w0.hsctestsg.marlin-development.com"
80+
},
81+
{
82+
"name": "hsctestsg-w3",
83+
"fullyQualifiedDomainName": "w0.hsctestsg.marlin-development.com"
84+
}
85+
],
86+
"sourceResourceId": null,
87+
"sourceLocation": null,
88+
"pointInTimeUTC": null,
89+
"enableHa": true,
90+
"readReplicas": [],
91+
"earliestRestoreTime": null,
92+
"privateEndpointConnections": []
93+
}
94+
}
95+
},
96+
"201": {
97+
"headers": {
98+
"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",
99+
"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"
100+
},
101+
"body": {
102+
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/hsctestsg",
103+
"name": "hsctestsg",
104+
"type": "Microsoft.DBforPostgreSQL/serverGroupsv2",
105+
"tags": {},
106+
"location": "westus",
107+
"systemData": {
108+
"createdBy": "user1",
109+
"createdByType": "User",
110+
"createdAt": "2022-01-01T17:18:19.1234567Z",
111+
"lastModifiedBy": "user2",
112+
"lastModifiedByType": "User",
113+
"lastModifiedAt": "2022-01-02T17:18:19.1234567Z"
114+
},
115+
"properties": {
116+
"provisioningState": "Provisioning",
117+
"state": "Provisioning",
118+
"postgresqlVersion": "15",
119+
"citusVersion": "11.1",
120+
"maintenanceWindow": {
121+
"customWindow": "Disabled",
122+
"dayOfWeek": 0,
123+
"startHour": 0,
124+
"startMinute": 0
125+
},
126+
"administratorLogin": "citus",
127+
"preferredPrimaryZone": "1",
128+
"nodeCount": 3,
129+
"enableShardsOnCoordinator": false,
130+
"coordinatorServerEdition": "GeneralPurpose",
131+
"coordinatorStorageQuotaInMb": 524288,
132+
"coordinatorVCores": 4,
133+
"coordinatorEnablePublicIpAccess": true,
134+
"nodeServerEdition": "MemoryOptimized",
135+
"nodeStorageQuotaInMb": 524288,
136+
"nodeVCores": 8,
137+
"nodeEnablePublicIpAccess": false,
138+
"serverNames": [
139+
{
140+
"name": "hsctestsg-c",
141+
"fullyQualifiedDomainName": "c.hsctestsg.marlin-development.com"
142+
},
143+
{
144+
"name": "hsctestsg-w0",
145+
"fullyQualifiedDomainName": "w0.hsctestsg.marlin-development.com"
146+
},
147+
{
148+
"name": "hsctestsg-w2",
149+
"fullyQualifiedDomainName": "w0.hsctestsg.marlin-development.com"
150+
},
151+
{
152+
"name": "hsctestsg-w3",
153+
"fullyQualifiedDomainName": "w0.hsctestsg.marlin-development.com"
154+
}
155+
],
156+
"sourceResourceId": null,
157+
"sourceLocation": null,
158+
"enableHa": true,
159+
"readReplicas": [],
160+
"earliestRestoreTime": null,
161+
"privateEndpointConnections": []
162+
}
163+
}
164+
}
165+
}
166+
}

0 commit comments

Comments
 (0)