共用方式為


DevTestLabVmDetachDataDiskContent Class

Definition

Request body for detaching data disk from a virtual machine.

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

Constructors

DevTestLabVmDetachDataDiskContent()

Initializes a new instance of DevTestLabVmDetachDataDiskContent.

Properties

ExistingLabDiskId

Specifies the disk resource ID to detach from virtual machine.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DevTestLabVmDetachDataDiskContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DevTestLabVmDetachDataDiskContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DevTestLabVmDetachDataDiskContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DevTestLabVmDetachDataDiskContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DevTestLabVmDetachDataDiskContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to