< Back
New-AzureRmSiteRecoveryProtectionContainerMapping
Post
NAME New-AzureRmSiteRecoveryProtectionContainerMapping
SYNOPSIS
Creates an Azure Site Recovery Protection Container mapping by associating a policy to a Protection Container.
SYNTAX
New-AzureRmSiteRecoveryProtectionContainerMapping [-DefaultProfile <IAzureContextContainer>] -Name <String> -Policy <ASRPolicy>
-PrimaryProtectionContainer <ASRProtectionContainer> -RecoveryProtectionContainer <ASRProtectionContainer> [<CommonParameters>]
DESCRIPTION
The New-AzureRmSiteRecoveryProtectionContainerMapping cmdlet creates an Azure Site Recovery Protection Container mapping by associating a policy
to a Protection Container.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Specifies the name of the Protection Container mapping.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Policy <ASRPolicy>
Specifies the Azure Site Recovery Policy object.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-PrimaryProtectionContainer <ASRProtectionContainer>
Specifies the primary Protection Container object.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-RecoveryProtectionContainer <ASRProtectionContainer>
Specifies the Recovery Protection Container object.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
ASRPolicy
Parameter 'Policy' accepts value of type 'ASRPolicy' from the pipeline
OUTPUTS
Microsoft.Azure.Commands.SiteRecovery.ASRJob
NOTES
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... nermapping
Get-AzureRmSiteRecoveryProtectionContainerMapping
Remove-AzureRmSiteRecoveryProtectionContainerMapping
SYNOPSIS
Creates an Azure Site Recovery Protection Container mapping by associating a policy to a Protection Container.
SYNTAX
New-AzureRmSiteRecoveryProtectionContainerMapping [-DefaultProfile <IAzureContextContainer>] -Name <String> -Policy <ASRPolicy>
-PrimaryProtectionContainer <ASRProtectionContainer> -RecoveryProtectionContainer <ASRProtectionContainer> [<CommonParameters>]
DESCRIPTION
The New-AzureRmSiteRecoveryProtectionContainerMapping cmdlet creates an Azure Site Recovery Protection Container mapping by associating a policy
to a Protection Container.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Specifies the name of the Protection Container mapping.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Policy <ASRPolicy>
Specifies the Azure Site Recovery Policy object.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-PrimaryProtectionContainer <ASRProtectionContainer>
Specifies the primary Protection Container object.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-RecoveryProtectionContainer <ASRProtectionContainer>
Specifies the Recovery Protection Container object.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
ASRPolicy
Parameter 'Policy' accepts value of type 'ASRPolicy' from the pipeline
OUTPUTS
Microsoft.Azure.Commands.SiteRecovery.ASRJob
NOTES
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... nermapping
Get-AzureRmSiteRecoveryProtectionContainerMapping
Remove-AzureRmSiteRecoveryProtectionContainerMapping