다음을 통해 공유


Snapshot Constructors

Definition

Overloads

Snapshot()

Initializes a new instance of the Snapshot class.

Snapshot(String, CreationData, String, String, String, IDictionary<String, String>, String, SnapshotSku, ExtendedLocation, Nullable<DateTime>, Nullable<OperatingSystemTypes>, String, PurchasePlan, Nullable<Int32>, Nullable<Int64>, String, String, EncryptionSettingsCollection, String, Nullable<Boolean>, Encryption, String, String, Nullable<Boolean>)

Initializes a new instance of the Snapshot class.

Snapshot(String, CreationData, String, String, String, IDictionary<String, String>, String, SnapshotSku, ExtendedLocation, Nullable<DateTime>, Nullable<OperatingSystemTypes>, String, PurchasePlan, SupportedCapabilities, Nullable<Int32>, Nullable<Int64>, String, String, EncryptionSettingsCollection, String, Nullable<Boolean>, Encryption, String, String, DiskSecurityProfile, Nullable<Boolean>, String, Nullable<Double>, String)

Initializes a new instance of the Snapshot class.

Snapshot(String, CreationData, String, String, String, IDictionary<String, String>, String, SnapshotSku, ExtendedLocation, Nullable<DateTime>, Nullable<OperatingSystemTypes>, String, PurchasePlan, SupportedCapabilities, Nullable<Int32>, Nullable<Int64>, String, String, EncryptionSettingsCollection, String, Nullable<Boolean>, Encryption, String, String, DiskSecurityProfile, Nullable<Boolean>, String, Nullable<Double>, CopyCompletionError, String)

Initializes a new instance of the Snapshot class.

Snapshot(String, CreationData, String, String, String, IDictionary<String, String>, String, SnapshotSku, ExtendedLocation, Nullable<DateTime>, Nullable<OperatingSystemTypes>, String, PurchasePlan, SupportedCapabilities, Nullable<Int32>, Nullable<Int64>, String, String, EncryptionSettingsCollection, String, Nullable<Boolean>, String, Encryption, String, String, DiskSecurityProfile, Nullable<Boolean>, String, Nullable<Double>, CopyCompletionError, 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, CreationData, String, String, String, IDictionary<String, String>, String, SnapshotSku, ExtendedLocation, Nullable<DateTime>, Nullable<OperatingSystemTypes>, String, PurchasePlan, Nullable<Int32>, Nullable<Int64>, String, String, EncryptionSettingsCollection, String, Nullable<Boolean>, Encryption, String, String, Nullable<Boolean>)

Initializes a new instance of the Snapshot class.

public Snapshot (string location, Microsoft.Azure.Management.Compute.Models.CreationData creationData, string id, string name, string type, System.Collections.Generic.IDictionary<string,string> tags, string managedBy, Microsoft.Azure.Management.Compute.Models.SnapshotSku sku, Microsoft.Azure.Management.Compute.Models.ExtendedLocation extendedLocation, DateTime? timeCreated, Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes? osType, string hyperVGeneration, Microsoft.Azure.Management.Compute.Models.PurchasePlan purchasePlan, int? diskSizeGB, long? diskSizeBytes = default, string diskState = default, string uniqueId = default, Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection encryptionSettingsCollection = default, string provisioningState = default, bool? incremental = default, Microsoft.Azure.Management.Compute.Models.Encryption encryption = default, string networkAccessPolicy = default, string diskAccessId = default, bool? supportsHibernation = default);
new Microsoft.Azure.Management.Compute.Models.Snapshot : string * Microsoft.Azure.Management.Compute.Models.CreationData * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Management.Compute.Models.SnapshotSku * Microsoft.Azure.Management.Compute.Models.ExtendedLocation * Nullable<DateTime> * Nullable<Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes> * string * Microsoft.Azure.Management.Compute.Models.PurchasePlan * Nullable<int> * Nullable<int64> * string * string * Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection * string * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.Encryption * string * string * Nullable<bool> -> Microsoft.Azure.Management.Compute.Models.Snapshot
Public Sub New (location As String, creationData As CreationData, id As String, name As String, type As String, tags As IDictionary(Of String, String), managedBy As String, sku As SnapshotSku, extendedLocation As ExtendedLocation, timeCreated As Nullable(Of DateTime), osType As Nullable(Of OperatingSystemTypes), hyperVGeneration As String, purchasePlan As PurchasePlan, diskSizeGB As Nullable(Of Integer), Optional diskSizeBytes As Nullable(Of Long) = Nothing, Optional diskState As String = 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 String = Nothing, Optional diskAccessId As String = Nothing, Optional supportsHibernation As Nullable(Of Boolean) = Nothing)

