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

com.pulumi.azure.network.kotlin.outputs.RouteMapRuleActionParameter.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.network.kotlin.outputs

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

/**
 *
 * @property asPaths A list of AS paths.
 * @property communities A list of BGP communities.
 * @property routePrefixes A list of route prefixes.
 */
public data class RouteMapRuleActionParameter(
    public val asPaths: List? = null,
    public val communities: List? = null,
    public val routePrefixes: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.network.outputs.RouteMapRuleActionParameter):
            RouteMapRuleActionParameter = RouteMapRuleActionParameter(
            asPaths = javaType.asPaths().map({ args0 -> args0 }),
            communities = javaType.communities().map({ args0 -> args0 }),
            routePrefixes = javaType.routePrefixes().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy