ves-io-schema-infraprotect_information-API-Get
On This Page:
Examples of getting infraprotect_information
Usecase:
Get infraprotect information
Request using vesctl:
vesctl configuration get infraprotect_information acmecorp --namespace system
vesctl yaml response:
metadata:
annotations: {}
labels: {}
name: acmecorp
namespace: system
referringObjects: []
resourceVersion: "768"
spec:
asn: 61205
prefixes: []
uuid: a4835e7e-b19e-409f-87d8-f4b3e2d4c1bd
status: []
systemMetadata:
creationTimestamp: "2022-07-28T12:10:27.904637524Z"
creatorClass: examplesvc
creatorId: examplesvc
finalizers: []
labels: {}
tenant: acmecorp
uid: f6f3c676-8e81-42b5-8b80-ee54a8b80386
Request using curl:
curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build1372770011_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/infraprotect/namespaces/system/infraprotect_informations/acmecorp?response_format=0'
curl response:
HTTP/1.1 200 OK
Content-Length: 851
Content-Type: application/json
Date: Thu, 28 Jul 2022 12:10:27 GMT
Vary: Accept-Encoding
X-Volterra-Response-Fields-Deprecated: object
{
"object": null,
"resource_version": "768",
"metadata": {
"name": "acmecorp",
"namespace": "system",
"labels": {
},
"annotations": {
},
"description": "",
"disable": false
},
"system_metadata": {
"uid": "f6f3c676-8e81-42b5-8b80-ee54a8b80386",
"creation_timestamp": "2022-07-28T12:10:27.904637524Z",
"deletion_timestamp": null,
"modification_timestamp": null,
"initializers": null,
"finalizers": [
],
"tenant": "acmecorp",
"creator_class": "examplesvc",
"creator_id": "examplesvc",
"object_index": 0,
"owner_view": null,
"labels": {
}
},
"spec": {
"asn": 61205,
"uuid": "a4835e7e-b19e-409f-87d8-f4b3e2d4c1bd",
"prefixes": [
],
"arbor_cid": "",
"primary_network_name": ""
},
"status": [
],
"referring_objects": [
]
}