com.pulumi.gcp.monitoring.kotlin.outputs.UptimeCheckConfigContentMatcherJsonPathMatcher.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.monitoring.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property jsonMatcher Options to perform JSONPath content matching.
* Default value is `EXACT_MATCH`.
* Possible values are: `EXACT_MATCH`, `REGEX_MATCH`.
* @property jsonPath JSONPath within the response output pointing to the expected `ContentMatcher::content` to match against.
*/
public data class UptimeCheckConfigContentMatcherJsonPathMatcher(
public val jsonMatcher: String? = null,
public val jsonPath: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.monitoring.outputs.UptimeCheckConfigContentMatcherJsonPathMatcher): UptimeCheckConfigContentMatcherJsonPathMatcher =
UptimeCheckConfigContentMatcherJsonPathMatcher(
jsonMatcher = javaType.jsonMatcher().map({ args0 -> args0 }).orElse(null),
jsonPath = javaType.jsonPath(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy