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:
- annotations: {}
  labels: {}
  name: connect-in-out
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: 66b188a6-1b5e-452d-981b-1b3fecb68d3c

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build318584715_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: 440
Content-Type: application/json
Date: Wed, 31 Mar 2021 08:29:25 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "connect-in-out",
      "uid": "66b188a6-1b5e-452d-981b-1b3fecb68d3c",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}