你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DevTestLabImportVmContent Class

Definition

This represents the payload required to import a virtual machine from a different lab into the current one.

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

Constructors

DevTestLabImportVmContent()

Initializes a new instance of DevTestLabImportVmContent.

Properties

DestinationVmName

The name of the virtual machine in the destination lab.

SourceVmResourceId

The full resource ID of the virtual machine to be imported.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DevTestLabImportVmContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DevTestLabImportVmContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DevTestLabImportVmContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DevTestLabImportVmContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DevTestLabImportVmContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to