ves-io-schema-usb_policy-API-List

Examples of listing usb_policy

Usecase:

List log recervers.

Request using vesctl:

vesctl configuration list usb_policy --namespace documentation

vesctl yaml response:

errors: []
items:
- annotations: {}
  labels: {}
  name: usb-list-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: e670919b-3a83-413b-a9e2-1b83a98face0

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

curl response

HTTP/1.1 200 OK
Content-Length: 462
Content-Type: application/json
Date: Wed, 25 Aug 2021 09:04:15 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "usb-list-1",
      "uid": "e670919b-3a83-413b-a9e2-1b83a98face0",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}