SnapshotUpdate Constructors

Definition

Overloads

SnapshotUpdate()

Initializes a new instance of the SnapshotUpdate class.

SnapshotUpdate(Nullable<OperatingSystemTypes>, Nullable<Int32>, EncryptionSettingsCollection, Encryption, NetworkAccessPolicy, String, 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, NetworkAccessPolicy, String, IDictionary<String,String>, SnapshotSku)

Initializes a new instance of the SnapshotUpdate class.

public SnapshotUpdate (Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemTypes? osType = default, int? diskSizeGB = default, Microsoft.Azure.Management.Compute.Fluent.Models.EncryptionSettingsCollection encryptionSettingsCollection = default, Microsoft.Azure.Management.Compute.Fluent.Models.Encryption encryption = default, Microsoft.Azure.Management.Compute.Fluent.Models.NetworkAccessPolicy networkAccessPolicy = default, string diskAccessId = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Compute.Fluent.Models.SnapshotSku sku = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.SnapshotUpdate : Nullable<Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemTypes> * Nullable<int> * Microsoft.Azure.Management.Compute.Fluent.Models.EncryptionSettingsCollection * Microsoft.Azure.Management.Compute.Fluent.Models.Encryption * Microsoft.Azure.Management.Compute.Fluent.Models.NetworkAccessPolicy * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Fluent.Models.SnapshotSku -> Microsoft.Azure.Management.Compute.Fluent.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 NetworkAccessPolicy = Nothing, Optional diskAccessId As String = 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
NetworkAccessPolicy

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