다음을 통해 공유


Get-AzRecoveryServicesAsrReplicationProtectionCluster

보호 컨테이너의 복제 보호 클러스터 또는 모든 복제 보호 클러스터 또는 Recovery Services 자격 증명 모음의 모든 복제 보호 클러스터를 가져옵니다.

구문

Default (기본값)

Get-AzRecoveryServicesAsrReplicationProtectionCluster
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

ByObjectWithName

Get-AzRecoveryServicesAsrReplicationProtectionCluster
    -Name <String>
    -ProtectionContainer <ASRProtectionContainer>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

ByObject

Get-AzRecoveryServicesAsrReplicationProtectionCluster
    -ProtectionContainer <ASRProtectionContainer>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

Description

Get-AzRecoveryServicesAsrReplicationProtectionCluster cmdlet은 지정된 복제 보호 클러스터 또는 보호 컨테이너의 모든 복제 보호 클러스터 또는 Recovery Services 자격 증명 모음의 모든 복제 보호 클러스터에 대한 세부 정보를 가져옵니다.

예제

예제 1

Get-AzRecoveryServicesAsrReplicationProtectionCluster -Name $ClusterName -ProtectionContainer $ProtectionContainer

지정된 이름의 복제 보호 클러스터를 가져옵니다.

예제 2

Get-AzRecoveryServicesAsrReplicationProtectionCluster -ProtectionContainer $ProtectionContainer

보호 컨테이너의 복제 보호 클러스터를 가져옵니다.

매개 변수

-DefaultProfile

Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독입니다.

매개 변수 속성

형식:IAzureContextContainer
Default value:None
와일드카드 지원:False
DontShow:False
별칭:AzContext, AzureRmContext, AzureCredential

매개 변수 집합

(All)
Position:Named
필수:False
파이프라인의 값:False
속성 이름별 파이프라인의 값:False
나머지 인수의 값:False

-Name

가져올 복제 보호 클러스터의 이름을 지정합니다.

매개 변수 속성

형식:String
Default value:None
와일드카드 지원:False
DontShow:False

매개 변수 집합

ByObjectWithName
Position:Named
필수:True
파이프라인의 값:False
속성 이름별 파이프라인의 값:False
나머지 인수의 값:False

-ProtectionContainer

Azure Site Recovery 보호 컨테이너 개체를 지정합니다.

매개 변수 속성

형식:ASRProtectionContainer
Default value:None
와일드카드 지원:False
DontShow:False

매개 변수 집합

ByObjectWithName
Position:Named
필수:True
파이프라인의 값:True
속성 이름별 파이프라인의 값:False
나머지 인수의 값:False
ByObject
Position:Named
필수:True
파이프라인의 값:True
속성 이름별 파이프라인의 값:False
나머지 인수의 값:False

CommonParameters

이 cmdlet은 일반적인 매개 변수인 -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction 및 -WarningVariable 매개 변수를 지원합니다. 자세한 내용은 about_CommonParameters를 참조하세요.

입력

ASRProtectionContainer

출력

ASRReplicationProtectionCluster