Show / Hide Table of Contents

    Class EncryptionSettingsCollection

    Encryption settings for disk or snapshot

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

    Constructors

    EncryptionSettingsCollection()

    Initializes a new instance of the EncryptionSettingsCollection class.

    Declaration
    public EncryptionSettingsCollection ();

    EncryptionSettingsCollection(Boolean, IList<EncryptionSettingsElement>, String)

    Initializes a new instance of the EncryptionSettingsCollection class.

    Declaration
    public EncryptionSettingsCollection (bool enabled, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.EncryptionSettingsElement> encryptionSettings = null, string encryptionSettingsVersion = null);
    Parameters
    Boolean enabled

    Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.

    IList<EncryptionSettingsElement> encryptionSettings

    A collection of encryption settings, one for each disk volume.

    String encryptionSettingsVersion

    Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.

    Properties

    Enabled

    Gets or sets set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.

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

    EncryptionSettings

    Gets or sets a collection of encryption settings, one for each disk volume.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="encryptionSettings")]
    public System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.EncryptionSettingsElement> EncryptionSettings { get; set; }
    Property Value
    IList<EncryptionSettingsElement>

    EncryptionSettingsVersion

    Gets or sets describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="encryptionSettingsVersion")]
    public string EncryptionSettingsVersion { get; set; }
    Property Value
    String

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net