Partager via


UefiSettings Class

Definition

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

public class UefiSettings : System.ClientModel.Primitives.IJsonModel<Azure.Compute.Batch.UefiSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.UefiSettings>
type UefiSettings = class
    interface IJsonModel<UefiSettings>
    interface IPersistableModel<UefiSettings>
Public Class UefiSettings
Implements IJsonModel(Of UefiSettings), IPersistableModel(Of UefiSettings)
Inheritance
UefiSettings
Implements

Constructors

UefiSettings()

Initializes a new instance of UefiSettings.

Properties

SecureBootEnabled

Specifies whether secure boot should be enabled on the virtual machine.

VTpmEnabled

Specifies whether vTPM should be enabled on the virtual machine.

Explicit Interface Implementations

IJsonModel<UefiSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<UefiSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UefiSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UefiSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<UefiSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to