BackupPolicy Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
BackupPolicy() |
Initializes a new instance of the BackupPolicy class. |
BackupPolicy(IList<String>, String, String, String, Nullable<Kind>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int64>, Nullable<ScheduledBackupStatus>, Nullable<BackupPolicyCreationType>, String) |
Initializes a new instance of the BackupPolicy class. |
BackupPolicy()
Initializes a new instance of the BackupPolicy class.
public BackupPolicy ();
Public Sub New ()
Applies to
BackupPolicy(IList<String>, String, String, String, Nullable<Kind>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int64>, Nullable<ScheduledBackupStatus>, Nullable<BackupPolicyCreationType>, String)
Initializes a new instance of the BackupPolicy class.
public BackupPolicy (System.Collections.Generic.IList<string> volumeIds, string id = default, string name = default, string type = default, Microsoft.Azure.Management.StorSimple8000Series.Models.Kind? kind = default, DateTime? nextBackupTime = default, DateTime? lastBackupTime = default, long? schedulesCount = default, Microsoft.Azure.Management.StorSimple8000Series.Models.ScheduledBackupStatus? scheduledBackupStatus = default, Microsoft.Azure.Management.StorSimple8000Series.Models.BackupPolicyCreationType? backupPolicyCreationType = default, string ssmHostName = default);
new Microsoft.Azure.Management.StorSimple8000Series.Models.BackupPolicy : System.Collections.Generic.IList<string> * string * string * string * Nullable<Microsoft.Azure.Management.StorSimple8000Series.Models.Kind> * Nullable<DateTime> * Nullable<DateTime> * Nullable<int64> * Nullable<Microsoft.Azure.Management.StorSimple8000Series.Models.ScheduledBackupStatus> * Nullable<Microsoft.Azure.Management.StorSimple8000Series.Models.BackupPolicyCreationType> * string -> Microsoft.Azure.Management.StorSimple8000Series.Models.BackupPolicy
Public Sub New (volumeIds As IList(Of String), Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional kind As Nullable(Of Kind) = Nothing, Optional nextBackupTime As Nullable(Of DateTime) = Nothing, Optional lastBackupTime As Nullable(Of DateTime) = Nothing, Optional schedulesCount As Nullable(Of Long) = Nothing, Optional scheduledBackupStatus As Nullable(Of ScheduledBackupStatus) = Nothing, Optional backupPolicyCreationType As Nullable(Of BackupPolicyCreationType) = Nothing, Optional ssmHostName As String = Nothing)
Parameters
- id
- String
The path ID that uniquely identifies the object.
- name
- String
The name of the object.
- type
- String
The hierarchical type of the object.
The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
- scheduledBackupStatus
- Nullable<ScheduledBackupStatus>
Indicates whether atleast one of the schedules in the backup policy is active or not. Possible values include: 'Disabled', 'Enabled'
- backupPolicyCreationType
- Nullable<BackupPolicyCreationType>
The backup policy creation type. Indicates whether this was created through SaaS or through StorSimple Snapshot Manager. Possible values include: 'BySaaS', 'BySSM'
- ssmHostName
- String
If the backup policy was created by StorSimple Snapshot Manager, then this field indicates the hostname of the StorSimple Snapshot Manager.
Applies to
Azure SDK for .NET