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:
deletedReferredObjects: []
disabledReferredObjects: []
metadata:
annotations: {}
labels: {}
name: acmecorp
namespace: system
referringObjects: []
resourceVersion: "1105"
spec:
asPathChoiceFull: {}
asn: 61205
defaultTunnelBgpSecretNone: {}
prefixes: []
reuseIps: {}
routeAdvertisementMgmtNotSpecified: {}
uuid: a4835e7e-b19e-409f-87d8-f4b3e2d4c1bd
status: []
systemMetadata:
creationTimestamp: "2024-03-21T14:05:44.218319Z"
creatorClass: examplesvc
creatorId: examplesvc
finalizers: []
labels: {}
tenant: acmecorp
uid: faff59c8-cb29-4742-ab83-d2df14f0a2fe
Request using curl:
curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_var_folders_2__8qnt6fwd5dvglr1xqq6l8b7w0000gp_T_go-build3109416560_b001_apidocs.test/host=C02FN35BMD6R/svc=S:examplesvc/site=mytestce01' '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: 1074
Content-Type: application/json
Date: Thu, 21 Mar 2024 14:05:44 GMT
Vary: Accept-Encoding
{
"resource_version": "1105",
"metadata": {
"name": "acmecorp",
"namespace": "system",
"labels": {
},
"annotations": {
},
"description": "",
"disable": false
},
"system_metadata": {
"uid": "faff59c8-cb29-4742-ab83-d2df14f0a2fe",
"creation_timestamp": "2024-03-21T14:05:44.218319Z",
"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": "",
"reuse_ips": {
},
"route_advertisement_mgmt_not_specified": {
},
"default_tunnel_bgp_secret_none": {
},
"as_path_choice_full": {
}
},
"status": [
],
"referring_objects": [
],
"deleted_referred_objects": [
],
"disabled_referred_objects": [
]
}