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

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

package com.pulumi.azurenative.network.kotlin.outputs

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

/**
 * The routing policy object used in a RoutingIntent resource.
 * @property destinations List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
 * @property name The unique name for the routing policy.
 * @property nextHop The next hop resource id on which this routing policy is applicable to.
 */
public data class RoutingPolicyResponse(
    public val destinations: List,
    public val name: String,
    public val nextHop: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.network.outputs.RoutingPolicyResponse): RoutingPolicyResponse = RoutingPolicyResponse(
            destinations = javaType.destinations().map({ args0 -> args0 }),
            name = javaType.name(),
            nextHop = javaType.nextHop(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy