Share via


EncryptionPreferences Class

Definition

Preferences related to the Encryption.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.EncryptionPreferencesTypeConverter))]
public class EncryptionPreferences : Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.IEncryptionPreferences
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.EncryptionPreferencesTypeConverter))>]
type EncryptionPreferences = class
    interface IEncryptionPreferences
    interface IJsonSerializable
Public Class EncryptionPreferences
Implements IEncryptionPreferences
Inheritance
EncryptionPreferences
Attributes
Implements

Constructors

EncryptionPreferences()

Creates an new EncryptionPreferences instance.

Properties

DoubleEncryption

Defines secondary layer of software-based encryption enablement.

HardwareEncryption

Defines Hardware level encryption (Only for disk)

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EncryptionPreferences.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EncryptionPreferences.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.IEncryptionPreferences.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EncryptionPreferences into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to