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 documentation

vesctl yaml response:

items:
- labels: {}
  name: dc-cluster-group-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 8a86edf8-a240-4a1b-941a-41b65c87204d

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

curl response

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

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "dc-cluster-group-1",
      "uid": "8a86edf8-a240-4a1b-941a-41b65c87204d",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}