com.pulumi.gcp.compute.kotlin.outputs.NetworkAttachmentConnectionEndpoint.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 ipAddress (Output)
* The IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless.
* @property projectIdOrNum (Output)
* The project id or number of the interface to which the IP was assigned.
* @property secondaryIpCidrRanges (Output)
* Alias IP ranges from the same subnetwork.
* @property status (Output)
* The status of a connected endpoint to this network attachment.
* @property subnetwork (Output)
* The subnetwork used to assign the IP to the producer instance network interface.
*/
public data class NetworkAttachmentConnectionEndpoint(
public val ipAddress: String? = null,
public val projectIdOrNum: String? = null,
public val secondaryIpCidrRanges: String? = null,
public val status: String? = null,
public val subnetwork: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.NetworkAttachmentConnectionEndpoint): NetworkAttachmentConnectionEndpoint = NetworkAttachmentConnectionEndpoint(
ipAddress = javaType.ipAddress().map({ args0 -> args0 }).orElse(null),
projectIdOrNum = javaType.projectIdOrNum().map({ args0 -> args0 }).orElse(null),
secondaryIpCidrRanges = javaType.secondaryIpCidrRanges().map({ args0 -> args0 }).orElse(null),
status = javaType.status().map({ args0 -> args0 }).orElse(null),
subnetwork = javaType.subnetwork().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy