ves-io-schema-network_connector-API-List

Examples of listing network_connector

Usecase:

List network-connectors in system namespace

Request using vesctl:

vesctl configuration list network_connector --namespace system

vesctl yaml response:

items:
- labels: {}
  name: connect-in-out
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: 11141e9f-9ca0-42fb-b603-1a84f39f3d0c

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build743694289_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/system/network_connectors'

curl response

HTTP/1.1 200 OK
Content-Length: 303
Content-Type: application/json
Date: Thu, 02 Jul 2020 15:53:16 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "connect-in-out",
      "uid": "11141e9f-9ca0-42fb-b603-1a84f39f3d0c",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}