다음을 통해 공유


ProtectionPolicies interface

ProtectionPolicies를 나타내는 인터페이스입니다.

메서드

beginDelete(string, string, string, ProtectionPoliciesDeleteOptionalParams)

Recovery Services 자격 증명 모음에서 지정된 백업 정책을 삭제합니다. 비동기 작업입니다. GetProtectionPolicyOperationResult API를 사용하여 작업의 상태를 가져올 수 있습니다.

beginDeleteAndWait(string, string, string, ProtectionPoliciesDeleteOptionalParams)

Recovery Services 자격 증명 모음에서 지정된 백업 정책을 삭제합니다. 비동기 작업입니다. GetProtectionPolicyOperationResult API를 사용하여 작업의 상태를 가져올 수 있습니다.

createOrUpdate(string, string, string, ProtectionPolicyResource, ProtectionPoliciesCreateOrUpdateOptionalParams)

백업 정책을 만들거나 수정합니다. 비동기 작업입니다. GetPolicyOperationResult API를 사용하여 작업의 상태를 가져올 수 있습니다.

get(string, string, string, ProtectionPoliciesGetOptionalParams)

Recovery Services 자격 증명 모음에 연결된 백업 정책의 세부 정보를 제공합니다. 비동기 작업입니다. GetPolicyOperationResult API를 사용하여 작업의 상태를 가져올 수 있습니다.

메서드 세부 정보

beginDelete(string, string, string, ProtectionPoliciesDeleteOptionalParams)

Recovery Services 자격 증명 모음에서 지정된 백업 정책을 삭제합니다. 비동기 작업입니다. GetProtectionPolicyOperationResult API를 사용하여 작업의 상태를 가져올 수 있습니다.

function beginDelete(vaultName: string, resourceGroupName: string, policyName: string, options?: ProtectionPoliciesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

매개 변수

vaultName

string

복구 서비스 자격 증명 모음의 이름입니다.

resourceGroupName

string

복구 서비스 자격 증명 모음이 있는 리소스 그룹의 이름입니다.

policyName

string

삭제할 백업 정책입니다.

options
ProtectionPoliciesDeleteOptionalParams

옵션 매개 변수입니다.

반환

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, ProtectionPoliciesDeleteOptionalParams)

Recovery Services 자격 증명 모음에서 지정된 백업 정책을 삭제합니다. 비동기 작업입니다. GetProtectionPolicyOperationResult API를 사용하여 작업의 상태를 가져올 수 있습니다.

function beginDeleteAndWait(vaultName: string, resourceGroupName: string, policyName: string, options?: ProtectionPoliciesDeleteOptionalParams): Promise<void>

매개 변수

vaultName

string

복구 서비스 자격 증명 모음의 이름입니다.

resourceGroupName

string

복구 서비스 자격 증명 모음이 있는 리소스 그룹의 이름입니다.

policyName

string

삭제할 백업 정책입니다.

options
ProtectionPoliciesDeleteOptionalParams

옵션 매개 변수입니다.

반환

Promise<void>

createOrUpdate(string, string, string, ProtectionPolicyResource, ProtectionPoliciesCreateOrUpdateOptionalParams)

백업 정책을 만들거나 수정합니다. 비동기 작업입니다. GetPolicyOperationResult API를 사용하여 작업의 상태를 가져올 수 있습니다.

function createOrUpdate(vaultName: string, resourceGroupName: string, policyName: string, parameters: ProtectionPolicyResource, options?: ProtectionPoliciesCreateOrUpdateOptionalParams): Promise<ProtectionPolicyResource>

매개 변수

vaultName

string

복구 서비스 자격 증명 모음의 이름입니다.

resourceGroupName

string

복구 서비스 자격 증명 모음이 있는 리소스 그룹의 이름입니다.

policyName

string

만들 백업 정책입니다.

parameters
ProtectionPolicyResource

리소스 백업 정책

options
ProtectionPoliciesCreateOrUpdateOptionalParams

옵션 매개 변수입니다.

반환

get(string, string, string, ProtectionPoliciesGetOptionalParams)

Recovery Services 자격 증명 모음에 연결된 백업 정책의 세부 정보를 제공합니다. 비동기 작업입니다. GetPolicyOperationResult API를 사용하여 작업의 상태를 가져올 수 있습니다.

function get(vaultName: string, resourceGroupName: string, policyName: string, options?: ProtectionPoliciesGetOptionalParams): Promise<ProtectionPolicyResource>

매개 변수

vaultName

string

복구 서비스 자격 증명 모음의 이름입니다.

resourceGroupName

string

복구 서비스 자격 증명 모음이 있는 리소스 그룹의 이름입니다.

policyName

string

가져올 백업 정책 정보입니다.

options
ProtectionPoliciesGetOptionalParams

옵션 매개 변수입니다.

반환