Share via


HybridComputeDisk Class

Definition

Describes a disk on the machine.

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

Properties

DiskType

The type of the disk.

GeneratedId

The generated ID of the disk.

Id

The ID of the disk.

MaxSizeInBytes

The size of the disk, in bytes.

Name

The name of the disk.

Path

The path of the disk.

UsedSpaceInBytes

The amount of space used on the disk, in bytes.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<HybridComputeDisk>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HybridComputeDisk>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HybridComputeDisk>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HybridComputeDisk>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HybridComputeDisk>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to