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 96705a08550ede1111515a2bb8862be8eaa07792 into ef5677519414f25524105ae9e792d660d65bfb81
  • Loading branch information
SDKAuto committed Mar 9, 2022
1 parent c2fb062 commit efb39e3
Show file tree
Hide file tree
Showing 3 changed files with 4,623 additions and 2 deletions.
116 changes: 114 additions & 2 deletions schemas/2021-12-01/Microsoft.RecoveryServices.Backup.json
Original file line number Diff line number Diff line change
Expand Up @@ -948,10 +948,25 @@
"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."
"description": "The oldest backup copy available for this backup item across all tiers."
},
"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,10 +1472,25 @@
"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."
"description": "The oldest backup copy available for this backup item across all tiers."
},
"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",
Expand Down Expand Up @@ -4136,10 +4181,77 @@
}
],
"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.\r\nUsed only if TieringMode is set to TierAfter"
},
"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\r\nUsed only if TieringMode is set to TierAfter."
},
"tieringMode": {
"oneOf": [
{
"type": "string",
"enum": [
"Invalid",
"TierRecommended",
"TierAfter",
"DoNotTier"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Tiering Mode to control automatic tiering of recovery points. Supported values are:\r\n1. TierRecommended: Tier all recovery points recommended to be tiered\r\n2. TierAfter: Tier all recovery points after a fixed period, as specified in duration + durationType below.\r\n3. DoNotTier: Do not tier any recovery points."
}
},
"description": "Tiering Policy for a target tier.\r\nIf the policy is not specified for a given target tier, service retains the existing configured tiering policy for that tier"
},
"vaults_backupFabrics_protectionContainers_protectedItems_childResource": {
"type": "object",
"properties": {
Expand Down
Loading

0 comments on commit efb39e3

Please sign in to comment.