local types = import 'types.libsonnet'; types.envoy.config.core.v3.HealthCheck.HttpHealthCheck .withCodecClientType(types.envoy.type.v3.CodecClientType.HTTP1) .withExpectedStatuses([ types.envoy.type.v3.Int64Range ]) .withHost('string') .withMethod(types.envoy.config.core.v3.RequestMethod.METHOD_UNSPECIFIED) .withPath('string') .withReceive([ types.envoy.config.core.v3.HealthCheck.Payload ]) .withRequestHeadersToAdd([ types.envoy.config.core.v3.HeaderValueOption ]) .withRequestHeadersToRemove([ 'string' ]) .withResponseBufferSize(1) .withRetriableStatuses([ types.envoy.type.v3.Int64Range ]) .withSend(types.envoy.config.core.v3.HealthCheck.Payload) .withServiceNameMatcher(types.envoy.type.matcher.v3.StringMatcher) ._validate()
| Name | Type | One-of group | Required | Constraints |
|---|---|---|---|---|
| codec_client_type | envoy.type.v3.CodecClientType |
{"Enum":{"defined_only":true}}
|
||
| expected_statuses | [] envoy.type.v3.Int64Range |
|
||
| host | string |
{"String_":{"WellKnown":{"WellKnownRegex":2},"strict":false}}
|
||
| method | envoy.config.core.v3.RequestMethod |
{"Enum":{"defined_only":true,"not_in":[6]}}
|
||
| path | string |
{"String_":{"WellKnown":{"WellKnownRegex":2},"min_len":1,"strict":false}}
|
||
| receive | [] envoy.config.core.v3.HealthCheck.Payload |
|
||
| request_headers_to_add | [] envoy.config.core.v3.HeaderValueOption |
{"Repeated":{"max_items":1000}}
|
||
| request_headers_to_remove | [] string |
{"Repeated":{"items":{"Type":{"String_":{"WellKnown":{"WellKnownRegex":1},"strict":false}}}}}
|
||
| response_buffer_size | google.protobuf.UInt64Value |
{"Uint64":{"gte":0}}
|
||
| retriable_statuses | [] envoy.type.v3.Int64Range |
|
||
| send | envoy.config.core.v3.HealthCheck.Payload |
|
||
| service_name_matcher | envoy.type.matcher.v3.StringMatcher |
|