Partager via


VirtualSCSIAdapters

 

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

VirtualSCSIAdapters

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

HTTP Verbs

GET POST PUT DELETE
Yes Yes No Yes

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

Name Type Mandatory Description
ID Edm.Guid No The virtual SCSI adapter identifier
TemplateId Edm.Guid No The identifier of the virtual machine template
VMId Edm.Guid No The identifier of the virtual machine
StampId Edm.Guid Yes The identifier of the stamp to restrict the query to

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

Name Type Mandatory Description
VMId Edm.Guid Yes The virtual machine identifier
StampId Edm.Guid Yes The 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

Name Type Mandatory Description
ID Edm.Guid Yes The virtual SCSI adapter identifier
StampId Edm.Guid Yes The identifier of the stamp to restrict the query to

See Also

VMM Collections Reference