Snapshot 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
Snapshot()
public Snapshot ();
Public Sub New ()
Applies to
Snapshot(String, CreationData, String, String, String, IDictionary<String, String>, String, SnapshotSku, Nullable<DateTime>, Nullable<OperatingSystemTypes>, Nullable<Int32>, EncryptionSettings, String)
public Snapshot (string location, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.CreationData creationData, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string managedBy = default, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.SnapshotSku sku = default, DateTime? timeCreated = default, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.OperatingSystemTypes? osType = default, int? diskSizeGB = default, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.EncryptionSettings encryptionSettings = default, string provisioningState = default);
new Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.Snapshot : string * Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.CreationData * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.SnapshotSku * Nullable<DateTime> * Nullable<Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.OperatingSystemTypes> * Nullable<int> * Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.EncryptionSettings * string -> Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.Snapshot
Public Sub New (location As String, creationData As CreationData, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional managedBy As String = Nothing, Optional sku As SnapshotSku = Nothing, Optional timeCreated As Nullable(Of DateTime) = Nothing, Optional osType As Nullable(Of OperatingSystemTypes) = Nothing, Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional encryptionSettings As EncryptionSettings = Nothing, Optional provisioningState As String = Nothing)
Parameters
- location
- String
- creationData
- CreationData
- id
- String
- name
- String
- type
- String
- tags
- IDictionary<String,String>
- managedBy
- String
- sku
- SnapshotSku
- osType
- Nullable<OperatingSystemTypes>
- encryptionSettings
- EncryptionSettings
- provisioningState
- String