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: d6f00efe-acec-4eef-b499-dc85b14de3dc
- annotations: {}
  labels: {}
  name: vpc-site-2
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: 7fa6a895-1b77-4cf8-bfa7-3491d9fc1233
- annotations: {}
  labels: {}
  name: vpc-site-3
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: 20648c1a-ba1a-4ff8-8893-814d01eb887c
- annotations: {}
  labels: {}
  name: vpc-site-4
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: 8e9e7593-5e04-45e2-855f-e9cd49b12b36

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/system/aws_vpc_sites'

curl response

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

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "vpc-site-1",
      "uid": "d6f00efe-acec-4eef-b499-dc85b14de3dc",
      "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": "7fa6a895-1b77-4cf8-bfa7-3491d9fc1233",
      "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": "20648c1a-ba1a-4ff8-8893-814d01eb887c",
      "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": "8e9e7593-5e04-45e2-855f-e9cd49b12b36",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}