Virtual Host provides tools for creating, listing, retrieving, updating, and deleting resources in F5 Distributed Cloud.
| Tool | Description |
|---|
f5xc-api-virtual-virtual-host-create | Create Virtual Host. |
f5xc-api-virtual-virtual-host-get | Get Virtual Host. |
f5xc-api-virtual-virtual-host-list | List Virtual Host. |
f5xc-api-virtual-virtual-host-update | Update Virtual Host. |
f5xc-api-virtual-virtual-host-delete | Delete Virtual Host. |
| Parameter | Description | Example |
|---|
namespace | Namespace This defines the workspace within which each the configuration object is to be created. | system |
name | Name The name of the configuration object to be fetched. | example-resource |
| Parameter | Description | Example |
|---|
response_format | The format in which the configuration object is to be fetched. This could be for example - in GetSpec form for the contents of object… | GET_RSP_FORMAT_DEFAULT |
label_filter | A LabelSelectorType expression that every item in list response will satisfy. | - |
report_fields | The report_fields parameter… | - |
report_status_fields | The report_status_fields parameter… | - |
This resource includes mutually exclusive configuration options:
| Option | Description | Recommended |
|---|
spec.authentication | Authentication | |
spec.no_authentication | No authentication | |
| Option | Description | Recommended |
|---|
spec.captcha_challenge | Captcha challenge | |
spec.js_challenge | Js challenge | |
spec.no_challenge | No challenge | |
| Option | Description | Recommended |
|---|
spec.default_loadbalancer | Default loadbalancer | |
spec.non_default_loadbalancer | Non default loadbalancer | |
| Option | Description | Recommended |
|---|
spec.disable_path_normalize | Disable path normalize | |
spec.enable_path_normalize | Enable path normalize | |
| Option | Description | Recommended |
|---|
spec.append_server_name | Append server name | |
spec.default_header | Default header | |
spec.pass_through | Pass through | |
spec.server_name | Server name | |
| Option | Description | Recommended |
|---|
spec.tls_cert_params | Tls cert params | |
spec.tls_parameters | Tls parameters | |
Ask Claude to help you work with Virtual Host resources:
“Create a virtual-host named ‘example’ in the ‘production’ namespace”
“List all virtual-hosts in the ‘production’ namespace”
“Get details of the virtual-host named ‘example’ in namespace ‘production‘“
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/$${PARAM}/virtual_hosts" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/$${PARAM}/virtual_hosts/$${PARAM}" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/$${PARAM}/virtual_hosts" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/$${PARAM}/virtual_hosts/$${PARAM}" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"