BatchUefiSettings Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchUefiSettings
- com.
Implements
public final class BatchUefiSettings
implements JsonSerializable<BatchUefiSettings>
Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
Constructor Summary
| Constructor | Description |
|---|---|
| BatchUefiSettings() |
Creates an instance of Batch |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
| Boolean |
isSecureBootEnabled()
Get the secure |
| Boolean |
isVTpmEnabled()
Get the v |
|
Batch |
setSecureBootEnabled(Boolean secureBootEnabled)
Set the secure |
|
Batch |
setVTpmEnabled(Boolean vTpmEnabled)
Set the v |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
BatchUefiSettings
public BatchUefiSettings()
Creates an instance of BatchUefiSettings class.
Method Details
fromJson
public static BatchUefiSettings fromJson(JsonReader jsonReader)
Reads an instance of BatchUefiSettings from the JsonReader.
Parameters:
Returns:
Throws:
isSecureBootEnabled
public Boolean isSecureBootEnabled()
Get the secureBootEnabled property: Specifies whether secure boot should be enabled on the virtual machine.
Returns:
isVTpmEnabled
public Boolean isVTpmEnabled()
Get the vTpmEnabled property: Specifies whether vTPM should be enabled on the virtual machine.
Returns:
setSecureBootEnabled
public BatchUefiSettings setSecureBootEnabled(Boolean secureBootEnabled)
Set the secureBootEnabled property: Specifies whether secure boot should be enabled on the virtual machine.
Parameters:
Returns:
setVTpmEnabled
public BatchUefiSettings setVTpmEnabled(Boolean vTpmEnabled)
Set the vTpmEnabled property: Specifies whether vTPM should be enabled on the virtual machine.
Parameters:
Returns: