All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.monitoring.kotlin.outputs.UptimeCheckConfigContentMatcherJsonPathMatcher.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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