Get-AzRecoveryServicesBackupRecommendedArchivableRPGroup
Gets the recovery points which are recommended to be moved together to VaultArchive tier.
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
Syntax
Get-AzRecoveryServicesBackupRecommendedArchivableRPGroup
[-Item] <ItemBase>
[-VaultId <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzRecoveryServicesBackupRecommendedArchivableRPGroup gets the recovery points which are recommended to be moved to VaultArchive tier. These recovery points when moved together will lead to maximum savings.
Examples
Example 1: Fetch recommended rps to be moved to VaultArchive tier
$vault = Get-AzRecoveryServicesVault -ResourceGroupName "resourceGroup" -Name "vaultName"
$item = Get-AzRecoveryServicesBackupItem -BackupManagementType "AzureVM" -WorkloadType "AzureVM" -VaultId $vault.ID
$rpGroup = Get-AzRecoveryServicesRecommendedArchivableRPGroup -Item $item[3] -VaultId $vault.ID
Here we use Get-AzRecoveryServicesRecommendedArchivableRPGroup cmdlet to fetch the recommended RPs list to be moved to VaultArchive tier and assign to $rpGroup.
Parameters
The credentials, account, tenant, and subscription used for communication with Azure.
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Protected Item object for which recovery point need to be fetched
| Type: | ItemBase |
| Position: | 2 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
ARM ID of the Recovery Services Vault.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |