Share via


VirtualDiskDrive [SPFSDK][VMMREF]

 

Applies To: Windows Azure Pack

The VirtualDiskDrive entity represents a virtual disk drive on a virtual machine or on a virtual machine template.

Inheritance Hierarchy

VMM
  VirtualDiskDrive

Entity Properties

For more information about how the properties of an entity interact with HTTP operations, see Entity Basics.

Name

Create (POST)

Read (GET)

Update (PUT)

Delete (DELETE)

Type

Nullable

Description

ID

-

Optional

-

Required

Edm.Guid

False

Key Property

The identifier of the entity

StampId

Required

Optional

-

Required

Edm.Guid

False

Key Property

The identifier of the stamp that restricts the query

Accessibility

-

Optional

-

-

Edm.String

True

Not applicable.

AddedTime

-

Optional

-

-

Edm.DateTime

True

When the entity was added

Bus

Required

Optional

-

-

Edm.Byte

True

The IDE or SCSI bus to which to attach the drive

BusType

-

Optional

-

-

Edm.String

True

The type of Bus

  • IDE

  • SCSI

Description

-

Optional

-

-

Edm.String

True

Describes the Virtual Disk Drive

Enabled

-

Optional

-

-

Edm.Boolean

True

Not applicable.

FileName

Required

Optional

-

-

Edm.String

True

The name of the virtual hard disk file

HostDrive

-

Optional

-

-

Edm.String

True

The drive on the Host that contains the virtual disk drive file

IDE

Optional

Optional

-

-

Edm.Boolean

True

Whether this is an IDE drive

ISOId

-

Optional

-

-

Edm.Guid

True

The identifier of the ISO disk image

ISOLinked

-

Optional

-

-

Edm.Boolean

True

True if the ISO file is linked instead of copied.

IsVHD

-

Optional Optional

-

-

Edm.Boolean

True

Whether the virtual disk file is in VHD format

LUN

Required

-

-

-

Edm.Byte

True

The logical unit number

ModifiedTime

-

Optional

-

-

Edm.DateTime

True

When the entity was last modified

Name

-

Optional

-

-

Edm.String

True

The name of the virtual disk drive

Path

Optional

Optional

-

-

Edm.String

True

The path on the host to store the associated virtual hard disk

SCSI

Optional

Optional

-

-

Edm.Boolean

True

Whether this is a SCSI drive

Size

-

Optional

-

-

Edm.Int64

True

The size of the virtual disk drive in megabytes (MB)

TemplateId

-

Optional

-

-

Edm.Guid

True

The identifier of the VM template associated with this drive

VirtualHardDiskId

Required

Optional

-

-

Edm.Guid

True

The identifier of the VHD associated with this drive

VMId

Required

Optional

-

-

Edm.Guid

True

The identifier of the virtual machine associated with this drive

VolumeType

-

Optional

-

-

Edm.String

True

The type of the volume

  • Boot

  • System

  • BootAndSystem

  • None

Relationships

For more information about how the relationships of an entity are used, see Entity Basics.

Name

Relationship Type

From Property

To Entity

To Property

VirtualHardDisk

One or None

Not specified

VirtualHardDisk [SPFSDK][VMMREF]

Not specified

OData Operations

This entity supports the following OData operations. For more information, see OData Operations.

Name

Has Parameters

Return Type

HTTP Method

Expand [SPFSDK][VMMREF]

False

None

POST

Examples

See Also

Entities [SPFSDK][VMMREF]
VirtualSCSIAdapters Collection [SPFSDK][VMMREF]