Skip to content

Commit

Permalink
add changes (#23120)
Browse files Browse the repository at this point in the history
  • Loading branch information
CelinaJiangJXY authored Mar 24, 2023
1 parent 9f4ea37 commit 5c348d2
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 65 deletions.
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

0 comments on commit 5c348d2

Please sign in to comment.