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
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
}
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
401
Unauthorized
Operation doesn't return any data structure
500
Internal Error
Operation doesn't return any data structure
Entities Operations
POST
Bulk Fetch Problem Events
POST
Bulk Fetch Vendor Info
POST
Get details Of entities
GET
Get Cluster
GET
Get Datacenter
GET
Get Datastore
GET
Get Distributed Virtual Portgroup
GET
Get Distributed Virtual Switch
GET
Get Firewall
GET
Get Firewall Manager
GET
Get Firewall Rule
GET
Get Flow
GET
Get Flows
GET
Get Folder
GET
Get Host
GET
Get IP Set
GET
Get Kubernetes Service By Id
GET
Get Kubernetes Services
GET
Get Layer2 Network
GET
Get Name
POST
Get Names
GET
Get NSX Manager
GET
Get Problem Event
GET
Get Security Group
GET
Get Security Tag
GET
Get Service
GET
Get Service Group
GET
Get Vcenter Manager
GET
Get Vm
GET
Get Vmknic
GET
Get Vnic
GET
List Clusters
GET
List Datacenters
GET
List Datastores
GET
List Distributed Virtual Portgroups
GET
List Distributed Virtual Switches
GET
List Firewall Managers
GET
List Firewall Rules
GET
List Firewalls
GET
List Folders
GET
List Hosts
GET
List IP Sets
GET
List Layer2 Networks
GET
List NSX Managers
GET
List Problem Events
GET
List Security Groups
GET
List Security Tags
GET
List Service Groups
GET
List Services
GET
List Vcenter Managers
GET
List Vmknics
GET
List Vms
GET
List Vnics