ves-io-schema-tpm_manager-API-Get

Examples of getting tpm_manager

Usecase:

                    Get "tpm manager" that was created in previous example

Request using vesctl:

vesctl configuration get tpm_manager tpm-manager-001 --namespace documentation

vesctl yaml response:

metadata:
  annotations: {}
  labels: {}
  name: tpm-manager-001
  namespace: documentation
referringObjects: []
resourceVersion: "917"
spec: {}
status: []
systemMetadata:
  creationTimestamp: "2021-06-02T10:22:28.743041248Z"
  creatorClass: examplesvc
  creatorId: examplesvc
  finalizers: []
  tenant: acmecorp
  uid: 9188c5ae-c72d-48bb-8519-993b9995a77d

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build186462253_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/tpm/namespaces/documentation/tpm_managers/tpm-manager-001?response_format=0'

curl response:

HTTP/1.1 200 OK
Content-Length: 778
Content-Type: application/json
Date: Wed, 02 Jun 2021 10:22:28 GMT
Vary: Accept-Encoding

{
  "object": null,
  "create_form": null,
  "resource_version": "917",
  "metadata": {
    "name": "tpm-manager-001",
    "namespace": "documentation",
    "labels": {
    },
    "annotations": {
    },
    "description": "",
    "disable": false
  },
  "system_metadata": {
    "uid": "9188c5ae-c72d-48bb-8519-993b9995a77d",
    "creation_timestamp": "2021-06-02T10:22:28.743041248Z",
    "deletion_timestamp": null,
    "modification_timestamp": null,
    "initializers": null,
    "finalizers": [
    ],
    "tenant": "acmecorp",
    "creator_class": "examplesvc",
    "creator_id": "examplesvc",
    "object_index": 0,
    "owner_view": null
  },
  "spec": {
    "ak_root_ca_name": "",
    "ak_root_ca_certificate": ""
  },
  "status": [
  ],
  "referring_objects": [
  ]
}