Get-AzRecoveryServicesAsrReplicationProtectedItem
Azure Site Recovery 복제 보호 항목의 속성을 가져옵니다.
구문
ByObject (기본값)
Get-AzRecoveryServicesAsrReplicationProtectedItem
-ProtectionContainer <ASRProtectionContainer>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
ByObjectWithName
Get-AzRecoveryServicesAsrReplicationProtectedItem
-Name <String>
-ProtectionContainer <ASRProtectionContainer>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
ByObjectWithFriendlyName
Get-AzRecoveryServicesAsrReplicationProtectedItem
-FriendlyName <String>
-ProtectionContainer <ASRProtectionContainer>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
ByProtectableItemObject
Get-AzRecoveryServicesAsrReplicationProtectedItem
-ProtectableItem <ASRProtectableItem>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzRecoveryServicesAsrReplicationProtectedItem cmdlet은 지정된 ASR 보호 컨테이너에서 모든 또는 지정된 ASR 복제 보호 항목의 속성을 가져옵니다.
예제
예제 1
$ReplicationProtectedItems = Get-AzRecoveryServicesAsrReplicationProtectedItem -ProtectionContainer $PrimaryContainer
지정된 ASR 보호 컨테이너의 모든 복제 보호 항목을 나열합니다.
예제 2
Azure Site Recovery 복제 보호 항목의 속성을 가져옵니다. (autogenerated)
Get-AzRecoveryServicesAsrReplicationProtectedItem -FriendlyName XXXXXXXXXX -ProtectionContainer $PrimaryContainer
매개 변수
-DefaultProfile
Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독입니다.
매개 변수 속성
형식: IAzureContextContainer
Default value: None
와일드카드 지원: False
DontShow: False
별칭: AzContext, AzureRmContext, AzureCredential
매개 변수 집합
(All)
Position: Named
필수: False
파이프라인의 값: False
속성 이름별 파이프라인의 값: False
나머지 인수의 값: False
-FriendlyName
가져올 복제 보호 항목의 이름을 지정합니다.
매개 변수 속성
형식: String
Default value: None
와일드카드 지원: False
DontShow: False
매개 변수 집합
ByObjectWithFriendlyName
Position: Named
필수: True
파이프라인의 값: False
속성 이름별 파이프라인의 값: False
나머지 인수의 값: False
-Name
가져올 복제 보호 항목의 이름을 지정합니다.
매개 변수 속성
형식: String
Default value: None
와일드카드 지원: False
DontShow: False
매개 변수 집합
ByObjectWithName
Position: Named
필수: True
파이프라인의 값: False
속성 이름별 파이프라인의 값: False
나머지 인수의 값: False
-ProtectableItem
ASR 보호 가능한 항목 개체를 지정합니다. cmdlet은 항목이 보호되는 경우 지정된 ASR 보호 가능한 항목에 해당하는 ASR 복제 보호 항목을 가져옵니다.
매개 변수 속성
매개 변수 집합
ByProtectableItemObject
Position: Named
필수: True
파이프라인의 값: True
속성 이름별 파이프라인의 값: False
나머지 인수의 값: False
-ProtectionContainer
복제 보호 항목에 해당하는 ASR 보호 컨테이너의 ASR 보호 컨테이너 개체를 지정합니다. Recovery Service 컨테이너에서 ASR 보호 컨테이너를 얻으려면 Get-AzRecoveryServicesAsrProtectionContainer cmdlet을 실행 합니다.
매개 변수 속성
매개 변수 집합
ByObject
Position: Named
필수: True
파이프라인의 값: True
속성 이름별 파이프라인의 값: False
나머지 인수의 값: False
ByObjectWithName
Position: Named
필수: True
파이프라인의 값: True
속성 이름별 파이프라인의 값: False
나머지 인수의 값: False
ByObjectWithFriendlyName
Position: Named
필수: True
파이프라인의 값: True
속성 이름별 파이프라인의 값: False
나머지 인수의 값: False
CommonParameters
이 cmdlet은 일반적인 매개 변수인 -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction 및 -WarningVariable 매개 변수를 지원합니다. 자세한 내용은 about_CommonParameters 를 참조하세요.
출력