com.pulumi.gcp.gkehub.kotlin.outputs.FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfig.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.gkehub.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property componentName The name of the component. One of `admission` `audit` or `mutation`
* @property containerResources Container resource requirements.
* @property podAffinity Pod affinity configuration. Possible values: AFFINITY_UNSPECIFIED, NO_AFFINITY, ANTI_AFFINITY
* @property podTolerations Pod tolerations of node taints.
* @property replicaCount Pod replica count.
*/
public data class FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfig(
public val componentName: String,
public val containerResources: FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResources? =
null,
public val podAffinity: String? = null,
public val podTolerations: List? =
null,
public val replicaCount: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.gkehub.outputs.FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfig): FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfig =
FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfig(
componentName = javaType.componentName(),
containerResources = javaType.containerResources().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.gkehub.kotlin.outputs.FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigContainerResources.Companion.toKotlin(args0)
})
}).orElse(null),
podAffinity = javaType.podAffinity().map({ args0 -> args0 }).orElse(null),
podTolerations = javaType.podTolerations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.gkehub.kotlin.outputs.FeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigPodToleration.Companion.toKotlin(args0)
})
}),
replicaCount = javaType.replicaCount().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy