ArmComputeModelFactory.DiskEncryptionSettings 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.DiskEncryptionSettings DiskEncryptionSettings(Azure.ResourceManager.Compute.Models.KeyVaultSecretReference diskEncryptionKey = default, Azure.ResourceManager.Compute.Models.KeyVaultKeyReference keyEncryptionKey = default, bool? enabled = default);
static member DiskEncryptionSettings : Azure.ResourceManager.Compute.Models.KeyVaultSecretReference * Azure.ResourceManager.Compute.Models.KeyVaultKeyReference * Nullable<bool> -> Azure.ResourceManager.Compute.Models.DiskEncryptionSettings
Public Shared Function DiskEncryptionSettings (Optional diskEncryptionKey As KeyVaultSecretReference = Nothing, Optional keyEncryptionKey As KeyVaultKeyReference = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing) As DiskEncryptionSettings
Parameters
- diskEncryptionKey
- KeyVaultSecretReference
Specifies the location of the disk encryption key, which is a Key Vault Secret.
- keyEncryptionKey
- KeyVaultKeyReference
Specifies the location of the key encryption key in Key Vault.
Specifies whether disk encryption should be enabled on the virtual machine.
Returns
A new DiskEncryptionSettings instance for mocking.