ves-io-schema-network_firewall-API-List

Examples of listing network_firewall

Usecase:

List network-firewall

Request using vesctl:

vesctl configuration list network_firewall --namespace documentation

vesctl yaml response:

errors: []
items:
- annotations: {}
  labels: {}
  name: network-firewall-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 5698d321-4099-48de-b7ca-a5a2338b0c76

Request using curl:

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

curl response

HTTP/1.1 200 OK
Content-Length: 470
Content-Type: application/json
Date: Wed, 25 Aug 2021 09:03:32 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "network-firewall-1",
      "uid": "5698d321-4099-48de-b7ca-a5a2338b0c76",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}