Skip to content

Commit b10dc13

Browse files
Modified the names for PostgreSQL Flexible server. (#10341)
* Modified the names for Flexible server. * Rename Flexible Operations List operation id. * Fixed the skutier and Delete operaton * Revert the Model name changes * Undo Operation ID name changes * revert readme.md file. * removed capacity and added update configurations * Fixed json prettier issues.
1 parent 97db8d1 commit b10dc13

File tree

9 files changed

+163
-69
lines changed

9 files changed

+163
-69
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"parameters": {
3+
"serverName": "testserver",
4+
"configurationName": "event_scheduler",
5+
"resourceGroupName": "testrg",
6+
"api-version": "2020-07-01-privatepreview",
7+
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
8+
"parameters": {
9+
"properties": {
10+
"value": "on",
11+
"source": "user-override"
12+
}
13+
}
14+
},
15+
"responses": {
16+
"200": {
17+
"body": {
18+
"properties": {
19+
"value": "ON",
20+
"description": "Indicates the status of the Event Scheduler.",
21+
"defaultValue": "OFF",
22+
"dataType": "Enumeration",
23+
"allowedValues": "ON,OFF,DISABLED",
24+
"source": "user-override"
25+
},
26+
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/event_scheduler",
27+
"name": "event_scheduler",
28+
"type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations"
29+
}
30+
},
31+
"202": {}
32+
}
33+
}

specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreate.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"location": "westus",
99
"sku": {
1010
"tier": "GeneralPurpose",
11-
"capacity": 4,
1211
"name": "Standard_D4s_v3"
1312
},
1413
"properties": {
@@ -19,12 +18,14 @@
1918
"vnetInjArgs": {
2019
"delegatedSubnetName": "test-subnet",
2120
"delegatedVnetID": "6ed504a3-24b8-4ba8-ac1f-7a1780195437",
22-
"delegatedVnetName": "test-vnet"
21+
"delegatedVnetName": "test-vnet",
22+
"delegatedVnetResourceGroup": "test-vnet-rg"
2323
},
2424
"storageProfile": {
2525
"storageMB": 524288,
2626
"backupRetentionDays": 7
27-
}
27+
},
28+
"availabilityZone": "1"
2829
},
2930
"tags": {
3031
"ElasticServer": "1"
@@ -36,7 +37,6 @@
3637
"body": {
3738
"sku": {
3839
"tier": "GeneralPurpose",
39-
"capacity": 4,
4040
"name": "Standard_D4s_v3"
4141
},
4242
"properties": {
@@ -56,7 +56,8 @@
5656
"storageProfile": {
5757
"storageMB": 524288,
5858
"backupRetentionDays": 7
59-
}
59+
},
60+
"availabilityZone": "1"
6061
},
6162
"location": "westus",
6263
"tags": {
@@ -71,7 +72,6 @@
7172
"body": {
7273
"sku": {
7374
"tier": "GeneralPurpose",
74-
"capacity": 4,
7575
"name": "Standard_D4s_v3"
7676
},
7777
"properties": {
@@ -91,7 +91,8 @@
9191
"storageProfile": {
9292
"storageMB": 524288,
9393
"backupRetentionDays": 7
94-
}
94+
},
95+
"availabilityZone": "1"
9596
},
9697
"location": "westus",
9798
"tags": {

specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerCreatePointInTimeRestore.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"body": {
1919
"sku": {
2020
"tier": "GeneralPurpose",
21-
"capacity": 4,
2221
"name": "Standard_D4s_v3"
2322
},
2423
"properties": {
@@ -34,7 +33,8 @@
3433
"storageProfile": {
3534
"storageMB": 524288,
3635
"backupRetentionDays": 7
37-
}
36+
},
37+
"availabilityZone": "1"
3838
},
3939
"location": "westus",
4040
"tags": {
@@ -49,7 +49,6 @@
4949
"body": {
5050
"sku": {
5151
"tier": "GeneralPurpose",
52-
"capacity": 4,
5352
"name": "Standard_D4s_v3"
5453
},
5554
"properties": {
@@ -65,7 +64,8 @@
6564
"storageProfile": {
6665
"storageMB": 524288,
6766
"backupRetentionDays": 7
68-
}
67+
},
68+
"availabilityZone": "1"
6969
},
7070
"location": "westus",
7171
"tags": {

specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGet.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"body": {
1111
"sku": {
1212
"tier": "GeneralPurpose",
13-
"capacity": 4,
1413
"name": "Standard_D4s_v3"
1514
},
1615
"properties": {
@@ -24,7 +23,8 @@
2423
"storageProfile": {
2524
"storageMB": 524288,
2625
"backupRetentionDays": 7
27-
}
26+
},
27+
"availabilityZone": "1"
2828
},
2929
"location": "westus",
3030
"tags": {

specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerGetWithVnet.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"body": {
1111
"sku": {
1212
"tier": "GeneralPurpose",
13-
"capacity": 4,
1413
"name": "Standard_D4s_v3"
1514
},
1615
"properties": {
@@ -24,12 +23,14 @@
2423
"vnetInjArgs": {
2524
"delegatedSubnetName": "test-subnet",
2625
"delegatedVnetID": "6ed504a3-24b8-4ba8-ac1f-7a1780195437",
27-
"delegatedVnetName": "test-vnet"
26+
"delegatedVnetName": "test-vnet",
27+
"delegatedVnetResourceGroup": "test-vnet-rg"
2828
},
2929
"storageProfile": {
3030
"storageMB": 524288,
3131
"backupRetentionDays": 7
32-
}
32+
},
33+
"availabilityZone": "1"
3334
},
3435
"location": "westus",
3536
"tags": {

specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerList.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
{
1212
"sku": {
1313
"tier": "GeneralPurpose",
14-
"capacity": 4,
1514
"name": "Standard_D4s_v3"
1615
},
1716
"properties": {
@@ -25,7 +24,8 @@
2524
"storageProfile": {
2625
"storageMB": 524288,
2726
"backupRetentionDays": 7
28-
}
27+
},
28+
"availabilityZone": "1"
2929
},
3030
"location": "westus",
3131
"tags": {
@@ -38,7 +38,6 @@
3838
{
3939
"sku": {
4040
"tier": "GeneralPurpose",
41-
"capacity": 4,
4241
"name": "Standard_D4s_v3"
4342
},
4443
"properties": {
@@ -52,7 +51,8 @@
5251
"storageProfile": {
5352
"storageMB": 524288,
5453
"backupRetentionDays": 7
55-
}
54+
},
55+
"availabilityZone": "2"
5656
},
5757
"location": "westus",
5858
"tags": {
@@ -65,7 +65,6 @@
6565
{
6666
"sku": {
6767
"tier": "GeneralPurpose",
68-
"capacity": 4,
6968
"name": "Standard_D4s_v3"
7069
},
7170
"properties": {
@@ -79,7 +78,8 @@
7978
"storageProfile": {
8079
"storageMB": 524288,
8180
"backupRetentionDays": 7
82-
}
81+
},
82+
"availabilityZone": "3"
8383
},
8484
"location": "westus",
8585
"tags": {
@@ -92,7 +92,6 @@
9292
{
9393
"sku": {
9494
"tier": "GeneralPurpose",
95-
"capacity": 4,
9695
"name": "Standard_D4s_v3"
9796
},
9897
"properties": {
@@ -106,7 +105,8 @@
106105
"storageProfile": {
107106
"storageMB": 524288,
108107
"backupRetentionDays": 7
109-
}
108+
},
109+
"availabilityZone": "1"
110110
},
111111
"location": "westus",
112112
"tags": {

specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerListByResourceGroup.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
{
1313
"sku": {
1414
"tier": "GeneralPurpose",
15-
"capacity": 4,
1615
"name": "Standard_D4s_v3"
1716
},
1817
"properties": {
@@ -26,7 +25,8 @@
2625
"storageProfile": {
2726
"storageMB": 524288,
2827
"backupRetentionDays": 7
29-
}
28+
},
29+
"availabilityZone": "1"
3030
},
3131
"location": "westus",
3232
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/pgtestsvc1",
@@ -36,7 +36,6 @@
3636
{
3737
"sku": {
3838
"tier": "GeneralPurpose",
39-
"capacity": 4,
4039
"name": "Standard_D4s_v3"
4140
},
4241
"properties": {
@@ -50,7 +49,8 @@
5049
"storageProfile": {
5150
"storageMB": 524288,
5251
"backupRetentionDays": 7
53-
}
52+
},
53+
"availabilityZone": "2"
5454
},
5555
"location": "westus",
5656
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc2",
@@ -60,7 +60,6 @@
6060
{
6161
"sku": {
6262
"tier": "GeneralPurpose",
63-
"capacity": 4,
6463
"name": "Standard_D4s_v3"
6564
},
6665
"properties": {
@@ -74,7 +73,8 @@
7473
"storageProfile": {
7574
"storageMB": 524288,
7675
"backupRetentionDays": 7
77-
}
76+
},
77+
"availabilityZone": "3"
7878
},
7979
"location": "westus",
8080
"tags": {

specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-privatepreview/examples/ServerUpdate.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"location": "westus",
99
"sku": {
1010
"tier": "GeneralPurpose",
11-
"capacity": 4,
1211
"name": "Standard_D4s_v3"
1312
},
1413
"properties": {
@@ -25,7 +24,6 @@
2524
"body": {
2625
"sku": {
2726
"tier": "GeneralPurpose",
28-
"capacity": 4,
2927
"name": "Standard_D4s_v3"
3028
},
3129
"properties": {
@@ -40,7 +38,8 @@
4038
"storageMB": 524288,
4139
"backupRetentionDays": 20
4240
},
43-
"vnetInjArgs": {}
41+
"vnetInjArgs": {},
42+
"availabilityZone": "1"
4443
},
4544
"location": "westus",
4645
"tags": {

0 commit comments

Comments
 (0)