Condividi tramite


DevTestLabCustomImageVhd Class

Definition

Properties for creating a custom image from a VHD.

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

Constructors

DevTestLabCustomImageVhd(DevTestLabCustomImageOSType)

Initializes a new instance of DevTestLabCustomImageVhd.

Properties

ImageName

The image name.

IsSysPrepEnabled

Indicates whether sysprep has been run on the VHD.

OSType

The OS type of the custom image (i.e. Windows, Linux).

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DevTestLabCustomImageVhd>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DevTestLabCustomImageVhd>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DevTestLabCustomImageVhd>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DevTestLabCustomImageVhd>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DevTestLabCustomImageVhd>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to