Share via


OSDiskImageEncryption Class

Definition

Contains encryption settings for an OS disk image.

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

Constructors

OSDiskImageEncryption()

Creates an new OSDiskImageEncryption instance.

Properties

DiskEncryptionSetId

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

SecurityProfileConfidentialVMEncryptionType

confidential VM encryption types

SecurityProfileSecureVMDiskEncryptionSetId

secure VM disk encryption set id

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of OSDiskImageEncryption.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of OSDiskImageEncryption.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of OSDiskImageEncryption into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to