List Vmknics

List Vmknics

List ESXi host vmknics

Request
URI
GET
https://vrni.example.com/api/ni/entities/vmknics
COPY
Query Parameters
number
size
Optional

Page size of results

string
cursor
Optional

Cursor from previous response

number
start_time
Optional

Start time for query in epoch seconds

number
end_time
Optional

End time for query in epoch seconds


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns PagedListResponseWithTime of type(s) application/json
{
    "results": [
        {
            "entity_id": "string",
            "entity_type": "VirtualMachine",
            "time": 0
        }
    ],
    "cursor": "ML12eu02==",
    "total_count": 100,
    "start_time": 1504739809,
    "end_time": 1504739809
}
results
Optional

results

string
cursor
Optional

Cursor for the next page

integer
total_count
Optional

Total number of objects returned

integer As int64 As int64
start_time
Optional

Start timestamp of the window of the objects returned

integer As int64 As int64
end_time
Optional

End timestamp of the window of the objects returned


400

Bad Request

Returns ApiError of type(s) application/json
{
    "code": 0,
    "message": "string",
    "details": [
        {
            "code": 0,
            "message": "string",
            "target": [
                "string"
            ]
        }
    ]
}
integer As int32 As int32
code
Optional

code

string
message
Optional

message

details
Optional

details


401

Unauthorized

Operation doesn't return any data structure

500

Internal Error

Operation doesn't return any data structure