ArmComputeModelFactory.DiskSecurityProfile 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.DiskSecurityProfile DiskSecurityProfile(Azure.ResourceManager.Compute.Models.DiskSecurityType? securityType = default, Azure.Core.ResourceIdentifier secureVmDiskEncryptionSetId = default);
static member DiskSecurityProfile : Nullable<Azure.ResourceManager.Compute.Models.DiskSecurityType> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.Models.DiskSecurityProfile
Public Shared Function DiskSecurityProfile (Optional securityType As Nullable(Of DiskSecurityType) = Nothing, Optional secureVmDiskEncryptionSetId As ResourceIdentifier = Nothing) As DiskSecurityProfile
Parameters
- securityType
- Nullable<DiskSecurityType>
Specifies the SecurityType of the VM. Applicable for OS disks only.
- secureVmDiskEncryptionSetId
- ResourceIdentifier
ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key.
Returns
A new DiskSecurityProfile instance for mocking.