ves-io-schema-network_interface-API-List

Examples of listing network_interface

Usecase:

List network-interface

Request using vesctl:

vesctl configuration list network_interface --namespace documentation

vesctl yaml response:

items:
- labels: {}
  name: network-interface-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: ccf78e13-8375-47df-9648-30a983fdcc42

Request using curl:

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

curl response

HTTP/1.1 200 OK
Content-Length: 315
Content-Type: application/json
Date: Fri, 15 May 2020 10:52:49 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "network-interface-1",
      "uid": "ccf78e13-8375-47df-9648-30a983fdcc42",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}