NetworkCloudOSDisk 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.
OsDisk represents configuration of the boot disk.
public class NetworkCloudOSDisk
public class NetworkCloudOSDisk : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.NetworkCloud.Models.NetworkCloudOSDisk>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.NetworkCloud.Models.NetworkCloudOSDisk>
type NetworkCloudOSDisk = class
type NetworkCloudOSDisk = class
interface IJsonModel<NetworkCloudOSDisk>
interface IPersistableModel<NetworkCloudOSDisk>
Public Class NetworkCloudOSDisk
Public Class NetworkCloudOSDisk
Implements IJsonModel(Of NetworkCloudOSDisk), IPersistableModel(Of NetworkCloudOSDisk)
- Inheritance
-
NetworkCloudOSDisk
- Implements
Constructors
NetworkCloudOSDisk(Int64) |
Initializes a new instance of NetworkCloudOSDisk. |
Properties
CreateOption |
The strategy for creating the OS disk. |
DeleteOption |
The strategy for deleting the OS disk. |
DiskSizeInGB |
The size of the disk. Required if the createOption is Ephemeral. Allocations are measured in gibibytes. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<NetworkCloudOSDisk>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<NetworkCloudOSDisk>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<NetworkCloudOSDisk>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<NetworkCloudOSDisk>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<NetworkCloudOSDisk>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET