SnapshotInner 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
SnapshotInner() |
Initializes a new instance of the SnapshotInner class. |
SnapshotInner(String, CreationData, String, String, String, IDictionary<String, String>, String, SnapshotSku, Nullable<DateTime>, Nullable<OperatingSystemTypes>, HyperVGeneration, Nullable<Int32>, Nullable<Int64>, DiskState, String, EncryptionSettingsCollection, String, Nullable<Boolean>, Encryption, NetworkAccessPolicy, String) |
Initializes a new instance of the SnapshotInner class. |
SnapshotInner()
Initializes a new instance of the SnapshotInner class.
public SnapshotInner ();
Public Sub New ()
Applies to
SnapshotInner(String, CreationData, String, String, String, IDictionary<String, String>, String, SnapshotSku, Nullable<DateTime>, Nullable<OperatingSystemTypes>, HyperVGeneration, Nullable<Int32>, Nullable<Int64>, DiskState, String, EncryptionSettingsCollection, String, Nullable<Boolean>, Encryption, NetworkAccessPolicy, String)
Initializes a new instance of the SnapshotInner class.
public SnapshotInner (string location, Microsoft.Azure.Management.Compute.Fluent.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.Management.Compute.Fluent.Models.SnapshotSku sku = default, DateTime? timeCreated = default, Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemTypes? osType = default, Microsoft.Azure.Management.Compute.Fluent.Models.HyperVGeneration hyperVGeneration = default, int? diskSizeGB = default, long? diskSizeBytes = default, Microsoft.Azure.Management.Compute.Fluent.Models.DiskState diskState = default, string uniqueId = default, Microsoft.Azure.Management.Compute.Fluent.Models.EncryptionSettingsCollection encryptionSettingsCollection = default, string provisioningState = default, bool? incremental = default, Microsoft.Azure.Management.Compute.Fluent.Models.Encryption encryption = default, Microsoft.Azure.Management.Compute.Fluent.Models.NetworkAccessPolicy networkAccessPolicy = default, string diskAccessId = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.SnapshotInner : string * Microsoft.Azure.Management.Compute.Fluent.Models.CreationData * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Management.Compute.Fluent.Models.SnapshotSku * Nullable<DateTime> * Nullable<Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemTypes> * Microsoft.Azure.Management.Compute.Fluent.Models.HyperVGeneration * Nullable<int> * Nullable<int64> * Microsoft.Azure.Management.Compute.Fluent.Models.DiskState * string * Microsoft.Azure.Management.Compute.Fluent.Models.EncryptionSettingsCollection * string * Nullable<bool> * Microsoft.Azure.Management.Compute.Fluent.Models.Encryption * Microsoft.Azure.Management.Compute.Fluent.Models.NetworkAccessPolicy * string -> Microsoft.Azure.Management.Compute.Fluent.Models.SnapshotInner
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 hyperVGeneration As HyperVGeneration = Nothing, Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional diskSizeBytes As Nullable(Of Long) = Nothing, Optional diskState As DiskState = Nothing, Optional uniqueId As String = Nothing, Optional encryptionSettingsCollection As EncryptionSettingsCollection = Nothing, Optional provisioningState As String = Nothing, Optional incremental As Nullable(Of Boolean) = Nothing, Optional encryption As Encryption = Nothing, Optional networkAccessPolicy As NetworkAccessPolicy = Nothing, Optional diskAccessId As String = Nothing)
Parameters
- location
- String
- creationData
- CreationData
Disk source information. CreationData information cannot be changed after the disk has been created.
- id
- String
- name
- String
- type
- String
- tags
- IDictionary<String,String>
- managedBy
- String
Unused. Always Null.
- sku
- SnapshotSku
- osType
- Nullable<OperatingSystemTypes>
The Operating System type. Possible values include: 'Windows', 'Linux'
- hyperVGeneration
- HyperVGeneration
The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2'
If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
- diskState
- DiskState
The state of the snapshot. Possible values include: 'Unattached', 'Attached', 'Reserved', 'ActiveSAS', 'ReadyToUpload', 'ActiveUpload'
- uniqueId
- String
Unique Guid identifying the resource.
- encryptionSettingsCollection
- EncryptionSettingsCollection
Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
- provisioningState
- String
The disk provisioning state.
Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.
- encryption
- Encryption
Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
- networkAccessPolicy
- NetworkAccessPolicy
Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll'
- diskAccessId
- String
ARM id of the DiskAccess resource for using private endpoints on disks.
Applies to
Azure SDK for .NET