AttachNewDataDiskDetails 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.
Properties to attach new disk to the Virtual Machine.
public class AttachNewDataDiskDetails : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DevTestLabs.Models.AttachNewDataDiskDetails>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DevTestLabs.Models.AttachNewDataDiskDetails>
public class AttachNewDataDiskDetails
type AttachNewDataDiskDetails = class
interface IJsonModel<AttachNewDataDiskDetails>
interface IPersistableModel<AttachNewDataDiskDetails>
type AttachNewDataDiskDetails = class
Public Class AttachNewDataDiskDetails
Implements IJsonModel(Of AttachNewDataDiskDetails), IPersistableModel(Of AttachNewDataDiskDetails)
Public Class AttachNewDataDiskDetails
- Inheritance
-
AttachNewDataDiskDetails
- Implements
Constructors
AttachNewDataDiskDetails() |
Initializes a new instance of AttachNewDataDiskDetails. |
Properties
DiskName |
The name of the disk to be attached. |
DiskSizeGiB |
Size of the disk to be attached in Gibibytes. |
DiskType |
The storage type for the disk (i.e. Standard, Premium). |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<AttachNewDataDiskDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<AttachNewDataDiskDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<AttachNewDataDiskDetails>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<AttachNewDataDiskDetails>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<AttachNewDataDiskDetails>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |