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

com.pulumi.azure.paloalto.kotlin.outputs.NextGenerationFirewallVirtualHubLocalRulestackNetworkProfile.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.paloalto.kotlin.outputs

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

/**
 *
 * @property egressNatIpAddressIds
 * @property egressNatIpAddresses
 * @property ipOfTrustForUserDefinedRoutes
 * @property networkVirtualApplianceId
 * @property publicIpAddressIds
 * @property publicIpAddresses
 * @property trustedAddressRanges
 * @property trustedSubnetId
 * @property untrustedSubnetId
 * @property virtualHubId
 */
public data class NextGenerationFirewallVirtualHubLocalRulestackNetworkProfile(
    public val egressNatIpAddressIds: List? = null,
    public val egressNatIpAddresses: List? = null,
    public val ipOfTrustForUserDefinedRoutes: String? = null,
    public val networkVirtualApplianceId: String,
    public val publicIpAddressIds: List,
    public val publicIpAddresses: List? = null,
    public val trustedAddressRanges: List? = null,
    public val trustedSubnetId: String? = null,
    public val untrustedSubnetId: String? = null,
    public val virtualHubId: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.paloalto.outputs.NextGenerationFirewallVirtualHubLocalRulestackNetworkProfile):
            NextGenerationFirewallVirtualHubLocalRulestackNetworkProfile =
            NextGenerationFirewallVirtualHubLocalRulestackNetworkProfile(
                egressNatIpAddressIds = javaType.egressNatIpAddressIds().map({ args0 -> args0 }),
                egressNatIpAddresses = javaType.egressNatIpAddresses().map({ args0 -> args0 }),
                ipOfTrustForUserDefinedRoutes = javaType.ipOfTrustForUserDefinedRoutes().map({ args0 ->
                    args0
                }).orElse(null),
                networkVirtualApplianceId = javaType.networkVirtualApplianceId(),
                publicIpAddressIds = javaType.publicIpAddressIds().map({ args0 -> args0 }),
                publicIpAddresses = javaType.publicIpAddresses().map({ args0 -> args0 }),
                trustedAddressRanges = javaType.trustedAddressRanges().map({ args0 -> args0 }),
                trustedSubnetId = javaType.trustedSubnetId().map({ args0 -> args0 }).orElse(null),
                untrustedSubnetId = javaType.untrustedSubnetId().map({ args0 -> args0 }).orElse(null),
                virtualHubId = javaType.virtualHubId(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy