SnapshotUpdate Constructors

Definition

Overloads

SnapshotUpdate()

Initializes a new instance of the SnapshotUpdate class.

SnapshotUpdate(Nullable<OperatingSystemTypes>, Nullable<Int32>, EncryptionSettingsCollection, Encryption, String, String)

Initializes a new instance of the SnapshotUpdate class.

SnapshotUpdate(Nullable<OperatingSystemTypes>, Nullable<Int32>, EncryptionSettingsCollection, Encryption, String, String, IDictionary<String,String>)
SnapshotUpdate(Nullable<OperatingSystemTypes>, Nullable<Int32>, EncryptionSettingsCollection, Encryption, String, String, IDictionary<String, String>, SnapshotSku)

Initializes a new instance of the SnapshotUpdate class.

SnapshotUpdate(Nullable<OperatingSystemTypes>, Nullable<Int32>, EncryptionSettingsCollection, Encryption, String, String, Nullable<Boolean>, IDictionary<String,String>, SnapshotSku)

Initializes a new instance of the SnapshotUpdate class.

SnapshotUpdate(Nullable<OperatingSystemTypes>, Nullable<Int32>, EncryptionSettingsCollection, Encryption, String, String, Nullable<Boolean>, String, SupportedCapabilities, IDictionary<String,String>, SnapshotSku)

Initializes a new instance of the SnapshotUpdate class.

SnapshotUpdate(Nullable<OperatingSystemTypes>, Nullable<Int32>, EncryptionSettingsCollection, Encryption, String, String, Nullable<Boolean>, String, String, SupportedCapabilities, IDictionary<String,String>, SnapshotSku)

Initializes a new instance of the SnapshotUpdate class.

SnapshotUpdate()

Initializes a new instance of the SnapshotUpdate class.

public SnapshotUpdate ();
Public Sub New ()

Applies to

SnapshotUpdate(Nullable<OperatingSystemTypes>, Nullable<Int32>, EncryptionSettingsCollection, Encryption, String, String)

Initializes a new instance of the SnapshotUpdate class.

public SnapshotUpdate (Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes? osType, int? diskSizeGB, Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection encryptionSettingsCollection, Microsoft.Azure.Management.Compute.Models.Encryption encryption, string networkAccessPolicy, string diskAccessId);
new Microsoft.Azure.Management.Compute.Models.SnapshotUpdate : Nullable<Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes> * Nullable<int> * Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection * Microsoft.Azure.Management.Compute.Models.Encryption * string * string -> Microsoft.Azure.Management.Compute.Models.SnapshotUpdate
Public Sub New (osType As Nullable(Of OperatingSystemTypes), diskSizeGB As Nullable(Of Integer), encryptionSettingsCollection As EncryptionSettingsCollection, encryption As Encryption, networkAccessPolicy As String, diskAccessId As String)

Parameters

osType
Nullable<OperatingSystemTypes>

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

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.

encryptionSettingsCollection
EncryptionSettingsCollection

Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.

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.

Applies to

SnapshotUpdate(Nullable<OperatingSystemTypes>, Nullable<Int32>, EncryptionSettingsCollection, Encryption, String, String, IDictionary<String,String>)

public SnapshotUpdate (Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes? osType, int? diskSizeGB, Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection encryptionSettingsCollection, Microsoft.Azure.Management.Compute.Models.Encryption encryption, string networkAccessPolicy, string diskAccessId, System.Collections.Generic.IDictionary<string,string> tags);
new Microsoft.Azure.Management.Compute.Models.SnapshotUpdate : Nullable<Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes> * Nullable<int> * Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection * Microsoft.Azure.Management.Compute.Models.Encryption * string * string * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.Compute.Models.SnapshotUpdate
Public Sub New (osType As Nullable(Of OperatingSystemTypes), diskSizeGB As Nullable(Of Integer), encryptionSettingsCollection As EncryptionSettingsCollection, encryption As Encryption, networkAccessPolicy As String, diskAccessId As String, tags As IDictionary(Of String, String))

