Share via


BackupPolicyProperties Constructors

Definition

Overloads

BackupPolicyProperties()

Initializes a new instance of the BackupPolicyProperties class.

BackupPolicyProperties(String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, IList<VolumeBackups>)

Initializes a new instance of the BackupPolicyProperties class.

BackupPolicyProperties()

Initializes a new instance of the BackupPolicyProperties class.

public BackupPolicyProperties ();
Public Sub New ()

Applies to

BackupPolicyProperties(String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, IList<VolumeBackups>)

Initializes a new instance of the BackupPolicyProperties class.

public BackupPolicyProperties (string backupPolicyId = default, string provisioningState = default, int? dailyBackupsToKeep = default, int? weeklyBackupsToKeep = default, int? monthlyBackupsToKeep = default, int? volumesAssigned = default, bool? enabled = default, System.Collections.Generic.IList<Microsoft.Azure.Management.NetApp.Models.VolumeBackups> volumeBackups = default);
new Microsoft.Azure.Management.NetApp.Models.BackupPolicyProperties : string * string * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.NetApp.Models.VolumeBackups> -> Microsoft.Azure.Management.NetApp.Models.BackupPolicyProperties
Public Sub New (Optional backupPolicyId As String = Nothing, Optional provisioningState As String = Nothing, Optional dailyBackupsToKeep As Nullable(Of Integer) = Nothing, Optional weeklyBackupsToKeep As Nullable(Of Integer) = Nothing, Optional monthlyBackupsToKeep As Nullable(Of Integer) = Nothing, Optional volumesAssigned As Nullable(Of Integer) = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing, Optional volumeBackups As IList(Of VolumeBackups) = Nothing)

Parameters

backupPolicyId
String

Backup Policy GUID ID

provisioningState
String

Azure lifecycle management

dailyBackupsToKeep
Nullable<Int32>

Daily backups count to keep

weeklyBackupsToKeep
Nullable<Int32>

Weekly backups count to keep

monthlyBackupsToKeep
Nullable<Int32>

Monthly backups count to keep

volumesAssigned
Nullable<Int32>

Volumes using current backup policy

enabled
Nullable<Boolean>

The property to decide policy is enabled or not

volumeBackups
IList<VolumeBackups>

A list of volumes assigned to this policy

Applies to