Parameters

location
String

Resource location

creationData
CreationData

Disk source information. CreationData information cannot be changed after the disk has been created.

id
String

Resource Id

name
String

Resource name

type
String

Resource type

tags
IDictionary<String,String>

Resource tags

managedBy
String

Unused. Always Null.

extendedLocation
ExtendedLocation

The extended location where the snapshot will be created. Extended location cannot be changed.

timeCreated
Nullable<DateTime>

The time when the snapshot was created.

osType
Nullable<OperatingSystemTypes>

The Operating System type. Possible values include: 'Windows', 'Linux'

hyperVGeneration
String

The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2'

purchasePlan
PurchasePlan

Purchase plan information for the image from which the source disk for the snapshot was originally created.

diskSizeGB
Nullable<Int32>

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.

diskSizeBytes
Nullable<Int64>

The size of the disk in bytes. This field is read only.

diskState
String

The state of the snapshot. Possible values include: 'Unattached', 'Attached', 'Reserved', 'Frozen', 'ActiveSAS', 'ActiveSASFrozen', '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.

incremental
Nullable<Boolean>

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
String

Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll'

diskAccessId
String

ARM id of the DiskAccess resource for using private endpoints on disks.

supportsHibernation
Nullable<Boolean>

Indicates the OS on a snapshot supports hibernation.

Applies to

Snapshot(String, CreationData, String, String, String, IDictionary<String, String>, String, SnapshotSku, ExtendedLocation, Nullable<DateTime>, Nullable<OperatingSystemTypes>, String, PurchasePlan, SupportedCapabilities, Nullable<Int32>, Nullable<Int64>, String, String, EncryptionSettingsCollection, String, Nullable<Boolean>, Encryption, String, String, DiskSecurityProfile, Nullable<Boolean>, String, Nullable<Double>, String)

Initializes a new instance of the Snapshot class.

public Snapshot (string location, Microsoft.Azure.Management.Compute.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.Models.SnapshotSku sku = default, Microsoft.Azure.Management.Compute.Models.ExtendedLocation extendedLocation = default, DateTime? timeCreated = default, Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes? osType = default, string hyperVGeneration = default, Microsoft.Azure.Management.Compute.Models.PurchasePlan purchasePlan = default, Microsoft.Azure.Management.Compute.Models.SupportedCapabilities supportedCapabilities = default, int? diskSizeGB = default, long? diskSizeBytes = default, string diskState = default, string uniqueId = default, Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection encryptionSettingsCollection = default, string provisioningState = default, bool? incremental = default, Microsoft.Azure.Management.Compute.Models.Encryption encryption = default, string networkAccessPolicy = default, string diskAccessId = default, Microsoft.Azure.Management.Compute.Models.DiskSecurityProfile securityProfile = default, bool? supportsHibernation = default, string publicNetworkAccess = default, double? completionPercent = default, string dataAccessAuthMode = default);
new Microsoft.Azure.Management.Compute.Models.Snapshot : string * Microsoft.Azure.Management.Compute.Models.CreationData * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Management.Compute.Models.SnapshotSku * Microsoft.Azure.Management.Compute.Models.ExtendedLocation * Nullable<DateTime> * Nullable<Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes> * string * Microsoft.Azure.Management.Compute.Models.PurchasePlan * Microsoft.Azure.Management.Compute.Models.SupportedCapabilities * Nullable<int> * Nullable<int64> * string * string * Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection * string * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.Encryption * string * string * Microsoft.Azure.Management.Compute.Models.DiskSecurityProfile * Nullable<bool> * string * Nullable<double> * string -> Microsoft.Azure.Management.Compute.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 extendedLocation As ExtendedLocation = Nothing, Optional timeCreated As Nullable(Of DateTime) = Nothing, Optional osType As Nullable(Of OperatingSystemTypes) = Nothing, Optional hyperVGeneration As String = Nothing, Optional purchasePlan As PurchasePlan = Nothing, Optional supportedCapabilities As SupportedCapabilities = Nothing, Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional diskSizeBytes As Nullable(Of Long) = Nothing, Optional diskState As String = 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 String = Nothing, Optional diskAccessId As String = Nothing, Optional securityProfile As DiskSecurityProfile = Nothing, Optional supportsHibernation As Nullable(Of Boolean) = Nothing, Optional publicNetworkAccess As String = Nothing, Optional completionPercent As Nullable(Of Double) = Nothing, Optional dataAccessAuthMode As String = Nothing)

Parameters

location
String

Resource location

creationData
CreationData

Disk source information. CreationData information cannot be changed after the disk has been created.

id
String

Resource Id

name
String

Resource name

type
String

Resource type

tags
IDictionary<String,String>

Resource tags

managedBy
String

Unused. Always Null.

extendedLocation
ExtendedLocation

The extended location where the snapshot will be created. Extended location cannot be changed.

timeCreated
Nullable<DateTime>

The time when the snapshot was created.

osType
Nullable<OperatingSystemTypes>

The Operating System type. Possible values include: 'Windows', 'Linux'

hyperVGeneration
String

The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2'

purchasePlan
PurchasePlan

Purchase plan information for the image from which the source disk for the snapshot was originally created.

supportedCapabilities
SupportedCapabilities

List of supported capabilities for the image from which the source disk from the snapshot was originally created.

diskSizeGB
Nullable<Int32>

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.

diskSizeBytes
Nullable<Int64>

The size of the disk in bytes. This field is read only.

diskState
String

The state of the snapshot. Possible values include: 'Unattached', 'Attached', 'Reserved', 'Frozen', 'ActiveSAS', 'ActiveSASFrozen', '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.

incremental
Nullable<Boolean>

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
String

Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll'

diskAccessId
String

ARM id of the DiskAccess resource for using private endpoints on disks.

securityProfile
DiskSecurityProfile

Contains the security related information for the resource.

supportsHibernation
Nullable<Boolean>

Indicates the OS on a snapshot supports hibernation.

publicNetworkAccess
String

Possible values include: 'Enabled', 'Disabled'

completionPercent
Nullable<Double>

Percentage complete for the background copy when a resource is created via the CopyStart operation.

dataAccessAuthMode
String

Possible values include: 'AzureActiveDirectory', 'None'

Applies to

Snapshot(String, CreationData, String, String, String, IDictionary<String, String>, String, SnapshotSku, ExtendedLocation, Nullable<DateTime>, Nullable<OperatingSystemTypes>, String, PurchasePlan, SupportedCapabilities, Nullable<Int32>, Nullable<Int64>, String, String, EncryptionSettingsCollection, String, Nullable<Boolean>, Encryption, String, String, DiskSecurityProfile, Nullable<Boolean>, String, Nullable<Double>, CopyCompletionError, String)

Initializes a new instance of the Snapshot class.

public Snapshot (string location, Microsoft.Azure.Management.Compute.Models.CreationData creationData, string id, string name, string type, System.Collections.Generic.IDictionary<string,string> tags, string managedBy, Microsoft.Azure.Management.Compute.Models.SnapshotSku sku, Microsoft.Azure.Management.Compute.Models.ExtendedLocation extendedLocation, DateTime? timeCreated, Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes? osType, string hyperVGeneration, Microsoft.Azure.Management.Compute.Models.PurchasePlan purchasePlan, Microsoft.Azure.Management.Compute.Models.SupportedCapabilities supportedCapabilities, int? diskSizeGB, long? diskSizeBytes, string diskState, string uniqueId, Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection encryptionSettingsCollection, string provisioningState, bool? incremental, Microsoft.Azure.Management.Compute.Models.Encryption encryption, string networkAccessPolicy = default, string diskAccessId = default, Microsoft.Azure.Management.Compute.Models.DiskSecurityProfile securityProfile = default, bool? supportsHibernation = default, string publicNetworkAccess = default, double? completionPercent = default, Microsoft.Azure.Management.Compute.Models.CopyCompletionError copyCompletionError = default, string dataAccessAuthMode = default);
new Microsoft.Azure.Management.Compute.Models.Snapshot : string * Microsoft.Azure.Management.Compute.Models.CreationData * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Management.Compute.Models.SnapshotSku * Microsoft.Azure.Management.Compute.Models.ExtendedLocation * Nullable<DateTime> * Nullable<Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes> * string * Microsoft.Azure.Management.Compute.Models.PurchasePlan * Microsoft.Azure.Management.Compute.Models.SupportedCapabilities * Nullable<int> * Nullable<int64> * string * string * Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection * string * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.Encryption * string * string * Microsoft.Azure.Management.Compute.Models.DiskSecurityProfile * Nullable<bool> * string * Nullable<double> * Microsoft.Azure.Management.Compute.Models.CopyCompletionError * string -> Microsoft.Azure.Management.Compute.Models.Snapshot
Public Sub New (location As String, creationData As CreationData, id As String, name As String, type As String, tags As IDictionary(Of String, String), managedBy As String, sku As SnapshotSku, extendedLocation As ExtendedLocation, timeCreated As Nullable(Of DateTime), osType As Nullable(Of OperatingSystemTypes), hyperVGeneration As String, purchasePlan As PurchasePlan, supportedCapabilities As SupportedCapabilities, diskSizeGB As Nullable(Of Integer), diskSizeBytes As Nullable(Of Long), diskState As String, uniqueId As String, encryptionSettingsCollection As EncryptionSettingsCollection, provisioningState As String, incremental As Nullable(Of Boolean), encryption As Encryption, Optional networkAccessPolicy As String = Nothing, Optional diskAccessId As String = Nothing, Optional securityProfile As DiskSecurityProfile = Nothing, Optional supportsHibernation As Nullable(Of Boolean) = Nothing, Optional publicNetworkAccess As String = Nothing, Optional completionPercent As Nullable(Of Double) = Nothing, Optional copyCompletionError As CopyCompletionError = Nothing, Optional dataAccessAuthMode As String = Nothing)

