Share via


HciVmInstanceStorageProfile Class

Definition

StorageProfile - contains information about the disks and storage information for the virtual machine instance.

public class HciVmInstanceStorageProfile : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Hci.Vm.Models.HciVmInstanceStorageProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Hci.Vm.Models.HciVmInstanceStorageProfile>
type HciVmInstanceStorageProfile = class
    interface IJsonModel<HciVmInstanceStorageProfile>
    interface IPersistableModel<HciVmInstanceStorageProfile>
Public Class HciVmInstanceStorageProfile
Implements IJsonModel(Of HciVmInstanceStorageProfile), IPersistableModel(Of HciVmInstanceStorageProfile)
Inheritance
HciVmInstanceStorageProfile
Implements

Constructors

HciVmInstanceStorageProfile()

Initializes a new instance of HciVmInstanceStorageProfile.

Properties

DataDisks

adds data disks to the virtual machine instance.

ImageReferenceId

Gets or sets Id.

OSDisk

VHD to attach as OS disk.

VmConfigStoragePathId

Id of the storage container that hosts the VM configuration file.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<HciVmInstanceStorageProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<HciVmInstanceStorageProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HciVmInstanceStorageProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HciVmInstanceStorageProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<HciVmInstanceStorageProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to