ArmComputeFleetModelFactory.ComputeFleetSecurityProfile Method

Definition

public static Azure.ResourceManager.ComputeFleet.Models.ComputeFleetSecurityProfile ComputeFleetSecurityProfile(Azure.ResourceManager.ComputeFleet.Models.ComputeFleetUefiSettings uefiSettings = default, bool? isEncryptionAtHostEnabled = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetSecurityType? securityType = default, Azure.Core.ResourceIdentifier userAssignedIdentityResourceId = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetProxyAgentSettings proxyAgentSettings = default);
static member ComputeFleetSecurityProfile : Azure.ResourceManager.ComputeFleet.Models.ComputeFleetUefiSettings * Nullable<bool> * Nullable<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetSecurityType> * Azure.Core.ResourceIdentifier * Azure.ResourceManager.ComputeFleet.Models.ComputeFleetProxyAgentSettings -> Azure.ResourceManager.ComputeFleet.Models.ComputeFleetSecurityProfile
Public Shared Function ComputeFleetSecurityProfile (Optional uefiSettings As ComputeFleetUefiSettings = Nothing, Optional isEncryptionAtHostEnabled As Nullable(Of Boolean) = Nothing, Optional securityType As Nullable(Of ComputeFleetSecurityType) = Nothing, Optional userAssignedIdentityResourceId As ResourceIdentifier = Nothing, Optional proxyAgentSettings As ComputeFleetProxyAgentSettings = Nothing) As ComputeFleetSecurityProfile

Parameters

uefiSettings
ComputeFleetUefiSettings

Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.

isEncryptionAtHostEnabled
Nullable<Boolean>

This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. The default behavior is: The Encryption at host will be disabled unless this property is set to true for the resource.

securityType
Nullable<ComputeFleetSecurityType>

Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set.

userAssignedIdentityResourceId
ResourceIdentifier

Specifies ARM Resource ID of one of the user identities associated with the VM.

proxyAgentSettings
ComputeFleetProxyAgentSettings

Specifies ProxyAgent settings while creating the virtual machine. Minimum api-version: 2023-09-01.

Returns

A new ComputeFleetSecurityProfile instance for mocking.

Applies to