ves-io-schema-virtual_network-API-List

Examples of listing virtual_network

Usecase:

List virtual-network

Request using vesctl:

vesctl configuration list virtual_network --namespace documentation

vesctl yaml response:

items:
- labels: {}
  name: virtual-network-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: cc63cd0a-8f43-4019-8617-552b63a4f86e

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/documentation/virtual_networks'

curl response

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

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "virtual-network-1",
      "uid": "cc63cd0a-8f43-4019-8617-552b63a4f86e",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}