Parameters

diskSizeGB
Nullable<Int32>
encryptionSettingsCollection
EncryptionSettingsCollection
encryption
Encryption
networkAccessPolicy
String
diskAccessId
String

Applies to

SnapshotUpdate(Nullable<OperatingSystemTypes>, Nullable<Int32>, EncryptionSettingsCollection, Encryption, String, String, IDictionary<String, String>, SnapshotSku)

Initializes a new instance of the SnapshotUpdate class.

public SnapshotUpdate (Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes? osType, int? diskSizeGB, Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection encryptionSettingsCollection, Microsoft.Azure.Management.Compute.Models.Encryption encryption, string networkAccessPolicy, string diskAccessId, System.Collections.Generic.IDictionary<string,string> tags, Microsoft.Azure.Management.Compute.Models.SnapshotSku sku);
new Microsoft.Azure.Management.Compute.Models.SnapshotUpdate : Nullable<Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes> * Nullable<int> * Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection * Microsoft.Azure.Management.Compute.Models.Encryption * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.SnapshotSku -> Microsoft.Azure.Management.Compute.Models.SnapshotUpdate
Public Sub New (osType As Nullable(Of OperatingSystemTypes), diskSizeGB As Nullable(Of Integer), encryptionSettingsCollection As EncryptionSettingsCollection, encryption As Encryption, networkAccessPolicy As String, diskAccessId As String, tags As IDictionary(Of String, String), sku As SnapshotSku)

Parameters

osType
Nullable<OperatingSystemTypes>

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

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.

encryptionSettingsCollection
EncryptionSettingsCollection

Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.

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.

tags
IDictionary<String,String>

Resource tags

Applies to

SnapshotUpdate(Nullable<OperatingSystemTypes>, Nullable<Int32>, EncryptionSettingsCollection, Encryption, String, String, Nullable<Boolean>, IDictionary<String,String>, SnapshotSku)

Initializes a new instance of the SnapshotUpdate class.

public SnapshotUpdate (Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes? osType, int? diskSizeGB, Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection encryptionSettingsCollection, Microsoft.Azure.Management.Compute.Models.Encryption encryption, string networkAccessPolicy, string diskAccessId, bool? supportsHibernation, System.Collections.Generic.IDictionary<string,string> tags, Microsoft.Azure.Management.Compute.Models.SnapshotSku sku = default);
new Microsoft.Azure.Management.Compute.Models.SnapshotUpdate : Nullable<Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes> * Nullable<int> * Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection * Microsoft.Azure.Management.Compute.Models.Encryption * string * string * Nullable<bool> * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.SnapshotSku -> Microsoft.Azure.Management.Compute.Models.SnapshotUpdate
Public Sub New (osType As Nullable(Of OperatingSystemTypes), diskSizeGB As Nullable(Of Integer), encryptionSettingsCollection As EncryptionSettingsCollection, encryption As Encryption, networkAccessPolicy As String, diskAccessId As String, supportsHibernation As Nullable(Of Boolean), tags As IDictionary(Of String, String), Optional sku As SnapshotSku = Nothing)

Parameters

osType
Nullable<OperatingSystemTypes>

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

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.

encryptionSettingsCollection
EncryptionSettingsCollection

Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.

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.

tags
IDictionary<String,String>

Resource tags

Applies to

SnapshotUpdate(Nullable<OperatingSystemTypes>, Nullable<Int32>, EncryptionSettingsCollection, Encryption, String, String, Nullable<Boolean>, String, SupportedCapabilities, IDictionary<String,String>, SnapshotSku)

Initializes a new instance of the SnapshotUpdate class.

