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: "1988"
spec: {}
status: []
systemMetadata:
  creationTimestamp: "2022-01-12T14:51:56.975559600Z"
  creatorClass: examplesvc
  creatorId: examplesvc
  finalizers: []
  tenant: acmecorp
  uid: 66a8c005-92c2-42a0-bf5e-6b68da5b513e

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/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 Jan 2022 14:51:56 GMT
Vary: Accept-Encoding

{
  "object": null,
  "create_form": null,
  "replace_form": null,
  "resource_version": "1988",
  "metadata": {
    "name": "object-1",
    "namespace": "documentation",
    "labels": {
    },
    "annotations": {
    },
    "description": "",
    "disable": false
  },
  "system_metadata": {
    "uid": "66a8c005-92c2-42a0-bf5e-6b68da5b513e",
    "creation_timestamp": "2022-01-12T14:51:56.975559600Z",
    "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": [
  ]
}