ComputeBatchModelFactory.BatchVmDiskSecurityProfile 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.
Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and required when using Confidential VMs.
public static Azure.Compute.Batch.BatchVmDiskSecurityProfile BatchVmDiskSecurityProfile(Azure.Compute.Batch.SecurityEncryptionTypes? securityEncryptionType = default);
static member BatchVmDiskSecurityProfile : Nullable<Azure.Compute.Batch.SecurityEncryptionTypes> -> Azure.Compute.Batch.BatchVmDiskSecurityProfile
Public Shared Function BatchVmDiskSecurityProfile (Optional securityEncryptionType As Nullable(Of SecurityEncryptionTypes) = Nothing) As BatchVmDiskSecurityProfile
Parameters
- securityEncryptionType
- Nullable<SecurityEncryptionTypes>
Specifies the EncryptionType of the managed disk. It is set to VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob. Note: It can be set for only Confidential VMs and is required when using Confidential VMs.
Returns
A new BatchVmDiskSecurityProfile instance for mocking.