ves-io-schema-views-tenant_configuration-API-Get

Examples of getting tenant_configuration

Usecase:

Get tenant_configuration.

Request using vesctl:

vesctl configuration get tenant_configuration object-1 --namespace documentation

vesctl yaml response:

metadata:
  annotations: {}
  labels: {}
  name: object-1
  namespace: documentation
referringObjects: []
resourceVersion: "1088"
spec: {}
status: []
systemMetadata:
  creationTimestamp: "2021-05-12T11:19:12.736798977Z"
  creatorClass: examplesvc
  creatorId: examplesvc
  finalizers: []
  tenant: acmecorp
  uid: f8093c88-bb25-4253-9faf-042a08b9be5d

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build672621555_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/documentation/tenant_configurations/object-1?response_format=0'

curl response:

HTTP/1.1 200 OK
Content-Length: 841
Content-Type: application/json
Date: Wed, 12 May 2021 11:19:12 GMT
Vary: Accept-Encoding

{
  "object": null,
  "create_form": null,
  "replace_form": null,
  "resource_version": "1088",
  "metadata": {
    "name": "object-1",
    "namespace": "documentation",
    "labels": {
    },
    "annotations": {
    },
    "description": "",
    "disable": false
  },
  "system_metadata": {
    "uid": "f8093c88-bb25-4253-9faf-042a08b9be5d",
    "creation_timestamp": "2021-05-12T11:19:12.736798977Z",
    "deletion_timestamp": null,
    "modification_timestamp": null,
    "initializers": null,
    "finalizers": [
    ],
    "tenant": "acmecorp",
    "creator_class": "examplesvc",
    "creator_id": "examplesvc",
    "object_index": 0,
    "owner_view": null
  },
  "spec": {
    "basic_configuration": null,
    "brute_force_detection_settings": null,
    "password_policy": null
  },
  "status": [
  ],
  "referring_objects": [
  ]
}