ProtectionIntentOperations interface
ProtectionIntentOperations를 나타내는 인터페이스입니다.
메서드
| create |
항목의 백업을 사용하도록 설정하기 위한 의도를 만듭니다. 동기 작업입니다. |
| delete(string, string, string, string, Protection |
항목에서 의도를 제거하는 데 사용됩니다. |
| get(string, string, string, string, Protection |
보호 의도 업 항목의 세부 정보를 제공합니다. 비동기 작업입니다. 작업의 상태를 확인하려면 GetItemOperationResult API를 호출합니다. |
| validate(string, Pre |
다음의 유효성을 검사합니다.
|
메서드 세부 정보
createOrUpdate(string, string, string, string, ProtectionIntentResource, ProtectionIntentCreateOrUpdateOptionalParams)
항목의 백업을 사용하도록 설정하기 위한 의도를 만듭니다. 동기 작업입니다.
function createOrUpdate(vaultName: string, resourceGroupName: string, fabricName: string, intentObjectName: string, parameters: ProtectionIntentResource, options?: ProtectionIntentCreateOrUpdateOptionalParams): Promise<ProtectionIntentResource>
매개 변수
- vaultName
-
string
복구 서비스 자격 증명 모음의 이름입니다.
- resourceGroupName
-
string
복구 서비스 자격 증명 모음이 있는 리소스 그룹의 이름입니다.
- fabricName
-
string
백업 항목과 연결된 패브릭 이름입니다.
- intentObjectName
-
string
의도 개체 이름입니다.
- parameters
- ProtectionIntentResource
리소스 백업 항목
옵션 매개 변수입니다.
반환
Promise<ProtectionIntentResource>
delete(string, string, string, string, ProtectionIntentDeleteOptionalParams)
항목에서 의도를 제거하는 데 사용됩니다.
function delete(vaultName: string, resourceGroupName: string, fabricName: string, intentObjectName: string, options?: ProtectionIntentDeleteOptionalParams): Promise<void>
매개 변수
- vaultName
-
string
복구 서비스 자격 증명 모음의 이름입니다.
- resourceGroupName
-
string
복구 서비스 자격 증명 모음이 있는 리소스 그룹의 이름입니다.
- fabricName
-
string
의도와 연결된 패브릭 이름입니다.
- intentObjectName
-
string
삭제할 의도입니다.
옵션 매개 변수입니다.
반환
Promise<void>
get(string, string, string, string, ProtectionIntentGetOptionalParams)
보호 의도 업 항목의 세부 정보를 제공합니다. 비동기 작업입니다. 작업의 상태를 확인하려면 GetItemOperationResult API를 호출합니다.
function get(vaultName: string, resourceGroupName: string, fabricName: string, intentObjectName: string, options?: ProtectionIntentGetOptionalParams): Promise<ProtectionIntentResource>
매개 변수
- vaultName
-
string
복구 서비스 자격 증명 모음의 이름입니다.
- resourceGroupName
-
string
복구 서비스 자격 증명 모음이 있는 리소스 그룹의 이름입니다.
- fabricName
-
string
백업된 항목과 연결된 패브릭 이름입니다.
- intentObjectName
-
string
세부 정보를 가져올 항목 이름을 백업했습니다.
옵션 매개 변수입니다.
반환
Promise<ProtectionIntentResource>
validate(string, PreValidateEnableBackupRequest, ProtectionIntentValidateOptionalParams)
다음의 유효성을 검사합니다.
- 자격 증명 모음 용량
- VM이 이미 보호됨
- 속성에 전달된 모든 VM 관련 구성입니다.
function validate(azureRegion: string, parameters: PreValidateEnableBackupRequest, options?: ProtectionIntentValidateOptionalParams): Promise<PreValidateEnableBackupResponse>
매개 변수
- azureRegion
-
string
API에 도달할 Azure 지역
- parameters
- PreValidateEnableBackupRequest
Virtual Machine에서 백업 유효성 검사 요청 사용
옵션 매개 변수입니다.
반환
Promise<PreValidateEnableBackupResponse>