Skip to content

Healthcheck Enhancements

Enrichment metadata for healthcheck-related schemas. See OpenAPI Extensions for extension definitions.

All schemas matching healthcheck.*SpecType receive enrichments:

  • healthcheckCreateSpecType
  • healthcheckReplaceSpecType
  • healthcheckGetSpecType

Additionally, the nested schema healthcheckHttpHealthCheck contains enrichments for HTTP health check configuration.

Fields marked with x-f5xc-server-default: true have their default value applied by the F5 XC API server when omitted from requests.

FieldDefault ValueTypeDescription
jitter0integerAbsolute jitter value for timing randomization
jitter_percent0integerPercentage-based jitter for timing randomization
FieldDefault ValueTypeDescription
use_origin_server_name{}objectOrigin server name for Host header
headers{}objectCustom headers
request_headers_to_remove[]arrayHeaders to strip from requests
use_http2falsebooleanHTTP/2 support
expected_status_codes[]arrayAccepted status codes (empty = 200-299)

Fields marked with x-f5xc-recommended-value indicate values that the F5 XC web console pre-populates when creating new resources.

FieldRecommended ValueTypeDescription
timeout3integerHealth check timeout in seconds
interval15integerInterval between health checks in seconds
unhealthy_threshold1integerConsecutive failures before marking unhealthy
healthy_threshold3integerConsecutive successes before marking healthy
jitter_percent30integerJitter percentage for production use
FieldRecommended ValueTypeDescription
path"/"stringHealth check endpoint path
use_http2falsebooleanHTTP/2 support setting
expected_status_codes["200"]arrayStatus codes indicating healthy origin
use_origin_server_name{}objectOrigin server name for Host header

Schemas containing mutually exclusive field groups (OneOf) include x-f5xc-recommended-oneof-variant to indicate which variant is most commonly used. This metadata identifies the typical choice when multiple options exist, based on F5 XC console defaults and common usage patterns.

SchemaOneOf GroupRecommended VariantDescription
healthcheckCreateSpecTypehealth_checkhttp_health_checkHTTP health check type
healthcheckReplaceSpecTypehealth_checkhttp_health_checkHTTP health check type
SchemaOneOf GroupRecommended VariantDescription
healthcheckHttpHealthCheckhost_header_choiceuse_origin_server_nameHost header for health check requests

The host_header_choice OneOf group controls how the Host header is specified in health check HTTP requests.

VariantTypeDescription
use_origin_server_nameobject (empty)Use the origin server name as the Host header. This is the default selection in the F5 XC console.
host_headerstringSpecify a custom Host header value for health check requests.

API Schema Reference: x-ves-oneof-field-host_header_choice: ["host_header", "use_origin_server_name"]

These vendor extensions are added to the standard OpenAPI schema to convey F5 XC-specific default behavior.

Type: boolean

When true, indicates the accompanying default value is enforced by the F5 XC API server. Fields with this extension can be safely omitted from API requests—the server applies the default automatically.

use_http2:
type: boolean
default: false
x-f5xc-server-default: true

Type: any (matches field type)

Specifies a value that the F5 XC web console uses as a pre-populated default. This value is not server-enforced but represents the typical starting configuration for new resources created via the console.

timeout:
type: integer
x-f5xc-recommended-value: 3

Type: object (map of group name to variant name)

For schemas with mutually exclusive field groups, identifies which variant is the default or most common choice. The key is the OneOf group name and the value is the recommended variant field name.

healthcheckCreateSpecType:
type: object
x-f5xc-recommended-oneof-variant:
health_check: "http_health_check"
FileContent
docs/specifications/api/virtual.jsonhealthcheckHttpHealthCheck, healthcheckCreateSpecType, healthcheckReplaceSpecType, healthcheckGetSpecType
docs/specifications/api/openapi.jsonMerged specification with all schemas
defaults.resources.healthcheck
├── server_applied # Fields with x-f5xc-server-default: true
├── recommended # Fields with x-f5xc-recommended-value
├── oneof_recommended # OneOf variant recommendations
└── nested_recommended # Nested schema recommended values
VersionDateChanges
2.1.42026-01-19Added host_header_choice OneOf group documentation for HTTP health check request parameters
2.1.32026-01-18Consolidated global extension docs to DEVELOPMENT.md; resource-specific data only
2.1.22026-01-18Rewritten as pure API reference; removed downstream examples and prescriptive language
2.1.12026-01-18Added nested recommended values, OneOf recommended variants, x-f5xc-recommended-oneof-variant extension
2.1.02026-01-18Added unified defaults structure in validation.json
2.0.302026-01-16Added nested defaults for $ref schemas
2.0.292026-01-17Initial healthcheck defaults