UptimeCheckConfigContentMatcherArgs

data class UptimeCheckConfigContentMatcherArgs(val content: Output<String>, val jsonPathMatcher: Output<UptimeCheckConfigContentMatcherJsonPathMatcherArgs>? = null, val matcher: Output<String>? = null) : ConvertibleToJava<UptimeCheckConfigContentMatcherArgs>

Constructors

Link copied to clipboard
constructor(content: Output<String>, jsonPathMatcher: Output<UptimeCheckConfigContentMatcherJsonPathMatcherArgs>? = null, matcher: Output<String>? = null)

Properties

Link copied to clipboard
val content: Output<String>

String or regex content to match (max 1024 bytes)

Link copied to clipboard

Information needed to perform a JSONPath content match. Used for ContentMatcherOption::MATCHES_JSON_PATH and ContentMatcherOption::NOT_MATCHES_JSON_PATH. Structure is documented below.

Link copied to clipboard
val matcher: Output<String>? = null

The type of content matcher that will be applied to the server output, compared to the content string when the check is run. Default value is CONTAINS_STRING. Possible values are: CONTAINS_STRING, NOT_CONTAINS_STRING, MATCHES_REGEX, NOT_MATCHES_REGEX, MATCHES_JSON_PATH, NOT_MATCHES_JSON_PATH.

Functions

Link copied to clipboard
open override fun toJava(): UptimeCheckConfigContentMatcherArgs