com.pulumi.gcp.tpu.kotlin.outputs.V2VmNetworkEndpoint.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.tpu.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property accessConfigs (Output)
* The access config for the TPU worker.
* Structure is documented below.
* @property ipAddress (Output)
* The internal IP address of this network endpoint.
* @property port (Output)
* The port of this network endpoint.
*/
public data class V2VmNetworkEndpoint(
public val accessConfigs: List? = null,
public val ipAddress: String? = null,
public val port: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.tpu.outputs.V2VmNetworkEndpoint): V2VmNetworkEndpoint = V2VmNetworkEndpoint(
accessConfigs = javaType.accessConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.tpu.kotlin.outputs.V2VmNetworkEndpointAccessConfig.Companion.toKotlin(args0)
})
}),
ipAddress = javaType.ipAddress().map({ args0 -> args0 }).orElse(null),
port = javaType.port().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy