com.pulumi.azure.batch.kotlin.outputs.GetPoolNetworkConfiguration.kt Maven / Gradle / Ivy
@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
* @property dynamicVnetAssignmentScope The scope of dynamic vnet assignment.
* @property endpointConfigurations The inbound NAT pools that are used to address specific ports on the individual compute node externally.
* @property publicAddressProvisioningType Type of public IP address provisioning.
* @property publicIps A list of public IP ids that will be allocated to nodes.
* @property subnetId The ARM resource identifier of the virtual network subnet which the compute nodes of the pool are joined too.
*/
public data class GetPoolNetworkConfiguration(
public val acceleratedNetworkingEnabled: Boolean,
public val dynamicVnetAssignmentScope: String,
public val endpointConfigurations: List,
public val publicAddressProvisioningType: String,
public val publicIps: List,
public val subnetId: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.batch.outputs.GetPoolNetworkConfiguration): GetPoolNetworkConfiguration = GetPoolNetworkConfiguration(
acceleratedNetworkingEnabled = javaType.acceleratedNetworkingEnabled(),
dynamicVnetAssignmentScope = javaType.dynamicVnetAssignmentScope(),
endpointConfigurations = javaType.endpointConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.batch.kotlin.outputs.GetPoolNetworkConfigurationEndpointConfiguration.Companion.toKotlin(args0)
})
}),
publicAddressProvisioningType = javaType.publicAddressProvisioningType(),
publicIps = javaType.publicIps().map({ args0 -> args0 }),
subnetId = javaType.subnetId(),
)
}
}