com.pulumi.azurenative.network.kotlin.inputs.AddressSpaceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.network.kotlin.inputs
import com.pulumi.azurenative.network.inputs.AddressSpaceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.
* @property addressPrefixes A list of address blocks reserved for this virtual network in CIDR notation.
*/
public data class AddressSpaceArgs(
public val addressPrefixes: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.network.inputs.AddressSpaceArgs =
com.pulumi.azurenative.network.inputs.AddressSpaceArgs.builder()
.addressPrefixes(addressPrefixes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [AddressSpaceArgs].
*/
@PulumiTagMarker
public class AddressSpaceArgsBuilder internal constructor() {
private var addressPrefixes: Output>? = null
/**
* @param value A list of address blocks reserved for this virtual network in CIDR notation.
*/
@JvmName("gmuuxkbxtcylokhg")
public suspend fun addressPrefixes(`value`: Output>) {
this.addressPrefixes = value
}
@JvmName("ajnsckmivnavsnwd")
public suspend fun addressPrefixes(vararg values: Output) {
this.addressPrefixes = Output.all(values.asList())
}
/**
* @param values A list of address blocks reserved for this virtual network in CIDR notation.
*/
@JvmName("bhvuiifkdlakohxi")
public suspend fun addressPrefixes(values: List