Share via


IVirtualHardDiskProperties Interface

Definition

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

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

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to