![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.batch.kotlin.outputs.PoolNetworkConfiguration.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.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 PoolNetworkConfiguration(
public val acceleratedNetworkingEnabled: Boolean? = null,
public val dynamicVnetAssignmentScope: String? = null,
public val endpointConfigurations: List? = null,
public val publicAddressProvisioningType: String? = null,
public val publicIps: List? = null,
public val subnetId: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.batch.outputs.PoolNetworkConfiguration): PoolNetworkConfiguration = PoolNetworkConfiguration(
acceleratedNetworkingEnabled = javaType.acceleratedNetworkingEnabled().map({ args0 ->
args0
}).orElse(null),
dynamicVnetAssignmentScope = javaType.dynamicVnetAssignmentScope().map({ args0 ->
args0
}).orElse(null),
endpointConfigurations = javaType.endpointConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.batch.kotlin.outputs.PoolNetworkConfigurationEndpointConfiguration.Companion.toKotlin(args0)
})
}),
publicAddressProvisioningType = javaType.publicAddressProvisioningType().map({ args0 ->
args0
}).orElse(null),
publicIps = javaType.publicIps().map({ args0 -> args0 }),
subnetId = javaType.subnetId().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy