Freigeben über


SecurityProfile(Boolean, SecurityTypes, UefiSettings) Constructor

Definition

Initializes a new instance of SecurityProfile.

public SecurityProfile (bool encryptionAtHost, Azure.Compute.Batch.SecurityTypes securityType, Azure.Compute.Batch.UefiSettings uefiSettings);
new Azure.Compute.Batch.SecurityProfile : bool * Azure.Compute.Batch.SecurityTypes * Azure.Compute.Batch.UefiSettings -> Azure.Compute.Batch.SecurityProfile
Public Sub New (encryptionAtHost As Boolean, securityType As SecurityTypes, uefiSettings As UefiSettings)

Parameters

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

securityType
SecurityTypes

Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings.

uefiSettings
UefiSettings

Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Specifies the security settings like secure boot and vTPM used while creating the virtual machine.

Exceptions

uefiSettings is null.

Applies to