共用方式為


DevTestLabCustomImageVm Class

Definition

Properties for creating a custom image from a virtual machine.

public class DevTestLabCustomImageVm : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DevTestLabs.Models.DevTestLabCustomImageVm>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DevTestLabs.Models.DevTestLabCustomImageVm>
public class DevTestLabCustomImageVm
type DevTestLabCustomImageVm = class
    interface IJsonModel<DevTestLabCustomImageVm>
    interface IPersistableModel<DevTestLabCustomImageVm>
type DevTestLabCustomImageVm = class
Public Class DevTestLabCustomImageVm
Implements IJsonModel(Of DevTestLabCustomImageVm), IPersistableModel(Of DevTestLabCustomImageVm)
Public Class DevTestLabCustomImageVm
Inheritance
DevTestLabCustomImageVm
Implements

Constructors

DevTestLabCustomImageVm()

Initializes a new instance of DevTestLabCustomImageVm.

Properties

LinuxOSState

The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).

SourceVmId

The source vm identifier.

WindowsOSState

The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DevTestLabCustomImageVm>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DevTestLabCustomImageVm>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DevTestLabCustomImageVm>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DevTestLabCustomImageVm>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DevTestLabCustomImageVm>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to