ves-io-schema-protocol_policer-API-List

Examples of listing protocol_policer

Usecase:

List protocol_policer

Request using vesctl:

vesctl configuration list protocol_policer --namespace system

vesctl yaml response:

errors: []
items:
- annotations: {}
  labels: {}
  name: protocol-policer-1
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: cde244c3-5c75-4926-a661-657644d12a0e

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/protocol_policers'

curl response

HTTP/1.1 200 OK
Content-Length: 463
Content-Type: application/json
Date: Wed, 02 Jun 2021 10:21:59 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "protocol-policer-1",
      "uid": "cde244c3-5c75-4926-a661-657644d12a0e",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}