DevTestLabDataDiskProperties 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.
Request body for adding a new or existing data disk to a virtual machine.
public class DevTestLabDataDiskProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DevTestLabs.Models.DevTestLabDataDiskProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DevTestLabs.Models.DevTestLabDataDiskProperties>
public class DevTestLabDataDiskProperties
type DevTestLabDataDiskProperties = class
interface IJsonModel<DevTestLabDataDiskProperties>
interface IPersistableModel<DevTestLabDataDiskProperties>
type DevTestLabDataDiskProperties = class
Public Class DevTestLabDataDiskProperties
Implements IJsonModel(Of DevTestLabDataDiskProperties), IPersistableModel(Of DevTestLabDataDiskProperties)
Public Class DevTestLabDataDiskProperties
- Inheritance
-
DevTestLabDataDiskProperties
- Implements
Constructors
DevTestLabDataDiskProperties() |
Initializes a new instance of DevTestLabDataDiskProperties. |
Properties
AttachNewDataDiskOptions |
Specifies options to attach a new disk to the virtual machine. |
ExistingLabDiskId |
Specifies the existing lab disk id to attach to virtual machine. |
HostCaching |
Caching option for a data disk (i.e. None, ReadOnly, ReadWrite). |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<DevTestLabDataDiskProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<DevTestLabDataDiskProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<DevTestLabDataDiskProperties>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<DevTestLabDataDiskProperties>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<DevTestLabDataDiskProperties>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |