ves-io-schema-tunnel-API-List
On This Page:
Examples of listing tunnel
Usecase:
List tunnel
Request using vesctl:
vesctl configuration list tunnel --namespace system
vesctl yaml response:
errors: []
items:
- annotations: {}
labels: {}
name: tunnel-1
namespace: system
statusSet: []
tenant: acmecorp
uid: 8bcc6d7e-8fea-4d03-8c62-6fe3fc32b76f
Request using curl:
curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build1372770011_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/system/tunnels'
curl response
HTTP/1.1 200 OK
Content-Length: 453
Content-Type: application/json
Date: Thu, 28 Jul 2022 12:13:52 GMT
Vary: Accept-Encoding
{
"items": [
{
"tenant": "acmecorp",
"namespace": "system",
"name": "tunnel-1",
"uid": "8bcc6d7e-8fea-4d03-8c62-6fe3fc32b76f",
"description": "",
"disabled": false,
"labels": {
},
"annotations": {
},
"owner_view": null,
"metadata": null,
"system_metadata": null,
"object": null,
"get_spec": null,
"status_set": [
]
}
],
"errors": [
]
}