VirtualHardDiskProperties Class

Definition

Properties under the virtual hard disk resource

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

Constructors

VirtualHardDiskProperties()

Creates an new VirtualHardDiskProperties instance.

Properties

BlockSizeByte
ContainerId

Storage ContainerID of the storage container to be used for VHD

DiskFileFormat

The format of the actual VHD file [vhd, vhdx]

DiskSizeGb

Size of the disk in GB

Dynamic

Boolean for enabling dynamic sizing on the virtual hard disk

HyperVGeneration

The hypervisor generation of the Virtual Machine [V1, V2]

LogicalSectorByte
PhysicalSectorByte
ProvisioningState

Provisioning state of the virtual hard disk.

ProvisioningStatus

The status of the operation performed on the virtual hard disk [Succeeded, Failed, InProgress]

ProvisioningStatusOperationId

The ID of the operation performed on the virtual hard disk

StatusErrorCode

VirtualHardDisk provisioning error code

StatusErrorMessage

Descriptive error message

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VirtualHardDiskProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualHardDiskProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualHardDiskProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to