Package com.pulumi.gcp.networkservices
Class TcpRouteArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.networkservices.TcpRouteArgs
-
public final class TcpRouteArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TcpRouteArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static TcpRouteArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TcpRouteArgs.Builder
builder()
static TcpRouteArgs.Builder
builder(TcpRouteArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
description()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
gateways()
java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>
labels()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
meshes()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
name()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
project()
com.pulumi.core.Output<java.util.List<TcpRouteRuleArgs>>
rules()
-
-
-
Field Detail
-
Empty
public static final TcpRouteArgs Empty
-
-
Method Detail
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- A free-text description of the resource. Max length 1024 characters.
-
gateways
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> gateways()
- Returns:
- 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/<gateway_name>
-
labels
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> labels()
- Returns:
- Set of label tags associated with the TcpRoute resource. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effective_labels` for all of the labels present on the resource.
-
meshes
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> meshes()
- Returns:
- 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/<mesh_name> The attached Mesh should be of a type SIDECAR
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- Name of the TcpRoute resource.
-
project
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()
- Returns:
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
-
rules
public com.pulumi.core.Output<java.util.List<TcpRouteRuleArgs>> rules()
- Returns:
- 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. Structure is documented below.
-
builder
public static TcpRouteArgs.Builder builder()
-
builder
public static TcpRouteArgs.Builder builder(TcpRouteArgs defaults)
-
-