![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.batch.kotlin.inputs.PoolNetworkConfigurationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.batch.kotlin.inputs
import com.pulumi.azure.batch.inputs.PoolNetworkConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property acceleratedNetworkingEnabled Whether to enable accelerated networking. Possible values are `true` and `false`. Defaults to `false`. Changing this forces a new resource to be created.
* @property dynamicVnetAssignmentScope The scope of dynamic vnet assignment. Allowed values: `none`, `job`. Changing this forces a new resource to be created. Defaults to `none`.
* @property endpointConfigurations A list of `endpoint_configuration` blocks that can be used to address specific ports on an individual compute node externally as defined below. Set as documented in the inbound_nat_pools block below. Changing this forces a new resource to be created.
* @property publicAddressProvisioningType Type of public IP address provisioning. Supported values are `BatchManaged`, `UserManaged` and `NoPublicIPAddresses`.
* @property publicIps A list of public IP ids that will be allocated to nodes. Changing this forces a new resource to be created.
* @property subnetId The ARM resource identifier of the virtual network subnet which the compute nodes of the pool will join. Changing this forces a new resource to be created.
*/
public data class PoolNetworkConfigurationArgs(
public val acceleratedNetworkingEnabled: Output? = null,
public val dynamicVnetAssignmentScope: Output? = null,
public val endpointConfigurations: Output>? = null,
public val publicAddressProvisioningType: Output? = null,
public val publicIps: Output>? = null,
public val subnetId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.batch.inputs.PoolNetworkConfigurationArgs =
com.pulumi.azure.batch.inputs.PoolNetworkConfigurationArgs.builder()
.acceleratedNetworkingEnabled(acceleratedNetworkingEnabled?.applyValue({ args0 -> args0 }))
.dynamicVnetAssignmentScope(dynamicVnetAssignmentScope?.applyValue({ args0 -> args0 }))
.endpointConfigurations(
endpointConfigurations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.publicAddressProvisioningType(publicAddressProvisioningType?.applyValue({ args0 -> args0 }))
.publicIps(publicIps?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.subnetId(subnetId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PoolNetworkConfigurationArgs].
*/
@PulumiTagMarker
public class PoolNetworkConfigurationArgsBuilder internal constructor() {
private var acceleratedNetworkingEnabled: Output? = null
private var dynamicVnetAssignmentScope: Output? = null
private var endpointConfigurations:
Output>? = null
private var publicAddressProvisioningType: Output? = null
private var publicIps: Output>? = null
private var subnetId: Output? = null
/**
* @param value Whether to enable accelerated networking. Possible values are `true` and `false`. Defaults to `false`. Changing this forces a new resource to be created.
*/
@JvmName("hyoforrtxubmrhjv")
public suspend fun acceleratedNetworkingEnabled(`value`: Output) {
this.acceleratedNetworkingEnabled = value
}
/**
* @param value The scope of dynamic vnet assignment. Allowed values: `none`, `job`. Changing this forces a new resource to be created. Defaults to `none`.
*/
@JvmName("genhtstnlaseliyo")
public suspend fun dynamicVnetAssignmentScope(`value`: Output) {
this.dynamicVnetAssignmentScope = value
}
/**
* @param value A list of `endpoint_configuration` blocks that can be used to address specific ports on an individual compute node externally as defined below. Set as documented in the inbound_nat_pools block below. Changing this forces a new resource to be created.
*/
@JvmName("ehbggiwufdkwscxm")
public suspend fun endpointConfigurations(`value`: Output>) {
this.endpointConfigurations = value
}
@JvmName("mmbmhylseoevengk")
public suspend fun endpointConfigurations(vararg values: Output) {
this.endpointConfigurations = Output.all(values.asList())
}
/**
* @param values A list of `endpoint_configuration` blocks that can be used to address specific ports on an individual compute node externally as defined below. Set as documented in the inbound_nat_pools block below. Changing this forces a new resource to be created.
*/
@JvmName("fnppxfjfcaaddvda")
public suspend fun endpointConfigurations(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy