Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -186,41 +186,6 @@
}
},
"definitions": {
"BaseLongTermRetentionPolicyProperties": {
"description": "Properties of a long term retention policy",
"type": "object",
"properties": {
"backupStorageAccessTier": {
"description": "The BackupStorageAccessTier for the LTR backups",
"enum": [
"Hot",
"Archive"
],
"type": "string",
"x-ms-enum": {
"name": "BackupStorageAccessTier",
"modelAsString": true
}
},
"weeklyRetention": {
"description": "The weekly retention policy for an LTR backup in an ISO 8601 format.",
"type": "string"
},
"monthlyRetention": {
"description": "The monthly retention policy for an LTR backup in an ISO 8601 format.",
"type": "string"
},
"yearlyRetention": {
"description": "The yearly retention policy for an LTR backup in an ISO 8601 format.",
"type": "string"
},
"weekOfYear": {
"format": "int32",
"description": "The week of year to take the yearly backup in an ISO 8601 format.",
"type": "integer"
}
}
},
"LongTermRetentionPolicy": {
"description": "A long term retention policy.",
"type": "object",
Expand All @@ -231,7 +196,7 @@
],
"properties": {
"properties": {
"$ref": "#/definitions/BaseLongTermRetentionPolicyProperties",
"$ref": "#/definitions/LongTermRetentionPolicyProperties",
"description": "Resource properties.",
"x-ms-client-flatten": true
}
Expand All @@ -255,6 +220,41 @@
"readOnly": true
}
}
},
"LongTermRetentionPolicyProperties": {
"description": "Properties of a long term retention policy",
"type": "object",
"properties": {
"backupStorageAccessTier": {
"description": "The BackupStorageAccessTier for the LTR backups",
"enum": [
"Hot",
"Archive"
],
"type": "string",
"x-ms-enum": {
"name": "BackupStorageAccessTier",
"modelAsString": true
}
},
"weeklyRetention": {
"description": "The weekly retention policy for an LTR backup in an ISO 8601 format.",
"type": "string"
},
"monthlyRetention": {
"description": "The monthly retention policy for an LTR backup in an ISO 8601 format.",
"type": "string"
},
"yearlyRetention": {
"description": "The yearly retention policy for an LTR backup in an ISO 8601 format.",
"type": "string"
},
"weekOfYear": {
"format": "int32",
"description": "The week of year to take the yearly backup in an ISO 8601 format.",
"type": "integer"
}
}
}
},
"parameters": {
Expand Down
Loading