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

com.pulumi.gcp.vmwareengine.kotlin.outputs.GetSubnetResult.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.vmwareengine.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * A collection of values returned by getSubnet.
 * @property createTime
 * @property dhcpAddressRanges
 * @property gatewayId
 * @property gatewayIp
 * @property id The provider-assigned unique ID for this managed resource.
 * @property ipCidrRange
 * @property name
 * @property parent
 * @property standardConfig
 * @property state
 * @property type
 * @property uid
 * @property updateTime
 * @property vlanId
 */
public data class GetSubnetResult(
    public val createTime: String,
    public val dhcpAddressRanges: List,
    public val gatewayId: String,
    public val gatewayIp: String,
    public val id: String,
    public val ipCidrRange: String,
    public val name: String,
    public val parent: String,
    public val standardConfig: Boolean,
    public val state: String,
    public val type: String,
    public val uid: String,
    public val updateTime: String,
    public val vlanId: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.vmwareengine.outputs.GetSubnetResult): GetSubnetResult = GetSubnetResult(
            createTime = javaType.createTime(),
            dhcpAddressRanges = javaType.dhcpAddressRanges().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.vmwareengine.kotlin.outputs.GetSubnetDhcpAddressRange.Companion.toKotlin(args0)
                })
            }),
            gatewayId = javaType.gatewayId(),
            gatewayIp = javaType.gatewayIp(),
            id = javaType.id(),
            ipCidrRange = javaType.ipCidrRange(),
            name = javaType.name(),
            parent = javaType.parent(),
            standardConfig = javaType.standardConfig(),
            state = javaType.state(),
            type = javaType.type(),
            uid = javaType.uid(),
            updateTime = javaType.updateTime(),
            vlanId = javaType.vlanId(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy