Skip to main content

protection_policies

Overview

Nameprotection_policies
TypeResource
Idazure.recovery_services_backup.protection_policies

Fields

NameDatatypeDescription
idstringResource Id represents the complete path to the resource.
namestringResource name associated with the resource.
eTagstringOptional ETag.
locationstringResource location.
propertiesobjectBase class for backup policy. Workload-specific backup policies are derived from this class.
tagsobjectResource tags.
typestringResource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

Methods

NameAccessible byRequired ParamsDescription
getSELECTapi-version, policyName, resourceGroupName, subscriptionId, vaultNameProvides the details of the backup policies associated to Recovery Services Vault. This is an asynchronous
operation. Status of the operation can be fetched using GetPolicyOperationResult API.
create_or_updateINSERTapi-version, policyName, resourceGroupName, subscriptionId, vaultNameCreates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
using GetPolicyOperationResult API.
deleteDELETEapi-version, policyName, resourceGroupName, subscriptionId, vaultNameDeletes specified backup policy from your Recovery Services Vault. This is an asynchronous operation. Status of the
operation can be fetched using GetProtectionPolicyOperationResult API.