diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/cosmos-db.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/cosmos-db.json index 5c326dbdf557..0d59d5111acc 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/cosmos-db.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/cosmos-db.json @@ -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" } } }, @@ -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": { diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountCreateMax.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountCreateMax.json index c36777803418..0c81dc6d8289 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountCreateMax.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountCreateMax.json @@ -59,7 +59,8 @@ "type": "Periodic", "periodicModeProperties": { "backupIntervalInMinutes": 240, - "backupRetentionIntervalInHours": 720 + "backupRetentionIntervalInHours": 720, + "backupStorageRedundancy": "Geo" } }, "cors": [ @@ -176,7 +177,8 @@ "type": "Periodic", "periodicModeProperties": { "backupIntervalInMinutes": 240, - "backupRetentionIntervalInHours": 720 + "backupRetentionIntervalInHours": 720, + "backupStorageRedundancy": "Geo" } }, "cors": [ diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountCreateMin.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountCreateMin.json index 6219541b7ca4..782e84fa83ed 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountCreateMin.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountCreateMin.json @@ -82,7 +82,8 @@ "type": "Periodic", "periodicModeProperties": { "backupIntervalInMinutes": 240, - "backupRetentionIntervalInHours": 720 + "backupRetentionIntervalInHours": 720, + "backupStorageRedundancy": "Geo" } } }, diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountGet.json index 6161ef424776..a0fff0cd016a 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountGet.json @@ -85,7 +85,8 @@ "type": "Periodic", "periodicModeProperties": { "backupIntervalInMinutes": 240, - "backupRetentionIntervalInHours": 720 + "backupRetentionIntervalInHours": 720, + "backupStorageRedundancy": "Geo" } } }, diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountList.json index 2e78845c0e93..5ae52663c801 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountList.json @@ -83,7 +83,8 @@ "type": "Periodic", "periodicModeProperties": { "backupIntervalInMinutes": 240, - "backupRetentionIntervalInHours": 720 + "backupRetentionIntervalInHours": 720, + "backupStorageRedundancy": "Geo" } } }, diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountListByResourceGroup.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountListByResourceGroup.json index 9a8d7e081c13..aa5fd4fe367a 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountListByResourceGroup.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountListByResourceGroup.json @@ -68,7 +68,8 @@ "type": "Periodic", "periodicModeProperties": { "backupIntervalInMinutes": 240, - "backupRetentionIntervalInHours": 720 + "backupRetentionIntervalInHours": 720, + "backupStorageRedundancy": "Geo" } } }, diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountPatch.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountPatch.json index 5c0c861f1146..0014ef66b0a7 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountPatch.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2020-06-01-preview/examples/CosmosDBDatabaseAccountPatch.json @@ -42,7 +42,8 @@ "type": "Periodic", "periodicModeProperties": { "backupIntervalInMinutes": 240, - "backupRetentionIntervalInHours": 720 + "backupRetentionIntervalInHours": 720, + "backupStorageRedundancy": "Geo" } } } @@ -151,7 +152,8 @@ "type": "Periodic", "periodicModeProperties": { "backupIntervalInMinutes": 240, - "backupRetentionIntervalInHours": 720 + "backupRetentionIntervalInHours": 720, + "backupStorageRedundancy": "Geo" } } },