Class UefiSettings
java.lang.Object
com.azure.resourcemanager.batch.models.UefiSettings
Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the secureBootEnabled property: Specifies whether secure boot should be enabled on the virtual machine.voidvalidate()Validates the instance.Get the vTpmEnabled property: Specifies whether vTPM should be enabled on the virtual machine.withSecureBootEnabled(Boolean secureBootEnabled) Set the secureBootEnabled property: Specifies whether secure boot should be enabled on the virtual machine.withVTpmEnabled(Boolean vTpmEnabled) Set the vTpmEnabled property: Specifies whether vTPM should be enabled on the virtual machine.
-
Constructor Details
-
UefiSettings
public UefiSettings()Creates an instance of UefiSettings class.
-
-
Method Details
-
secureBootEnabled
Get the secureBootEnabled property: Specifies whether secure boot should be enabled on the virtual machine.- Returns:
- the secureBootEnabled value.
-
withSecureBootEnabled
Set the secureBootEnabled property: Specifies whether secure boot should be enabled on the virtual machine.- Parameters:
secureBootEnabled- the secureBootEnabled value to set.- Returns:
- the UefiSettings object itself.
-
vTpmEnabled
Get the vTpmEnabled property: Specifies whether vTPM should be enabled on the virtual machine.- Returns:
- the vTpmEnabled value.
-
withVTpmEnabled
Set the vTpmEnabled property: Specifies whether vTPM should be enabled on the virtual machine.- 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.
-