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
object:
  metadata:
    annotations: {}
    labels: {}
    name: tpm-manager-001
    namespace: documentation
    uid: d3aa6192-41c0-4fe6-95b0-e4f788f4c67c
  spec:
    gcSpec: {}
  systemMetadata:
    creationTimestamp: "2020-09-16T10:50:57.711923800Z"
    creatorClass: examplesvc
    creatorId: examplesvc
    finalizers: []
    namespace:
    - kind: namespace
      name: documentation
      tenant: acmecorp
    tenant: acmecorp
    traceInfo: 2d0c0cb71f854155:2d0c0cb71f854155:0:1
    uid: d3aa6192-41c0-4fe6-95b0-e4f788f4c67c
resourceVersion: "683"
spec: {}
status: []
systemMetadata:
  creationTimestamp: "2020-09-16T10:50:57.711923800Z"
  creatorClass: examplesvc
  creatorId: examplesvc
  finalizers: []
  tenant: acmecorp
  uid: d3aa6192-41c0-4fe6-95b0-e4f788f4c67c

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build013258245_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-Type: application/json
Date: Wed, 16 Sep 2020 10:50:57 GMT
Vary: Accept-Encoding

{
  "object": {
    "metadata": {
      "name": "tpm-manager-001",
      "namespace": "documentation",
      "uid": "d3aa6192-41c0-4fe6-95b0-e4f788f4c67c",
      "labels": {
      },
      "annotations": {
      },
      "description": "",
      "disable": false
    },
    "system_metadata": {
      "uid": "d3aa6192-41c0-4fe6-95b0-e4f788f4c67c",
      "creation_timestamp": "2020-09-16T10:50:57.711923800Z",
      "deletion_timestamp": null,
      "modification_timestamp": null,
      "initializers": null,
      "finalizers": [
      ],
      "tenant": "acmecorp",
      "creator_class": "examplesvc",
      "creator_id": "examplesvc",
      "creator_cookie": "",
      "trace_info": "2d0c0cb71f854155:2d0c0cb71f854155:0:1",
      "object_index": 0,
      "namespace": [
        {
          "kind": "namespace",
          "uid": "",
          "tenant": "acmecorp",
          "namespace": "",
          "name": "documentation"
        }
      ],
      "owner_view": null
    },
    "spec": {
      "gc_spec": {
        "ek_root_ca_name": "",
        "ek_root_ca_certificate": "",
        "ek_root_ca_password": "",
        "srk_root_ca_name": "",
        "srk_root_ca_certificate": "",
        "srk_root_ca_password": "",
        "ak_root_ca_name": "",
        "ak_root_ca_certificate": "",
        "ak_root_ca_password": ""
      }
    }
  },
  "create_form": null,
  "resource_version": "683",
  "metadata": {
    "name": "tpm-manager-001",
    "namespace": "documentation",
    "labels": {
    },
    "annotations": {
    },
    "description": "",
    "disable": false
  },
  "system_metadata": {
    "uid": "d3aa6192-41c0-4fe6-95b0-e4f788f4c67c",
    "creation_timestamp": "2020-09-16T10:50:57.711923800Z",
    "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": [
  ]
}