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

Examples of listing aws_vpc_site

Usecase:

List all aws_vpc_sites 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: fdd8871d-271c-473c-b5c6-79a13bc43b3a
- annotations: {}
  labels: {}
  name: vpc-site-2
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: c7712bcc-ec9e-4414-abc7-6ed8462cdd04
- annotations: {}
  labels: {}
  name: vpc-site-3
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: 94f3e9bd-a2e8-4eee-915f-af1b2ff90184
- annotations: {}
  labels: {}
  name: vpc-site-4
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: 76e29c5f-2eed-45a2-995b-4dbc8e0bb835

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build1372770011_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: Thu, 28 Jul 2022 12:14:28 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "vpc-site-1",
      "uid": "fdd8871d-271c-473c-b5c6-79a13bc43b3a",
      "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": "c7712bcc-ec9e-4414-abc7-6ed8462cdd04",
      "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": "94f3e9bd-a2e8-4eee-915f-af1b2ff90184",
      "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": "76e29c5f-2eed-45a2-995b-4dbc8e0bb835",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}