Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.DocumentDB to add versio…
Browse files Browse the repository at this point in the history
…n preview/2020-06-01-preview (#12622)

* init

* fix name

* fix property

* array format

* fix lsit

* fix response

* name

* discription

* modify description

* revert new api

Co-authored-by: Teng Pan <tepa@microsoft.com>
  • Loading branch information
tengpanpt and Teng Pan authored Feb 2, 2021
1 parent 76fb4a0 commit f862372
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7787,6 +7787,11 @@
"format": "int32",
"minimum": 0,
"description": "An integer representing the time (in hours) that each backup is retained"
},
"backupStorageRedundancy": {
"description": "Enum to indicate type of backup residency",
"type": "string",
"$ref": "#/definitions/BackupStorageRedundancy"
}
}
},
Expand Down Expand Up @@ -7898,6 +7903,19 @@
"description": "The time at which the regional restorable database account has been deleted (ISO-8601 format)."
}
}
},
"BackupStorageRedundancy": {
"description": "Enum to indicate type of backup storage redundancy.",
"type": "string",
"enum": [
"Geo",
"Local",
"Zone"
],
"x-ms-enum": {
"name": "BackupStorageRedundancy",
"modelAsString": true
}
}
},
"parameters": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
"type": "Periodic",
"periodicModeProperties": {
"backupIntervalInMinutes": 240,
"backupRetentionIntervalInHours": 720
"backupRetentionIntervalInHours": 720,
"backupStorageRedundancy": "Geo"
}
},
"cors": [
Expand Down Expand Up @@ -176,7 +177,8 @@
"type": "Periodic",
"periodicModeProperties": {
"backupIntervalInMinutes": 240,
"backupRetentionIntervalInHours": 720
"backupRetentionIntervalInHours": 720,
"backupStorageRedundancy": "Geo"
}
},
"cors": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@
"type": "Periodic",
"periodicModeProperties": {
"backupIntervalInMinutes": 240,
"backupRetentionIntervalInHours": 720
"backupRetentionIntervalInHours": 720,
"backupStorageRedundancy": "Geo"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@
"type": "Periodic",
"periodicModeProperties": {
"backupIntervalInMinutes": 240,
"backupRetentionIntervalInHours": 720
"backupRetentionIntervalInHours": 720,
"backupStorageRedundancy": "Geo"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@
"type": "Periodic",
"periodicModeProperties": {
"backupIntervalInMinutes": 240,
"backupRetentionIntervalInHours": 720
"backupRetentionIntervalInHours": 720,
"backupStorageRedundancy": "Geo"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@
"type": "Periodic",
"periodicModeProperties": {
"backupIntervalInMinutes": 240,
"backupRetentionIntervalInHours": 720
"backupRetentionIntervalInHours": 720,
"backupStorageRedundancy": "Geo"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"type": "Periodic",
"periodicModeProperties": {
"backupIntervalInMinutes": 240,
"backupRetentionIntervalInHours": 720
"backupRetentionIntervalInHours": 720,
"backupStorageRedundancy": "Geo"
}
}
}
Expand Down Expand Up @@ -151,7 +152,8 @@
"type": "Periodic",
"periodicModeProperties": {
"backupIntervalInMinutes": 240,
"backupRetentionIntervalInHours": 720
"backupRetentionIntervalInHours": 720,
"backupStorageRedundancy": "Geo"
}
}
},
Expand Down

0 comments on commit f862372

Please sign in to comment.