UefiSettings Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.UefiSettings

public class UefiSettings

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

Constructor Summary

Constructor Description
UefiSettings()

Method Summary

Modifier and Type Method and Description
Boolean secureBootEnabled()

Get specifies whether secure boot should be enabled on the virtual machine.

Boolean vTpmEnabled()

Get specifies whether vTPM should be enabled on the virtual machine.

UefiSettings withSecureBootEnabled(Boolean secureBootEnabled)

Set specifies whether secure boot should be enabled on the virtual machine.

UefiSettings withVTpmEnabled(Boolean vTpmEnabled)

Set specifies whether vTPM should be enabled on the virtual machine.

Methods inherited from java.lang.Object

Constructor Details

UefiSettings

public UefiSettings()

Method Details

secureBootEnabled

public Boolean secureBootEnabled()

Get specifies whether secure boot should be enabled on the virtual machine.

Returns:

the secureBootEnabled value

vTpmEnabled

public Boolean vTpmEnabled()

Get specifies whether vTPM should be enabled on the virtual machine.

Returns:

the vTpmEnabled value

withSecureBootEnabled

public UefiSettings withSecureBootEnabled(Boolean secureBootEnabled)

Set specifies whether secure boot should be enabled on the virtual machine.

Parameters:

secureBootEnabled - the secureBootEnabled value to set

Returns:

the UefiSettings object itself.

withVTpmEnabled

public UefiSettings withVTpmEnabled(Boolean vTpmEnabled)

Set specifies whether vTPM should be enabled on the virtual machine.

Parameters:

vTpmEnabled - the vTpmEnabled value to set

Returns:

the UefiSettings object itself.

Applies to