Skip to content

Commit

Permalink
Fixes to 2022-03-08-preview for PostgreSQL flexible server (Azure#21234)
Browse files Browse the repository at this point in the history
* Add 202 response to server create and fix Sku definition

* Add 202 response to examples
  • Loading branch information
alanenriqueo authored and kayousef committed Dec 21, 2022
1 parent f18cc7d commit b1c84bd
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@
"$ref": "#/definitions/Server"
}
},
"202": {
"description": "Accepted"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -538,7 +541,7 @@
"type": "object",
"properties": {
"sku": {
"$ref": "#/definitions/PostgreSqlSku",
"$ref": "#/definitions/Sku",
"description": "The SKU (pricing tier) of the server."
},
"identity": {
Expand Down Expand Up @@ -634,7 +637,7 @@
"type": "object",
"properties": {
"sku": {
"$ref": "#/definitions/PostgreSqlSku",
"$ref": "#/definitions/Sku",
"description": "The SKU (pricing tier) of the server."
},
"identity": {
Expand Down Expand Up @@ -673,7 +676,7 @@
},
"description": "A list of servers."
},
"PostgreSqlSku": {
"Sku": {
"type": "object",
"properties": {
"name": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
"name": "pgtestsvc4",
"type": "Microsoft.DBforPostgreSQL/flexibleServers"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
"name": "pgtestsvc5geo",
"type": "Microsoft.DBforPostgreSQL/flexibleServers"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
"name": "pgtestsvc5",
"type": "Microsoft.DBforPostgreSQL/flexibleServers"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
"name": "pgtestsvc5rep",
"type": "Microsoft.DBforPostgreSQL/flexibleServers"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@
"name": "pgtestsvc4",
"type": "Microsoft.DBforPostgreSQL/flexibleServers"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@
"name": "pgtestsvc4",
"type": "Microsoft.DBforPostgreSQL/flexibleServers"
}
}
},
"202": {}
}
}

0 comments on commit b1c84bd

Please sign in to comment.