ArmComputeModelFactory.EncryptionSettingsGroup Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.Compute.Models.EncryptionSettingsGroup EncryptionSettingsGroup(bool enabled = false, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.EncryptionSettingsElement> encryptionSettings = default, string encryptionSettingsVersion = default);
static member EncryptionSettingsGroup : bool * seq<Azure.ResourceManager.Compute.Models.EncryptionSettingsElement> * string -> Azure.ResourceManager.Compute.Models.EncryptionSettingsGroup
Public Shared Function EncryptionSettingsGroup (Optional enabled As Boolean = false, Optional encryptionSettings As IEnumerable(Of EncryptionSettingsElement) = Nothing, Optional encryptionSettingsVersion As String = Nothing) As EncryptionSettingsGroup
Parameters
- enabled
- Boolean
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.
- encryptionSettings
- IEnumerable<EncryptionSettingsElement>
A collection of encryption settings, one for each disk volume.
- encryptionSettingsVersion
- String
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.
Returns
A new EncryptionSettingsGroup instance for mocking.