DiskEncryptionSettings Constructors
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.
Overloads
DiskEncryptionSettings() |
Initializes a new instance of the DiskEncryptionSettings class. |
DiskEncryptionSettings(KeyVaultSecretReference, KeyVaultKeyReference, Nullable<Boolean>) |
Initializes a new instance of the DiskEncryptionSettings class. |
DiskEncryptionSettings()
Initializes a new instance of the DiskEncryptionSettings class.
public DiskEncryptionSettings ();
Public Sub New ()
Applies to
DiskEncryptionSettings(KeyVaultSecretReference, KeyVaultKeyReference, Nullable<Boolean>)
Initializes a new instance of the DiskEncryptionSettings class.
public DiskEncryptionSettings (Microsoft.Azure.Management.Compute.Models.KeyVaultSecretReference diskEncryptionKey = default, Microsoft.Azure.Management.Compute.Models.KeyVaultKeyReference keyEncryptionKey = default, bool? enabled = default);
new Microsoft.Azure.Management.Compute.Models.DiskEncryptionSettings : Microsoft.Azure.Management.Compute.Models.KeyVaultSecretReference * Microsoft.Azure.Management.Compute.Models.KeyVaultKeyReference * Nullable<bool> -> Microsoft.Azure.Management.Compute.Models.DiskEncryptionSettings
Public Sub New (Optional diskEncryptionKey As KeyVaultSecretReference = Nothing, Optional keyEncryptionKey As KeyVaultKeyReference = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing)
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.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for