
com.pulumi.azure.appinsights.kotlin.outputs.StandardWebTestValidationRules.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.appinsights.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
/**
*
* @property content A `content` block as defined above.
* @property expectedStatusCode The expected status code of the response. Default is '200', '0' means 'response code < 400'
* @property sslCertRemainingLifetime The number of days of SSL certificate validity remaining for the checked endpoint. If the certificate has a shorter remaining lifetime left, the test will fail. This number should be between 1 and 365.
* @property sslCheckEnabled Should the SSL check be enabled?
*/
public data class StandardWebTestValidationRules(
public val content: StandardWebTestValidationRulesContent? = null,
public val expectedStatusCode: Int? = null,
public val sslCertRemainingLifetime: Int? = null,
public val sslCheckEnabled: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.appinsights.outputs.StandardWebTestValidationRules): StandardWebTestValidationRules = StandardWebTestValidationRules(
content = javaType.content().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.appinsights.kotlin.outputs.StandardWebTestValidationRulesContent.Companion.toKotlin(args0)
})
}).orElse(null),
expectedStatusCode = javaType.expectedStatusCode().map({ args0 -> args0 }).orElse(null),
sslCertRemainingLifetime = javaType.sslCertRemainingLifetime().map({ args0 -> args0 }).orElse(null),
sslCheckEnabled = javaType.sslCheckEnabled().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy