com.pulumi.azure.network.kotlin.outputs.RoutingIntentRoutingPolicy.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.network.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property destinations A list of destinations which this routing policy is applicable to. Possible values are `Internet` and `PrivateTraffic`.
* @property name The unique name for the routing policy.
* @property nextHop The resource ID of the next hop on which this routing policy is applicable to.
*/
public data class RoutingIntentRoutingPolicy(
public val destinations: List,
public val name: String,
public val nextHop: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.network.outputs.RoutingIntentRoutingPolicy):
RoutingIntentRoutingPolicy = RoutingIntentRoutingPolicy(
destinations = javaType.destinations().map({ args0 -> args0 }),
name = javaType.name(),
nextHop = javaType.nextHop(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy