Skip to content

Discovery

API to replace discovery object for a site or virtual site in system namespace.

ToolDescription
f5xc-api-api-discovery-createCreate Discovery.
f5xc-api-api-discovery-getGET Discovery.
f5xc-api-api-discovery-listList Discovery.
f5xc-api-api-discovery-updateReplace Discovery.
f5xc-api-api-discovery-deleteDELETE Discovery.
ParameterDescriptionExample
metadata.namespaceNamespace-
nameName-
namespaceNamespace-
metadata.nameName-
ParameterDescriptionExample
response_formatThe format in which the configuration object is to be fetched. This could be for example-
label_filterA LabelSelectorType expression that every item in list response will satisfy.-
report_fieldsThe report_fields parameter-
report_status_fieldsThe report_status_fields parameter-

This resource includes mutually exclusive configuration options:

OptionDescriptionRecommended
spec.cluster_id-
spec.no_cluster_id-
OptionDescriptionRecommended
spec.discovery_consul-
spec.discovery_k8s-
OptionDescriptionRecommended
OptionDescriptionRecommended
spec.discovery_consul.access_info.connection_info.tls_info.key_url.blindfold_secret_info-
spec.discovery_consul.access_info.connection_info.tls_info.key_url.clear_secret_info-
OptionDescriptionRecommended
spec.discovery_consul.publish_info.disable-
spec.discovery_consul.publish_info.publish-
OptionDescriptionRecommended
spec.discovery_k8s.access_info.connection_info-
spec.discovery_k8s.access_info.kubeconfig_url-
OptionDescriptionRecommended
spec.discovery_k8s.access_info.isolated-
spec.discovery_k8s.access_info.reachable-
OptionDescriptionRecommended
spec.where.site-
spec.where.virtual_network-
spec.where.virtual_site-
OptionDescriptionRecommended
spec.where.site.disable_internet_vip-
spec.where.site.enable_internet_vip-

Ask Claude to help you work with Discovery resources:

“Create a discovery named ‘example’ in the ‘production’ namespace”

“List all discoverys in the ‘production’ namespace”

“Get details of the discovery named ‘example’ in namespace ‘production‘“

Terminal window
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/discoverys" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Get specific resource
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/discoverys/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Create resource
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/discoverys" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @discovery.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/discoverys/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"