Class UefiSettings
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.UefiSettings
-
public final class UefiSettings extends Object
Specifies the security settings like secure boot and vTPM used while creating the virtual machine. <br><br>Minimum api-version: 2020-12-01.
-
-
Constructor Summary
Constructors Constructor Description UefiSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleansecureBootEnabled()Get the secureBootEnabled property: Specifies whether secure boot should be enabled on the virtual machine.voidvalidate()Validates the instance.BooleanvTpmEnabled()Get the vTpmEnabled property: Specifies whether vTPM should be enabled on the virtual machine.UefiSettingswithSecureBootEnabled(Boolean secureBootEnabled)Set the secureBootEnabled property: Specifies whether secure boot should be enabled on the virtual machine.UefiSettingswithVTpmEnabled(Boolean vTpmEnabled)Set the vTpmEnabled property: Specifies whether vTPM should be enabled on the virtual machine.
-
-
-
Method Detail
-
secureBootEnabled
public Boolean secureBootEnabled()
Get the secureBootEnabled property: Specifies whether secure boot should be enabled on the virtual machine. <br><br>Minimum api-version: 2020-12-01.- Returns:
- the secureBootEnabled value.
-
withSecureBootEnabled
public UefiSettings withSecureBootEnabled(Boolean secureBootEnabled)
Set the secureBootEnabled property: Specifies whether secure boot should be enabled on the virtual machine. <br><br>Minimum api-version: 2020-12-01.- Parameters:
secureBootEnabled- the secureBootEnabled value to set.- Returns:
- the UefiSettings object itself.
-
vTpmEnabled
public Boolean vTpmEnabled()
Get the vTpmEnabled property: Specifies whether vTPM should be enabled on the virtual machine. <br><br>Minimum api-version: 2020-12-01.- Returns:
- the vTpmEnabled value.
-
withVTpmEnabled
public UefiSettings withVTpmEnabled(Boolean vTpmEnabled)
Set the vTpmEnabled property: Specifies whether vTPM should be enabled on the virtual machine. <br><br>Minimum api-version: 2020-12-01.- Parameters:
vTpmEnabled- the vTpmEnabled value to set.- Returns:
- the UefiSettings object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-