Skip to content

Commit 683bab1

Browse files
nasc17anushkasingh16
authored andcommitted
Updating previously release API(20250801) with missing properties and TypeSpec conflict within Microsoft.DBforPostgreSQL (Azure#38584)
* Update tuning option recommendation param enum * Add missing property to patch * move param * Revert "move param" This reverts commit 61e7b3a. * Fix run time error * add schema * add type * Remove new definition
1 parent 94ecc3b commit 683bab1

File tree

2 files changed

+23
-20
lines changed

2 files changed

+23
-20
lines changed

specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Servers.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,6 +1055,11 @@
10551055
"default": null,
10561056
"description": "Data encryption properties of a server."
10571057
},
1058+
"availabilityZone": {
1059+
"type": "string",
1060+
"default": "",
1061+
"description": "Availability zone of a server."
1062+
},
10581063
"createMode": {
10591064
"type": "string",
10601065
"description": "Update mode of an existing server.",

specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/TuningOptions.json

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,22 @@
117117
"$ref": "#/parameters/TuningOptionParameter"
118118
},
119119
{
120-
"$ref": "#/parameters/RecommendationTypeParameter"
120+
"name": "recommendationType",
121+
"in": "query",
122+
"required": false,
123+
"type": "string",
124+
"enum": [
125+
"CreateIndex",
126+
"DropIndex",
127+
"ReIndex",
128+
"AnalyzeTable"
129+
],
130+
"x-ms-enum": {
131+
"name": "RecommendationTypeParameterEnum",
132+
"modelAsString": true
133+
},
134+
"description": "Recommendations list filter. Retrieves recommendations based on type.",
135+
"x-ms-parameter-location": "method"
121136
}
122137
],
123138
"responses": {
@@ -294,7 +309,7 @@
294309
"AnalyzeTable"
295310
],
296311
"x-ms-enum": {
297-
"name": "RecommendationType",
312+
"name": "RecommendationTypeEnum",
298313
"modelAsString": true
299314
},
300315
"description": "Type for this recommendation."
@@ -440,24 +455,7 @@
440455
],
441456
"description": "The name of the tuning option.",
442457
"x-ms-enum": {
443-
"name": "TuningOption",
444-
"modelAsString": true
445-
},
446-
"x-ms-parameter-location": "method"
447-
},
448-
"RecommendationTypeParameter": {
449-
"name": "recommendationType",
450-
"in": "query",
451-
"required": false,
452-
"type": "string",
453-
"enum": [
454-
"CreateIndex",
455-
"DropIndex",
456-
"AnalyzeTable"
457-
],
458-
"description": "Recommendations list filter. Retrieves recommendations based on type.",
459-
"x-ms-enum": {
460-
"name": "RecommendationType",
458+
"name": "TuningOptionParameterEnum",
461459
"modelAsString": true
462460
},
463461
"x-ms-parameter-location": "method"

0 commit comments

Comments
 (0)