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 documentation

vesctl yaml response:

items:
- labels: {}
  name: protocol-policer-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 4dffeb21-7dd7-409e-a199-ec2d520b2a56

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

curl response

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

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "protocol-policer-1",
      "uid": "4dffeb21-7dd7-409e-a199-ec2d520b2a56",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}