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

com.pulumi.azure.servicefabric.kotlin.outputs.ManagedClusterLbRule.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.21.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.servicefabric.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property backendPort LB Backend port.
 * @property frontendPort LB Frontend port.
 * @property probeProtocol Protocol for the probe. Can be one of `tcp`, `udp`, `http`, or `https`.
 * @property probeRequestPath Path for the probe to check, when probe protocol is set to `http`.
 * @property protocol The transport protocol used in this rule. Can be one of `tcp` or `udp`.
 */
public data class ManagedClusterLbRule(
    public val backendPort: Int,
    public val frontendPort: Int,
    public val probeProtocol: String,
    public val probeRequestPath: String? = null,
    public val protocol: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.servicefabric.outputs.ManagedClusterLbRule):
            ManagedClusterLbRule = ManagedClusterLbRule(
            backendPort = javaType.backendPort(),
            frontendPort = javaType.frontendPort(),
            probeProtocol = javaType.probeProtocol(),
            probeRequestPath = javaType.probeRequestPath().map({ args0 -> args0 }).orElse(null),
            protocol = javaType.protocol(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy