Skip to content

Commit 9dc61b3

Browse files
Fix S360 item for FSPG swagger by adding default value to backupRetentionDays and maintenanceWindow (Azure#16502)
* 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 * Fix S360 item by adding default value to backupRetentionDays and maintenanceWindow
1 parent 920e768 commit 9dc61b3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,6 +1423,7 @@
14231423
},
14241424
"maintenanceWindow": {
14251425
"$ref": "#/definitions/MaintenanceWindow",
1426+
"default": null,
14261427
"description": "Maintenance window properties of a server.",
14271428
"x-ms-mutability": [
14281429
"update",
@@ -1525,6 +1526,7 @@
15251526
},
15261527
"maintenanceWindow": {
15271528
"$ref": "#/definitions/MaintenanceWindow",
1529+
"default": null,
15281530
"description": "Maintenance window properties of a server.",
15291531
"x-ms-mutability": [
15301532
"update",
@@ -1631,6 +1633,7 @@
16311633
"backupRetentionDays": {
16321634
"type": "integer",
16331635
"format": "int32",
1636+
"default": 7,
16341637
"description": "Backup retention days for the server."
16351638
},
16361639
"geoRedundantBackup": {

specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2021-06-01/postgresql.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,6 +1423,7 @@
14231423
},
14241424
"maintenanceWindow": {
14251425
"$ref": "#/definitions/MaintenanceWindow",
1426+
"default": null,
14261427
"description": "Maintenance window properties of a server.",
14271428
"x-ms-mutability": [
14281429
"update",
@@ -1525,6 +1526,7 @@
15251526
},
15261527
"maintenanceWindow": {
15271528
"$ref": "#/definitions/MaintenanceWindow",
1529+
"default": null,
15281530
"description": "Maintenance window properties of a server.",
15291531
"x-ms-mutability": [
15301532
"update",
@@ -1631,6 +1633,7 @@
16311633
"backupRetentionDays": {
16321634
"type": "integer",
16331635
"format": "int32",
1636+
"default": 7,
16341637
"description": "Backup retention days for the server."
16351638
},
16361639
"geoRedundantBackup": {

0 commit comments

Comments
 (0)