Sdílet prostřednictvím


BackupPolicyPatch Constructors

Definition

Overloads

BackupPolicyPatch()

Initializes a new instance of the BackupPolicyPatch class.

BackupPolicyPatch(String, String, String, String, IDictionary<String, String>, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, IList<VolumeBackups>)

Initializes a new instance of the BackupPolicyPatch class.

BackupPolicyPatch()

Initializes a new instance of the BackupPolicyPatch class.

public BackupPolicyPatch ();
Public Sub New ()

Applies to

BackupPolicyPatch(String, String, String, String, IDictionary<String, String>, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, IList<VolumeBackups>)

Initializes a new instance of the BackupPolicyPatch class.

public BackupPolicyPatch (string location = default, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, 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.BackupPolicyPatch : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * 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.BackupPolicyPatch
Public Sub New (Optional location As String = Nothing, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, 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

location
String

Resource location

id
String

Resource Id

name
String

Resource name

type
String

Resource type

tags
IDictionary<String,String>

Resource tags

backupPolicyId
String

Backup Policy Resource 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