Skip to content

Commit a961811

Browse files
author
SDKAuto
committed
CodeGen from PR 17517 in Azure/azure-rest-api-specs
Merge 0cf5fdde5771aa3d7012db019fe6033003e3d233 into 679887ace44697c726aba8d2814ee415a5d25e6f
1 parent b4aa7d3 commit a961811

File tree

1 file changed

+111
-0
lines changed

1 file changed

+111
-0
lines changed

schemas/2021-12-01/Microsoft.RecoveryServices.Backup.json

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -948,11 +948,26 @@
948948
"AzureIaaSVMProtectedItemExtendedInfo": {
949949
"type": "object",
950950
"properties": {
951+
"newestRecoveryPointInArchive": {
952+
"type": "string",
953+
"format": "date-time",
954+
"description": "The latest backup copy available for this backup item in archive tier"
955+
},
951956
"oldestRecoveryPoint": {
952957
"type": "string",
953958
"format": "date-time",
954959
"description": "The oldest backup copy available for this backup item."
955960
},
961+
"oldestRecoveryPointInArchive": {
962+
"type": "string",
963+
"format": "date-time",
964+
"description": "The oldest backup copy available for this backup item in archive tier"
965+
},
966+
"oldestRecoveryPointInVault": {
967+
"type": "string",
968+
"format": "date-time",
969+
"description": "The oldest backup copy available for this backup item in vault tier"
970+
},
956971
"policyInconsistent": {
957972
"oneOf": [
958973
{
@@ -1045,6 +1060,21 @@
10451060
],
10461061
"description": "Base class for backup schedule."
10471062
},
1063+
"tieringPolicy": {
1064+
"oneOf": [
1065+
{
1066+
"type": "object",
1067+
"additionalProperties": {
1068+
"$ref": "#/definitions/TieringPolicy"
1069+
},
1070+
"properties": {}
1071+
},
1072+
{
1073+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1074+
}
1075+
],
1076+
"description": "Tiering policy to automatically move RPs to another tier\r\nKey is Target Tier, defined in RecoveryPointTierType enum.\r\nTiering policy specifies the criteria to move RP to the target tier."
1077+
},
10481078
"timeZone": {
10491079
"type": "string",
10501080
"description": "TimeZone optional input as string. For example: TimeZone = \"Pacific Standard Time\"."
@@ -1442,11 +1472,26 @@
14421472
"AzureVmWorkloadProtectedItemExtendedInfo": {
14431473
"type": "object",
14441474
"properties": {
1475+
"newestRecoveryPointInArchive": {
1476+
"type": "string",
1477+
"format": "date-time",
1478+
"description": "The latest backup copy available for this backup item in archive tier"
1479+
},
14451480
"oldestRecoveryPoint": {
14461481
"type": "string",
14471482
"format": "date-time",
14481483
"description": "The oldest backup copy available for this backup item."
14491484
},
1485+
"oldestRecoveryPointInArchive": {
1486+
"type": "string",
1487+
"format": "date-time",
1488+
"description": "The oldest backup copy available for this backup item in archive tier"
1489+
},
1490+
"oldestRecoveryPointInVault": {
1491+
"type": "string",
1492+
"format": "date-time",
1493+
"description": "The oldest backup copy available for this backup item in vault tier"
1494+
},
14501495
"policyState": {
14511496
"type": "string",
14521497
"description": "Indicates consistency of policy object and policy applied to this backup item."
@@ -4136,10 +4181,76 @@
41364181
}
41374182
],
41384183
"description": "Base class for backup schedule."
4184+
},
4185+
"tieringPolicy": {
4186+
"oneOf": [
4187+
{
4188+
"type": "object",
4189+
"additionalProperties": {
4190+
"$ref": "#/definitions/TieringPolicy"
4191+
},
4192+
"properties": {}
4193+
},
4194+
{
4195+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
4196+
}
4197+
],
4198+
"description": "Tiering policy to automatically move RPs to another tier.\r\nKey is Target Tier, defined in RecoveryPointTierType enum.\r\nTiering policy specifies the criteria to move RP to the target tier."
41394199
}
41404200
},
41414201
"description": "Sub-protection policy which includes schedule and retention"
41424202
},
4203+
"TieringPolicy": {
4204+
"type": "object",
4205+
"properties": {
4206+
"duration": {
4207+
"oneOf": [
4208+
{
4209+
"type": "integer"
4210+
},
4211+
{
4212+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
4213+
}
4214+
],
4215+
"description": "Number of days/weeks/months/years to retain backups in current tier before tiering."
4216+
},
4217+
"durationType": {
4218+
"oneOf": [
4219+
{
4220+
"type": "string",
4221+
"enum": [
4222+
"Invalid",
4223+
"Days",
4224+
"Weeks",
4225+
"Months",
4226+
"Years"
4227+
]
4228+
},
4229+
{
4230+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
4231+
}
4232+
],
4233+
"description": "Retention duration type: days/weeks/months/years."
4234+
},
4235+
"tieringMode": {
4236+
"oneOf": [
4237+
{
4238+
"type": "string",
4239+
"enum": [
4240+
"Invalid",
4241+
"TierRecommended",
4242+
"TierAfter",
4243+
"DoNotTier"
4244+
]
4245+
},
4246+
{
4247+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
4248+
}
4249+
]
4250+
}
4251+
},
4252+
"description": "Tiering Policy."
4253+
},
41434254
"vaults_backupFabrics_protectionContainers_protectedItems_childResource": {
41444255
"type": "object",
41454256
"properties": {

0 commit comments

Comments
 (0)