com.pulumi.gcp.container.kotlin.inputs.AzureClusterNetworkingArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.container.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.container.inputs.AzureClusterNetworkingArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property podAddressCidrBlocks The IP address range of the pods in this cluster, in CIDR notation (e.g. `10.96.0.0/14`). All pods in the cluster get assigned a unique RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creation.
* @property serviceAddressCidrBlocks The IP address range for services in this cluster, in CIDR notation (e.g. `10.96.0.0/14`). All services in the cluster get assigned a unique RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creating a cluster.
* @property virtualNetworkId The Azure Resource Manager (ARM) ID of the VNet associated with your cluster. All components in the cluster (i.e. control plane and node pools) run on a single VNet. Example: `/subscriptions/*/resourceGroups/*/providers/Microsoft.Network/virtualNetworks/*` This field cannot be changed after creation.
* - - -
* */*/*/
*/
public data class AzureClusterNetworkingArgs(
public val podAddressCidrBlocks: Output>,
public val serviceAddressCidrBlocks: Output>,
public val virtualNetworkId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.container.inputs.AzureClusterNetworkingArgs =
com.pulumi.gcp.container.inputs.AzureClusterNetworkingArgs.builder()
.podAddressCidrBlocks(podAddressCidrBlocks.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.serviceAddressCidrBlocks(
serviceAddressCidrBlocks.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.virtualNetworkId(virtualNetworkId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AzureClusterNetworkingArgs].
*/
@PulumiTagMarker
public class AzureClusterNetworkingArgsBuilder internal constructor() {
private var podAddressCidrBlocks: Output>? = null
private var serviceAddressCidrBlocks: Output>? = null
private var virtualNetworkId: Output? = null
/**
* @param value The IP address range of the pods in this cluster, in CIDR notation (e.g. `10.96.0.0/14`). All pods in the cluster get assigned a unique RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creation.
*/
@JvmName("obxympdvxibyacyb")
public suspend fun podAddressCidrBlocks(`value`: Output>) {
this.podAddressCidrBlocks = value
}
@JvmName("rvyquxmojqolttde")
public suspend fun podAddressCidrBlocks(vararg values: Output) {
this.podAddressCidrBlocks = Output.all(values.asList())
}
/**
* @param values The IP address range of the pods in this cluster, in CIDR notation (e.g. `10.96.0.0/14`). All pods in the cluster get assigned a unique RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creation.
*/
@JvmName("byvskskjwgudyday")
public suspend fun podAddressCidrBlocks(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy