com.pulumi.gcp.container.kotlin.outputs.ClusterTpuConfig.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.container.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property enabled Whether Cloud TPU integration is enabled or not
* @property ipv4CidrBlock IPv4 CIDR block reserved for Cloud TPU in the VPC.
* @property useServiceNetworking Whether to use service networking for Cloud TPU or not
*/
public data class ClusterTpuConfig(
public val enabled: Boolean,
public val ipv4CidrBlock: String? = null,
public val useServiceNetworking: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.ClusterTpuConfig): ClusterTpuConfig = ClusterTpuConfig(
enabled = javaType.enabled(),
ipv4CidrBlock = javaType.ipv4CidrBlock().map({ args0 -> args0 }).orElse(null),
useServiceNetworking = javaType.useServiceNetworking().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy