All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.compute.kotlin.outputs.NetworkAttachmentConnectionEndpoint.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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