ves-io-schema-nfv_service-API-Get

Examples of getting nfv_service

Usecase:

Get nfv-svc-1

Request using vesctl:

vesctl configuration get nfv_service nfv-svc-1 --namespace documentation

vesctl yaml response:

metadata:
  annotations: {}
  labels: {}
  name: nfv-svc-1
  namespace: documentation
referringObjects: []
resourceVersion: "1052"
spec:
  disableHttpsManagement: {}
  f5BigIpAwsService:
    adminPassword:
      clearSecretInfo:
        url: string://<base64>
    awsTgwSiteParams:
      awsTgwSite:
        name: mysite
        namespace: documentation
        tenant: acmecorp
    marketPlaceImage:
      AWAFPayG200Mbps: {}
    nodes:
    - automaticPrefix: {}
      awsAzName: us-west-2a
      nodeName: node1
      reservedMgmtSubnet: {}
    tags: {}
status: []
systemMetadata:
  creationTimestamp: "2022-01-12T14:49:43.926162600Z"
  creatorClass: examplesvc
  creatorId: examplesvc
  finalizers: []
  tenant: acmecorp
  uid: ee5e05f7-d498-4c23-b3bb-98749d5c4805

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build038462651_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/documentation/nfv_services/nfv-svc-1?response_format=0'

curl response:

HTTP/1.1 200 OK
Content-Type: application/json
Date: Wed, 12 Jan 2022 14:49:43 GMT
Vary: Accept-Encoding

{
  "object": null,
  "create_form": null,
  "replace_form": null,
  "resource_version": "1052",
  "metadata": {
    "name": "nfv-svc-1",
    "namespace": "documentation",
    "labels": {
    },
    "annotations": {
    },
    "description": "",
    "disable": false
  },
  "system_metadata": {
    "uid": "ee5e05f7-d498-4c23-b3bb-98749d5c4805",
    "creation_timestamp": "2022-01-12T14:49:43.926162600Z",
    "deletion_timestamp": null,
    "modification_timestamp": null,
    "initializers": null,
    "finalizers": [
    ],
    "tenant": "acmecorp",
    "creator_class": "examplesvc",
    "creator_id": "examplesvc",
    "object_index": 0,
    "owner_view": null
  },
  "spec": {
    "f5_big_ip_aws_service": {
      "market_place_image": {
        "AWAFPayG200Mbps": {

        }
      },
      "admin_password": {
        "clear_secret_info": {
          "provider": "",
          "url": "string://\u003cbase64\u003e"
        },
        "blindfold_secret_info_internal": null,
        "secret_encoding_type": "EncodingNone"
      },
      "admin_username": "",
      "ssh_key": "",
      "aws_tgw_site_params": {
        "aws_tgw_site": {
          "tenant": "acmecorp",
          "namespace": "documentation",
          "name": "mysite"
        }
      },
      "nodes": [
        {
          "node_name": "node1",
          "aws_az_name": "us-west-2a",
          "automatic_prefix": {

          },
          "reserved_mgmt_subnet": {

          }
        }
      ],
      "tags": {
      }
    },
    "disable_https_management": {

    }
  },
  "status": [
  ],
  "referring_objects": [
  ]
}