
com.pulumi.googlenative.networkservices.v1beta1.kotlin.TcpRouteArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.networkservices.v1beta1.kotlin
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.networkservices.v1beta1.TcpRouteArgs.builder
import com.pulumi.googlenative.networkservices.v1beta1.kotlin.inputs.TcpRouteRouteRuleArgs
import com.pulumi.googlenative.networkservices.v1beta1.kotlin.inputs.TcpRouteRouteRuleArgsBuilder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* Creates a new TcpRoute in a given project and location.
* @property description Optional. A free-text description of the resource. Max length 1024 characters.
* @property gateways Optional. Gateways defines a list of gateways this TcpRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`
* @property labels Optional. Set of label tags associated with the TcpRoute resource.
* @property location
* @property meshes Optional. Meshes defines a list of meshes this TcpRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern: `projects/*/locations/global/meshes/` The attached Mesh should be of a type SIDECAR
* @property name Name of the TcpRoute resource. It matches pattern `projects/*/locations/global/tcpRoutes/tcp_route_name>`.
* @property project
* @property rules Rules that define how traffic is routed and handled. At least one RouteRule must be supplied. If there are multiple rules then the action taken will be the first rule to match.
* @property tcpRouteId Required. Short name of the TcpRoute resource to be created. E.g. TODO(Add an example).
* */*/*/
*/
public data class TcpRouteArgs(
public val description: Output? = null,
public val gateways: Output>? = null,
public val labels: Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy