ComputeVmProperties 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 of a virtual machine returned by the Microsoft.Compute API.
public class ComputeVmProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DevTestLabs.Models.ComputeVmProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DevTestLabs.Models.ComputeVmProperties>
public class ComputeVmProperties
type ComputeVmProperties = class
interface IJsonModel<ComputeVmProperties>
interface IPersistableModel<ComputeVmProperties>
type ComputeVmProperties = class
Public Class ComputeVmProperties
Implements IJsonModel(Of ComputeVmProperties), IPersistableModel(Of ComputeVmProperties)
Public Class ComputeVmProperties
- Inheritance
-
ComputeVmProperties
- Implements
Properties
DataDiskIds |
Gets data disks blob uri for the virtual machine. |
DataDisks |
Gets all data disks attached to the virtual machine. |
NetworkInterfaceId |
Gets the network interface ID of the virtual machine. |
OSDiskId |
Gets OS disk blob uri for the virtual machine. |
OSType |
Gets the OS type of the virtual machine. |
Statuses |
Gets the statuses of the virtual machine. |
VmSize |
Gets the size of the virtual machine. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<ComputeVmProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ComputeVmProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ComputeVmProperties>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ComputeVmProperties>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ComputeVmProperties>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |