ComputeDataDisk 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.
A data disks attached to a virtual machine.
public class ComputeDataDisk : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DevTestLabs.Models.ComputeDataDisk>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DevTestLabs.Models.ComputeDataDisk>
public class ComputeDataDisk
type ComputeDataDisk = class
interface IJsonModel<ComputeDataDisk>
interface IPersistableModel<ComputeDataDisk>
type ComputeDataDisk = class
Public Class ComputeDataDisk
Implements IJsonModel(Of ComputeDataDisk), IPersistableModel(Of ComputeDataDisk)
Public Class ComputeDataDisk
- Inheritance
-
ComputeDataDisk
- Implements
Properties
DiskSizeGiB |
Gets data disk size in GiB. |
DiskUri |
When backed by a blob, the URI of underlying blob. |
ManagedDiskId |
When backed by managed disk, this is the ID of the compute disk resource. |
Name |
Gets data disk name. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<ComputeDataDisk>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ComputeDataDisk>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ComputeDataDisk>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ComputeDataDisk>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ComputeDataDisk>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |