VirtualHardDisks

System Center
 

Updated: June 27, 2017

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

Reads all of the virtual hard disks that are optionally assigned to virtual machines or a virtual machine template.

GETPOSTPUTDELETE
YesNoNoNo

Reads all virtual hard disks. This GET operation is further restricted by the available properties that you can add.

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

If you supply the VMId property, the virtual hard disks that are assigned to the identified virtual machine are returned.

If you supply the TemplateId property, the virtual hard disks that are assigned to the identified virtual machine template are returned.

If you supply the Name property, the virtual hard disk with that name is returned.

If you supply only the StampId property, all virtual hard disks for every virtual machine and virtual machine template that is assigned to that stamp are returned.

Entity Properties

NameTypeMandatoryDescription
IDEdm.GuidNoThe identifier of the virtual hard disk to get
VMIdEdm.GuidNoThe identifier of the virtual machine
TemplateIdEdm.GuidNoThe identifier of the virtual machine template
StampIdEdm.GuidYesThe identifier of the stamp to restrict the query to
NameEdm.StringNoThe name of the virtual hard disk

VMM Collections Reference

Show: