com.pulumi.gcp.cloudrun.kotlin.outputs.DomainMappingSpec.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.cloudrun.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property certificateMode The mode of the certificate.
* Default value is `AUTOMATIC`.
* Possible values are: `NONE`, `AUTOMATIC`.
* - - -
* @property forceOverride If set, the mapping will override any mapping set before this spec was set.
* It is recommended that the user leaves this empty to receive an error
* warning about a potential conflict and only set it once the respective UI
* has given such a warning.
* @property routeName The name of the Cloud Run Service that this DomainMapping applies to.
* The route must exist.
*/
public data class DomainMappingSpec(
public val certificateMode: String? = null,
public val forceOverride: Boolean? = null,
public val routeName: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudrun.outputs.DomainMappingSpec): DomainMappingSpec = DomainMappingSpec(
certificateMode = javaType.certificateMode().map({ args0 -> args0 }).orElse(null),
forceOverride = javaType.forceOverride().map({ args0 -> args0 }).orElse(null),
routeName = javaType.routeName(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy