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

com.pulumi.azure.batch.kotlin.outputs.GetPoolNetworkConfigurationEndpointConfiguration.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.batch.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property backendPort The port number on the compute node.
 * @property frontendPortRange The range of external ports that are used to provide inbound access to the backendPort on the individual compute nodes in the format of `1000-1100`.
 * @property name The name of the user account.
 * @property networkSecurityGroupRules The list of network security group rules that are applied to the endpoint.
 * @property protocol The protocol of the endpoint.
 */
public data class GetPoolNetworkConfigurationEndpointConfiguration(
    public val backendPort: Int,
    public val frontendPortRange: String,
    public val name: String,
    public val networkSecurityGroupRules:
    List,
    public val protocol: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.batch.outputs.GetPoolNetworkConfigurationEndpointConfiguration):
            GetPoolNetworkConfigurationEndpointConfiguration =
            GetPoolNetworkConfigurationEndpointConfiguration(
                backendPort = javaType.backendPort(),
                frontendPortRange = javaType.frontendPortRange(),
                name = javaType.name(),
                networkSecurityGroupRules = javaType.networkSecurityGroupRules().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.batch.kotlin.outputs.GetPoolNetworkConfigurationEndpointConfigurationNetworkSecurityGroupRule.Companion.toKotlin(args0)
                    })
                }),
                protocol = javaType.protocol(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy