Condividi tramite


SecurityProfile Constructors

Definition

Overloads

SecurityProfile()

Initializes a new instance of the SecurityProfile class.

SecurityProfile(UefiSettings, Nullable<Boolean>, String)

Initializes a new instance of the SecurityProfile class.

SecurityProfile()

Initializes a new instance of the SecurityProfile class.

public SecurityProfile ();
Public Sub New ()

Applies to

SecurityProfile(UefiSettings, Nullable<Boolean>, String)

Initializes a new instance of the SecurityProfile class.

public SecurityProfile (Microsoft.Azure.Management.Compute.Models.UefiSettings uefiSettings = default, bool? encryptionAtHost = default, string securityType = default);
new Microsoft.Azure.Management.Compute.Models.SecurityProfile : Microsoft.Azure.Management.Compute.Models.UefiSettings * Nullable<bool> * string -> Microsoft.Azure.Management.Compute.Models.SecurityProfile
Public Sub New (Optional uefiSettings As UefiSettings = Nothing, Optional encryptionAtHost As Nullable(Of Boolean) = Nothing, Optional securityType As String = Nothing)

Parameters

uefiSettings
UefiSettings

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

encryptionAtHost
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
String

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. Possible values include: 'TrustedLaunch', 'ConfidentialVM'

Applies to