REST API - list

vcenter vm hardware parallel: list

Returns commonly used information about the virtual parallel ports belonging to the virtual machine.

Request:

HTTP request

GET https://{server}/rest/vcenter/vm/{vm}/hardware/parallel

Path Parameters

Name Type Description
Required
vm string Virtual machine identifier.

Response:

HTTP Status Code: 200

Representation:

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

Response Type:

Name Type Description
bold = required
value summary[] List of commonly used information about virtual parallel ports.
value[].port string Identifier of the virtual parallel port.

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.ParallelPort. 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.ParallelPort.

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.