1. Packages
  2. Google Cloud Native
  3. API Docs
  4. networkservices
  5. networkservices/v1
  6. TlsRoute

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.networkservices/v1.TlsRoute

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Creates a new TlsRoute in a given project and location.

Create TlsRoute Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new TlsRoute(name: string, args: TlsRouteArgs, opts?: CustomResourceOptions);
@overload
def TlsRoute(resource_name: str,
             args: TlsRouteArgs,
             opts: Optional[ResourceOptions] = None)

@overload
def TlsRoute(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             rules: Optional[Sequence[TlsRouteRouteRuleArgs]] = None,
             tls_route_id: Optional[str] = None,
             description: Optional[str] = None,
             gateways: Optional[Sequence[str]] = None,
             labels: Optional[Mapping[str, str]] = None,
             location: Optional[str] = None,
             meshes: Optional[Sequence[str]] = None,
             name: Optional[str] = None,
             project: Optional[str] = None)
func NewTlsRoute(ctx *Context, name string, args TlsRouteArgs, opts ...ResourceOption) (*TlsRoute, error)
public TlsRoute(string name, TlsRouteArgs args, CustomResourceOptions? opts = null)
public TlsRoute(String name, TlsRouteArgs args)
public TlsRoute(String name, TlsRouteArgs args, CustomResourceOptions options)
type: google-native:networkservices/v1:TlsRoute
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. TlsRouteArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. TlsRouteArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. TlsRouteArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. TlsRouteArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. TlsRouteArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var tlsRouteResource = new GoogleNative.NetworkServices.V1.TlsRoute("tlsRouteResource", new()
{
    Rules = new[]
    {
        new GoogleNative.NetworkServices.V1.Inputs.TlsRouteRouteRuleArgs
        {
            Action = new GoogleNative.NetworkServices.V1.Inputs.TlsRouteRouteActionArgs
            {
                Destinations = new[]
                {
                    new GoogleNative.NetworkServices.V1.Inputs.TlsRouteRouteDestinationArgs
                    {
                        ServiceName = "string",
                        Weight = 0,
                    },
                },
            },
            Matches = new[]
            {
                new GoogleNative.NetworkServices.V1.Inputs.TlsRouteRouteMatchArgs
                {
                    Alpn = new[]
                    {
                        "string",
                    },
                    SniHost = new[]
                    {
                        "string",
                    },
                },
            },
        },
    },
    TlsRouteId = "string",
    Description = "string",
    Gateways = new[]
    {
        "string",
    },
    Labels = 
    {
        { "string", "string" },
    },
    Location = "string",
    Meshes = new[]
    {
        "string",
    },
    Name = "string",
    Project = "string",
});
Copy
example, err := networkservices.NewTlsRoute(ctx, "tlsRouteResource", &networkservices.TlsRouteArgs{
	Rules: networkservices.TlsRouteRouteRuleArray{
		&networkservices.TlsRouteRouteRuleArgs{
			Action: &networkservices.TlsRouteRouteActionArgs{
				Destinations: networkservices.TlsRouteRouteDestinationArray{
					&networkservices.TlsRouteRouteDestinationArgs{
						ServiceName: pulumi.String("string"),
						Weight:      pulumi.Int(0),
					},
				},
			},
			Matches: networkservices.TlsRouteRouteMatchArray{
				&networkservices.TlsRouteRouteMatchArgs{
					Alpn: pulumi.StringArray{
						pulumi.String("string"),
					},
					SniHost: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
			},
		},
	},
	TlsRouteId:  pulumi.String("string"),
	Description: pulumi.String("string"),
	Gateways: pulumi.StringArray{
		pulumi.String("string"),
	},
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Location: pulumi.String("string"),
	Meshes: pulumi.StringArray{
		pulumi.String("string"),
	},
	Name:    pulumi.String("string"),
	Project: pulumi.String("string"),
})
Copy
var tlsRouteResource = new TlsRoute("tlsRouteResource", TlsRouteArgs.builder()
    .rules(TlsRouteRouteRuleArgs.builder()
        .action(TlsRouteRouteActionArgs.builder()
            .destinations(TlsRouteRouteDestinationArgs.builder()
                .serviceName("string")
                .weight(0)
                .build())
            .build())
        .matches(TlsRouteRouteMatchArgs.builder()
            .alpn("string")
            .sniHost("string")
            .build())
        .build())
    .tlsRouteId("string")
    .description("string")
    .gateways("string")
    .labels(Map.of("string", "string"))
    .location("string")
    .meshes("string")
    .name("string")
    .project("string")
    .build());
Copy
tls_route_resource = google_native.networkservices.v1.TlsRoute("tlsRouteResource",
    rules=[{
        "action": {
            "destinations": [{
                "service_name": "string",
                "weight": 0,
            }],
        },
        "matches": [{
            "alpn": ["string"],
            "sni_host": ["string"],
        }],
    }],
    tls_route_id="string",
    description="string",
    gateways=["string"],
    labels={
        "string": "string",
    },
    location="string",
    meshes=["string"],
    name="string",
    project="string")
Copy
const tlsRouteResource = new google_native.networkservices.v1.TlsRoute("tlsRouteResource", {
    rules: [{
        action: {
            destinations: [{
                serviceName: "string",
                weight: 0,
            }],
        },
        matches: [{
            alpn: ["string"],
            sniHost: ["string"],
        }],
    }],
    tlsRouteId: "string",
    description: "string",
    gateways: ["string"],
    labels: {
        string: "string",
    },
    location: "string",
    meshes: ["string"],
    name: "string",
    project: "string",
});
Copy
type: google-native:networkservices/v1:TlsRoute
properties:
    description: string
    gateways:
        - string
    labels:
        string: string
    location: string
    meshes:
        - string
    name: string
    project: string
    rules:
        - action:
            destinations:
                - serviceName: string
                  weight: 0
          matches:
            - alpn:
                - string
              sniHost:
                - string
    tlsRouteId: string
Copy

TlsRoute Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The TlsRoute resource accepts the following input properties:

Rules This property is required. List<Pulumi.GoogleNative.NetworkServices.V1.Inputs.TlsRouteRouteRule>
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.
TlsRouteId
This property is required.
Changes to this property will trigger replacement.
string
Required. Short name of the TlsRoute resource to be created.
Description string
Optional. A free-text description of the resource. Max length 1024 characters.
Gateways List<string>
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/
Labels Dictionary<string, string>
Optional. Set of label tags associated with the TlsRoute resource.
Location Changes to this property will trigger replacement. string
Meshes List<string>
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
Name string
Name of the TlsRoute resource. It matches pattern projects/*/locations/global/tlsRoutes/tls_route_name>.
Project Changes to this property will trigger replacement. string
Rules This property is required. []TlsRouteRouteRuleArgs
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.
TlsRouteId
This property is required.
Changes to this property will trigger replacement.
string
Required. Short name of the TlsRoute resource to be created.
Description string
Optional. A free-text description of the resource. Max length 1024 characters.
Gateways []string
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/
Labels map[string]string
Optional. Set of label tags associated with the TlsRoute resource.
Location Changes to this property will trigger replacement. string
Meshes []string
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
Name string
Name of the TlsRoute resource. It matches pattern projects/*/locations/global/tlsRoutes/tls_route_name>.
Project Changes to this property will trigger replacement. string
rules This property is required. List<TlsRouteRouteRule>
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.
tlsRouteId
This property is required.
Changes to this property will trigger replacement.
String
Required. Short name of the TlsRoute resource to be created.
description String
Optional. A free-text description of the resource. Max length 1024 characters.
gateways List<String>
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/
labels Map<String,String>
Optional. Set of label tags associated with the TlsRoute resource.
location Changes to this property will trigger replacement. String
meshes List<String>
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
name String
Name of the TlsRoute resource. It matches pattern projects/*/locations/global/tlsRoutes/tls_route_name>.
project Changes to this property will trigger replacement. String
rules This property is required. TlsRouteRouteRule[]
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.
tlsRouteId
This property is required.
Changes to this property will trigger replacement.
string
Required. Short name of the TlsRoute resource to be created.
description string
Optional. A free-text description of the resource. Max length 1024 characters.
gateways string[]
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/
labels {[key: string]: string}
Optional. Set of label tags associated with the TlsRoute resource.
location Changes to this property will trigger replacement. string
meshes string[]
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
name string
Name of the TlsRoute resource. It matches pattern projects/*/locations/global/tlsRoutes/tls_route_name>.
project Changes to this property will trigger replacement. string
rules This property is required. Sequence[TlsRouteRouteRuleArgs]
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.
tls_route_id
This property is required.
Changes to this property will trigger replacement.
str
Required. Short name of the TlsRoute resource to be created.
description str
Optional. A free-text description of the resource. Max length 1024 characters.
gateways Sequence[str]
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/
labels Mapping[str, str]
Optional. Set of label tags associated with the TlsRoute resource.
location Changes to this property will trigger replacement. str
meshes Sequence[str]
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
name str
Name of the TlsRoute resource. It matches pattern projects/*/locations/global/tlsRoutes/tls_route_name>.
project Changes to this property will trigger replacement. str
rules This property is required. List<Property Map>
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.
tlsRouteId
This property is required.
Changes to this property will trigger replacement.
String
Required. Short name of the TlsRoute resource to be created.
description String
Optional. A free-text description of the resource. Max length 1024 characters.
gateways List<String>
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/
labels Map<String>
Optional. Set of label tags associated with the TlsRoute resource.
location Changes to this property will trigger replacement. String
meshes List<String>
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
name String
Name of the TlsRoute resource. It matches pattern projects/*/locations/global/tlsRoutes/tls_route_name>.
project Changes to this property will trigger replacement. String

Outputs

All input properties are implicitly available as output properties. Additionally, the TlsRoute resource produces the following output properties:

CreateTime string
The timestamp when the resource was created.
Id string
The provider-assigned unique ID for this managed resource.
SelfLink string
Server-defined URL of this resource
UpdateTime string
The timestamp when the resource was updated.
CreateTime string
The timestamp when the resource was created.
Id string
The provider-assigned unique ID for this managed resource.
SelfLink string
Server-defined URL of this resource
UpdateTime string
The timestamp when the resource was updated.
createTime String
The timestamp when the resource was created.
id String
The provider-assigned unique ID for this managed resource.
selfLink String
Server-defined URL of this resource
updateTime String
The timestamp when the resource was updated.
createTime string
The timestamp when the resource was created.
id string
The provider-assigned unique ID for this managed resource.
selfLink string
Server-defined URL of this resource
updateTime string
The timestamp when the resource was updated.
create_time str
The timestamp when the resource was created.
id str
The provider-assigned unique ID for this managed resource.
self_link str
Server-defined URL of this resource
update_time str
The timestamp when the resource was updated.
createTime String
The timestamp when the resource was created.
id String
The provider-assigned unique ID for this managed resource.
selfLink String
Server-defined URL of this resource
updateTime String
The timestamp when the resource was updated.

Supporting Types

TlsRouteRouteAction
, TlsRouteRouteActionArgs

Destinations This property is required. List<Pulumi.GoogleNative.NetworkServices.V1.Inputs.TlsRouteRouteDestination>
The destination services to which traffic should be forwarded. At least one destination service is required.
Destinations This property is required. []TlsRouteRouteDestination
The destination services to which traffic should be forwarded. At least one destination service is required.
destinations This property is required. List<TlsRouteRouteDestination>
The destination services to which traffic should be forwarded. At least one destination service is required.
destinations This property is required. TlsRouteRouteDestination[]
The destination services to which traffic should be forwarded. At least one destination service is required.
destinations This property is required. Sequence[TlsRouteRouteDestination]
The destination services to which traffic should be forwarded. At least one destination service is required.
destinations This property is required. List<Property Map>
The destination services to which traffic should be forwarded. At least one destination service is required.

TlsRouteRouteActionResponse
, TlsRouteRouteActionResponseArgs

Destinations This property is required. List<Pulumi.GoogleNative.NetworkServices.V1.Inputs.TlsRouteRouteDestinationResponse>
The destination services to which traffic should be forwarded. At least one destination service is required.
Destinations This property is required. []TlsRouteRouteDestinationResponse
The destination services to which traffic should be forwarded. At least one destination service is required.
destinations This property is required. List<TlsRouteRouteDestinationResponse>
The destination services to which traffic should be forwarded. At least one destination service is required.
destinations This property is required. TlsRouteRouteDestinationResponse[]
The destination services to which traffic should be forwarded. At least one destination service is required.
destinations This property is required. Sequence[TlsRouteRouteDestinationResponse]
The destination services to which traffic should be forwarded. At least one destination service is required.
destinations This property is required. List<Property Map>
The destination services to which traffic should be forwarded. At least one destination service is required.

TlsRouteRouteDestination
, TlsRouteRouteDestinationArgs

ServiceName This property is required. string
The URL of a BackendService to route traffic to.
Weight int
Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.
ServiceName This property is required. string
The URL of a BackendService to route traffic to.
Weight int
Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.
serviceName This property is required. String
The URL of a BackendService to route traffic to.
weight Integer
Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.
serviceName This property is required. string
The URL of a BackendService to route traffic to.
weight number
Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.
service_name This property is required. str
The URL of a BackendService to route traffic to.
weight int
Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.
serviceName This property is required. String
The URL of a BackendService to route traffic to.
weight Number
Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.

TlsRouteRouteDestinationResponse
, TlsRouteRouteDestinationResponseArgs

ServiceName This property is required. string
The URL of a BackendService to route traffic to.
Weight This property is required. int
Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.
ServiceName This property is required. string
The URL of a BackendService to route traffic to.
Weight This property is required. int
Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.
serviceName This property is required. String
The URL of a BackendService to route traffic to.
weight This property is required. Integer
Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.
serviceName This property is required. string
The URL of a BackendService to route traffic to.
weight This property is required. number
Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.
service_name This property is required. str
The URL of a BackendService to route traffic to.
weight This property is required. int
Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.
serviceName This property is required. String
The URL of a BackendService to route traffic to.
weight This property is required. Number
Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.

TlsRouteRouteMatch
, TlsRouteRouteMatchArgs

Alpn List<string>
Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set.
SniHost List<string>
Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, i.e. www.example.com will be first matched against www.example.com, then *.example.com, then *.com. Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host and alpn is required. Up to 5 sni hosts across all matches can be set.
Alpn []string
Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set.
SniHost []string
Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, i.e. www.example.com will be first matched against www.example.com, then *.example.com, then *.com. Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host and alpn is required. Up to 5 sni hosts across all matches can be set.
alpn List<String>
Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set.
sniHost List<String>
Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, i.e. www.example.com will be first matched against www.example.com, then *.example.com, then *.com. Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host and alpn is required. Up to 5 sni hosts across all matches can be set.
alpn string[]
Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set.
sniHost string[]
Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, i.e. www.example.com will be first matched against www.example.com, then *.example.com, then *.com. Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host and alpn is required. Up to 5 sni hosts across all matches can be set.
alpn Sequence[str]
Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set.
sni_host Sequence[str]
Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, i.e. www.example.com will be first matched against www.example.com, then *.example.com, then *.com. Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host and alpn is required. Up to 5 sni hosts across all matches can be set.
alpn List<String>
Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set.
sniHost List<String>
Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, i.e. www.example.com will be first matched against www.example.com, then *.example.com, then *.com. Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host and alpn is required. Up to 5 sni hosts across all matches can be set.

TlsRouteRouteMatchResponse
, TlsRouteRouteMatchResponseArgs

Alpn This property is required. List<string>
Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set.
SniHost This property is required. List<string>
Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, i.e. www.example.com will be first matched against www.example.com, then *.example.com, then *.com. Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host and alpn is required. Up to 5 sni hosts across all matches can be set.
Alpn This property is required. []string
Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set.
SniHost This property is required. []string
Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, i.e. www.example.com will be first matched against www.example.com, then *.example.com, then *.com. Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host and alpn is required. Up to 5 sni hosts across all matches can be set.
alpn This property is required. List<String>
Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set.
sniHost This property is required. List<String>
Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, i.e. www.example.com will be first matched against www.example.com, then *.example.com, then *.com. Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host and alpn is required. Up to 5 sni hosts across all matches can be set.
alpn This property is required. string[]
Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set.
sniHost This property is required. string[]
Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, i.e. www.example.com will be first matched against www.example.com, then *.example.com, then *.com. Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host and alpn is required. Up to 5 sni hosts across all matches can be set.
alpn This property is required. Sequence[str]
Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set.
sni_host This property is required. Sequence[str]
Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, i.e. www.example.com will be first matched against www.example.com, then *.example.com, then *.com. Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host and alpn is required. Up to 5 sni hosts across all matches can be set.
alpn This property is required. List<String>
Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set.
sniHost This property is required. List<String>
Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, i.e. www.example.com will be first matched against www.example.com, then *.example.com, then *.com. Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host and alpn is required. Up to 5 sni hosts across all matches can be set.

TlsRouteRouteRule
, TlsRouteRouteRuleArgs

Action This property is required. Pulumi.GoogleNative.NetworkServices.V1.Inputs.TlsRouteRouteAction
The detailed rule defining how to route matched traffic.
Matches This property is required. List<Pulumi.GoogleNative.NetworkServices.V1.Inputs.TlsRouteRouteMatch>
RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.
Action This property is required. TlsRouteRouteAction
The detailed rule defining how to route matched traffic.
Matches This property is required. []TlsRouteRouteMatch
RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.
action This property is required. TlsRouteRouteAction
The detailed rule defining how to route matched traffic.
matches This property is required. List<TlsRouteRouteMatch>
RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.
action This property is required. TlsRouteRouteAction
The detailed rule defining how to route matched traffic.
matches This property is required. TlsRouteRouteMatch[]
RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.
action This property is required. TlsRouteRouteAction
The detailed rule defining how to route matched traffic.
matches This property is required. Sequence[TlsRouteRouteMatch]
RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.
action This property is required. Property Map
The detailed rule defining how to route matched traffic.
matches This property is required. List<Property Map>
RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.

TlsRouteRouteRuleResponse
, TlsRouteRouteRuleResponseArgs

Action This property is required. Pulumi.GoogleNative.NetworkServices.V1.Inputs.TlsRouteRouteActionResponse
The detailed rule defining how to route matched traffic.
Matches This property is required. List<Pulumi.GoogleNative.NetworkServices.V1.Inputs.TlsRouteRouteMatchResponse>
RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.
Action This property is required. TlsRouteRouteActionResponse
The detailed rule defining how to route matched traffic.
Matches This property is required. []TlsRouteRouteMatchResponse
RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.
action This property is required. TlsRouteRouteActionResponse
The detailed rule defining how to route matched traffic.
matches This property is required. List<TlsRouteRouteMatchResponse>
RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.
action This property is required. TlsRouteRouteActionResponse
The detailed rule defining how to route matched traffic.
matches This property is required. TlsRouteRouteMatchResponse[]
RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.
action This property is required. TlsRouteRouteActionResponse
The detailed rule defining how to route matched traffic.
matches This property is required. Sequence[TlsRouteRouteMatchResponse]
RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.
action This property is required. Property Map
The detailed rule defining how to route matched traffic.
matches This property is required. List<Property Map>
RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi