TlsRouteArgs

data class TlsRouteArgs(val description: Output<String>? = null, val gateways: Output<List<String>>? = null, val location: Output<String>? = null, val meshes: Output<List<String>>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val rules: Output<List<TlsRouteRouteRuleArgs>>? = null, val tlsRouteId: Output<String>? = null) : ConvertibleToJava<TlsRouteArgs>

Creates a new TlsRoute in a given project and location.

Constructors

Link copied to clipboard
fun TlsRouteArgs(description: Output<String>? = null, gateways: Output<List<String>>? = null, location: Output<String>? = null, meshes: Output<List<String>>? = null, name: Output<String>? = null, project: Output<String>? = null, rules: Output<List<TlsRouteRouteRuleArgs>>? = null, tlsRouteId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): TlsRouteArgs

Properties

Link copied to clipboard
val description: Output<String>? = null

Optional. A free-text description of the resource. Max length 1024 characters.

Link copied to clipboard
val gateways: Output<List<String>>? = null

Optional. Gateways defines a list of gateways this TlsRoute 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/

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val meshes: Output<List<String>>? = null

Optional. Meshes defines a list of meshes this TlsRoute 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

Link copied to clipboard
val name: Output<String>? = null

Name of the TlsRoute resource. It matches pattern projects/*/locations/global/tlsRoutes/tls_route_name>.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val rules: Output<List<TlsRouteRouteRuleArgs>>? = null

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.

Link copied to clipboard
val tlsRouteId: Output<String>? = null

Required. Short name of the TlsRoute resource to be created. E.g. TODO(Add an example). //*/