public SnapshotUpdate (Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes? osType, int? diskSizeGB, Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection encryptionSettingsCollection, Microsoft.Azure.Management.Compute.Models.Encryption encryption, string networkAccessPolicy, string diskAccessId, bool? supportsHibernation, string publicNetworkAccess, Microsoft.Azure.Management.Compute.Models.SupportedCapabilities supportedCapabilities, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Compute.Models.SnapshotSku sku = default);
new Microsoft.Azure.Management.Compute.Models.SnapshotUpdate : Nullable<Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes> * Nullable<int> * Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection * Microsoft.Azure.Management.Compute.Models.Encryption * string * string * Nullable<bool> * string * Microsoft.Azure.Management.Compute.Models.SupportedCapabilities * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.SnapshotSku -> Microsoft.Azure.Management.Compute.Models.SnapshotUpdate
Public Sub New (osType As Nullable(Of OperatingSystemTypes), diskSizeGB As Nullable(Of Integer), encryptionSettingsCollection As EncryptionSettingsCollection, encryption As Encryption, networkAccessPolicy As String, diskAccessId As String, supportsHibernation As Nullable(Of Boolean), publicNetworkAccess As String, supportedCapabilities As SupportedCapabilities, Optional tags As IDictionary(Of String, String) = Nothing, Optional sku As SnapshotSku = Nothing)

Parameters

osType
Nullable<OperatingSystemTypes>

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

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.

encryptionSettingsCollection
EncryptionSettingsCollection

Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.

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.

publicNetworkAccess
String

Possible values include: 'Enabled', 'Disabled'

supportedCapabilities
SupportedCapabilities

List of supported capabilities (like accelerated networking) for the image from which the OS disk was created.

tags
IDictionary<String,String>

Resource tags

Applies to

SnapshotUpdate(Nullable<OperatingSystemTypes>, Nullable<Int32>, EncryptionSettingsCollection, Encryption, String, String, Nullable<Boolean>, String, String, SupportedCapabilities, IDictionary<String,String>, SnapshotSku)

Initializes a new instance of the SnapshotUpdate class.

public SnapshotUpdate (Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes? osType = default, int? diskSizeGB = default, Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection encryptionSettingsCollection = default, Microsoft.Azure.Management.Compute.Models.Encryption encryption = default, string networkAccessPolicy = default, string diskAccessId = default, bool? supportsHibernation = default, string publicNetworkAccess = default, string dataAccessAuthMode = default, Microsoft.Azure.Management.Compute.Models.SupportedCapabilities supportedCapabilities = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Compute.Models.SnapshotSku sku = default);
new Microsoft.Azure.Management.Compute.Models.SnapshotUpdate : Nullable<Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes> * Nullable<int> * Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection * Microsoft.Azure.Management.Compute.Models.Encryption * string * string * Nullable<bool> * string * string * Microsoft.Azure.Management.Compute.Models.SupportedCapabilities * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.SnapshotSku -> Microsoft.Azure.Management.Compute.Models.SnapshotUpdate
Public Sub New (Optional osType As Nullable(Of OperatingSystemTypes) = Nothing, Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional encryptionSettingsCollection As EncryptionSettingsCollection = Nothing, Optional encryption As Encryption = Nothing, Optional networkAccessPolicy As String = Nothing, Optional diskAccessId As String = Nothing, Optional supportsHibernation As Nullable(Of Boolean) = Nothing, Optional publicNetworkAccess As String = Nothing, Optional dataAccessAuthMode As String = Nothing, Optional supportedCapabilities As SupportedCapabilities = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional sku As SnapshotSku = Nothing)

Parameters

osType
Nullable<OperatingSystemTypes>

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

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.

encryptionSettingsCollection
EncryptionSettingsCollection

Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.

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.

publicNetworkAccess
String

Possible values include: 'Enabled', 'Disabled'

dataAccessAuthMode
String

Possible values include: 'AzureActiveDirectory', 'None'

supportedCapabilities
SupportedCapabilities

List of supported capabilities for the image from which the OS disk was created.

tags
IDictionary<String,String>

Resource tags

Applies to