Parameters

location
String

Resource location

creationData
CreationData

Disk source information. CreationData information cannot be changed after the disk has been created.

id
String

Resource Id

name
String

Resource name

type
String

Resource type

tags
IDictionary<String,String>

Resource tags

managedBy
String

Unused. Always Null.

extendedLocation
ExtendedLocation

The extended location where the snapshot will be created. Extended location cannot be changed.

timeCreated
Nullable<DateTime>

The time when the snapshot was created.

osType
Nullable<OperatingSystemTypes>

The Operating System type. Possible values include: 'Windows', 'Linux'

hyperVGeneration
String

The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2'

purchasePlan
PurchasePlan

Purchase plan information for the image from which the source disk for the snapshot was originally created.

supportedCapabilities
SupportedCapabilities

List of supported capabilities for the image from which the source disk from the snapshot was originally created.

diskSizeGB
Nullable<Int32>

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.

diskSizeBytes
Nullable<Int64>

The size of the disk in bytes. This field is read only.

diskState
String

The state of the snapshot. Possible values include: 'Unattached', 'Attached', 'Reserved', 'Frozen', 'ActiveSAS', 'ActiveSASFrozen', '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.

incremental
Nullable<Boolean>

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
String

Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll'

diskAccessId
String

ARM id of the DiskAccess resource for using private endpoints on disks.

securityProfile
DiskSecurityProfile

Contains the security related information for the resource.

supportsHibernation
Nullable<Boolean>

Indicates the OS on a snapshot supports hibernation.

publicNetworkAccess
String

Possible values include: 'Enabled', 'Disabled'

completionPercent
Nullable<Double>

Percentage complete for the background copy when a resource is created via the CopyStart operation.

copyCompletionError
CopyCompletionError

Indicates the error details if the background copy of a resource created via the CopyStart operation fails.

dataAccessAuthMode
String

Possible values include: 'AzureActiveDirectory', 'None'

Applies to

Snapshot(String, CreationData, String, String, String, IDictionary<String, String>, String, SnapshotSku, ExtendedLocation, Nullable<DateTime>, Nullable<OperatingSystemTypes>, String, PurchasePlan, SupportedCapabilities, Nullable<Int32>, Nullable<Int64>, String, String, EncryptionSettingsCollection, String, Nullable<Boolean>, String, Encryption, String, String, DiskSecurityProfile, Nullable<Boolean>, String, Nullable<Double>, CopyCompletionError, String)

Initializes a new instance of the Snapshot class.

public Snapshot (string location, Microsoft.Azure.Management.Compute.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.Models.SnapshotSku sku = default, Microsoft.Azure.Management.Compute.Models.ExtendedLocation extendedLocation = default, DateTime? timeCreated = default, Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes? osType = default, string hyperVGeneration = default, Microsoft.Azure.Management.Compute.Models.PurchasePlan purchasePlan = default, Microsoft.Azure.Management.Compute.Models.SupportedCapabilities supportedCapabilities = default, int? diskSizeGB = default, long? diskSizeBytes = default, string diskState = default, string uniqueId = default, Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection encryptionSettingsCollection = default, string provisioningState = default, bool? incremental = default, string incrementalSnapshotFamilyId = default, Microsoft.Azure.Management.Compute.Models.Encryption encryption = default, string networkAccessPolicy = default, string diskAccessId = default, Microsoft.Azure.Management.Compute.Models.DiskSecurityProfile securityProfile = default, bool? supportsHibernation = default, string publicNetworkAccess = default, double? completionPercent = default, Microsoft.Azure.Management.Compute.Models.CopyCompletionError copyCompletionError = default, string dataAccessAuthMode = default);
new Microsoft.Azure.Management.Compute.Models.Snapshot : string * Microsoft.Azure.Management.Compute.Models.CreationData * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Management.Compute.Models.SnapshotSku * Microsoft.Azure.Management.Compute.Models.ExtendedLocation * Nullable<DateTime> * Nullable<Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes> * string * Microsoft.Azure.Management.Compute.Models.PurchasePlan * Microsoft.Azure.Management.Compute.Models.SupportedCapabilities * Nullable<int> * Nullable<int64> * string * string * Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection * string * Nullable<bool> * string * Microsoft.Azure.Management.Compute.Models.Encryption * string * string * Microsoft.Azure.Management.Compute.Models.DiskSecurityProfile * Nullable<bool> * string * Nullable<double> * Microsoft.Azure.Management.Compute.Models.CopyCompletionError * string -> Microsoft.Azure.Management.Compute.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 extendedLocation As ExtendedLocation = Nothing, Optional timeCreated As Nullable(Of DateTime) = Nothing, Optional osType As Nullable(Of OperatingSystemTypes) = Nothing, Optional hyperVGeneration As String = Nothing, Optional purchasePlan As PurchasePlan = Nothing, Optional supportedCapabilities As SupportedCapabilities = Nothing, Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional diskSizeBytes As Nullable(Of Long) = Nothing, Optional diskState As String = Nothing, Optional uniqueId As String = Nothing, Optional encryptionSettingsCollection As EncryptionSettingsCollection = Nothing, Optional provisioningState As String = Nothing, Optional incremental As Nullable(Of Boolean) = Nothing, Optional incrementalSnapshotFamilyId As String = Nothing, Optional encryption As Encryption = Nothing, Optional networkAccessPolicy As String = Nothing, Optional diskAccessId As String = Nothing, Optional securityProfile As DiskSecurityProfile = Nothing, Optional supportsHibernation As Nullable(Of Boolean) = Nothing, Optional publicNetworkAccess As String = Nothing, Optional completionPercent As Nullable(Of Double) = Nothing, Optional copyCompletionError As CopyCompletionError = Nothing, Optional dataAccessAuthMode As String = Nothing)

Parameters

location
String

Resource location

creationData
CreationData

Disk source information. CreationData information cannot be changed after the disk has been created.

id
String

Resource Id

name
String

Resource name

type
String

Resource type

tags
IDictionary<String,String>

Resource tags

managedBy
String

Unused. Always Null.

extendedLocation
ExtendedLocation

The extended location where the snapshot will be created. Extended location cannot be changed.

timeCreated
Nullable<DateTime>

The time when the snapshot was created.

osType
Nullable<OperatingSystemTypes>

The Operating System type. Possible values include: 'Windows', 'Linux'

hyperVGeneration
String

The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2'

purchasePlan
PurchasePlan

Purchase plan information for the image from which the source disk for the snapshot was originally created.

supportedCapabilities
SupportedCapabilities

List of supported capabilities for the image from which the source disk from the snapshot was originally created.

diskSizeGB
Nullable<Int32>

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.

diskSizeBytes
Nullable<Int64>

The size of the disk in bytes. This field is read only.

diskState
String

The state of the snapshot. Possible values include: 'Unattached', 'Attached', 'Reserved', 'Frozen', 'ActiveSAS', 'ActiveSASFrozen', '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.

incremental
Nullable<Boolean>

Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.

incrementalSnapshotFamilyId
String

Incremental snapshots for a disk share an incremental snapshot family id. The Get Page Range Diff API can only be called on incremental snapshots with the same family id.

encryption
Encryption

Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.

networkAccessPolicy
String

Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll'

diskAccessId
String

ARM id of the DiskAccess resource for using private endpoints on disks.

securityProfile
DiskSecurityProfile

Contains the security related information for the resource.

supportsHibernation
Nullable<Boolean>

Indicates the OS on a snapshot supports hibernation.

publicNetworkAccess
String

Possible values include: 'Enabled', 'Disabled'

completionPercent
Nullable<Double>

Percentage complete for the background copy when a resource is created via the CopyStart operation.

copyCompletionError
CopyCompletionError

Indicates the error details if the background copy of a resource created via the CopyStart operation fails.

dataAccessAuthMode
String

Possible values include: 'AzureActiveDirectory', 'None'

Applies to