ArmComputeBulkActionsModelFactory.VMDiskSecurityProfile 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.BulkActions.Models.VMDiskSecurityProfile VMDiskSecurityProfile(Azure.ResourceManager.Compute.BulkActions.Models.SecurityEncryptionTypes? securityEncryptionType = default, string diskEncryptionSetId = default);
static member VMDiskSecurityProfile : Nullable<Azure.ResourceManager.Compute.BulkActions.Models.SecurityEncryptionTypes> * string -> Azure.ResourceManager.Compute.BulkActions.Models.VMDiskSecurityProfile
Public Shared Function VMDiskSecurityProfile (Optional securityEncryptionType As Nullable(Of SecurityEncryptionTypes) = Nothing, Optional diskEncryptionSetId As String = Nothing) As VMDiskSecurityProfile
Parameters
- securityEncryptionType
- Nullable<SecurityEncryptionTypes>
Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, 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.
- diskEncryptionSetId
- String
The Azure resource ID.
Returns
A new VMDiskSecurityProfile instance for mocking.