ves-io-schema-fast_acl_set-API-Get

Examples of getting fastaclset

Usecase:

Get acmecorp-fast-acl-set from system namespace

Request using vesctl:

vesctl configuration get fast_acl_set acmecorp-fast-acl-set --namespace system

vesctl yaml response:

metadata:
  annotations: {}
  labels: {}
  name: acmecorp-fast-acl-set
  namespace: system
object:
  metadata:
    annotations: {}
    labels: {}
    name: acmecorp-fast-acl-set
    namespace: system
    uid: bd1432bc-4d6b-4d63-ae77-ba424a1e9a5c
  spec:
    gcSpec:
      aclList:
      - kind: fast_acl.Object
        name: acmecorp-fast-acl-2
        namespace: system
        tenant: acmecorp
  systemMetadata:
    creationTimestamp: "2020-10-19T09:48:23.690408Z"
    creatorClass: examplesvc
    creatorId: examplesvc
    finalizers: []
    namespace:
    - kind: namespace
      name: system
      tenant: acmecorp
    tenant: acmecorp
    traceInfo: 1e3e22e626d235ce:1e3e22e626d235ce:0:1
    uid: bd1432bc-4d6b-4d63-ae77-ba424a1e9a5c
resourceVersion: "249"
spec:
  aclList:
  - kind: fast_acl.Object
    name: acmecorp-fast-acl-2
    namespace: system
    tenant: acmecorp
status: []
systemMetadata:
  creationTimestamp: "2020-10-19T09:48:23.690408Z"
  creatorClass: examplesvc
  creatorId: examplesvc
  finalizers: []
  tenant: acmecorp
  uid: bd1432bc-4d6b-4d63-ae77-ba424a1e9a5c

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build185306297_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/system/fast_acl_sets/acmecorp-fast-acl-set?response_format=0'

curl response:

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 19 Oct 2020 09:48:23 GMT
Vary: Accept-Encoding

{
  "object": {
    "metadata": {
      "name": "acmecorp-fast-acl-set",
      "namespace": "system",
      "uid": "bd1432bc-4d6b-4d63-ae77-ba424a1e9a5c",
      "labels": {
      },
      "annotations": {
      },
      "description": "",
      "disable": false
    },
    "system_metadata": {
      "uid": "bd1432bc-4d6b-4d63-ae77-ba424a1e9a5c",
      "creation_timestamp": "2020-10-19T09:48:23.690408Z",
      "deletion_timestamp": null,
      "modification_timestamp": null,
      "initializers": null,
      "finalizers": [
      ],
      "tenant": "acmecorp",
      "creator_class": "examplesvc",
      "creator_id": "examplesvc",
      "creator_cookie": "",
      "trace_info": "1e3e22e626d235ce:1e3e22e626d235ce:0:1",
      "object_index": 0,
      "namespace": [
        {
          "kind": "namespace",
          "uid": "",
          "tenant": "acmecorp",
          "namespace": "",
          "name": "system"
        }
      ],
      "owner_view": null
    },
    "spec": {
      "gc_spec": {
        "acl_list": [
          {
            "kind": "fast_acl.Object",
            "uid": "",
            "tenant": "acmecorp",
            "namespace": "system",
            "name": "acmecorp-fast-acl-2"
          }
        ]
      }
    }
  },
  "create_form": null,
  "replace_form": null,
  "resource_version": "249",
  "metadata": {
    "name": "acmecorp-fast-acl-set",
    "namespace": "system",
    "labels": {
    },
    "annotations": {
    },
    "description": "",
    "disable": false
  },
  "system_metadata": {
    "uid": "bd1432bc-4d6b-4d63-ae77-ba424a1e9a5c",
    "creation_timestamp": "2020-10-19T09:48:23.690408Z",
    "deletion_timestamp": null,
    "modification_timestamp": null,
    "initializers": null,
    "finalizers": [
    ],
    "tenant": "acmecorp",
    "creator_class": "examplesvc",
    "creator_id": "examplesvc",
    "object_index": 0,
    "owner_view": null
  },
  "spec": {
    "acl_list": [
      {
        "kind": "fast_acl.Object",
        "uid": "",
        "tenant": "acmecorp",
        "namespace": "system",
        "name": "acmecorp-fast-acl-2"
      }
    ]
  },
  "status": [
  ]
}