< Back

Get-AzureRmSiteRecoveryProtectionContainerMapping

Thu Apr 04, 2019 5:40 am

NAME Get-AzureRmSiteRecoveryProtectionContainerMapping



SYNOPSIS

Gets Azure Site Recovery Protection Container mappings.





SYNTAX

Get-AzureRmSiteRecoveryProtectionContainerMapping [-DefaultProfile <IAzureContextContainer>] -Name <String> -ProtectionContainer

<ASRProtectionContainer> [<CommonParameters>]





DESCRIPTION

The Get-AzureRmSiteRecoveryProtectionContainerMapping cmdlet gets information about the Protection Container to Policy mappings in the vault.





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



-ProtectionContainer <ASRProtectionContainer>

Specifies the Azure Site Recovery 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

ASRProtectionContainer

Parameter 'ProtectionContainer' accepts value of type 'ASRProtectionContainer' from the pipeline





OUTPUTS

System.Collections.Generic.IEnumerable`1[[Microsoft.Azure.Commands.SiteRecovery.ASRProtectionContainerMapping,

Microsoft.Azure.Commands.SiteRecovery, Version=2.0.1.0, Culture=neutral, PublicKeyToken=null]]







NOTES











RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... nermapping

New-AzureRmSiteRecoveryProtectionContainerMapping

Remove-AzureRmSiteRecoveryProtectionContainerMapping