Show / Hide Table of Contents

Class RegionUrlMapPathMatcher

Inheritance
System.Object
RegionUrlMapPathMatcher
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Compute.Outputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class RegionUrlMapPathMatcher

Fields

View Source

DefaultService

A reference to a RegionBackendService resource. This will be used if none of the pathRules defined by this PathMatcher is matched by the URL's path portion.

Declaration
public readonly string DefaultService
Field Value
Type Description
System.String
View Source

DefaultUrlRedirect

When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Structure is documented below.

Declaration
public readonly RegionUrlMapPathMatcherDefaultUrlRedirect DefaultUrlRedirect
Field Value
Type Description
RegionUrlMapPathMatcherDefaultUrlRedirect
View Source

Description

Description of this test case.

Declaration
public readonly string Description
Field Value
Type Description
System.String
View Source

Name

The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.

Declaration
public readonly string Name
Field Value
Type Description
System.String
View Source

PathRules

The list of path rules. Use this list instead of routeRules when routing based on simple path matching is all that's required. The order by which path rules are specified does not matter. Matches are always done on the longest-path-first basis. For example: a pathRule with a path /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear in this list. Within a given pathMatcher, only one of pathRules or routeRules must be set. Structure is documented below.

Declaration
public readonly ImmutableArray<RegionUrlMapPathMatcherPathRule> PathRules
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<RegionUrlMapPathMatcherPathRule>
View Source

RouteRules

The list of ordered HTTP route rules. Use this list instead of pathRules when advanced route matching and routing actions are desired. The order of specifying routeRules matters: the first rule that matches will cause its specified routing action to take effect. Within a given pathMatcher, only one of pathRules or routeRules must be set. routeRules are not supported in UrlMaps intended for External load balancers. Structure is documented below.

Declaration
public readonly ImmutableArray<RegionUrlMapPathMatcherRouteRule> RouteRules
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<RegionUrlMapPathMatcherRouteRule>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.