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

com.pulumi.gcp.compute.kotlin.outputs.InstanceTemplateNetworkInterfaceAliasIpRange.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 ipCidrRange The IP CIDR range represented by this alias IP range. This IP CIDR range
 * must belong to the specified subnetwork and cannot contain IP addresses reserved by
 * system or used by other network interfaces. At the time of writing only a
 * netmask (e.g. /24) may be supplied, with a CIDR format resulting in an API
 * error.
 * @property subnetworkRangeName The subnetwork secondary range name specifying
 * the secondary range from which to allocate the IP CIDR range for this alias IP
 * range. If left unspecified, the primary range of the subnetwork will be used.
 */
public data class InstanceTemplateNetworkInterfaceAliasIpRange(
    public val ipCidrRange: String,
    public val subnetworkRangeName: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.InstanceTemplateNetworkInterfaceAliasIpRange): InstanceTemplateNetworkInterfaceAliasIpRange = InstanceTemplateNetworkInterfaceAliasIpRange(
            ipCidrRange = javaType.ipCidrRange(),
            subnetworkRangeName = javaType.subnetworkRangeName().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy