REST API - list

vcenter vm hardware adapter scsi: list

Returns commonly used information about the virtual SCSI adapters belonging to the virtual machine.

Request:

HTTP request

GET https://{server}/rest/vcenter/vm/{vm}/hardware/adapter/scsi

Path Parameters

Name Type Description
Required
vm string Virtual machine identifier.

Response:

HTTP Status Code: 200

Representation:

{
    "value"[
        {
            "adapter""obj-103"
        },
        {
            "adapter""obj-103"
        }
    ]
}

Response Type:

Name Type Description
bold = required
value summary[] List of commonly used information about virtual SCSI adapters.
value[].adapter string Identifier of the virtual SCSI adapter.

When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ScsiAdapter. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vcenter.vm.hardware.ScsiAdapter.

Errors:

HTTP Status Code Type Description
500 error if the system reports an error while responding to the request.
404 not_found if the virtual machine is not found.
500 resource_inaccessible if the virtual machine's configuration state cannot be accessed.
503 service_unavailable if the system is unable to communicate with a service to complete the request.
401 unauthenticated if the user can not be authenticated.
403 unauthorized if the user doesn't have the required privileges.