UefiSettings Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. UefiSettings
- com.
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. |
Uefi |
withSecureBootEnabled(Boolean secureBootEnabled)
Set specifies whether secure boot should be enabled on the virtual machine. |
Uefi |
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:
vTpmEnabled
public Boolean vTpmEnabled()
Get specifies whether vTPM should be enabled on the virtual machine.
Returns:
withSecureBootEnabled
public UefiSettings withSecureBootEnabled(Boolean secureBootEnabled)
Set specifies whether secure boot should be enabled on the virtual machine.
Parameters:
Returns:
withVTpmEnabled
public UefiSettings withVTpmEnabled(Boolean vTpmEnabled)
Set specifies whether vTPM should be enabled on the virtual machine.
Parameters:
Returns:
Applies to
Azure SDK for Java