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

com.pulumi.azurenative.network.kotlin.outputs.EndpointPropertiesResponseSubnets.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.network.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 * Subnet first address, scope, and/or last address.
 * @property first First address in the subnet.
 * @property last Last address in the subnet.
 * @property scope Block size (number of leading bits in the subnet mask).
 */
public data class EndpointPropertiesResponseSubnets(
    public val first: String? = null,
    public val last: String? = null,
    public val scope: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.network.outputs.EndpointPropertiesResponseSubnets): EndpointPropertiesResponseSubnets = EndpointPropertiesResponseSubnets(
            first = javaType.first().map({ args0 -> args0 }).orElse(null),
            last = javaType.last().map({ args0 -> args0 }).orElse(null),
            scope = javaType.scope().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy