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: 3b5dd844-a958-42fa-8cba-a617cb224668
- annotations: {}
  labels: {}
  name: fast-acl-rule-white-list
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: 2f6672e1-fecd-41a9-8d4d-7397ac333b56

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/system/fast_acl_rules'

curl response

HTTP/1.1 200 OK
Content-Length: 905
Content-Type: application/json
Date: Wed, 25 Aug 2021 09:03:01 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "fast-acl-rule-black-list-deny",
      "uid": "3b5dd844-a958-42fa-8cba-a617cb224668",
      "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": "2f6672e1-fecd-41a9-8d4d-7397ac333b56",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}