ves-io-schema-dc_cluster_group-API-List

Examples of listing dcclustergroup

Usecase:

List dc-cluster-group

Request using vesctl:

vesctl configuration list dc_cluster_group --namespace system

vesctl yaml response:

errors: []
items:
- annotations: {}
  labels: {}
  name: dc-cluster-group-1
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: d53d888e-28d9-41ad-9c93-91c504185448

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/dc_cluster_groups'

curl response

HTTP/1.1 200 OK
Content-Length: 463
Content-Type: application/json
Date: Wed, 25 Aug 2021 09:02:54 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "dc-cluster-group-1",
      "uid": "d53d888e-28d9-41ad-9c93-91c504185448",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}