ves-io-schema-virtual_network-API-List
On This Page:
Examples of listing virtual_network
Usecase:
List virtual-network
Request using vesctl:
vesctl configuration list virtual_network --namespace system
vesctl yaml response:
items:
- annotations: {}
labels: {}
name: virtual-network-1
namespace: system
statusSet: []
tenant: acmecorp
uid: 932260fd-6d7c-4ce3-a1ff-81ff4b5bb64e
Request using curl:
curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build318584715_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/system/virtual_networks'
curl response
HTTP/1.1 200 OK
Content-Length: 443
Content-Type: application/json
Date: Wed, 31 Mar 2021 08:30:46 GMT
Vary: Accept-Encoding
{
"items": [
{
"tenant": "acmecorp",
"namespace": "system",
"name": "virtual-network-1",
"uid": "932260fd-6d7c-4ce3-a1ff-81ff4b5bb64e",
"description": "",
"disabled": false,
"labels": {
},
"annotations": {
},
"owner_view": null,
"metadata": null,
"system_metadata": null,
"object": null,
"get_spec": null,
"status_set": [
]
}
]
}