ves-io-schema-views-aws_vpc_site-API-List

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:

errors: []
items:
- annotations: {}
  labels: {}
  name: vpc-site-1
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: 8ef75cdb-4295-49e2-af69-2dad8d988a29
- annotations: {}
  labels: {}
  name: vpc-site-2
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: dd09603b-044e-4c42-9194-d945e68ec68e
- annotations: {}
  labels: {}
  name: vpc-site-3
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: 80ff5d18-34c3-4a50-b669-726fb8f51148
- annotations: {}
  labels: {}
  name: vpc-site-4
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: 1e4950f4-432a-4a09-b884-7e2400ac3cce

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build381173587_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: Wed, 14 Jul 2021 08:08:43 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "vpc-site-1",
      "uid": "8ef75cdb-4295-49e2-af69-2dad8d988a29",
      "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": "dd09603b-044e-4c42-9194-d945e68ec68e",
      "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": "80ff5d18-34c3-4a50-b669-726fb8f51148",
      "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": "1e4950f4-432a-4a09-b884-7e2400ac3cce",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}