Skip to content

Commit

Permalink
Fix S360 bugs for swagger FSPG 2020-02-14-preview, 2021-06-01-preview…
Browse files Browse the repository at this point in the history
… and 2021-06-01 APIs (#15946)

* Changed FSPG RestartParameter.failoverMode from string to enum for API 2021-06-01, 2021-06-01-preview, and 2021-06-15-privatepreview

* Change enum first letter to lower case

* Change to upper case

* Fix S360 bugs for swagger FSPG 2020-02-14-preview, 2021-06-01-preview and 2021-06-01 APIs
  • Loading branch information
xunsun-commits authored Sep 30, 2021
1 parent 21ebd57 commit 350d1c0
Show file tree
Hide file tree
Showing 11 changed files with 61 additions and 53 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7,
"geoRedundantBackup": "Disabled",
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
"geoRedundantBackup": "Disabled"
},
"availabilityZone": "1",
"standbyAvailabilityZone": "2",
Expand All @@ -71,7 +70,8 @@
"startHour": 0,
"startMinute": 0,
"customWindow": "Disabled"
}
},
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
},
"location": "westus",
"tags": {
Expand Down Expand Up @@ -109,8 +109,7 @@
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7,
"geoRedundantBackup": "Disabled",
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
"geoRedundantBackup": "Disabled"
},
"availabilityZone": "1",
"standbyAvailabilityZone": "2",
Expand All @@ -119,7 +118,8 @@
"startHour": 0,
"startMinute": 0,
"customWindow": "Disabled"
}
},
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
},
"location": "westus",
"tags": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7,
"geoRedundantBackup": "Disabled",
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
"geoRedundantBackup": "Disabled"
},
"availabilityZone": "1"
"availabilityZone": "1",
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
},
"location": "westus",
"tags": {
Expand Down Expand Up @@ -76,10 +76,10 @@
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7,
"geoRedundantBackup": "Disabled",
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
"geoRedundantBackup": "Disabled"
},
"availabilityZone": "1"
"availabilityZone": "1",
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
},
"location": "westus",
"tags": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7,
"geoRedundantBackup": "Disabled",
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
"geoRedundantBackup": "Disabled"
},
"haEnabled": "Enabled",
"standbyCount": 1,
Expand All @@ -37,7 +36,8 @@
"startHour": 0,
"startMinute": 0,
"customWindow": "Disabled"
}
},
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
},
"location": "westus",
"tags": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7,
"geoRedundantBackup": "Disabled",
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
"geoRedundantBackup": "Disabled"
},
"availabilityZone": "1"
"availabilityZone": "1",
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
},
"location": "westus",
"tags": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7,
"geoRedundantBackup": "Disabled",
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
"geoRedundantBackup": "Disabled"
},
"haEnabled": "Enabled",
"standbyCount": 1,
Expand All @@ -38,7 +37,8 @@
"startHour": 0,
"startMinute": 0,
"customWindow": "Disabled"
}
},
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
},
"location": "westus",
"tags": {
Expand All @@ -65,8 +65,7 @@
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7,
"geoRedundantBackup": "Disabled",
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
"geoRedundantBackup": "Disabled"
},
"haEnabled": "Disabled",
"standbyCount": 0,
Expand All @@ -77,7 +76,8 @@
"startHour": 10,
"startMinute": 30,
"customWindow": "Enabled"
}
},
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
},
"location": "westus",
"tags": {
Expand All @@ -104,8 +104,7 @@
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7,
"geoRedundantBackup": "Disabled",
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
"geoRedundantBackup": "Disabled"
},
"haEnabled": "Disabled",
"standbyCount": 0,
Expand All @@ -116,7 +115,8 @@
"startHour": 0,
"startMinute": 0,
"customWindow": "Disabled"
}
},
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
},
"location": "westus",
"tags": {
Expand All @@ -143,8 +143,7 @@
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7,
"geoRedundantBackup": "Disabled",
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
"geoRedundantBackup": "Disabled"
},
"haEnabled": "Enabled",
"standbyCount": 1,
Expand All @@ -156,7 +155,8 @@
"startHour": 0,
"startMinute": 0,
"customWindow": "Disabled"
}
},
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
},
"location": "westus",
"tags": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7,
"geoRedundantBackup": "Disabled",
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
"geoRedundantBackup": "Disabled"
},
"haEnabled": "Enabled",
"standbyCount": 1,
Expand All @@ -39,7 +38,8 @@
"startHour": 10,
"startMinute": 30,
"customWindow": "Enabled"
}
},
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
},
"location": "westus",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/pgtestsvc1",
Expand All @@ -63,8 +63,7 @@
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7,
"geoRedundantBackup": "Disabled",
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
"geoRedundantBackup": "Disabled"
},
"haEnabled": "Disabled",
"standbyCount": 0,
Expand All @@ -75,7 +74,8 @@
"startHour": 0,
"startMinute": 0,
"customWindow": "Disabled"
}
},
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
},
"location": "westus",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc2",
Expand All @@ -99,8 +99,7 @@
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 7,
"geoRedundantBackup": "Disabled",
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
"geoRedundantBackup": "Disabled"
},
"haEnabled": "Disabled",
"standbyCount": 0,
Expand All @@ -111,7 +110,8 @@
"startHour": 10,
"startMinute": 30,
"customWindow": "Enabled"
}
},
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
},
"location": "westus",
"tags": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 20,
"geoRedundantBackup": "Disabled",
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
"geoRedundantBackup": "Disabled"
},
"delegatedSubnetArguments": {},
"privateDnsZoneArguments": {},
"haEnabled": "Disabled",
"standbyCount": 0,
"logBackupStorageSku": "Standard_ZRS",
"availabilityZone": "1"
"availabilityZone": "1",
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
},
"location": "westus",
"tags": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
"storageProfile": {
"storageMB": 524288,
"backupRetentionDays": 20,
"geoRedundantBackup": "Disabled",
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
"geoRedundantBackup": "Disabled"
},
"delegatedSubnetArguments": {},
"privateDnsZoneArguments": {},
Expand All @@ -49,7 +48,8 @@
"startHour": 8,
"startMinute": 0,
"customWindow": "Enabled"
}
},
"earliestRestoreDate": "2021-05-26T23:07:25.8166567+00:00"
},
"location": "westus",
"tags": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1343,6 +1343,12 @@
}
}
},
"earliestRestoreDate": {
"type": "string",
"format": "date-time",
"description": "The earliest restore point time (ISO8601 format) for server.",
"readOnly": true
},
"createMode": {
"type": "string",
"description": "The mode to create a new PostgreSQL server.",
Expand Down Expand Up @@ -1527,12 +1533,6 @@
"create",
"read"
]
},
"earliestRestoreDate": {
"type": "string",
"format": "date-time",
"description": "The earliest restore point time (ISO8601 format) for server.",
"readOnly": true
}
},
"description": "Storage Profile properties of a server"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1525,7 +1525,11 @@
},
"maintenanceWindow": {
"$ref": "#/definitions/MaintenanceWindow",
"description": "Maintenance window properties of a server."
"description": "Maintenance window properties of a server.",
"x-ms-mutability": [
"update",
"read"
]
},
"createMode": {
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1525,7 +1525,11 @@
},
"maintenanceWindow": {
"$ref": "#/definitions/MaintenanceWindow",
"description": "Maintenance window properties of a server."
"description": "Maintenance window properties of a server.",
"x-ms-mutability": [
"update",
"read"
]
},
"createMode": {
"type": "string",
Expand Down

0 comments on commit 350d1c0

Please sign in to comment.