public sealed class TlsRoute : IMessage<TlsRoute>, IEquatable<TlsRoute>, IDeepCloneable<TlsRoute>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class TlsRoute.
TlsRoute defines how traffic should be routed based on SNI and other matching L3 attributes.
Namespace
Google.Cloud.NetworkServices.V1Assembly
Google.Cloud.NetworkServices.V1.dll
Constructors
TlsRoute()
public TlsRoute()
TlsRoute(TlsRoute)
public TlsRoute(TlsRoute other)
Parameter | |
---|---|
Name | Description |
other |
TlsRoute |
Properties
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The timestamp when the resource was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
Description
public string Description { get; set; }
Optional. A free-text description of the resource. Max length 1024 characters.
Property Value | |
---|---|
Type | Description |
string |
Gateways
public RepeatedField<string> Gateways { get; }
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/<gateway_name>
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
GatewaysAsGatewayNames
public ResourceNameList<GatewayName> GatewaysAsGatewayNames { get; }
GatewayName-typed view over the Gateways resource name property.
Property Value | |
---|---|
Type | Description |
ResourceNameListGatewayName |
Meshes
public RepeatedField<string> Meshes { get; }
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/<mesh_name>
The attached Mesh should be of a type SIDECAR
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
MeshesAsMeshNames
public ResourceNameList<MeshName> MeshesAsMeshNames { get; }
Property Value | |
---|---|
Type | Description |
ResourceNameListMeshName |
Name
public string Name { get; set; }
Required. Name of the TlsRoute resource. It matches pattern
projects/*/locations/global/tlsRoutes/tls_route_name>
.
Property Value | |
---|---|
Type | Description |
string |
Rules
public RepeatedField<TlsRoute.Types.RouteRule> Rules { get; }
Required. 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 Value | |
---|---|
Type | Description |
RepeatedFieldTlsRouteTypesRouteRule |
SelfLink
public string SelfLink { get; set; }
Output only. Server-defined URL of this resource
Property Value | |
---|---|
Type | Description |
string |
TlsRouteName
public TlsRouteName TlsRouteName { get; set; }
TlsRouteName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
TlsRouteName |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The timestamp when the resource was updated.
Property Value | |
---|---|
Type | Description |
Timestamp |