다음을 통해 공유


LabVirtualMachineImageContent Class

Definition

Body for the save image POST.

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

Constructors

LabVirtualMachineImageContent()

Initializes a new instance of LabVirtualMachineImageContent.

Properties

LabVirtualMachineId

The ID of the lab virtual machine you want to save an image from.

Name

The name for the image we create.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<LabVirtualMachineImageContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<LabVirtualMachineImageContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LabVirtualMachineImageContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LabVirtualMachineImageContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<LabVirtualMachineImageContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to