Freigeben über


SnapshotUpdate Konstruktoren

Definition

Überlädt

SnapshotUpdate()

Initialisiert eine neue instance der SnapshotUpdate-Klasse.

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

Initialisiert eine neue instance der SnapshotUpdate-Klasse.

SnapshotUpdate()

Initialisiert eine neue instance der SnapshotUpdate-Klasse.

public SnapshotUpdate();
Public Sub New ()

Gilt für:

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

Initialisiert eine neue instance der SnapshotUpdate-Klasse.

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)

Parameter

osType
Nullable<OperatingSystemTypes>

der Betriebssystemtyp. Mögliche Werte: "Windows", "Linux"

diskSizeGB
Nullable<Int32>

Wenn creationData.createOption leer ist, ist dieses Feld obligatorisch und gibt die Größe des zu erstellenden Datenträgers an. Wenn dieses Feld für Updates oder die Erstellung mit anderen Optionen vorhanden ist, gibt es eine Größenänderung an. Größenänderungen sind nur zulässig, wenn der Datenträger nicht an eine ausgeführte VM angefügt ist, und können die Größe des Datenträgers nur erhöhen.

encryptionSettingsCollection
EncryptionSettingsCollection

Die Sammlung der Verschlüsselungseinstellungen, die als Azure Disk Encryption verwendet wird, kann mehrere Verschlüsselungseinstellungen pro Datenträger oder Momentaufnahme enthalten.

encryption
Encryption

Die Verschlüsselungseigenschaft kann verwendet werden, um ruhende Daten mit kundenseitig verwalteten Schlüsseln oder plattformseitig verwalteten Schlüsseln zu verschlüsseln.

networkAccessPolicy
NetworkAccessPolicy

Mögliche Werte: "AllowAll", "AllowPrivate", "DenyAll"

diskAccessId
String

ARM-ID der DiskAccess-Ressource für die Verwendung privater Endpunkte auf Datenträgern.

tags
IDictionary<String,String>

Ressourcentags

Gilt für: