ves-io-schema-views-aws_vpc_site-API-List
On This Page:
Examples of listing awsvpcsite
Usecase:
List all awsvpcsites in current namespace
Request using vesctl:
vesctl configuration list aws_vpc_site --namespace system
vesctl yaml response:
items:
- annotations: {}
labels: {}
name: vpc-site-1
namespace: system
statusSet: []
tenant: acmecorp
uid: 0057d4fd-9fb0-4096-b9f5-407aa6da5eaf
- annotations: {}
labels: {}
name: vpc-site-2
namespace: system
statusSet: []
tenant: acmecorp
uid: 78e8b8fe-4dbd-46bb-a977-9cc33d95e90c
- annotations: {}
labels: {}
name: vpc-site-3
namespace: system
statusSet: []
tenant: acmecorp
uid: fbf3657b-6948-4cee-9bfb-08a3e31612aa
- annotations: {}
labels: {}
name: vpc-site-4
namespace: system
statusSet: []
tenant: acmecorp
uid: 65e003ad-1bea-4c03-a82a-48d32fe0f9e6
Request using curl:
curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build817539475_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/system/aws_vpc_sites'
curl response
HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 22 Feb 2021 15:45:06 GMT
Vary: Accept-Encoding
{
"items": [
{
"tenant": "acmecorp",
"namespace": "system",
"name": "vpc-site-1",
"uid": "0057d4fd-9fb0-4096-b9f5-407aa6da5eaf",
"description": "",
"disabled": false,
"labels": {
},
"annotations": {
},
"owner_view": null,
"metadata": null,
"system_metadata": null,
"object": null,
"get_spec": null,
"status_set": [
]
},
{
"tenant": "acmecorp",
"namespace": "system",
"name": "vpc-site-2",
"uid": "78e8b8fe-4dbd-46bb-a977-9cc33d95e90c",
"description": "",
"disabled": false,
"labels": {
},
"annotations": {
},
"owner_view": null,
"metadata": null,
"system_metadata": null,
"object": null,
"get_spec": null,
"status_set": [
]
},
{
"tenant": "acmecorp",
"namespace": "system",
"name": "vpc-site-3",
"uid": "fbf3657b-6948-4cee-9bfb-08a3e31612aa",
"description": "",
"disabled": false,
"labels": {
},
"annotations": {
},
"owner_view": null,
"metadata": null,
"system_metadata": null,
"object": null,
"get_spec": null,
"status_set": [
]
},
{
"tenant": "acmecorp",
"namespace": "system",
"name": "vpc-site-4",
"uid": "65e003ad-1bea-4c03-a82a-48d32fe0f9e6",
"description": "",
"disabled": false,
"labels": {
},
"annotations": {
},
"owner_view": null,
"metadata": null,
"system_metadata": null,
"object": null,
"get_spec": null,
"status_set": [
]
}
]
}