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:

items:
- annotations: {}
  labels: {}
  name: usb-list-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 433f1805-30eb-4158-a9a8-915b9d59b388

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build817539475_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: 443
Content-Type: application/json
Date: Mon, 22 Feb 2021 15:45:00 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "usb-list-1",
      "uid": "433f1805-30eb-4158-a9a8-915b9d59b388",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}