Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.azurenative.networkcloud.kotlin.inputs
import com.pulumi.azurenative.networkcloud.inputs.InitialAgentPoolConfigurationArgs.builder
import com.pulumi.azurenative.networkcloud.kotlin.enums.AgentPoolMode
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property administratorConfiguration The administrator credentials to be used for the nodes in this agent pool.
* @property agentOptions The configurations that will be applied to each agent in this agent pool.
* @property attachedNetworkConfiguration The configuration of networks being attached to the agent pool for use by the workloads that run on this Kubernetes cluster.
* @property availabilityZones The list of availability zones of the Network Cloud cluster used for the provisioning of nodes in this agent pool. If not specified, all availability zones will be used.
* @property count The number of virtual machines that use this configuration.
* @property labels The labels applied to the nodes in this agent pool.
* @property mode The selection of how this agent pool is utilized, either as a system pool or a user pool. System pools run the features and critical services for the Kubernetes Cluster, while user pools are dedicated to user workloads. Every Kubernetes cluster must contain at least one system node pool with at least one node.
* @property name The name that will be used for the agent pool resource representing this agent pool.
* @property taints The taints applied to the nodes in this agent pool.
* @property upgradeSettings The configuration of the agent pool.
* @property vmSkuName The name of the VM SKU that determines the size of resources allocated for node VMs.
*/
public data class InitialAgentPoolConfigurationArgs(
public val administratorConfiguration: Output? = null,
public val agentOptions: Output? = null,
public val attachedNetworkConfiguration: Output? = null,
public val availabilityZones: Output>? = null,
public val count: Output,
public val labels: Output>? = null,
public val mode: Output>,
public val name: Output,
public val taints: Output>? = null,
public val upgradeSettings: Output? = null,
public val vmSkuName: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.networkcloud.inputs.InitialAgentPoolConfigurationArgs =
com.pulumi.azurenative.networkcloud.inputs.InitialAgentPoolConfigurationArgs.builder()
.administratorConfiguration(
administratorConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.agentOptions(agentOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.attachedNetworkConfiguration(
attachedNetworkConfiguration?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.availabilityZones(availabilityZones?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.count(count.applyValue({ args0 -> args0 }))
.labels(labels?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.mode(
mode.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.name(name.applyValue({ args0 -> args0 }))
.taints(taints?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.upgradeSettings(upgradeSettings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.vmSkuName(vmSkuName.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [InitialAgentPoolConfigurationArgs].
*/
@PulumiTagMarker
public class InitialAgentPoolConfigurationArgsBuilder internal constructor() {
private var administratorConfiguration: Output? = null
private var agentOptions: Output? = null
private var attachedNetworkConfiguration: Output? = null
private var availabilityZones: Output>? = null
private var count: Output? = null
private var labels: Output>? = null
private var mode: Output>? = null
private var name: Output? = null
private var taints: Output>? = null
private var upgradeSettings: Output? = null
private var vmSkuName: Output? = null
/**
* @param value The administrator credentials to be used for the nodes in this agent pool.
*/
@JvmName("vaxsulxvncxhkkyv")
public suspend fun administratorConfiguration(`value`: Output) {
this.administratorConfiguration = value
}
/**
* @param value The configurations that will be applied to each agent in this agent pool.
*/
@JvmName("xcndgwnhdmbwgvjq")
public suspend fun agentOptions(`value`: Output) {
this.agentOptions = value
}
/**
* @param value The configuration of networks being attached to the agent pool for use by the workloads that run on this Kubernetes cluster.
*/
@JvmName("obpuuowksctslitn")
public suspend fun attachedNetworkConfiguration(`value`: Output) {
this.attachedNetworkConfiguration = value
}
/**
* @param value The list of availability zones of the Network Cloud cluster used for the provisioning of nodes in this agent pool. If not specified, all availability zones will be used.
*/
@JvmName("euywmfogpxjtbqse")
public suspend fun availabilityZones(`value`: Output>) {
this.availabilityZones = value
}
@JvmName("qyncsbgdadrjgwss")
public suspend fun availabilityZones(vararg values: Output) {
this.availabilityZones = Output.all(values.asList())
}
/**
* @param values The list of availability zones of the Network Cloud cluster used for the provisioning of nodes in this agent pool. If not specified, all availability zones will be used.
*/
@JvmName("wvwroxvyhshinrif")
public suspend fun availabilityZones(values: List