List Virtual Machines

List Virtual Machines

At least one of the listed privileges is required -

Privileges Description
GLOBAL_CONFIG_VIEW Caller should have permission to this privilege, to perform this operation.
VC_CONFIG_VIEW Caller should have permission to this privilege, to perform this operation.
Request
URI
GET
https://{api_host}/rest/external/v1/virtual-machines
COPY
Query Parameters
string
vcenter_id
Required

Virtual Center ID


Authentication
This operation uses the following authentication methods.
Responses
200

OK

[
    {
        "getvGPUType": "datacenter-1",
        "hardware_version": 0,
        "id": "vm-416",
        "incompatible_reasons": [
            "string"
        ],
        "name": "Win10",
        "operating_system": "WINDOWS_10",
        "operating_system_display_name": "Microsoft Windows 10 (64-bit)",
        "path": "/Datacenter/vm/VMs/Win10"
    }
]

401

User is not authenticated

Operation doesn't return any data structure

403

Access to the resource is forbidden

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure