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: "959"
spec: {}
status: []
systemMetadata:
  creationTimestamp: "2022-01-12T14:49:32.256671600Z"
  creatorClass: examplesvc
  creatorId: examplesvc
  finalizers: []
  tenant: acmecorp
  uid: ba69e944-97ee-4ae9-a125-d9731adf81ef

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build038462651_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, 12 Jan 2022 14:49:32 GMT
Vary: Accept-Encoding

{
  "object": null,
  "create_form": null,
  "replace_form": null,
  "resource_version": "959",
  "metadata": {
    "name": "connect-in-out",
    "namespace": "system",
    "labels": {
    },
    "annotations": {
    },
    "description": "",
    "disable": false
  },
  "system_metadata": {
    "uid": "ba69e944-97ee-4ae9-a125-d9731adf81ef",
    "creation_timestamp": "2022-01-12T14:49:32.256671600Z",
    "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": [
  ]
}