Skip to content

Commit f6fa598

Browse files
author
msftbot[bot]
authored
[ReleasePR postgresql] Fixes to 2022-03-08-preview for PostgreSQL flexible server (#2634)
Create to sync Azure/azure-rest-api-specs#21234 [ReCreate this PR](https://github.com/azure-resource-manager-schemas/compare/main...azure-sdk:sdkAuto/postgresql?expand=1)
2 parents bc3e1bb + d83abb3 commit f6fa598

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

schemas/2022-03-08-preview/Microsoft.DBforPostgreSQL.json

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"sku": {
7676
"oneOf": [
7777
{
78-
"$ref": "#/definitions/PostgreSqlSku"
78+
"$ref": "#/definitions/Sku"
7979
},
8080
{
8181
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -777,36 +777,6 @@
777777
},
778778
"description": "Network properties of a server"
779779
},
780-
"PostgreSqlSku": {
781-
"type": "object",
782-
"properties": {
783-
"name": {
784-
"type": "string",
785-
"description": "The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3."
786-
},
787-
"tier": {
788-
"oneOf": [
789-
{
790-
"type": "string",
791-
"enum": [
792-
"Burstable",
793-
"GeneralPurpose",
794-
"MemoryOptimized"
795-
]
796-
},
797-
{
798-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
799-
}
800-
],
801-
"description": "The tier of the particular SKU, e.g. Burstable."
802-
}
803-
},
804-
"required": [
805-
"name",
806-
"tier"
807-
],
808-
"description": "Sku information related properties of a server."
809-
},
810780
"ServerProperties": {
811781
"type": "object",
812782
"properties": {
@@ -980,6 +950,36 @@
980950
},
981951
"description": "The properties of a server."
982952
},
953+
"Sku": {
954+
"type": "object",
955+
"properties": {
956+
"name": {
957+
"type": "string",
958+
"description": "The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3."
959+
},
960+
"tier": {
961+
"oneOf": [
962+
{
963+
"type": "string",
964+
"enum": [
965+
"Burstable",
966+
"GeneralPurpose",
967+
"MemoryOptimized"
968+
]
969+
},
970+
{
971+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
972+
}
973+
],
974+
"description": "The tier of the particular SKU, e.g. Burstable."
975+
}
976+
},
977+
"required": [
978+
"name",
979+
"tier"
980+
],
981+
"description": "Sku information related properties of a server."
982+
},
983983
"Storage": {
984984
"type": "object",
985985
"properties": {

0 commit comments

Comments
 (0)