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:

errors: []
items:
- annotations: {}
  labels: {}
  name: connect-in-out
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: a55283b2-26f1-4674-b4a3-1351e373136b

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build186462253_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: 459
Content-Type: application/json
Date: Wed, 02 Jun 2021 10:21:43 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "connect-in-out",
      "uid": "a55283b2-26f1-4674-b4a3-1351e373136b",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}