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

com.pulumi.gcp.vmwareengine.kotlin.outputs.GetExternalAccessRuleResult.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: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.vmwareengine.kotlin.outputs

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

/**
 * A collection of values returned by getExternalAccessRule.
 * @property action
 * @property createTime
 * @property description
 * @property destinationIpRanges
 * @property destinationPorts
 * @property id The provider-assigned unique ID for this managed resource.
 * @property ipProtocol
 * @property name
 * @property parent
 * @property priority
 * @property sourceIpRanges
 * @property sourcePorts
 * @property state
 * @property uid
 * @property updateTime
 */
public data class GetExternalAccessRuleResult(
    public val action: String,
    public val createTime: String,
    public val description: String,
    public val destinationIpRanges: List,
    public val destinationPorts: List,
    public val id: String,
    public val ipProtocol: String,
    public val name: String,
    public val parent: String,
    public val priority: Int,
    public val sourceIpRanges: List,
    public val sourcePorts: List,
    public val state: String,
    public val uid: String,
    public val updateTime: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.vmwareengine.outputs.GetExternalAccessRuleResult): GetExternalAccessRuleResult = GetExternalAccessRuleResult(
            action = javaType.action(),
            createTime = javaType.createTime(),
            description = javaType.description(),
            destinationIpRanges = javaType.destinationIpRanges().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.vmwareengine.kotlin.outputs.GetExternalAccessRuleDestinationIpRange.Companion.toKotlin(args0)
                })
            }),
            destinationPorts = javaType.destinationPorts().map({ args0 -> args0 }),
            id = javaType.id(),
            ipProtocol = javaType.ipProtocol(),
            name = javaType.name(),
            parent = javaType.parent(),
            priority = javaType.priority(),
            sourceIpRanges = javaType.sourceIpRanges().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.vmwareengine.kotlin.outputs.GetExternalAccessRuleSourceIpRange.Companion.toKotlin(args0)
                })
            }),
            sourcePorts = javaType.sourcePorts().map({ args0 -> args0 }),
            state = javaType.state(),
            uid = javaType.uid(),
            updateTime = javaType.updateTime(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy