![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.cloudflare.kotlin.outputs.GetInfrastructureAccessTargetsTargetIp.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.cloudflare.kotlin.outputs
import kotlin.Suppress
/**
*
* @property ipv4 The target's IPv4 address.
* @property ipv6 The target's IPv6 address.
*/
public data class GetInfrastructureAccessTargetsTargetIp(
public val ipv4: GetInfrastructureAccessTargetsTargetIpIpv4? = null,
public val ipv6: GetInfrastructureAccessTargetsTargetIpIpv6? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.GetInfrastructureAccessTargetsTargetIp): GetInfrastructureAccessTargetsTargetIp = GetInfrastructureAccessTargetsTargetIp(
ipv4 = javaType.ipv4().map({ args0 ->
args0.let({ args0 ->
com.pulumi.cloudflare.kotlin.outputs.GetInfrastructureAccessTargetsTargetIpIpv4.Companion.toKotlin(args0)
})
}).orElse(null),
ipv6 = javaType.ipv6().map({ args0 ->
args0.let({ args0 ->
com.pulumi.cloudflare.kotlin.outputs.GetInfrastructureAccessTargetsTargetIpIpv6.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy