UefiSettings Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. UefiSettings
- com.
Implements
public final class UefiSettings
implements JsonSerializable<UefiSettings>
Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.
Constructor Summary
Constructor | Description |
---|---|
UefiSettings() |
Creates an instance of Uefi |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Uefi |
fromJson(JsonReader jsonReader)
Reads an instance of Uefi |
Boolean |
secureBootEnabled()
Get the secure |
Json |
toJson(JsonWriter jsonWriter) |
Boolean |
vTpmEnabled()
Get the v |
void |
validate()
Validates the instance. |
Uefi |
withSecureBootEnabled(Boolean secureBootEnabled)
Set the secure |
Uefi |
withVTpmEnabled(Boolean vTpmEnabled)
Set the v |
Methods inherited from java.lang.Object
Constructor Details
UefiSettings
public UefiSettings()
Creates an instance of UefiSettings class.
Method Details
fromJson
public static UefiSettings fromJson(JsonReader jsonReader)
Reads an instance of UefiSettings from the JsonReader.
Parameters:
Returns:
Throws:
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:
toJson
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:
validate
public void validate()
Validates the instance.
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:
Returns:
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:
Returns:
Applies to
Azure SDK for Java