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: a47c61ad-ac56-4490-912f-c90367b16baf
- annotations: {}
  labels: {}
  name: vpc-site-2
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: 723c07b9-52a1-47ce-9d68-5ed8f39c374f
- annotations: {}
  labels: {}
  name: vpc-site-3
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: ebfff27f-7ccd-4cee-a139-07fbf233247e
- annotations: {}
  labels: {}
  name: vpc-site-4
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: f0e3e935-83e0-40a0-b03e-61c8920f4f46

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build672621555_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, 12 May 2021 11:19:03 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "vpc-site-1",
      "uid": "a47c61ad-ac56-4490-912f-c90367b16baf",
      "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": "723c07b9-52a1-47ce-9d68-5ed8f39c374f",
      "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": "ebfff27f-7ccd-4cee-a139-07fbf233247e",
      "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": "f0e3e935-83e0-40a0-b03e-61c8920f4f46",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}