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

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

package com.pulumi.azure.network.kotlin.outputs

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

/**
 *
 * @property enablePacFile Whether the pac file port and url need to be provided.
 * @property enabled Whether the explicit proxy is enabled for this Firewall Policy.
 * @property httpPort The port number for explicit http protocol.
 * @property httpsPort The port number for explicit proxy https protocol.
 * @property pacFile Specifies a SAS URL for PAC file.
 * @property pacFilePort Specifies a port number for firewall to serve PAC file.
 */
public data class FirewallPolicyExplicitProxy(
    public val enablePacFile: Boolean? = null,
    public val enabled: Boolean? = null,
    public val httpPort: Int? = null,
    public val httpsPort: Int? = null,
    public val pacFile: String? = null,
    public val pacFilePort: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.network.outputs.FirewallPolicyExplicitProxy):
            FirewallPolicyExplicitProxy = FirewallPolicyExplicitProxy(
            enablePacFile = javaType.enablePacFile().map({ args0 -> args0 }).orElse(null),
            enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
            httpPort = javaType.httpPort().map({ args0 -> args0 }).orElse(null),
            httpsPort = javaType.httpsPort().map({ args0 -> args0 }).orElse(null),
            pacFile = javaType.pacFile().map({ args0 -> args0 }).orElse(null),
            pacFilePort = javaType.pacFilePort().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy