Share via


Backup Class

Definition

Backup under a Backup Vault

[Microsoft.Rest.Serialization.JsonTransformation]
public class Backup : Microsoft.Azure.Management.NetApp.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Backup = class
    inherit ProxyResource
Public Class Backup
Inherits ProxyResource
Inheritance
Attributes

Constructors

Backup()

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(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.

Properties

BackupId

Gets uUID v4 used to identify the Backup

BackupPolicyResourceId

Gets resourceId used to identify the backup policy

BackupType

Gets type of backup Manual or Scheduled Possible values include: 'Manual', 'Scheduled'

CreationDate

Gets the creation date of the backup

FailureReason

Gets failure reason

Id

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

(Inherited from Resource)
Label

Gets or sets label for backup

Location

Gets or sets resource location

Name

Gets the name of the resource

(Inherited from Resource)
ProvisioningState

Gets azure lifecycle management

Size

Gets size of backup in bytes

SnapshotName

Gets or sets the name of the snapshot

SystemData

Gets azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from Resource)
Type

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

(Inherited from Resource)
UseExistingSnapshot

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

VolumeName

Gets volume name

VolumeResourceId

Gets or sets resourceId used to identify the Volume

Methods

Validate()

Validate the object.

Extension Methods

ConvertToPs(Backup)

Applies to