VirtualHardDisk

System Center
 

Updated: June 27, 2017

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

Gets virtual hard disks from Virtual Machine Manager (VMM).

GETPOSTPUTDELETE
YesNoNoNo

GET

Gets the specified virtual hard disks.

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
StampIdEdm.GuidYesThe identifier of the stamp that restricts the query.
IDEdm.GuidNoThe identifier of the virtual hard disk to retrieve.
VMIdEdm.GuidNoThe identifier of the virtual machine.
NameEdm.StringNoThe name of the virtual hard disk.
TemplateIdEdm.GuidNoThe identifier of the virtual machine template.

VMM Collections Reference R2

Show: