ves-io-schema-site_mesh_group-API-Get
On This Page:
Examples of getting site_mesh_group
Usecase:
Get site-mesh-group-1
Request using vesctl:
vesctl configuration get site_mesh_group site-mesh-group-1 --namespace system
vesctl yaml response:
deletedReferredObjects: []
disabledReferredObjects: []
metadata:
annotations: {}
labels: {}
name: site-mesh-group-1
namespace: system
referringObjects: []
resourceVersion: "2451"
spec:
hub:
- kind: site_mesh_group
name: site-mesh-group-hub-2
namespace: system
tenant: acmecorp
type: SITE_MESH_GROUP_TYPE_SPOKE
virtualSite:
- kind: virtual_site
name: vsite-spoke-2
namespace: system
tenant: acmecorp
status: []
systemMetadata:
creationTimestamp: "2023-09-08T16:04:13.192032Z"
creatorClass: examplesvc
creatorId: examplesvc
finalizers: []
labels: {}
tenant: acmecorp
uid: ff352c5a-2428-4d1f-84a4-8d1a141f59ae
Request using curl:
curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_var_folders_2__8qnt6fwd5dvglr1xqq6l8b7w0000gp_T_go-build2547058132_b001_apidocs.test/host=C02FN35BMD6R/svc=S:examplesvc/site=mytestce01' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/system/site_mesh_groups/site-mesh-group-1?response_format=0'
curl response:
HTTP/1.1 200 OK
Content-Length: 1309
Content-Type: application/json
Date: Fri, 08 Sep 2023 16:04:13 GMT
Vary: Accept-Encoding
X-Volterra-Response-Fields-Deprecated: object
{
"object": null,
"create_form": null,
"replace_form": null,
"resource_version": "2451",
"metadata": {
"name": "site-mesh-group-1",
"namespace": "system",
"labels": {
},
"annotations": {
},
"description": "",
"disable": false
},
"system_metadata": {
"uid": "ff352c5a-2428-4d1f-84a4-8d1a141f59ae",
"creation_timestamp": "2023-09-08T16:04:13.192032Z",
"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": {
"type": "SITE_MESH_GROUP_TYPE_SPOKE",
"tunnel_type": "SITE_TO_SITE_TUNNEL_IPSEC_OR_SSL",
"virtual_site": [
{
"kind": "virtual_site",
"uid": "",
"tenant": "acmecorp",
"namespace": "system",
"name": "vsite-spoke-2"
}
],
"hub": [
{
"kind": "site_mesh_group",
"uid": "",
"tenant": "acmecorp",
"namespace": "system",
"name": "site-mesh-group-hub-2"
}
]
},
"status": [
],
"referring_objects": [
],
"deleted_referred_objects": [
],
"disabled_referred_objects": [
]
}