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: c9b32d3f-a019-4528-bfb6-82d261683893
- annotations: {}
  labels: {}
  name: vpc-site-2
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: 68f2b5dd-0599-4c16-a797-411d51749200
- annotations: {}
  labels: {}
  name: vpc-site-3
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: 4fb4eb04-e9ee-46ed-87ce-c198bc5aa05e
- annotations: {}
  labels: {}
  name: vpc-site-4
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: 48fbce0d-f668-4a15-8146-0549aa5666ac

        

Request using curl:

          curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_var_folders_2__8qnt6fwd5dvglr1xqq6l8b7w0000gp_T_go-build3109416560_b001_apidocs.test/host=C02FN35BMD6R/svc=S:examplesvc/site=mytestce01' '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, 21 Mar 2024 14:08:35 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "vpc-site-1",
      "uid": "c9b32d3f-a019-4528-bfb6-82d261683893",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "get_spec": null,
      "status_set": [
      ]
    },
    {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "vpc-site-2",
      "uid": "68f2b5dd-0599-4c16-a797-411d51749200",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "get_spec": null,
      "status_set": [
      ]
    },
    {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "vpc-site-3",
      "uid": "4fb4eb04-e9ee-46ed-87ce-c198bc5aa05e",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "get_spec": null,
      "status_set": [
      ]
    },
    {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "vpc-site-4",
      "uid": "48fbce0d-f668-4a15-8146-0549aa5666ac",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}