Get-AzRecoveryServicesAsrProtectionContainerMapping
Azure Site Recovery Protection 컨테이너 매핑을 가져옵니다.
구문
Get-AzRecoveryServicesAsrProtectionContainerMapping
-ProtectionContainer <ASRProtectionContainer>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzRecoveryServicesAsrProtectionContainerMapping
-Name <String>
-ProtectionContainer <ASRProtectionContainer>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzRecoveryServicesAsrProtectionContainerMapping cmdlet은 지정된 ASR 보호 컨테이너에 대한 자격 증명 모음의 복제 정책 매핑(연결)에 대한 보호 컨테이너에 대한 정보를 가져옵니다.
예제
예제 1
$ProtectionContainerMappings = Get-AzRecoveryServicesAsrProtectionContainerMapping -ProtectionContainer $Container
컨테이너에 대한 보호 컨테이너 매핑 목록입니다.
예제 2
$ProtectionContainerMappings = Get-AzRecoveryServicesAsrProtectionContainerMapping -ProtectionContainer $Container -Name $PrimaryProtectionContainerMapping
Name : pcmmapping
ID : /Subscriptions/xxxxxxxxxxxx/resourceGroups/canaryexproute/providers/Microsoft.RecoveryServices/vaults/IbizaV2ATest/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/IbizaV2ATest/replicationPolicies/V2aTestPolicy
SourceFabricFriendlyName : V2A-W2K12-400
SourceProtectionContainerFriendlyName : V2A-W2K12-400
State : Paired
TargetFabricFriendlyName : Microsoft Azure
TargetProtectionContainerFriendlyName : Microsoft Azure
TargetProtectionContainerId : Microsoft Azure
지정된 보호 컨테이너에 대한 모든 보호 컨테이너 매핑을 가져옵니다.
매개 변수
-DefaultProfile
Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독입니다.
형식: | IAzureContextContainer |
별칭: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
필수: | False |
파이프라인 입력 허용: | False |
와일드카드 문자 허용: | False |
-Name
가져올 보호 컨테이너 매핑의 이름을 지정합니다.
형식: | String |
Position: | Named |
Default value: | None |
필수: | True |
파이프라인 입력 허용: | False |
와일드카드 문자 허용: | False |
-ProtectionContainer
지정된 ASR 보호 컨테이너 개체에 해당하는 보호 컨테이너 매핑을 가져옵니다.
형식: | ASRProtectionContainer |
Position: | Named |
Default value: | None |
필수: | True |
파이프라인 입력 허용: | True |
와일드카드 문자 허용: | False |
입력
출력
관련 링크
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure PowerShell