Share via


Backup Constructors

Definition

Overloads

Backup()

Initializes a new instance of the Backup class.

Backup(String, String, String, String, SystemData, String, String, Nullable<DateTime>, String, Nullable<Int64>, String, String, String, Nullable<Boolean>)

Initializes a new instance of the Backup class.

Backup(String, String, String, String, SystemData, String, String, Nullable<DateTime>, String, Nullable<Int64>, String, String, Nullable<Boolean>, String, String)

Initializes a new instance of the Backup class.

Backup()

Initializes a new instance of the Backup class.

public Backup ();
Public Sub New ()

Applies to

Backup(String, String, String, String, SystemData, String, String, Nullable<DateTime>, String, Nullable<Int64>, String, String, String, Nullable<Boolean>)

Initializes a new instance of the Backup class.

public Backup (string location, string id = default, string name = default, string type = default, Microsoft.Azure.Management.NetApp.Models.SystemData systemData = default, string backupType = default, string backupId = default, DateTime? creationDate = default, string provisioningState = default, long? size = default, string label = default, string failureReason = default, string volumeName = default, bool? useExistingSnapshot = default);
new Microsoft.Azure.Management.NetApp.Models.Backup : string * string * string * string * Microsoft.Azure.Management.NetApp.Models.SystemData * string * string * Nullable<DateTime> * string * Nullable<int64> * string * string * string * Nullable<bool> -> Microsoft.Azure.Management.NetApp.Models.Backup
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional backupType As String = Nothing, Optional backupId As String = Nothing, Optional creationDate As Nullable(Of DateTime) = Nothing, Optional provisioningState As String = Nothing, Optional size As Nullable(Of Long) = Nothing, Optional label As String = Nothing, Optional failureReason As String = Nothing, Optional volumeName As String = Nothing, Optional useExistingSnapshot As Nullable(Of Boolean) = Nothing)

Parameters

location
String

Resource location

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

backupType
String

Type of backup Manual or Scheduled Possible values include: 'Manual', 'Scheduled'

backupId
String

UUID v4 used to identify the Backup

creationDate
Nullable<DateTime>

The creation date of the backup

provisioningState
String

Azure lifecycle management

size
Nullable<Int64>

Size of backup

label
String

Label for backup

failureReason
String

Failure reason

volumeName
String

Volume name

useExistingSnapshot
Nullable<Boolean>

Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups

Applies to

Backup(String, String, String, String, SystemData, String, String, Nullable<DateTime>, String, Nullable<Int64>, String, String, Nullable<Boolean>, String, String)

Initializes a new instance of the Backup class.

public Backup (string volumeResourceId, string id = default, string name = default, string type = default, Microsoft.Azure.Management.NetApp.Models.SystemData systemData = default, string backupType = default, string backupId = default, DateTime? creationDate = default, string provisioningState = default, long? size = default, string label = default, string failureReason = default, bool? useExistingSnapshot = default, string snapshotName = default, string backupPolicyResourceId = default);
new Microsoft.Azure.Management.NetApp.Models.Backup : string * string * string * string * Microsoft.Azure.Management.NetApp.Models.SystemData * string * string * Nullable<DateTime> * string * Nullable<int64> * string * string * Nullable<bool> * string * string -> Microsoft.Azure.Management.NetApp.Models.Backup
Public Sub New (volumeResourceId As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional backupType As String = Nothing, Optional backupId As String = Nothing, Optional creationDate As Nullable(Of DateTime) = Nothing, Optional provisioningState As String = Nothing, Optional size As Nullable(Of Long) = Nothing, Optional label As String = Nothing, Optional failureReason As String = Nothing, Optional useExistingSnapshot As Nullable(Of Boolean) = Nothing, Optional snapshotName As String = Nothing, Optional backupPolicyResourceId As String = Nothing)

Parameters

volumeResourceId
String

ResourceId used to identify the Volume

id
String

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

backupType
String

Type of backup Manual or Scheduled Possible values include: 'Manual', 'Scheduled'

backupId
String

UUID v4 used to identify the Backup

creationDate
Nullable<DateTime>

The creation date of the backup

provisioningState
String

Azure lifecycle management

size
Nullable<Int64>

Size of backup in bytes

label
String

Label for backup

failureReason
String

Failure reason

useExistingSnapshot
Nullable<Boolean>

Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups

snapshotName
String

The name of the snapshot

backupPolicyResourceId
String

ResourceId used to identify the backup policy

Applies to