你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SecurityProfile Class

Specifies the Security profile settings for the virtual machine or virtual machine scale set.

Constructor

SecurityProfile(*, uefi_settings: _models.UefiSettings | None = None, encryption_at_host: bool | None = None, security_type: str | _models.SecurityTypes | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
uefi_settings

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

encryption_at_host

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. <br>``<br> Default: The Encryption at host will be disabled unless this property is set to true for the resource.

security_type

Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings. <br>``<br> Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch. "TrustedLaunch"

Variables

Name Description
uefi_settings

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

encryption_at_host

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. <br>``<br> Default: The Encryption at host will be disabled unless this property is set to true for the resource.

security_type

Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings. <br>``<br> Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch. "TrustedLaunch"