MachineDisk Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Disk represents the properties of the disk.
public class MachineDisk
public class MachineDisk : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.NetworkCloud.Models.MachineDisk>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.NetworkCloud.Models.MachineDisk>
type MachineDisk = class
type MachineDisk = class
interface IJsonModel<MachineDisk>
interface IPersistableModel<MachineDisk>
Public Class MachineDisk
Public Class MachineDisk
Implements IJsonModel(Of MachineDisk), IPersistableModel(Of MachineDisk)
- Inheritance
-
MachineDisk
- Implements
Properties
CapacityGB |
The maximum amount of storage. Measured in gibibytes. |
Connection |
The connection type of the rack SKU resource. |
DiskType |
The disk type of rack SKU resource. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<MachineDisk>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<MachineDisk>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<MachineDisk>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<MachineDisk>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<MachineDisk>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |