Compartir a través de


DataDisksToDetach Class

Definition

Describes the data disk to be detached.

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

Constructors

DataDisksToDetach(String)

Initializes a new instance of DataDisksToDetach.

Properties

DetachOption

Supported options available for Detach of a disk from a VM. Refer to DetachOption object reference for more details.

DiskId

ID of the managed data disk.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataDisksToDetach>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataDisksToDetach>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataDisksToDetach>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataDisksToDetach>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataDisksToDetach>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to