VirtualDiskDrives

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 all virtual hard disks that are associated with all virtual machines and virtual machine templates for a specific stamp.

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

Entity Properties

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

POST

Creates a new virtual disk drive.

Entity Properties

NameTypeMandatoryDescription
StampIdEdm.GuidYesThe identifier of the stamp to restrict the query to
BusEdm.Int32YesSpecifies the IDE bus to attach this virtual disk drive to.
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.
VirtualHardDiskIdEdm.GuidYesThe identifier of the virtual disk that this virtual disk drive implements
SCSIEdm.BooleanNoUses SCSI as the bus type.
FileNameEdm.StringYesThe file name to rename the associated virtual hard disk when it is attached to this virtual disk drive
VMIdEdm.GuidYesThe identifier of the virtual machine to add this virtual disk drive to
PathEdm.StringNoThe path on the host to store the associated virtual hard disk

Examples:

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

DELETE

Deletes a virtual disk drive.

Entity Properties

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

VMM Collections Reference

Show: