ArmComputeModelFactory.DiskEncryption 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.DiskEncryption DiskEncryption(Azure.Core.ResourceIdentifier diskEncryptionSetId = default, Azure.ResourceManager.Compute.Models.ComputeEncryptionType? encryptionType = default);
static member DiskEncryption : Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Compute.Models.ComputeEncryptionType> -> Azure.ResourceManager.Compute.Models.DiskEncryption
Public Shared Function DiskEncryption (Optional diskEncryptionSetId As ResourceIdentifier = Nothing, Optional encryptionType As Nullable(Of ComputeEncryptionType) = Nothing) As DiskEncryption
Parameters
- diskEncryptionSetId
- ResourceIdentifier
ResourceId of the disk encryption set to use for enabling encryption at rest.
- encryptionType
- Nullable<ComputeEncryptionType>
The type of key used to encrypt the data of the disk.
Returns
A new DiskEncryption instance for mocking.