ves-io-schema-healthcheck-API-List

Examples of listing healthcheck

Usecase:

List all healthcheck objects

Request using vesctl:

vesctl configuration list healthcheck --namespace documentation

vesctl yaml response:

errors: []
items:
- annotations: {}
  labels: {}
  name: healthcheck-details
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 56f1c54e-d22d-4803-acc3-634d1bed5383
- annotations: {}
  labels: {}
  name: healthcheck-productpage
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 57aa3f67-ffe9-46a4-aec5-06cb6c336dd9
- annotations: {}
  labels: {}
  name: healthcheck-ratings
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 15651e7e-7fe6-46cd-a459-26f0ca699d6f
- annotations: {}
  labels: {}
  name: healthcheck-reviews
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 6010c663-912f-4161-a753-cf3e2c86825d

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

curl response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Wed, 25 Aug 2021 09:03:07 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "healthcheck-details",
      "uid": "56f1c54e-d22d-4803-acc3-634d1bed5383",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    },
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "healthcheck-productpage",
      "uid": "57aa3f67-ffe9-46a4-aec5-06cb6c336dd9",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    },
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "healthcheck-ratings",
      "uid": "15651e7e-7fe6-46cd-a459-26f0ca699d6f",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    },
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "healthcheck-reviews",
      "uid": "6010c663-912f-4161-a753-cf3e2c86825d",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}