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

com.pulumi.gcp.compute.kotlin.outputs.GetNetworkResult.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
import kotlin.collections.List

/**
 * A collection of values returned by getNetwork.
 * @property description Description of this network.
 * @property gatewayIpv4 The IP address of the gateway.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property internalIpv6Range The ula internal ipv6 range assigned to this network.
 * @property name
 * @property project
 * @property selfLink The URI of the resource.
 * @property subnetworksSelfLinks the list of subnetworks which belong to the network
 */
public data class GetNetworkResult(
    public val description: String,
    public val gatewayIpv4: String,
    public val id: String,
    public val internalIpv6Range: String,
    public val name: String,
    public val project: String? = null,
    public val selfLink: String,
    public val subnetworksSelfLinks: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetNetworkResult): GetNetworkResult = GetNetworkResult(
            description = javaType.description(),
            gatewayIpv4 = javaType.gatewayIpv4(),
            id = javaType.id(),
            internalIpv6Range = javaType.internalIpv6Range(),
            name = javaType.name(),
            project = javaType.project().map({ args0 -> args0 }).orElse(null),
            selfLink = javaType.selfLink(),
            subnetworksSelfLinks = javaType.subnetworksSelfLinks().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy