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

com.pulumi.azurenative.devtestlab.kotlin.outputs.SubnetResponse.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.devtestlab.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Subnet information.
 * @property allowPublicIp The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
 * @property labSubnetName The name of the subnet as seen in the lab.
 * @property resourceId The resource ID of the subnet.
 */
public data class SubnetResponse(
    public val allowPublicIp: String? = null,
    public val labSubnetName: String? = null,
    public val resourceId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.devtestlab.outputs.SubnetResponse): SubnetResponse = SubnetResponse(
            allowPublicIp = javaType.allowPublicIp().map({ args0 -> args0 }).orElse(null),
            labSubnetName = javaType.labSubnetName().map({ args0 -> args0 }).orElse(null),
            resourceId = javaType.resourceId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy