VirtualMachineInstancePropertiesStorageProfileOSDisk Class

Definition

VHD to attach as OS disk

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

Constructors

VirtualMachineInstancePropertiesStorageProfileOSDisk()

Creates an new VirtualMachineInstancePropertiesStorageProfileOSDisk instance.

Properties

Id

Resource ID of the OS disk

OSType

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VirtualMachineInstancePropertiesStorageProfileOSDisk.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualMachineInstancePropertiesStorageProfileOSDisk.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualMachineInstancePropertiesStorageProfileOSDisk into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to