Get-AzRecoveryServicesAsrReplicationProtectedItem
Azure Site Recovery 복제 보호 항목의 속성을 가져옵니다.
Syntax
Get-AzRecoveryServicesAsrReplicationProtectedItem
-ProtectionContainer <ASRProtectionContainer>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzRecoveryServicesAsrReplicationProtectedItem
-Name <String>
-ProtectionContainer <ASRProtectionContainer>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzRecoveryServicesAsrReplicationProtectedItem
-FriendlyName <String>
-ProtectionContainer <ASRProtectionContainer>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzRecoveryServicesAsrReplicationProtectedItem
-ProtectableItem <ASRProtectableItem>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzRecoveryServicesAsrReplicationProtectedItem cmdlet은 지정된 ASR 보호 컨테이너에서 모든 또는 지정된 ASR 복제본(replica)tion 보호 항목의 속성을 가져옵니다.
예제
예 1
$ReplicationProtectedItems = Get-AzRecoveryServicesAsrReplicationProtectedItem -ProtectionContainer $PrimaryContainer
지정된 ASR 보호 컨테이너의 모든 복제본(replica)tion 보호 항목을 나열합니다.
예제 2
Azure Site Recovery 복제 보호 항목의 속성을 가져옵니다. (자동 생성됨)
Get-AzRecoveryServicesAsrReplicationProtectedItem -FriendlyName XXXXXXXXXX -ProtectionContainer $PrimaryContainer
매개 변수
-DefaultProfile
Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독입니다.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-FriendlyName
가져올 복제본(replica)tion 보호 항목의 이름을 지정합니다.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
가져올 복제본(replica)tion 보호 항목의 이름을 지정합니다.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ProtectableItem
ASR 보호 가능한 항목 개체를 지정합니다. cmdlet은 항목이 보호되는 경우 지정된 ASR 보호 가능한 항목에 해당하는 ASR 복제본(replica)tion 보호된 항목을 가져옵니다.
Type: | ASRProtectableItem |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ProtectionContainer
복제본(replica)tion 보호 항목에 해당하는 ASR 보호 컨테이너의 ASR 보호 컨테이너 개체를 지정합니다. Recovery Service 컨테이너에서 ASR 보호 컨테이너를 얻으려면 Get-AzRecoveryServicesAsrProtectionContainer cmdlet을 실행합니다.
Type: | ASRProtectionContainer |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
입력
출력
관련 링크
Azure PowerShell
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기