ves-io-schema-network_connector-API-Get

Examples of getting network_connector

Usecase:

Get network-connector connect-in-out from system namespace

Request using vesctl:

vesctl configuration get network_connector connect-in-out --namespace system

vesctl yaml response:

metadata:
  annotations: {}
  labels: {}
  name: connect-in-out
  namespace: system
referringObjects: []
resourceVersion: "588"
spec: {}
status: []
systemMetadata:
  creationTimestamp: "2021-08-25T09:03:31.326966050Z"
  creatorClass: examplesvc
  creatorId: examplesvc
  finalizers: []
  tenant: acmecorp
  uid: edc15ce8-b4da-4a2c-bbc0-92e9b0379180

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/network_connectors/connect-in-out?response_format=0'

curl response:

HTTP/1.1 200 OK
Content-Length: 735
Content-Type: application/json
Date: Wed, 25 Aug 2021 09:03:31 GMT
Vary: Accept-Encoding

{
  "object": null,
  "create_form": null,
  "replace_form": null,
  "resource_version": "588",
  "metadata": {
    "name": "connect-in-out",
    "namespace": "system",
    "labels": {
    },
    "annotations": {
    },
    "description": "",
    "disable": false
  },
  "system_metadata": {
    "uid": "edc15ce8-b4da-4a2c-bbc0-92e9b0379180",
    "creation_timestamp": "2021-08-25T09:03:31.326966050Z",
    "deletion_timestamp": null,
    "modification_timestamp": null,
    "initializers": null,
    "finalizers": [
    ],
    "tenant": "acmecorp",
    "creator_class": "examplesvc",
    "creator_id": "examplesvc",
    "object_index": 0,
    "owner_view": null
  },
  "spec": {

  },
  "status": [
  ],
  "referring_objects": [
  ]
}