Get-AzRecoveryServicesBackupStatus
ARM 리소스가 백업되었는지 여부를 확인합니다.
Syntax
Get-AzRecoveryServicesBackupStatus
-Name <String>
-ResourceGroupName <String>
-Type <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzRecoveryServicesBackupStatus
-Type <String>
-ResourceId <String>
-ProtectableObjectName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzRecoveryServicesBackupStatus
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
지정된 리소스가 구독의 Recovery Services 자격 증명 모음에서 보호되지 않는 경우 이 명령은 null/empty를 반환합니다. 백업 구성에 실패하면 자격 증명 모음 세부 정보를 반환할 수 있습니다. Azure Backup이 실패하는 경우 일반적인 문제 섹션에서 해당 오류 코드를 찾습니다. 보호되는 경우 관련 자격 증명 모음 세부 정보가 반환됩니다.
예제
예 1
ARM 리소스가 백업되었는지 여부를 확인합니다. (자동 생성됨)
Get-AzRecoveryServicesBackupStatus -Name 'myAzureVM' -ResourceGroupName 'myAzureVMRG' -Type AzureVM
매개 변수
-DefaultProfile
Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독입니다.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
구독의 일부 Recovery Services 자격 증명 모음에서 이미 보호된 경우 대표 항목을 검사 Azure 리소스의 이름입니다.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ProtectableObjectName
구독의 일부 Recovery Services 자격 증명 모음에서 이미 보호된 경우 대표 항목을 검사 Azure 리소스의 이름입니다.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceGroupName
구독의 일부 RecoveryServices 자격 증명 모음에서 이미 보호된 경우 대표 항목을 검사 Azure Resource의 리소스 그룹 이름입니다.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceId
구독의 일부 RecoveryServices 자격 증명 모음에 의해 이미 보호된 경우 대표 항목을 검사 Azure 리소스의 ID입니다.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Type
구독의 일부 Recovery Services 자격 증명 모음에서 이미 보호된 경우 대표 항목을 검사 Azure 리소스의 유형입니다.
Type: | String |
Accepted values: | AzureVM, AzureFiles |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
입력
출력
Azure PowerShell
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기