ArmComputeFleetModelFactory.ComputeFleetVmDiskSecurityProfile Method

Definition

public static Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmDiskSecurityProfile ComputeFleetVmDiskSecurityProfile(Azure.ResourceManager.ComputeFleet.Models.ComputeFleetSecurityEncryptionType? securityEncryptionType = default, Azure.Core.ResourceIdentifier diskEncryptionSetId = default);
static member ComputeFleetVmDiskSecurityProfile : Nullable<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetSecurityEncryptionType> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmDiskSecurityProfile
Public Shared Function ComputeFleetVmDiskSecurityProfile (Optional securityEncryptionType As Nullable(Of ComputeFleetSecurityEncryptionType) = Nothing, Optional diskEncryptionSetId As ResourceIdentifier = Nothing) As ComputeFleetVmDiskSecurityProfile

Parameters

securityEncryptionType
Nullable<ComputeFleetSecurityEncryptionType>

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
ResourceIdentifier

Resource Id.

Returns

A new ComputeFleetVmDiskSecurityProfile instance for mocking.

Applies to