ves-io-schema-fast_acl_rule-API-List

Examples of listing fastaclrule

Usecase:

List all fast acl rules in the system namespace

Request using vesctl:

vesctl configuration list fast_acl_rule --namespace system

vesctl yaml response:

errors: []
items:
- annotations: {}
  labels: {}
  name: fast-acl-rule-black-list-deny
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: 99b6f7c4-9b02-4708-8ddb-8115ed144a74
- annotations: {}
  labels: {}
  name: fast-acl-rule-white-list
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: 0cd8c594-41ad-4e0e-baef-e0d29f1d98ee

Request using curl:

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

curl response

HTTP/1.1 200 OK
Content-Length: 905
Content-Type: application/json
Date: Wed, 12 May 2021 11:17:49 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "fast-acl-rule-black-list-deny",
      "uid": "99b6f7c4-9b02-4708-8ddb-8115ed144a74",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    },
    {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "fast-acl-rule-white-list",
      "uid": "0cd8c594-41ad-4e0e-baef-e0d29f1d98ee",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}