fn new(validStatusCodes=[200])
fn withBasicAuth(value)
fn withBasicAuthMixin(value)
fn withBearerTokenSecretRef(value)
fn withBearerTokenSecretRefMixin(value)
fn withBody(value)
fn withCacheBustingQueryParamName(value)
fn withCompression(value)
fn withFailIfBodyMatchesRegexp(value)
fn withFailIfBodyMatchesRegexpMixin(value)
fn withFailIfBodyNotMatchesRegexp(value)
fn withFailIfBodyNotMatchesRegexpMixin(value)
fn withFailIfHeaderMatchesRegexp(value)
fn withFailIfHeaderMatchesRegexpMixin(value)
fn withFailIfHeaderNotMatchesRegexp(value)
fn withFailIfHeaderNotMatchesRegexpMixin(value)
fn withFailIfNotSsl(value=true)
fn withFailIfSsl(value=true)
fn withHeaders(value)
fn withHeadersMixin(value)
fn withIpVersion(value)
fn withMethod(value)
fn withNoFollowRedirects(value=true)
fn withProxyConnectHeaders(value)
fn withProxyConnectHeadersMixin(value)
fn withProxyUrl(value)
fn withTlsConfig(value)
fn withTlsConfigMixin(value)
fn withValidHttpVersions(value)
fn withValidHttpVersionsMixin(value)
fn withValidStatusCodes(value)
fn withValidStatusCodesMixin(value)
obj bearerTokenSecretRef
new(validStatusCodes=[200])
PARAMETERS:
- validStatusCodes (
array
)- default value:
[200]
- default value:
new
provides the settings for a HTTP check.
withBasicAuth(value)
PARAMETERS:
- value (
array
)
(Block Set, Max: 1) Basic auth settings. (see below for nested schema) Basic auth settings.
withBasicAuthMixin(value)
PARAMETERS:
- value (
array
)
(Block Set, Max: 1) Basic auth settings. (see below for nested schema) Basic auth settings.
withBearerTokenSecretRef(value)
PARAMETERS:
- value (
object
)
(String, Sensitive) Token for use with bearer authorization header. Token for use with bearer authorization header.
withBearerTokenSecretRefMixin(value)
PARAMETERS:
- value (
object
)
(String, Sensitive) Token for use with bearer authorization header. Token for use with bearer authorization header.
withBody(value)
PARAMETERS:
- value (
string
)
(String) The body of the HTTP request used in probe. The body of the HTTP request used in probe.
withCacheBustingQueryParamName(value)
PARAMETERS:
- value (
string
)
(String) The name of the query parameter used to prevent the server from using a cached response. Each probe will assign a random value to this parameter each time a request is made. The name of the query parameter used to prevent the server from using a cached response. Each probe will assign a random value to this parameter each time a request is made.
withCompression(value)
PARAMETERS:
- value (
string
)
(String) Check fails if the response body is not compressed using this compression algorithm. One of none, identity, br, gzip, deflate.
Check fails if the response body is not compressed using this compression algorithm. One of none
, identity
, br
, gzip
, deflate
.
withFailIfBodyMatchesRegexp(value)
PARAMETERS:
- value (
array
)
(Set of String) List of regexes. If any match the response body, the check will fail. List of regexes. If any match the response body, the check will fail.
withFailIfBodyMatchesRegexpMixin(value)
PARAMETERS:
- value (
array
)
(Set of String) List of regexes. If any match the response body, the check will fail. List of regexes. If any match the response body, the check will fail.
withFailIfBodyNotMatchesRegexp(value)
PARAMETERS:
- value (
array
)
(Set of String) List of regexes. If any do not match the response body, the check will fail. List of regexes. If any do not match the response body, the check will fail.
withFailIfBodyNotMatchesRegexpMixin(value)
PARAMETERS:
- value (
array
)
(Set of String) List of regexes. If any do not match the response body, the check will fail. List of regexes. If any do not match the response body, the check will fail.
withFailIfHeaderMatchesRegexp(value)
PARAMETERS:
- value (
array
)
(Block Set) Check fails if headers match. (see below for nested schema) Check fails if headers match.
withFailIfHeaderMatchesRegexpMixin(value)
PARAMETERS:
- value (
array
)
(Block Set) Check fails if headers match. (see below for nested schema) Check fails if headers match.
withFailIfHeaderNotMatchesRegexp(value)
PARAMETERS:
- value (
array
)
(Block Set) Check fails if headers do not match. (see below for nested schema) Check fails if headers do not match.
withFailIfHeaderNotMatchesRegexpMixin(value)
PARAMETERS:
- value (
array
)
(Block Set) Check fails if headers do not match. (see below for nested schema) Check fails if headers do not match.
withFailIfNotSsl(value=true)
PARAMETERS:
- value (
boolean
)- default value:
true
- default value:
(Boolean) Fail if SSL is not present. Defaults to false.
Fail if SSL is not present. Defaults to false
.
withFailIfSsl(value=true)
PARAMETERS:
- value (
boolean
)- default value:
true
- default value:
(Boolean) Fail if SSL is present. Defaults to false.
Fail if SSL is present. Defaults to false
.
withHeaders(value)
PARAMETERS:
- value (
array
)
(Set of String) The HTTP headers set for the probe. The HTTP headers set for the probe.
withHeadersMixin(value)
PARAMETERS:
- value (
array
)
(Set of String) The HTTP headers set for the probe. The HTTP headers set for the probe.
withIpVersion(value)
PARAMETERS:
- value (
string
)
(String) Options are V4, V6, Any. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4.
Options are V4
, V6
, Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. The Any
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults to V4
.
withMethod(value)
PARAMETERS:
- value (
string
)
(String) Request method. One of GET, CONNECT, DELETE, HEAD, OPTIONS, POST, PUT, TRACE Defaults to GET.
Request method. One of GET
, CONNECT
, DELETE
, HEAD
, OPTIONS
, POST
, PUT
, TRACE
Defaults to GET
.
withNoFollowRedirects(value=true)
PARAMETERS:
- value (
boolean
)- default value:
true
- default value:
(Boolean) Do not follow redirects. Defaults to false.
Do not follow redirects. Defaults to false
.
withProxyConnectHeaders(value)
PARAMETERS:
- value (
array
)
(Set of String) The HTTP headers sent to the proxy URL The HTTP headers sent to the proxy URL
withProxyConnectHeadersMixin(value)
PARAMETERS:
- value (
array
)
(Set of String) The HTTP headers sent to the proxy URL The HTTP headers sent to the proxy URL
withProxyUrl(value)
PARAMETERS:
- value (
string
)
(String) Proxy URL. Proxy URL.
withTlsConfig(value)
PARAMETERS:
- value (
array
)
(Block Set, Max: 1) TLS config. (see below for nested schema) TLS config.
withTlsConfigMixin(value)
PARAMETERS:
- value (
array
)
(Block Set, Max: 1) TLS config. (see below for nested schema) TLS config.
withValidHttpVersions(value)
PARAMETERS:
- value (
array
)
(Set of String) List of valid HTTP versions. Options include HTTP/1.0, HTTP/1.1, HTTP/2.0
List of valid HTTP versions. Options include HTTP/1.0
, HTTP/1.1
, HTTP/2.0
withValidHttpVersionsMixin(value)
PARAMETERS:
- value (
array
)
(Set of String) List of valid HTTP versions. Options include HTTP/1.0, HTTP/1.1, HTTP/2.0
List of valid HTTP versions. Options include HTTP/1.0
, HTTP/1.1
, HTTP/2.0
withValidStatusCodes(value)
PARAMETERS:
- value (
array
)
(Set of Number) Accepted status codes. If unset, defaults to 2xx. Accepted status codes. If unset, defaults to 2xx.
withValidStatusCodesMixin(value)
PARAMETERS:
- value (
array
)
(Set of Number) Accepted status codes. If unset, defaults to 2xx. Accepted status codes. If unset, defaults to 2xx.
bearerTokenSecretRef.withKey(value)
PARAMETERS:
- value (
string
)
The key to select.
bearerTokenSecretRef.withName(value)
PARAMETERS:
- value (
string
)
Name of the secret.
bearerTokenSecretRef.withNamespace(value)
PARAMETERS:
- value (
string
)
Namespace of the secret.