Skip to content

Commit

Permalink
CodeGen from PR 17517 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 0cf5fdde5771aa3d7012db019fe6033003e3d233 into 679887ace44697c726aba8d2814ee415a5d25e6f
  • Loading branch information
SDKAuto committed Jan 26, 2022
1 parent b4aa7d3 commit a961811
Showing 1 changed file with 111 additions and 0 deletions.
111 changes: 111 additions & 0 deletions schemas/2021-12-01/Microsoft.RecoveryServices.Backup.json
Original file line number Diff line number Diff line change
Expand Up @@ -948,11 +948,26 @@
"AzureIaaSVMProtectedItemExtendedInfo": {
"type": "object",
"properties": {
"newestRecoveryPointInArchive": {
"type": "string",
"format": "date-time",
"description": "The latest backup copy available for this backup item in archive tier"
},
"oldestRecoveryPoint": {
"type": "string",
"format": "date-time",
"description": "The oldest backup copy available for this backup item."
},
"oldestRecoveryPointInArchive": {
"type": "string",
"format": "date-time",
"description": "The oldest backup copy available for this backup item in archive tier"
},
"oldestRecoveryPointInVault": {
"type": "string",
"format": "date-time",
"description": "The oldest backup copy available for this backup item in vault tier"
},
"policyInconsistent": {
"oneOf": [
{
Expand Down Expand Up @@ -1045,6 +1060,21 @@
],
"description": "Base class for backup schedule."
},
"tieringPolicy": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/TieringPolicy"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"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."
},
"timeZone": {
"type": "string",
"description": "TimeZone optional input as string. For example: TimeZone = \"Pacific Standard Time\"."
Expand Down Expand Up @@ -1442,11 +1472,26 @@
"AzureVmWorkloadProtectedItemExtendedInfo": {
"type": "object",
"properties": {
"newestRecoveryPointInArchive": {
"type": "string",
"format": "date-time",
"description": "The latest backup copy available for this backup item in archive tier"
},
"oldestRecoveryPoint": {
"type": "string",
"format": "date-time",
"description": "The oldest backup copy available for this backup item."
},
"oldestRecoveryPointInArchive": {
"type": "string",
"format": "date-time",
"description": "The oldest backup copy available for this backup item in archive tier"
},
"oldestRecoveryPointInVault": {
"type": "string",
"format": "date-time",
"description": "The oldest backup copy available for this backup item in vault tier"
},
"policyState": {
"type": "string",
"description": "Indicates consistency of policy object and policy applied to this backup item."
Expand Down Expand Up @@ -4136,10 +4181,76 @@
}
],
"description": "Base class for backup schedule."
},
"tieringPolicy": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/TieringPolicy"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"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."
}
},
"description": "Sub-protection policy which includes schedule and retention"
},
"TieringPolicy": {
"type": "object",
"properties": {
"duration": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Number of days/weeks/months/years to retain backups in current tier before tiering."
},
"durationType": {
"oneOf": [
{
"type": "string",
"enum": [
"Invalid",
"Days",
"Weeks",
"Months",
"Years"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Retention duration type: days/weeks/months/years."
},
"tieringMode": {
"oneOf": [
{
"type": "string",
"enum": [
"Invalid",
"TierRecommended",
"TierAfter",
"DoNotTier"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"description": "Tiering Policy."
},
"vaults_backupFabrics_protectionContainers_protectedItems_childResource": {
"type": "object",
"properties": {
Expand Down

0 comments on commit a961811

Please sign in to comment.