com.pulumi.gcp.compute.kotlin.outputs.InstanceFromTemplateNetworkInterfaceAliasIpRange.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.compute.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property ipCidrRange The IP CIDR range represented by this alias IP range.
* @property subnetworkRangeName The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
*/
public data class InstanceFromTemplateNetworkInterfaceAliasIpRange(
public val ipCidrRange: String,
public val subnetworkRangeName: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.InstanceFromTemplateNetworkInterfaceAliasIpRange): InstanceFromTemplateNetworkInterfaceAliasIpRange =
InstanceFromTemplateNetworkInterfaceAliasIpRange(
ipCidrRange = javaType.ipCidrRange(),
subnetworkRangeName = javaType.subnetworkRangeName().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy