共用方式為


IaasVmProtectionPolicy Class

Definition

IaaS VM workload-specific backup policy.

public class IaasVmProtectionPolicy : Azure.ResourceManager.RecoveryServicesBackup.Models.BackupGenericProtectionPolicy
type IaasVmProtectionPolicy = class
    inherit BackupGenericProtectionPolicy
Public Class IaasVmProtectionPolicy
Inherits BackupGenericProtectionPolicy
Inheritance
IaasVmProtectionPolicy

Constructors

IaasVmProtectionPolicy()

Initializes a new instance of IaasVmProtectionPolicy.

Properties

InstantRPDetails

Gets or sets the instant rp details.

InstantRPRetentionRangeInDays

Instant RP retention policy range in days.

PolicyType

Gets or sets the policy type.

ProtectedItemsCount

Number of items associated with this policy.

(Inherited from BackupGenericProtectionPolicy)
ResourceGuardOperationRequests

ResourceGuard Operation Requests.

(Inherited from BackupGenericProtectionPolicy)
RetentionPolicy

Retention policy with the details on backup copy retention ranges. Please note BackupRetentionPolicy is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include LongTermRetentionPolicy and SimpleRetentionPolicy.

SchedulePolicy

Backup schedule specified as part of backup policy. Please note BackupSchedulePolicy is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include LogSchedulePolicy, LongTermSchedulePolicy, SimpleSchedulePolicy and SimpleSchedulePolicyV2.

TieringPolicy

Tiering policy to automatically move RPs to another tier Key is Target Tier, defined in RecoveryPointTierType enum. Tiering policy specifies the criteria to move RP to the target tier.

TimeZone

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

Applies to