com.pulumi.gcp.cloudrun.kotlin.outputs.DomainMappingStatus.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property conditions (Output)
* Array of observed DomainMappingConditions, indicating the current state
* of the DomainMapping.
* Structure is documented below.
* @property mappedRouteName (Output)
* The name of the route that the mapping currently points to.
* @property observedGeneration (Output)
* ObservedGeneration is the 'Generation' of the DomainMapping that
* was last processed by the controller.
* @property resourceRecords The resource records required to configure this domain mapping. These
* records must be added to the domain's DNS configuration in order to
* serve the application via this domain mapping.
* Structure is documented below.
*/
public data class DomainMappingStatus(
public val conditions: List? = null,
public val mappedRouteName: String? = null,
public val observedGeneration: Int? = null,
public val resourceRecords: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudrun.outputs.DomainMappingStatus): DomainMappingStatus = DomainMappingStatus(
conditions = javaType.conditions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudrun.kotlin.outputs.DomainMappingStatusCondition.Companion.toKotlin(args0)
})
}),
mappedRouteName = javaType.mappedRouteName().map({ args0 -> args0 }).orElse(null),
observedGeneration = javaType.observedGeneration().map({ args0 -> args0 }).orElse(null),
resourceRecords = javaType.resourceRecords().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudrun.kotlin.outputs.DomainMappingStatusResourceRecord.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy