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:

items:
- labels: {}
  name: fast-acl-rule-black-list-deny
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: 0bab3b97-f16b-4e0b-b834-aefb1d04a907
- labels: {}
  name: fast-acl-rule-white-list
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: 97804d4d-9b93-4971-8226-d7ca30a23107

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build896999001_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: 612
Content-Type: application/json
Date: Fri, 31 Jul 2020 12:54:11 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "fast-acl-rule-black-list-deny",
      "uid": "0bab3b97-f16b-4e0b-b834-aefb1d04a907",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    },
    {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "fast-acl-rule-white-list",
      "uid": "97804d4d-9b93-4971-8226-d7ca30a23107",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}