Partager via


VirtualHardDisk

 

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

VirtualHardDisk

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

HTTP Verbs

GET POST PUT DELETE
Yes No No No

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

Name Type Mandatory Description
StampId Edm.Guid Yes The identifier of the stamp that restricts the query.
ID Edm.Guid No The identifier of the virtual hard disk to retrieve.
VMId Edm.Guid No The identifier of the virtual machine.
Name Edm.String No The name of the virtual hard disk.
TemplateId Edm.Guid No The identifier of the virtual machine template.

See Also

VMM Collections Reference R2