DataDisksToAttach 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.
Describes the data disk to be attached.
public class DataDisksToAttach : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.DataDisksToAttach>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.DataDisksToAttach>
type DataDisksToAttach = class
interface IJsonModel<DataDisksToAttach>
interface IPersistableModel<DataDisksToAttach>
Public Class DataDisksToAttach
Implements IJsonModel(Of DataDisksToAttach), IPersistableModel(Of DataDisksToAttach)
- Inheritance
-
DataDisksToAttach
- Implements
Constructors
DataDisksToAttach(String) |
Initializes a new instance of DataDisksToAttach. |
Properties
DiskId |
ID of the managed data disk. |
Lun |
The logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. If not specified, lun would be auto assigned. |
Explicit Interface Implementations
IJsonModel<DataDisksToAttach>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<DataDisksToAttach>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<DataDisksToAttach>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<DataDisksToAttach>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<DataDisksToAttach>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for