List Distributed Virtual Switches

List Distributed Virtual Switches

List distributed virtual switches

Request
URI
GET
https://www.mgmt.cloud.vmware.com/ni/api/ni/entities/distributed-virtual-switches
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": "string",
            "time": 0
        }
    ],
    "cursor": "ML12eu02==",
    "total_count": 100,
    "start_time": 1504739809,
    "end_time": 1504739809
}
results
Optional

results

string
cursor
Optional

cursor

integer
total_count
Optional

total_count

integer As int64 As int64
start_time
Optional

start_time

integer As int64 As int64
end_time
Optional

end_time


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