Share via


Snapshot Constructors

Definition

Overloads

Snapshot()

Initializes a new instance of the Snapshot class.

Snapshot(String, String, String, String, SystemData, String, Nullable<DateTime>, String)

Initializes a new instance of the Snapshot class.

Snapshot()

Initializes a new instance of the Snapshot class.

public Snapshot ();
Public Sub New ()

Applies to

Snapshot(String, String, String, String, SystemData, String, Nullable<DateTime>, String)

Initializes a new instance of the Snapshot class.

public Snapshot (string location, string id = default, string name = default, string type = default, Microsoft.Azure.Management.NetApp.Models.SystemData systemData = default, string snapshotId = default, DateTime? created = default, string provisioningState = default);
new Microsoft.Azure.Management.NetApp.Models.Snapshot : string * string * string * string * Microsoft.Azure.Management.NetApp.Models.SystemData * string * Nullable<DateTime> * string -> Microsoft.Azure.Management.NetApp.Models.Snapshot
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 snapshotId As String = Nothing, Optional created As Nullable(Of DateTime) = Nothing, Optional provisioningState As String = Nothing)

Parameters

location
String

Resource location

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.

snapshotId
String

UUID v4 used to identify the Snapshot

created
Nullable<DateTime>

The creation date of the snapshot

provisioningState
String

Azure lifecycle management

Applies to