ves-io-schema-kms_policy_rule-API-List

Examples of listing kmspolicyrule

Usecase:

List kms-policy-rule

Request using vesctl:

vesctl configuration list kms_policy_rule --namespace documentation

vesctl yaml response:

items:
- labels: {}
  name: kms-policy-rule-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 381501cb-264e-4597-b971-e77b30957704

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build013258245_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/kms/namespaces/documentation/kms_policy_rules'

curl response

HTTP/1.1 200 OK
Content-Length: 313
Content-Type: application/json
Date: Wed, 16 Sep 2020 10:50:24 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "kms-policy-rule-1",
      "uid": "381501cb-264e-4597-b971-e77b30957704",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}