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 | Description |
---|---|
Uefi |
Creates an instance of Uefi |
Modifier and Type | Method and Description |
---|---|
static
Uefi |
from Reads an instance of Uefi |
Boolean |
secure Get the secure |
Json |
to |
void |
validate()
Validates the instance. |
Boolean |
v Get the v |
Uefi |
with Set the secure |
Uefi |
with Set the v |
Methods inherited from java.lang.Object
UefiSettings
public UefiSettings()
Creates an instance of UefiSettings class.
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
validate
public void validate()
Validates the instance.
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:
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:
Azure SDK for Java-feedback
Azure SDK for Java is een open source project. Selecteer een koppeling om feedback te geven: