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: "946"
spec: {}
status: []
systemMetadata:
  creationTimestamp: "2021-08-25T09:04:12.675078862Z"
  creatorClass: examplesvc
  creatorId: examplesvc
  finalizers: []
  tenant: acmecorp
  uid: e7d06597-c48e-4777-b7ee-3d0a86c7c961

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build970361017_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, 25 Aug 2021 09:04:12 GMT
Vary: Accept-Encoding

{
  "object": null,
  "create_form": null,
  "resource_version": "946",
  "metadata": {
    "name": "tpm-manager-001",
    "namespace": "documentation",
    "labels": {
    },
    "annotations": {
    },
    "description": "",
    "disable": false
  },
  "system_metadata": {
    "uid": "e7d06597-c48e-4777-b7ee-3d0a86c7c961",
    "creation_timestamp": "2021-08-25T09:04:12.675078862Z",
    "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": [
  ]
}