AzureVmPolicy Class

Definition

Azure VM specific backup policy class.

public class AzureVmPolicy : Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.AzurePolicy
public class AzureVmPolicy : Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.PolicyBase
type AzureVmPolicy = class
    inherit AzurePolicy
type AzureVmPolicy = class
    inherit PolicyBase
Public Class AzureVmPolicy
Inherits AzurePolicy
Public Class AzureVmPolicy
Inherits PolicyBase
Inheritance
Inheritance

Constructors

AzureVmPolicy()

Properties

AzureBackupRGName

object defining the RG Name to store Restore Points

AzureBackupRGNameSuffix

object defining the RG Name suffix to store Restore Points

BackupManagementType

Type of the backup management agent.

(Inherited from ManagementContext)
Id

Fully qualified ARM ID of this policy

(Inherited from PolicyBase)
Name

Name of the policy

(Inherited from PolicyBase)
PolicySubType

Type of the AzureVM policy : Standard, Enhanced

ProtectedItemsCount

Object defining the number of associated items for the policy

RetentionPolicy
RetentionPolicy

Object defining the retention behavior of this policy.

(Inherited from AzurePolicy)
SchedulePolicy
SchedulePolicy

Object defining the schedule associated with this policy.

(Inherited from AzurePolicy)
SnapshotConsistencyType

Gets or sets SnapshotConsistencyType. Possible values include: OnlyCrashConsistent.

SnapshotRetentionInDays

Object defining the retention days for a snapshot

TieringPolicy

Smart tiering settings

WorkloadType

Workload type of the item associated with this policy

(Inherited from PolicyBase)

Methods

Validate()
Validate() (Inherited from AzurePolicy)

Applies to