com.pulumi.azure.compute.kotlin.outputs.ScaleSetNetworkProfile.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.compute.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property acceleratedNetworking Specifies whether to enable accelerated networking or not.
* @property dnsSettings A `dns_settings` block as documented below.
* @property ipConfigurations An `ip_configuration` block as documented below.
* @property ipForwarding Whether IP forwarding is enabled on this NIC. Defaults to `false`.
* @property name Specifies the name of the network interface configuration.
* @property networkSecurityGroupId Specifies the identifier for the network security group.
* @property primary Indicates whether network interfaces created from the network interface configuration will be the primary NIC of the VM.
*/
public data class ScaleSetNetworkProfile(
public val acceleratedNetworking: Boolean? = null,
public val dnsSettings: ScaleSetNetworkProfileDnsSettings? = null,
public val ipConfigurations: List,
public val ipForwarding: Boolean? = null,
public val name: String,
public val networkSecurityGroupId: String? = null,
public val primary: Boolean,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.ScaleSetNetworkProfile):
ScaleSetNetworkProfile = ScaleSetNetworkProfile(
acceleratedNetworking = javaType.acceleratedNetworking().map({ args0 -> args0 }).orElse(null),
dnsSettings = javaType.dnsSettings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.compute.kotlin.outputs.ScaleSetNetworkProfileDnsSettings.Companion.toKotlin(args0)
})
}).orElse(null),
ipConfigurations = javaType.ipConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.compute.kotlin.outputs.ScaleSetNetworkProfileIpConfiguration.Companion.toKotlin(args0)
})
}),
ipForwarding = javaType.ipForwarding().map({ args0 -> args0 }).orElse(null),
name = javaType.name(),
networkSecurityGroupId = javaType.networkSecurityGroupId().map({ args0 -> args0 }).orElse(null),
primary = javaType.primary(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy