Share via


DevTestLabDiskAttachContent Class

Definition

Properties of the disk to attach.

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

Constructors

Name Description
DevTestLabDiskAttachContent()

Initializes a new instance of DevTestLabDiskAttachContent.

Properties

Name Description
LeasedByLabVmId

The resource ID of the Lab virtual machine to which the disk is attached.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<DevTestLabDiskAttachContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DevTestLabDiskAttachContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DevTestLabDiskAttachContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DevTestLabDiskAttachContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DevTestLabDiskAttachContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to