ves-io-schema-voltshare_admin_policy-API-List

Examples of listing voltshareadminpolicy

Usecase:

List voltshare-admin-policy

Request using vesctl:

vesctl configuration list voltshare_admin_policy --namespace documentation

vesctl yaml response:

errors: []
items:
- annotations: {}
  labels: {}
  name: voltshare-admin-policy-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 7741d6dc-4a31-4e66-a5bf-704a5f40bb6b

Request using curl:

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

curl response

HTTP/1.1 200 OK
Content-Length: 476
Content-Type: application/json
Date: Wed, 02 Jun 2021 10:23:00 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "voltshare-admin-policy-1",
      "uid": "7741d6dc-4a31-4e66-a5bf-704a5f40bb6b",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}