Skip to content

Commit 0b98b19

Browse files
authored
Updating previously release API(20250801) with fix to final-state for long running operations within Microsoft.DBforPostgreSQL (Azure#38782)
* Update read me to not have single server * fix final-state-via for long running operations * Revert "Update read me to not have single server" This reverts commit ccd6bdc.
1 parent 4e1b4f8 commit 0b98b19

File tree

9 files changed

+27
-12
lines changed

9 files changed

+27
-12
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@
9393
},
9494
"x-ms-long-running-operation": true,
9595
"x-ms-long-running-operation-options": {
96-
"final-state-via": "azure-async-operation"
96+
"final-state-via": "azure-async-operation",
97+
"final-state-schema": "#/definitions/AdministratorMicrosoftEntra"
9798
}
9899
},
99100
"delete": {

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@
176176
},
177177
"x-ms-long-running-operation": true,
178178
"x-ms-long-running-operation-options": {
179-
"final-state-via": "azure-async-operation"
179+
"final-state-via": "azure-async-operation",
180+
"final-state-schema": "#/definitions/AdvancedThreatProtectionSettingsModel"
180181
},
181182
"x-ms-examples": {
182183
"Update the advanced threat protection settings of a server.": {

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@
8484
},
8585
"x-ms-long-running-operation": true,
8686
"x-ms-long-running-operation-options": {
87-
"final-state-via": "azure-async-operation"
87+
"final-state-via": "azure-async-operation",
88+
"final-state-schema": "#/definitions/BackupAutomaticAndOnDemand"
8889
}
8990
},
9091
"delete": {

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@
181181
},
182182
"x-ms-long-running-operation": true,
183183
"x-ms-long-running-operation-options": {
184-
"final-state-via": "azure-async-operation"
184+
"final-state-via": "azure-async-operation",
185+
"final-state-schema": "#/definitions/Configuration"
185186
}
186187
},
187188
"put": {
@@ -242,7 +243,8 @@
242243
},
243244
"x-ms-long-running-operation": true,
244245
"x-ms-long-running-operation-options": {
245-
"final-state-via": "azure-async-operation"
246+
"final-state-via": "azure-async-operation",
247+
"final-state-schema": "#/definitions/Configuration"
246248
}
247249
}
248250
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@
9393
},
9494
"x-ms-long-running-operation": true,
9595
"x-ms-long-running-operation-options": {
96-
"final-state-via": "azure-async-operation"
96+
"final-state-via": "azure-async-operation",
97+
"final-state-schema": "#/definitions/Database"
9798
}
9899
},
99100
"delete": {

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@
9393
},
9494
"x-ms-long-running-operation": true,
9595
"x-ms-long-running-operation-options": {
96-
"final-state-via": "azure-async-operation"
96+
"final-state-via": "azure-async-operation",
97+
"final-state-schema": "#/definitions/FirewallRule"
9798
}
9899
},
99100
"delete": {

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@
130130
}
131131
},
132132
"x-ms-long-running-operation": true,
133+
"x-ms-long-running-operation-options": {
134+
"final-state-via": "azure-async-operation",
135+
"final-state-schema": "../../../../../common-types/resource-management/v6/privatelinks.json#/definitions/PrivateEndpointConnection"
136+
},
133137
"x-ms-examples": {
134138
"Approve or reject a private endpoint connection.": {
135139
"$ref": "./examples/PrivateEndpointConnectionsUpdate.json"
@@ -183,7 +187,7 @@
183187
},
184188
"x-ms-long-running-operation": true,
185189
"x-ms-long-running-operation-options": {
186-
"final-state-via": "azure-async-operation"
190+
"final-state-via": "location"
187191
},
188192
"x-ms-examples": {
189193
"Delete a private endpoint connection.": {

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@
120120
},
121121
"x-ms-long-running-operation": true,
122122
"x-ms-long-running-operation-options": {
123-
"final-state-via": "azure-async-operation"
123+
"final-state-via": "azure-async-operation",
124+
"final-state-schema": "#/definitions/Server"
124125
}
125126
},
126127
"patch": {
@@ -205,7 +206,8 @@
205206
},
206207
"x-ms-long-running-operation": true,
207208
"x-ms-long-running-operation-options": {
208-
"final-state-via": "azure-async-operation"
209+
"final-state-via": "azure-async-operation",
210+
"final-state-schema": "#/definitions/Server"
209211
}
210212
},
211213
"delete": {

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@
9393
},
9494
"x-ms-long-running-operation": true,
9595
"x-ms-long-running-operation-options": {
96-
"final-state-via": "azure-async-operation"
96+
"final-state-via": "azure-async-operation",
97+
"final-state-schema": "#/definitions/VirtualEndpoint"
9798
}
9899
},
99100
"patch": {
@@ -154,7 +155,8 @@
154155
},
155156
"x-ms-long-running-operation": true,
156157
"x-ms-long-running-operation-options": {
157-
"final-state-via": "azure-async-operation"
158+
"final-state-via": "azure-async-operation",
159+
"final-state-schema": "#/definitions/VirtualEndpoint"
158160
}
159161
},
160162
"delete": {

0 commit comments

Comments
 (0)