< Back
Get-AzureRmRecoveryServicesAsrProtectionContainerMapping
Post
NAME Get-AzureRmRecoveryServicesAsrProtectionContainerMapping
SYNOPSIS
Gets Azure Site Recovery Protection Container mappings.
SYNTAX
Get-AzureRmRecoveryServicesAsrProtectionContainerMapping [-DefaultProfile <IAzureContextContainer>] -Name <String> -ProtectionContainer
<ASRProtectionContainer> [<CommonParameters>]
DESCRIPTION
The Get-AzureRmRecoveryServicesAsrProtectionContainerMapping cmdlet gets information about the protection container to replication policy
mappings(association) in the vault for the specified ASR 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 to get.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ProtectionContainer <ASRProtectionContainer>
Get protection container mappings corresponding to the the specified ASR protection container object.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
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
Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRProtectionContainer
OUTPUTS
System.Collections.Generic.IEnumerable`1[[Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRProtectionContainerMapping,
Microsoft.Azure.Commands.RecoveryServices.SiteRecovery, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null]]
NOTES
Example 1
PS C:\\> $ProtectionContainerMappings = Get-AzureRmRecoveryServicesAsrProtectionContainerMapping -ProtectionContainer $Container
List of protection container mappings for container.
Example 2
PS C:\\> $ProtectionContainerMappings = Get-AzureRmRecoveryServicesAsrProtectionContainerMapping -ProtectionContainer $Container -Name
$PrimaryProtectionContainerMapping
Name : pcmmapping
ID : /Subscriptions/xxxxxxxxxxxx/resourceGroups/canaryexproute/providers/Microsoft.RecoveryServices/vaults/Ibiza
V2ATest/replicationFabrics/d011a5abf48190235963ee3a88ad188ee6bca8a4c6cd0c8d7ce5d439aa77ffd9/replica
tionProtectionContainers/cloud_5dc96260-9f00-42e4-aca7-24ad27fc2078/replicationProtectionContainerMappings/pcmmapping
Health : Normal
HealthErrorDetails : {}
PolicyFriendlyName : V2aTestPolicy
PolicyId : /Subscriptions/xxxxxxxxxxxx/resourceGroups/canaryexproute/providers/Microsoft.RecoveryServices/vaults/Ibiza
V2ATest/replicationPolicies/V2aTestPolicy
SourceFabricFriendlyName : V2A-W2K12-400
SourceProtectionContainerFriendlyName : V2A-W2K12-400
State : Paired
TargetFabricFriendlyName : Microsoft Azure
TargetProtectionContainerFriendlyName : Microsoft Azure
TargetProtectionContainerId : Microsoft Azure
Gets all protection container mappings for the specified protection container.
RELATED LINKS
Online Version:
https://docs.microsoft.com/en-us/powers ... nermapping
New-AzureRmRecoveryServicesAsrProtectionContainerMapping
Remove-AzureRmRecoveryServicesAsrProtectionContainerMapping
SYNOPSIS
Gets Azure Site Recovery Protection Container mappings.
SYNTAX
Get-AzureRmRecoveryServicesAsrProtectionContainerMapping [-DefaultProfile <IAzureContextContainer>] -Name <String> -ProtectionContainer
<ASRProtectionContainer> [<CommonParameters>]
DESCRIPTION
The Get-AzureRmRecoveryServicesAsrProtectionContainerMapping cmdlet gets information about the protection container to replication policy
mappings(association) in the vault for the specified ASR 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 to get.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ProtectionContainer <ASRProtectionContainer>
Get protection container mappings corresponding to the the specified ASR protection container object.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
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
Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRProtectionContainer
OUTPUTS
System.Collections.Generic.IEnumerable`1[[Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRProtectionContainerMapping,
Microsoft.Azure.Commands.RecoveryServices.SiteRecovery, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null]]
NOTES
Example 1
PS C:\\> $ProtectionContainerMappings = Get-AzureRmRecoveryServicesAsrProtectionContainerMapping -ProtectionContainer $Container
List of protection container mappings for container.
Example 2
PS C:\\> $ProtectionContainerMappings = Get-AzureRmRecoveryServicesAsrProtectionContainerMapping -ProtectionContainer $Container -Name
$PrimaryProtectionContainerMapping
Name : pcmmapping
ID : /Subscriptions/xxxxxxxxxxxx/resourceGroups/canaryexproute/providers/Microsoft.RecoveryServices/vaults/Ibiza
V2ATest/replicationFabrics/d011a5abf48190235963ee3a88ad188ee6bca8a4c6cd0c8d7ce5d439aa77ffd9/replica
tionProtectionContainers/cloud_5dc96260-9f00-42e4-aca7-24ad27fc2078/replicationProtectionContainerMappings/pcmmapping
Health : Normal
HealthErrorDetails : {}
PolicyFriendlyName : V2aTestPolicy
PolicyId : /Subscriptions/xxxxxxxxxxxx/resourceGroups/canaryexproute/providers/Microsoft.RecoveryServices/vaults/Ibiza
V2ATest/replicationPolicies/V2aTestPolicy
SourceFabricFriendlyName : V2A-W2K12-400
SourceProtectionContainerFriendlyName : V2A-W2K12-400
State : Paired
TargetFabricFriendlyName : Microsoft Azure
TargetProtectionContainerFriendlyName : Microsoft Azure
TargetProtectionContainerId : Microsoft Azure
Gets all protection container mappings for the specified protection container.
RELATED LINKS
Online Version:
https://docs.microsoft.com/en-us/powers ... nermapping
New-AzureRmRecoveryServicesAsrProtectionContainerMapping
Remove-AzureRmRecoveryServicesAsrProtectionContainerMapping