ves-io-schema-views-origin_pool-API-List

Examples of listing origin_pool

Usecase:

List origin-pool

Request using vesctl:

vesctl configuration list origin_pool --namespace documentation

vesctl yaml response:

errors: []
items:
- annotations: {}
  labels:
    ves.io/app_type: bookinfo
  name: productpage
  namespace: documentation
  tenant: acmecorp
  uid: 51016dd2-2c44-4803-bc67-7b4aadaaff9b

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

curl response

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

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "productpage",
      "uid": "51016dd2-2c44-4803-bc67-7b4aadaaff9b",
      "description": "",
      "disabled": false,
      "labels": {
        "ves.io/app_type": "bookinfo"
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null
    }
  ],
  "errors": [
  ]
}