Share via


VirtualHardDiskData Class

Definition

A class representing the VirtualHardDisk data model. The virtual hard disk resource definition.

public class VirtualHardDiskData : Azure.ResourceManager.Models.TrackedResourceData
type VirtualHardDiskData = class
    inherit TrackedResourceData
Public Class VirtualHardDiskData
Inherits TrackedResourceData
Inheritance

Constructors

VirtualHardDiskData(AzureLocation)

Initializes a new instance of VirtualHardDiskData.

Properties

BlockSizeBytes

Gets or sets the block size bytes.

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.

ExtendedLocation

The extendedLocation of the resource.

HyperVGeneration

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

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
LogicalSectorBytes

Gets or sets the logical sector bytes.

Name

The name of the resource.

(Inherited from ResourceData)
PhysicalSectorBytes

Gets or sets the physical sector bytes.

ProvisioningState

Provisioning state of the virtual hard disk.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Status

The observed state of virtual hard disks.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)

Applies to