DNS Lb Pool
DNS Lb Pool provides tools for creating, listing, retrieving, updating, and deleting resources in F5 Distributed Cloud.
| Tool | Description |
|---|---|
f5xc-api-dns-dns-lb-pool-create | Create DNS Load Balancer Pool. |
f5xc-api-dns-dns-lb-pool-get | Get DNS Load Balancer Pool. |
f5xc-api-dns-dns-lb-pool-list | List DNS Load Balancer Pool. |
f5xc-api-dns-dns-lb-pool-update | Update DNS Load Balancer Pool. |
f5xc-api-dns-dns-lb-pool-delete | Delete DNS Load Balancer Pool. |
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”| 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 |
Query Parameters
Section titled “Query Parameters”| 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… | - |
Configuration Choices
Section titled “Configuration Choices”This resource includes mutually exclusive configuration options:
pool_type_choice
Section titled “pool_type_choice”| Option | Description | Recommended |
|---|---|---|
spec.a_pool | A pool | |
spec.aaaa_pool | Aaaa pool | |
spec.cname_pool | Cname pool | |
spec.mx_pool | Mx pool | |
spec.srv_pool | Srv pool |
ttl_choice
Section titled “ttl_choice”| Option | Description | Recommended |
|---|---|---|
spec.ttl | Ttl | |
spec.use_rrset_ttl | Use rrset ttl |
Example Usage
Section titled “Example Usage”Ask Claude to help you work with DNS Lb Pool resources:
Create DNS Lb Pool
Section titled “Create DNS Lb Pool”“Create a dns-lb-pool named ‘example’ in the ‘production’ namespace”
List DNS Lb Pools
Section titled “List DNS Lb Pools”“List all dns-lb-pools in the ‘production’ namespace”
Get DNS Lb Pool Details
Section titled “Get DNS Lb Pool Details”“Get details of the dns-lb-pool named ‘example’ in namespace ‘production‘“
CURL Examples
Section titled “CURL Examples”# List resourcescurl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/dns/namespaces/$${PARAM}/dns_lb_pools" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"
# Get specific resourcecurl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/dns/namespaces/$${PARAM}/dns_lb_pools/$${PARAM}" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"
# Create resourcecurl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/dns/namespaces/$${PARAM}/dns_lb_pools" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}" \ -H "Content-Type: application/json" \ -d @dns_lb_pool.json
# Delete resourcecurl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/dns/namespaces/$${PARAM}/dns_lb_pools/$${PARAM}" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"