共用方式為


UefiSettings Class

Definition

Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.

public class UefiSettings : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.UefiSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.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

IsSecureBootEnabled

Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01.

IsVirtualTpmEnabled

Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

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