Partager via


VirtualSCSIAdapter

 

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

VirtualSCSIAdapter

Reads, creates, updates, or deletes SCSI adapters in Virtual Machine Manager (VMM).

HTTP Verbs

GET POST PUT DELETE
Yes Yes No Yes

GET

Gets the specified virtual SCSI adapters.

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
StampId Edm.String Yes The identifier of the stamp that restricts the query.
ID Edm.Guid No The virtual SCSI adapter identifier.
VMId Edm.Guid No The identifier of the virtual machine.
TemplateId Edm.Guid No The identifier of the virtual machine template.

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 identifier of the virtual machine.
StampId Edm.Guid Yes The identifier of the stamp that restricts the query.

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 identifier of the object to delete.
StampId Edm.Guid Yes The identifier of the stamp that restricts the query.

See Also

VMM Collections Reference R2