VirtualSCSIAdapters

System Center
 

Updated: June 27, 2017

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

Reads, creates, or deletes virtual SCSI adapters that are assigned to either a virtual machine or a virtual machine template.

GETPOSTPUTDELETE
YesYesNoYes

GET

Gets all virtual SCSI adapters. This GET operation is further restricted by the available properties that you can add.

If you supply the ID property, the virtual SCSI adapter with that identifier is returned.

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

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

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

Entity Properties

NameTypeMandatoryDescription
IDEdm.GuidNoThe virtual SCSI adapter identifier
TemplateIdEdm.GuidNoThe identifier of the virtual machine template
VMIdEdm.GuidNoThe identifier of the virtual machine
StampIdEdm.GuidYesThe identifier of the stamp to restrict the query to
System_CAPS_ICON_note.jpg Note

The object that is returned when you use the GET operation includes the TemplateId and VMid properties, but they are null. There is no workaround for this issue.

POST

Creates a new virtual SCSI adapter and assigns it to the virtual machine that the VMId property identifies.

Entity Properties

NameTypeMandatoryDescription
VMIdEdm.GuidYesThe virtual machine identifier
StampIdEdm.GuidYesThe identifier of the stamp to restrict the query to

DELETE

Deletes the specified virtual SCSI adapter and removes it from the associated virtual machine or virtual machine template.

Entity Properties

NameTypeMandatoryDescription
IDEdm.GuidYesThe virtual SCSI adapter identifier
StampIdEdm.GuidYesThe identifier of the stamp to restrict the query to

VMM Collections Reference

Show: