VirtualDiskDrive

System Center
 

Updated: June 27, 2017

Applies To: System Center 2016 - Service Provider Foundation, System Center Technical Preview

Reads, creates, and deletes virtual disk drives that are associated with virtual machines or virtual machine templates.

GETPOSTPUTDELETE
YesYesNoYes

GET

Gets the specified virtual hard disks.

If you supply the ID property, the virtual disk drive with that identifier is returned.

Entity Properties

NameTypeMandatoryDescription
IDEdm.GuidNoThe identifier of the virtual disk drive that contains the virtual machine
StampIdEdm.GuidYesThe identifier of the stamp to restrict the query to
TemplateIdEdm.GuidNoThe identifier of the virtual machine template that is associated with the virtual machine
VMIdEdm.GuidNoThe identifier of the virtual machine

POST

Creates a new virtual disk drive.

Entity Properties

NameTypeMandatoryDescription
BusEdm.GuidYesSpecifies the IDE bus to attach this virtual disk drive to.
FileNameEdm.StringYesThe file name to rename the associated virtual hard disk when it is attached to this virtual disk drive
IDEEdm.BooleanNoUses IDE as the bus type.
LUNEdm.Int32YesSpecifies the logical unit number (LUN) for a virtual disk drive on an IDE or SCSI bus.
PathEdm.StringNoThe path on the host to store the associated virtual hard diskExamples:

F:\
Local path

\\Library\Templates
UNC path

\\?\Volume{4703c1ea-8ae7-11db-b473-00123f7603e3}\
Volume GUID path

[storage1]\MyVMwareFolderForVMs\MyVM.vmx
VMware ESX path

Local storage[99b6212f-b63d-c676-25f9-d6c460992de7]
Citrix XenServer path
SCSIEdm.BooleanNoUses SCSI as the bus type.
StampIdEdm.GuidYesThe identifier of the stamp to restrict the query to
VirtualHardDiskIdEdm.GuidYesThe identifier of the virtual disk that this virtual disk drive implements
VMIdEdm.GuidYesThe identifier of the virtual machine to add this virtual disk drive to

DELETE

Deletes a virtual disk drive.

Entity Properties

NameTypeMandatoryDescription
IDEdm.GuidYesThe identifier of the virtual disk drive to delete
StampIdEdm.GuidYesThe identifier of the stamp to restrict the query to

VMM Collections Reference R2

Show: