Get Vsphere Configurations

Get Vsphere Configurations

Gets the list of vSphere Configurations for an organisation

Request
URI
GET
https://{api_host}//vrlic/api/v1/vsphere/configs
COPY
Query Parameters
integer
page
Optional

Number of required pages (defaultValue = 0)

integer
size
Optional

Required page size (defaultValue = 100)

string
sort
Optional

Sort the response based on a field (defaultValue = name,asc)

string
hostname
Optional

Hostname of the existing config


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns PagedModelVsphereConfigDto of type(s) */*
{
    "content": [
        {
            "id": "aer45cf-280f-4444-b0d2-88676792ebca",
            "hostname": "vc-test.eng.vmware.com",
            "username": "[email protected]",
            "password": "****",
            "autoConfigureEsxiHosts": true,
            "vsphereEventsEnabled": true,
            "target": "90u5645f-73ec-4d15-93a7-e86cd2rt454",
            "syslogProtocol": "TCP",
            "cspOrgId": "e4562932c-1274-4495-b7f5-a647f3c0ec69",
            "userTags": "vc=vc-test",
            "esxiHostsWereConfigured": true
        }
    ],
    "_links": {
        "key": {
            "first": {
                "href": "https://{api_host}/vrlic/api/v1/vsphere/configs?page=0&size=1"
            },
            "last": {
                "href": "https://{api_host}/vrlic/api/v1/vsphere/configs?page=19&size=1"
            },
            "next": {
                "href": "https://{api_host}/vrlic/api/v1/vsphere/configs?page=2&size=1"
            },
            "prev": {
                "href": "https://{api_host}/vrlic/api/v1/vsphere/configs?page=0&size=1"
            },
            "self": {
                "href": "https://{api_host}/vrlic/api/v1/vsphere/configs?page=1&size=1"
            }
        }
    },
    "page": {
        "number": 1,
        "size": 1,
        "totalElements": 20,
        "totalPages": 20
    }
}
content
Optional

List of Paginated Content

page
Optional

page

object
_links
Optional

HATEOAS Links