Share via


VirtualMachineInstancePropertiesStorageProfile Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualMachineInstancePropertiesStorageProfileTypeConverter))]
public class VirtualMachineInstancePropertiesStorageProfile : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesStorageProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualMachineInstancePropertiesStorageProfileTypeConverter))>]
type VirtualMachineInstancePropertiesStorageProfile = class
    interface IVirtualMachineInstancePropertiesStorageProfile
    interface IJsonSerializable
Public Class VirtualMachineInstancePropertiesStorageProfile
Implements IVirtualMachineInstancePropertiesStorageProfile
Inheritance
VirtualMachineInstancePropertiesStorageProfile
Attributes
Implements

Constructors

VirtualMachineInstancePropertiesStorageProfile()

Creates an new VirtualMachineInstancePropertiesStorageProfile instance.

Properties

DataDisk

adds data disks to the virtual machine instance

ImageReferenceId

Resource ID of the image

OSDiskId

Resource ID of the OS disk

OSDiskOstype

This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.

VMConfigStoragePathId

Id of the storage container that hosts the VM configuration file

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VirtualMachineInstancePropertiesStorageProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualMachineInstancePropertiesStorageProfile.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesStorageProfile.

FromJsonString(String)

Creates a new instance of VirtualMachineInstancePropertiesStorageProfile, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualMachineInstancePropertiesStorageProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to