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. Minimum api-version: 2020-12-01.
  • Constructor Details

    • UefiSettings

      public UefiSettings()
      Creates an instance of UefiSettings class.
  • Method Details

    • secureBootEnabled

      public Boolean secureBootEnabled()
      Get the secureBootEnabled property: Specifies whether secure boot should be enabled on the virtual machine. 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. 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. 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. 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.