Show / Hide Table of Contents

    Class DiskEncryptionSettings

    Describes a Encryption Settings for a Disk

    Inheritance
    Object
    DiskEncryptionSettings
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Compute.dll
    Syntax
    public class DiskEncryptionSettings

    Constructors

    DiskEncryptionSettings()

    Initializes a new instance of the DiskEncryptionSettings class.

    Declaration
    public DiskEncryptionSettings ();

    DiskEncryptionSettings(KeyVaultSecretReference, KeyVaultKeyReference, Nullable<Boolean>)

    Initializes a new instance of the DiskEncryptionSettings class.

    Declaration
    public DiskEncryptionSettings (Microsoft.Azure.Management.Compute.Models.KeyVaultSecretReference diskEncryptionKey = null, Microsoft.Azure.Management.Compute.Models.KeyVaultKeyReference keyEncryptionKey = null, Nullable<bool> enabled = null);
    Parameters
    KeyVaultSecretReference diskEncryptionKey

    Specifies the location of the disk encryption key, which is a Key Vault Secret.

    KeyVaultKeyReference keyEncryptionKey

    Specifies the location of the key encryption key in Key Vault.

    Nullable<Boolean> enabled

    Specifies whether disk encryption should be enabled on the virtual machine.

    Properties

    DiskEncryptionKey

    Gets or sets specifies the location of the disk encryption key, which is a Key Vault Secret.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="diskEncryptionKey")]
    public Microsoft.Azure.Management.Compute.Models.KeyVaultSecretReference DiskEncryptionKey { get; set; }
    Property Value
    KeyVaultSecretReference

    Enabled

    Gets or sets specifies whether disk encryption should be enabled on the virtual machine.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="enabled")]
    public Nullable<bool> Enabled { get; set; }
    Property Value
    Nullable<Boolean>

    KeyEncryptionKey

    Gets or sets specifies the location of the key encryption key in Key Vault.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="keyEncryptionKey")]
    public Microsoft.Azure.Management.Compute.Models.KeyVaultKeyReference KeyEncryptionKey { get; set; }
    Property Value
    KeyVaultKeyReference

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net