ves-io-schema-views-aws_vpc_site-API-Get

Examples of getting aws_vpc_site

Usecase:

Get vpc-site1 from current namespace

Request using vesctl:

vesctl configuration get aws_vpc_site vpc-site1 --namespace system

vesctl yaml response:

          deletedReferredObjects: []
disabledReferredObjects: []
metadata:
  annotations: {}
  labels: {}
  name: vpc-site1
  namespace: system
referringObjects: []
resourceVersion: "3218"
spec:
  awsCred:
    name: unit-creds-views-aws-test
    namespace: system
    tenant: acmecorp
  awsRegion: eu-west-3
  blockAllServices: {}
  directConnectDisabled: {}
  disableInternetVip: {}
  egressGatewayDefault: {}
  f5xcSecurityGroup: {}
  logsStreamingDisabled: {}
  nodesPerAz: 0
  siteErrors: []
  tags: {}
  vipParamsPerAz: []
  voltstackCluster:
    awsCertifiedHw: aws-byol-voltstack-combo
    azNodes:
    - awsAzName: eu-west-3a
      localSubnet:
        subnetParam:
          ipv4: 192.168.1.0/24
    noDcClusterGroup: {}
    noK8sCluster: {}
    smConnectionPublicIp: {}
    storageClassList:
      storageClasses: []
  vpc:
    newVpc:
      nameTag: aws-vpc-unit-test
      primaryIpv4: 192.168.0.0/16
status: []
systemMetadata:
  creationTimestamp: "2024-03-21T14:08:35.242479Z"
  creatorClass: examplesvc
  creatorId: examplesvc
  finalizers: []
  labels: {}
  tenant: acmecorp
  uid: d11294a5-0b4a-41b3-b4f3-da8edeaa7e70

        

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/vpc-site1?response_format=0'
        

curl response:

          HTTP/1.1 200 OK
Content-Type: application/json
Date: Thu, 21 Mar 2024 14:08:35 GMT
Vary: Accept-Encoding

{
  "create_form": null,
  "replace_form": null,
  "resource_version": "3218",
  "metadata": {
    "name": "vpc-site1",
    "namespace": "system",
    "labels": {
    },
    "annotations": {
    },
    "description": "",
    "disable": false
  },
  "system_metadata": {
    "uid": "d11294a5-0b4a-41b3-b4f3-da8edeaa7e70",
    "creation_timestamp": "2024-03-21T14:08:35.242479Z",
    "deletion_timestamp": null,
    "modification_timestamp": null,
    "initializers": null,
    "finalizers": [
    ],
    "tenant": "acmecorp",
    "creator_class": "examplesvc",
    "creator_id": "examplesvc",
    "object_index": 0,
    "owner_view": null,
    "labels": {
    }
  },
  "spec": {
    "vpc": {
      "new_vpc": {
        "name_tag": "aws-vpc-unit-test",
        "primary_ipv4": "192.168.0.0/16",
        "allocate_ipv6": false
      }
    },
    "voltstack_cluster": {
      "aws_certified_hw": "aws-byol-voltstack-combo",
      "az_nodes": [
        {
          "aws_az_name": "eu-west-3a",
          "local_subnet": {
            "subnet_param": {
              "ipv4": "192.168.1.0/24",
              "ipv6": ""
            }
          },
          "disk_size": 0
        }
      ],
      "no_dc_cluster_group": {

      },
      "sm_connection_public_ip": {

      },
      "storage_class_list": {
        "storage_classes": [
        ]
      },
      "allowed_vip_port": null,
      "no_k8s_cluster": {

      }
    },
    "aws_cred": {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "unit-creds-views-aws-test"
    },
    "instance_type": "",
    "disk_size": 0,
    "volterra_software_version": "",
    "operating_system_version": "",
    "aws_region": "eu-west-3",
    "ssh_key": "",
    "address": "",
    "coordinates": null,
    "logs_streaming_disabled": {

    },
    "site_state": "ONLINE",
    "vip_params_per_az": [
    ],
    "user_modification_timestamp": null,
    "tags": {
    },
    "nodes_per_az": 0,
    "block_all_services": {

    },
    "direct_connect_disabled": {

    },
    "offline_survivability_mode": null,
    "disable_internet_vip": {

    },
    "egress_gateway_default": {

    },
    "suggested_action": "",
    "error_description": "",
    "f5xc_security_group": {

    },
    "site_errors": [
    ],
    "validation_state": "VALIDATION_STATE_NONE",
    "custom_dns": null,
    "cloud_site_info": null,
    "direct_connect_info": null
  },
  "status": [
  ],
  "referring_objects": [
  ],
  "deleted_referred_objects": [
  ],
  "disabled_referred_objects": [
  ]
}