Compartir a través de


DataDiskImageEncryption Class

Definition

Contains encryption settings for a data disk image.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.DataDiskImageEncryptionTypeConverter))]
public class DataDiskImageEncryption : Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IDataDiskImageEncryption, Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.DataDiskImageEncryptionTypeConverter))>]
type DataDiskImageEncryption = class
    interface IDataDiskImageEncryption
    interface IJsonSerializable
    interface IDiskImageEncryption
    interface IValidates
Public Class DataDiskImageEncryption
Implements IDataDiskImageEncryption, IValidates
Inheritance
DataDiskImageEncryption
Attributes
Implements

Constructors

DataDiskImageEncryption()

Creates an new DataDiskImageEncryption instance.

Properties

DiskEncryptionSetId

A relative URI containing the resource ID of the disk encryption set.

Lun

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DataDiskImageEncryption.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DataDiskImageEncryption.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IDataDiskImageEncryption.

FromJsonString(String)

Creates a new instance of DataDiskImageEncryption, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DataDiskImageEncryption into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to