All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.compute.kotlin.outputs.GetVirtualMachineScaleSetNetworkInterface.kt Maven / Gradle / Ivy

@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 dnsServers An array of the DNS servers in use.
 * @property enableAcceleratedNetworking Whether to enable accelerated networking or not.
 * @property enableIpForwarding Whether IP forwarding is enabled on this NIC.
 * @property ipConfigurations An `ip_configuration` block as documented below.
 * @property name The name of this Virtual Machine Scale Set.
 * @property networkSecurityGroupId The identifier for the network security group.
 * @property primary If this ip_configuration is the primary one.
 */
public data class GetVirtualMachineScaleSetNetworkInterface(
    public val dnsServers: List,
    public val enableAcceleratedNetworking: Boolean,
    public val enableIpForwarding: Boolean,
    public val ipConfigurations: List,
    public val name: String,
    public val networkSecurityGroupId: String,
    public val primary: Boolean,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.compute.outputs.GetVirtualMachineScaleSetNetworkInterface):
            GetVirtualMachineScaleSetNetworkInterface = GetVirtualMachineScaleSetNetworkInterface(
            dnsServers = javaType.dnsServers().map({ args0 -> args0 }),
            enableAcceleratedNetworking = javaType.enableAcceleratedNetworking(),
            enableIpForwarding = javaType.enableIpForwarding(),
            ipConfigurations = javaType.ipConfigurations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.compute.kotlin.outputs.GetVirtualMachineScaleSetNetworkInterfaceIpConfiguration.Companion.toKotlin(args0)
                })
            }),
            name = javaType.name(),
            networkSecurityGroupId = javaType.networkSecurityGroupId(),
            primary = javaType.primary(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy