1. Packages
  2. Google Cloud Native
  3. API Docs
  4. networkservices
  5. networkservices/v1beta1
  6. HttpRoute

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/v1beta1.HttpRoute

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 HttpRoute in a given project and location.

Create HttpRoute Resource

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

Constructor syntax

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

@overload
def HttpRoute(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              hostnames: Optional[Sequence[str]] = None,
              http_route_id: Optional[str] = None,
              rules: Optional[Sequence[HttpRouteRouteRuleArgs]] = 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 NewHttpRoute(ctx *Context, name string, args HttpRouteArgs, opts ...ResourceOption) (*HttpRoute, error)
public HttpRoute(string name, HttpRouteArgs args, CustomResourceOptions? opts = null)
public HttpRoute(String name, HttpRouteArgs args)
public HttpRoute(String name, HttpRouteArgs args, CustomResourceOptions options)
type: google-native:networkservices/v1beta1:HttpRoute
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. HttpRouteArgs
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. HttpRouteArgs
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. HttpRouteArgs
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. HttpRouteArgs
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. HttpRouteArgs
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 google_nativeHttpRouteResource = new GoogleNative.NetworkServices.V1Beta1.HttpRoute("google-nativeHttpRouteResource", new()
{
    Hostnames = new[]
    {
        "string",
    },
    HttpRouteId = "string",
    Rules = new[]
    {
        new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRouteRuleArgs
        {
            Action = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRouteActionArgs
            {
                CorsPolicy = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteCorsPolicyArgs
                {
                    AllowCredentials = false,
                    AllowHeaders = new[]
                    {
                        "string",
                    },
                    AllowMethods = new[]
                    {
                        "string",
                    },
                    AllowOriginRegexes = new[]
                    {
                        "string",
                    },
                    AllowOrigins = new[]
                    {
                        "string",
                    },
                    Disabled = false,
                    ExposeHeaders = new[]
                    {
                        "string",
                    },
                    MaxAge = "string",
                },
                Destinations = new[]
                {
                    new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteDestinationArgs
                    {
                        ServiceName = "string",
                        Weight = 0,
                    },
                },
                FaultInjectionPolicy = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteFaultInjectionPolicyArgs
                {
                    Abort = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteFaultInjectionPolicyAbortArgs
                    {
                        HttpStatus = 0,
                        Percentage = 0,
                    },
                    Delay = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteFaultInjectionPolicyDelayArgs
                    {
                        FixedDelay = "string",
                        Percentage = 0,
                    },
                },
                Redirect = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRedirectArgs
                {
                    HostRedirect = "string",
                    HttpsRedirect = false,
                    PathRedirect = "string",
                    PortRedirect = 0,
                    PrefixRewrite = "string",
                    ResponseCode = GoogleNative.NetworkServices.V1Beta1.HttpRouteRedirectResponseCode.ResponseCodeUnspecified,
                    StripQuery = false,
                },
                RequestHeaderModifier = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteHeaderModifierArgs
                {
                    Add = 
                    {
                        { "string", "string" },
                    },
                    Remove = new[]
                    {
                        "string",
                    },
                    Set = 
                    {
                        { "string", "string" },
                    },
                },
                RequestMirrorPolicy = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRequestMirrorPolicyArgs
                {
                    Destination = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteDestinationArgs
                    {
                        ServiceName = "string",
                        Weight = 0,
                    },
                },
                ResponseHeaderModifier = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteHeaderModifierArgs
                {
                    Add = 
                    {
                        { "string", "string" },
                    },
                    Remove = new[]
                    {
                        "string",
                    },
                    Set = 
                    {
                        { "string", "string" },
                    },
                },
                RetryPolicy = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRetryPolicyArgs
                {
                    NumRetries = 0,
                    PerTryTimeout = "string",
                    RetryConditions = new[]
                    {
                        "string",
                    },
                },
                StatefulSessionAffinity = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteStatefulSessionAffinityPolicyArgs
                {
                    CookieTtl = "string",
                },
                Timeout = "string",
                UrlRewrite = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteURLRewriteArgs
                {
                    HostRewrite = "string",
                    PathPrefixRewrite = "string",
                },
            },
            Matches = new[]
            {
                new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRouteMatchArgs
                {
                    FullPathMatch = "string",
                    Headers = new[]
                    {
                        new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteHeaderMatchArgs
                        {
                            ExactMatch = "string",
                            Header = "string",
                            InvertMatch = false,
                            PrefixMatch = "string",
                            PresentMatch = false,
                            RangeMatch = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteHeaderMatchIntegerRangeArgs
                            {
                                End = 0,
                                Start = 0,
                            },
                            RegexMatch = "string",
                            SuffixMatch = "string",
                        },
                    },
                    IgnoreCase = false,
                    PrefixMatch = "string",
                    QueryParameters = new[]
                    {
                        new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteQueryParameterMatchArgs
                        {
                            ExactMatch = "string",
                            PresentMatch = false,
                            QueryParameter = "string",
                            RegexMatch = "string",
                        },
                    },
                    RegexMatch = "string",
                },
            },
        },
    },
    Description = "string",
    Gateways = new[]
    {
        "string",
    },
    Labels = 
    {
        { "string", "string" },
    },
    Location = "string",
    Meshes = new[]
    {
        "string",
    },
    Name = "string",
    Project = "string",
});
Copy
example, err := networkservicesv1beta1.NewHttpRoute(ctx, "google-nativeHttpRouteResource", &networkservicesv1beta1.HttpRouteArgs{
	Hostnames: pulumi.StringArray{
		pulumi.String("string"),
	},
	HttpRouteId: pulumi.String("string"),
	Rules: networkservices.HttpRouteRouteRuleArray{
		&networkservices.HttpRouteRouteRuleArgs{
			Action: &networkservices.HttpRouteRouteActionArgs{
				CorsPolicy: &networkservices.HttpRouteCorsPolicyArgs{
					AllowCredentials: pulumi.Bool(false),
					AllowHeaders: pulumi.StringArray{
						pulumi.String("string"),
					},
					AllowMethods: pulumi.StringArray{
						pulumi.String("string"),
					},
					AllowOriginRegexes: pulumi.StringArray{
						pulumi.String("string"),
					},
					AllowOrigins: pulumi.StringArray{
						pulumi.String("string"),
					},
					Disabled: pulumi.Bool(false),
					ExposeHeaders: pulumi.StringArray{
						pulumi.String("string"),
					},
					MaxAge: pulumi.String("string"),
				},
				Destinations: networkservices.HttpRouteDestinationArray{
					&networkservices.HttpRouteDestinationArgs{
						ServiceName: pulumi.String("string"),
						Weight:      pulumi.Int(0),
					},
				},
				FaultInjectionPolicy: &networkservices.HttpRouteFaultInjectionPolicyArgs{
					Abort: &networkservices.HttpRouteFaultInjectionPolicyAbortArgs{
						HttpStatus: pulumi.Int(0),
						Percentage: pulumi.Int(0),
					},
					Delay: &networkservices.HttpRouteFaultInjectionPolicyDelayArgs{
						FixedDelay: pulumi.String("string"),
						Percentage: pulumi.Int(0),
					},
				},
				Redirect: &networkservices.HttpRouteRedirectArgs{
					HostRedirect:  pulumi.String("string"),
					HttpsRedirect: pulumi.Bool(false),
					PathRedirect:  pulumi.String("string"),
					PortRedirect:  pulumi.Int(0),
					PrefixRewrite: pulumi.String("string"),
					ResponseCode:  networkservicesv1beta1.HttpRouteRedirectResponseCodeResponseCodeUnspecified,
					StripQuery:    pulumi.Bool(false),
				},
				RequestHeaderModifier: &networkservices.HttpRouteHeaderModifierArgs{
					Add: pulumi.StringMap{
						"string": pulumi.String("string"),
					},
					Remove: pulumi.StringArray{
						pulumi.String("string"),
					},
					Set: pulumi.StringMap{
						"string": pulumi.String("string"),
					},
				},
				RequestMirrorPolicy: &networkservices.HttpRouteRequestMirrorPolicyArgs{
					Destination: &networkservices.HttpRouteDestinationArgs{
						ServiceName: pulumi.String("string"),
						Weight:      pulumi.Int(0),
					},
				},
				ResponseHeaderModifier: &networkservices.HttpRouteHeaderModifierArgs{
					Add: pulumi.StringMap{
						"string": pulumi.String("string"),
					},
					Remove: pulumi.StringArray{
						pulumi.String("string"),
					},
					Set: pulumi.StringMap{
						"string": pulumi.String("string"),
					},
				},
				RetryPolicy: &networkservices.HttpRouteRetryPolicyArgs{
					NumRetries:    pulumi.Int(0),
					PerTryTimeout: pulumi.String("string"),
					RetryConditions: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
				StatefulSessionAffinity: &networkservices.HttpRouteStatefulSessionAffinityPolicyArgs{
					CookieTtl: pulumi.String("string"),
				},
				Timeout: pulumi.String("string"),
				UrlRewrite: &networkservices.HttpRouteURLRewriteArgs{
					HostRewrite:       pulumi.String("string"),
					PathPrefixRewrite: pulumi.String("string"),
				},
			},
			Matches: networkservices.HttpRouteRouteMatchArray{
				&networkservices.HttpRouteRouteMatchArgs{
					FullPathMatch: pulumi.String("string"),
					Headers: networkservices.HttpRouteHeaderMatchArray{
						&networkservices.HttpRouteHeaderMatchArgs{
							ExactMatch:   pulumi.String("string"),
							Header:       pulumi.String("string"),
							InvertMatch:  pulumi.Bool(false),
							PrefixMatch:  pulumi.String("string"),
							PresentMatch: pulumi.Bool(false),
							RangeMatch: &networkservices.HttpRouteHeaderMatchIntegerRangeArgs{
								End:   pulumi.Int(0),
								Start: pulumi.Int(0),
							},
							RegexMatch:  pulumi.String("string"),
							SuffixMatch: pulumi.String("string"),
						},
					},
					IgnoreCase:  pulumi.Bool(false),
					PrefixMatch: pulumi.String("string"),
					QueryParameters: networkservices.HttpRouteQueryParameterMatchArray{
						&networkservices.HttpRouteQueryParameterMatchArgs{
							ExactMatch:     pulumi.String("string"),
							PresentMatch:   pulumi.Bool(false),
							QueryParameter: pulumi.String("string"),
							RegexMatch:     pulumi.String("string"),
						},
					},
					RegexMatch: 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 google_nativeHttpRouteResource = new HttpRoute("google-nativeHttpRouteResource", HttpRouteArgs.builder()
    .hostnames("string")
    .httpRouteId("string")
    .rules(HttpRouteRouteRuleArgs.builder()
        .action(HttpRouteRouteActionArgs.builder()
            .corsPolicy(HttpRouteCorsPolicyArgs.builder()
                .allowCredentials(false)
                .allowHeaders("string")
                .allowMethods("string")
                .allowOriginRegexes("string")
                .allowOrigins("string")
                .disabled(false)
                .exposeHeaders("string")
                .maxAge("string")
                .build())
            .destinations(HttpRouteDestinationArgs.builder()
                .serviceName("string")
                .weight(0)
                .build())
            .faultInjectionPolicy(HttpRouteFaultInjectionPolicyArgs.builder()
                .abort(HttpRouteFaultInjectionPolicyAbortArgs.builder()
                    .httpStatus(0)
                    .percentage(0)
                    .build())
                .delay(HttpRouteFaultInjectionPolicyDelayArgs.builder()
                    .fixedDelay("string")
                    .percentage(0)
                    .build())
                .build())
            .redirect(HttpRouteRedirectArgs.builder()
                .hostRedirect("string")
                .httpsRedirect(false)
                .pathRedirect("string")
                .portRedirect(0)
                .prefixRewrite("string")
                .responseCode("RESPONSE_CODE_UNSPECIFIED")
                .stripQuery(false)
                .build())
            .requestHeaderModifier(HttpRouteHeaderModifierArgs.builder()
                .add(Map.of("string", "string"))
                .remove("string")
                .set(Map.of("string", "string"))
                .build())
            .requestMirrorPolicy(HttpRouteRequestMirrorPolicyArgs.builder()
                .destination(HttpRouteDestinationArgs.builder()
                    .serviceName("string")
                    .weight(0)
                    .build())
                .build())
            .responseHeaderModifier(HttpRouteHeaderModifierArgs.builder()
                .add(Map.of("string", "string"))
                .remove("string")
                .set(Map.of("string", "string"))
                .build())
            .retryPolicy(HttpRouteRetryPolicyArgs.builder()
                .numRetries(0)
                .perTryTimeout("string")
                .retryConditions("string")
                .build())
            .statefulSessionAffinity(HttpRouteStatefulSessionAffinityPolicyArgs.builder()
                .cookieTtl("string")
                .build())
            .timeout("string")
            .urlRewrite(HttpRouteURLRewriteArgs.builder()
                .hostRewrite("string")
                .pathPrefixRewrite("string")
                .build())
            .build())
        .matches(HttpRouteRouteMatchArgs.builder()
            .fullPathMatch("string")
            .headers(HttpRouteHeaderMatchArgs.builder()
                .exactMatch("string")
                .header("string")
                .invertMatch(false)
                .prefixMatch("string")
                .presentMatch(false)
                .rangeMatch(HttpRouteHeaderMatchIntegerRangeArgs.builder()
                    .end(0)
                    .start(0)
                    .build())
                .regexMatch("string")
                .suffixMatch("string")
                .build())
            .ignoreCase(false)
            .prefixMatch("string")
            .queryParameters(HttpRouteQueryParameterMatchArgs.builder()
                .exactMatch("string")
                .presentMatch(false)
                .queryParameter("string")
                .regexMatch("string")
                .build())
            .regexMatch("string")
            .build())
        .build())
    .description("string")
    .gateways("string")
    .labels(Map.of("string", "string"))
    .location("string")
    .meshes("string")
    .name("string")
    .project("string")
    .build());
Copy
google_native_http_route_resource = google_native.networkservices.v1beta1.HttpRoute("google-nativeHttpRouteResource",
    hostnames=["string"],
    http_route_id="string",
    rules=[{
        "action": {
            "cors_policy": {
                "allow_credentials": False,
                "allow_headers": ["string"],
                "allow_methods": ["string"],
                "allow_origin_regexes": ["string"],
                "allow_origins": ["string"],
                "disabled": False,
                "expose_headers": ["string"],
                "max_age": "string",
            },
            "destinations": [{
                "service_name": "string",
                "weight": 0,
            }],
            "fault_injection_policy": {
                "abort": {
                    "http_status": 0,
                    "percentage": 0,
                },
                "delay": {
                    "fixed_delay": "string",
                    "percentage": 0,
                },
            },
            "redirect": {
                "host_redirect": "string",
                "https_redirect": False,
                "path_redirect": "string",
                "port_redirect": 0,
                "prefix_rewrite": "string",
                "response_code": google_native.networkservices.v1beta1.HttpRouteRedirectResponseCode.RESPONSE_CODE_UNSPECIFIED,
                "strip_query": False,
            },
            "request_header_modifier": {
                "add": {
                    "string": "string",
                },
                "remove": ["string"],
                "set": {
                    "string": "string",
                },
            },
            "request_mirror_policy": {
                "destination": {
                    "service_name": "string",
                    "weight": 0,
                },
            },
            "response_header_modifier": {
                "add": {
                    "string": "string",
                },
                "remove": ["string"],
                "set": {
                    "string": "string",
                },
            },
            "retry_policy": {
                "num_retries": 0,
                "per_try_timeout": "string",
                "retry_conditions": ["string"],
            },
            "stateful_session_affinity": {
                "cookie_ttl": "string",
            },
            "timeout": "string",
            "url_rewrite": {
                "host_rewrite": "string",
                "path_prefix_rewrite": "string",
            },
        },
        "matches": [{
            "full_path_match": "string",
            "headers": [{
                "exact_match": "string",
                "header": "string",
                "invert_match": False,
                "prefix_match": "string",
                "present_match": False,
                "range_match": {
                    "end": 0,
                    "start": 0,
                },
                "regex_match": "string",
                "suffix_match": "string",
            }],
            "ignore_case": False,
            "prefix_match": "string",
            "query_parameters": [{
                "exact_match": "string",
                "present_match": False,
                "query_parameter": "string",
                "regex_match": "string",
            }],
            "regex_match": "string",
        }],
    }],
    description="string",
    gateways=["string"],
    labels={
        "string": "string",
    },
    location="string",
    meshes=["string"],
    name="string",
    project="string")
Copy
const google_nativeHttpRouteResource = new google_native.networkservices.v1beta1.HttpRoute("google-nativeHttpRouteResource", {
    hostnames: ["string"],
    httpRouteId: "string",
    rules: [{
        action: {
            corsPolicy: {
                allowCredentials: false,
                allowHeaders: ["string"],
                allowMethods: ["string"],
                allowOriginRegexes: ["string"],
                allowOrigins: ["string"],
                disabled: false,
                exposeHeaders: ["string"],
                maxAge: "string",
            },
            destinations: [{
                serviceName: "string",
                weight: 0,
            }],
            faultInjectionPolicy: {
                abort: {
                    httpStatus: 0,
                    percentage: 0,
                },
                delay: {
                    fixedDelay: "string",
                    percentage: 0,
                },
            },
            redirect: {
                hostRedirect: "string",
                httpsRedirect: false,
                pathRedirect: "string",
                portRedirect: 0,
                prefixRewrite: "string",
                responseCode: google_native.networkservices.v1beta1.HttpRouteRedirectResponseCode.ResponseCodeUnspecified,
                stripQuery: false,
            },
            requestHeaderModifier: {
                add: {
                    string: "string",
                },
                remove: ["string"],
                set: {
                    string: "string",
                },
            },
            requestMirrorPolicy: {
                destination: {
                    serviceName: "string",
                    weight: 0,
                },
            },
            responseHeaderModifier: {
                add: {
                    string: "string",
                },
                remove: ["string"],
                set: {
                    string: "string",
                },
            },
            retryPolicy: {
                numRetries: 0,
                perTryTimeout: "string",
                retryConditions: ["string"],
            },
            statefulSessionAffinity: {
                cookieTtl: "string",
            },
            timeout: "string",
            urlRewrite: {
                hostRewrite: "string",
                pathPrefixRewrite: "string",
            },
        },
        matches: [{
            fullPathMatch: "string",
            headers: [{
                exactMatch: "string",
                header: "string",
                invertMatch: false,
                prefixMatch: "string",
                presentMatch: false,
                rangeMatch: {
                    end: 0,
                    start: 0,
                },
                regexMatch: "string",
                suffixMatch: "string",
            }],
            ignoreCase: false,
            prefixMatch: "string",
            queryParameters: [{
                exactMatch: "string",
                presentMatch: false,
                queryParameter: "string",
                regexMatch: "string",
            }],
            regexMatch: "string",
        }],
    }],
    description: "string",
    gateways: ["string"],
    labels: {
        string: "string",
    },
    location: "string",
    meshes: ["string"],
    name: "string",
    project: "string",
});
Copy
type: google-native:networkservices/v1beta1:HttpRoute
properties:
    description: string
    gateways:
        - string
    hostnames:
        - string
    httpRouteId: string
    labels:
        string: string
    location: string
    meshes:
        - string
    name: string
    project: string
    rules:
        - action:
            corsPolicy:
                allowCredentials: false
                allowHeaders:
                    - string
                allowMethods:
                    - string
                allowOriginRegexes:
                    - string
                allowOrigins:
                    - string
                disabled: false
                exposeHeaders:
                    - string
                maxAge: string
            destinations:
                - serviceName: string
                  weight: 0
            faultInjectionPolicy:
                abort:
                    httpStatus: 0
                    percentage: 0
                delay:
                    fixedDelay: string
                    percentage: 0
            redirect:
                hostRedirect: string
                httpsRedirect: false
                pathRedirect: string
                portRedirect: 0
                prefixRewrite: string
                responseCode: RESPONSE_CODE_UNSPECIFIED
                stripQuery: false
            requestHeaderModifier:
                add:
                    string: string
                remove:
                    - string
                set:
                    string: string
            requestMirrorPolicy:
                destination:
                    serviceName: string
                    weight: 0
            responseHeaderModifier:
                add:
                    string: string
                remove:
                    - string
                set:
                    string: string
            retryPolicy:
                numRetries: 0
                perTryTimeout: string
                retryConditions:
                    - string
            statefulSessionAffinity:
                cookieTtl: string
            timeout: string
            urlRewrite:
                hostRewrite: string
                pathPrefixRewrite: string
          matches:
            - fullPathMatch: string
              headers:
                - exactMatch: string
                  header: string
                  invertMatch: false
                  prefixMatch: string
                  presentMatch: false
                  rangeMatch:
                    end: 0
                    start: 0
                  regexMatch: string
                  suffixMatch: string
              ignoreCase: false
              prefixMatch: string
              queryParameters:
                - exactMatch: string
                  presentMatch: false
                  queryParameter: string
                  regexMatch: string
              regexMatch: string
Copy

HttpRoute 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 HttpRoute resource accepts the following input properties:

Hostnames This property is required. List<string>
Hostnames define a set of hosts that should match against the HTTP host header to select a HttpRoute to process the request. Hostname is the fully qualified domain name of a network host, as defined by RFC 1123 with the exception that: - IPs are not allowed. - A hostname may be prefixed with a wildcard label (*.). The wildcard label must appear by itself as the first label. Hostname can be "precise" which is a domain name without the terminating dot of a network host (e.g. foo.example.com) or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. *.example.com). Note that as per RFC1035 and RFC1123, a label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character. No other punctuation is allowed. The routes associated with a Mesh or Gateways must have unique hostnames. If you attempt to attach multiple routes with conflicting hostnames, the configuration will be rejected. For example, while it is acceptable for routes for the hostnames *.foo.bar.com and *.bar.com to be associated with the same Mesh (or Gateways under the same scope), it is not possible to associate two routes both with *.bar.com or both with bar.com.
HttpRouteId
This property is required.
Changes to this property will trigger replacement.
string
Required. Short name of the HttpRoute resource to be created.
Rules This property is required. List<Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRouteRule>
Rules that define how traffic is routed and handled. Rules will be matched sequentially based on the RouteMatch specified for the rule.
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 HttpRoute 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 HttpRoute resource.
Location Changes to this property will trigger replacement. string
Meshes List<string>
Optional. Meshes defines a list of meshes this HttpRoute 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 HttpRoute resource. It matches pattern projects/*/locations/global/httpRoutes/http_route_name>.
Project Changes to this property will trigger replacement. string
Hostnames This property is required. []string
Hostnames define a set of hosts that should match against the HTTP host header to select a HttpRoute to process the request. Hostname is the fully qualified domain name of a network host, as defined by RFC 1123 with the exception that: - IPs are not allowed. - A hostname may be prefixed with a wildcard label (*.). The wildcard label must appear by itself as the first label. Hostname can be "precise" which is a domain name without the terminating dot of a network host (e.g. foo.example.com) or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. *.example.com). Note that as per RFC1035 and RFC1123, a label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character. No other punctuation is allowed. The routes associated with a Mesh or Gateways must have unique hostnames. If you attempt to attach multiple routes with conflicting hostnames, the configuration will be rejected. For example, while it is acceptable for routes for the hostnames *.foo.bar.com and *.bar.com to be associated with the same Mesh (or Gateways under the same scope), it is not possible to associate two routes both with *.bar.com or both with bar.com.
HttpRouteId
This property is required.
Changes to this property will trigger replacement.
string
Required. Short name of the HttpRoute resource to be created.
Rules This property is required. []HttpRouteRouteRuleArgs
Rules that define how traffic is routed and handled. Rules will be matched sequentially based on the RouteMatch specified for the rule.
Description string
Optional. A free-text description of the resource. Max length 1024 characters.
Gateways []string
Optional. Gateways defines a list of gateways this HttpRoute 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 HttpRoute resource.
Location Changes to this property will trigger replacement. string
Meshes []string
Optional. Meshes defines a list of meshes this HttpRoute 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 HttpRoute resource. It matches pattern projects/*/locations/global/httpRoutes/http_route_name>.
Project Changes to this property will trigger replacement. string
hostnames This property is required. List<String>
Hostnames define a set of hosts that should match against the HTTP host header to select a HttpRoute to process the request. Hostname is the fully qualified domain name of a network host, as defined by RFC 1123 with the exception that: - IPs are not allowed. - A hostname may be prefixed with a wildcard label (*.). The wildcard label must appear by itself as the first label. Hostname can be "precise" which is a domain name without the terminating dot of a network host (e.g. foo.example.com) or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. *.example.com). Note that as per RFC1035 and RFC1123, a label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character. No other punctuation is allowed. The routes associated with a Mesh or Gateways must have unique hostnames. If you attempt to attach multiple routes with conflicting hostnames, the configuration will be rejected. For example, while it is acceptable for routes for the hostnames *.foo.bar.com and *.bar.com to be associated with the same Mesh (or Gateways under the same scope), it is not possible to associate two routes both with *.bar.com or both with bar.com.
httpRouteId
This property is required.
Changes to this property will trigger replacement.
String
Required. Short name of the HttpRoute resource to be created.
rules This property is required. List<HttpRouteRouteRule>
Rules that define how traffic is routed and handled. Rules will be matched sequentially based on the RouteMatch specified for the rule.
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 HttpRoute 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 HttpRoute resource.
location Changes to this property will trigger replacement. String
meshes List<String>
Optional. Meshes defines a list of meshes this HttpRoute 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 HttpRoute resource. It matches pattern projects/*/locations/global/httpRoutes/http_route_name>.
project Changes to this property will trigger replacement. String
hostnames This property is required. string[]
Hostnames define a set of hosts that should match against the HTTP host header to select a HttpRoute to process the request. Hostname is the fully qualified domain name of a network host, as defined by RFC 1123 with the exception that: - IPs are not allowed. - A hostname may be prefixed with a wildcard label (*.). The wildcard label must appear by itself as the first label. Hostname can be "precise" which is a domain name without the terminating dot of a network host (e.g. foo.example.com) or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. *.example.com). Note that as per RFC1035 and RFC1123, a label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character. No other punctuation is allowed. The routes associated with a Mesh or Gateways must have unique hostnames. If you attempt to attach multiple routes with conflicting hostnames, the configuration will be rejected. For example, while it is acceptable for routes for the hostnames *.foo.bar.com and *.bar.com to be associated with the same Mesh (or Gateways under the same scope), it is not possible to associate two routes both with *.bar.com or both with bar.com.
httpRouteId
This property is required.
Changes to this property will trigger replacement.
string
Required. Short name of the HttpRoute resource to be created.
rules This property is required. HttpRouteRouteRule[]
Rules that define how traffic is routed and handled. Rules will be matched sequentially based on the RouteMatch specified for the rule.
description string
Optional. A free-text description of the resource. Max length 1024 characters.
gateways string[]
Optional. Gateways defines a list of gateways this HttpRoute 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 HttpRoute resource.
location Changes to this property will trigger replacement. string
meshes string[]
Optional. Meshes defines a list of meshes this HttpRoute 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 HttpRoute resource. It matches pattern projects/*/locations/global/httpRoutes/http_route_name>.
project Changes to this property will trigger replacement. string
hostnames This property is required. Sequence[str]
Hostnames define a set of hosts that should match against the HTTP host header to select a HttpRoute to process the request. Hostname is the fully qualified domain name of a network host, as defined by RFC 1123 with the exception that: - IPs are not allowed. - A hostname may be prefixed with a wildcard label (*.). The wildcard label must appear by itself as the first label. Hostname can be "precise" which is a domain name without the terminating dot of a network host (e.g. foo.example.com) or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. *.example.com). Note that as per RFC1035 and RFC1123, a label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character. No other punctuation is allowed. The routes associated with a Mesh or Gateways must have unique hostnames. If you attempt to attach multiple routes with conflicting hostnames, the configuration will be rejected. For example, while it is acceptable for routes for the hostnames *.foo.bar.com and *.bar.com to be associated with the same Mesh (or Gateways under the same scope), it is not possible to associate two routes both with *.bar.com or both with bar.com.
http_route_id
This property is required.
Changes to this property will trigger replacement.
str
Required. Short name of the HttpRoute resource to be created.
rules This property is required. Sequence[HttpRouteRouteRuleArgs]
Rules that define how traffic is routed and handled. Rules will be matched sequentially based on the RouteMatch specified for the rule.
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 HttpRoute 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 HttpRoute resource.
location Changes to this property will trigger replacement. str
meshes Sequence[str]
Optional. Meshes defines a list of meshes this HttpRoute 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 HttpRoute resource. It matches pattern projects/*/locations/global/httpRoutes/http_route_name>.
project Changes to this property will trigger replacement. str
hostnames This property is required. List<String>
Hostnames define a set of hosts that should match against the HTTP host header to select a HttpRoute to process the request. Hostname is the fully qualified domain name of a network host, as defined by RFC 1123 with the exception that: - IPs are not allowed. - A hostname may be prefixed with a wildcard label (*.). The wildcard label must appear by itself as the first label. Hostname can be "precise" which is a domain name without the terminating dot of a network host (e.g. foo.example.com) or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. *.example.com). Note that as per RFC1035 and RFC1123, a label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character. No other punctuation is allowed. The routes associated with a Mesh or Gateways must have unique hostnames. If you attempt to attach multiple routes with conflicting hostnames, the configuration will be rejected. For example, while it is acceptable for routes for the hostnames *.foo.bar.com and *.bar.com to be associated with the same Mesh (or Gateways under the same scope), it is not possible to associate two routes both with *.bar.com or both with bar.com.
httpRouteId
This property is required.
Changes to this property will trigger replacement.
String
Required. Short name of the HttpRoute resource to be created.
rules This property is required. List<Property Map>
Rules that define how traffic is routed and handled. Rules will be matched sequentially based on the RouteMatch specified for the rule.
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 HttpRoute 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 HttpRoute resource.
location Changes to this property will trigger replacement. String
meshes List<String>
Optional. Meshes defines a list of meshes this HttpRoute 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 HttpRoute resource. It matches pattern projects/*/locations/global/httpRoutes/http_route_name>.
project Changes to this property will trigger replacement. String

Outputs

All input properties are implicitly available as output properties. Additionally, the HttpRoute 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

HttpRouteCorsPolicy
, HttpRouteCorsPolicyArgs

AllowCredentials bool
In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
AllowHeaders List<string>
Specifies the content for Access-Control-Allow-Headers header.
AllowMethods List<string>
Specifies the content for Access-Control-Allow-Methods header.
AllowOriginRegexes List<string>
Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
AllowOrigins List<string>
Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
Disabled bool
If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
ExposeHeaders List<string>
Specifies the content for Access-Control-Expose-Headers header.
MaxAge string
Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
AllowCredentials bool
In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
AllowHeaders []string
Specifies the content for Access-Control-Allow-Headers header.
AllowMethods []string
Specifies the content for Access-Control-Allow-Methods header.
AllowOriginRegexes []string
Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
AllowOrigins []string
Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
Disabled bool
If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
ExposeHeaders []string
Specifies the content for Access-Control-Expose-Headers header.
MaxAge string
Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
allowCredentials Boolean
In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
allowHeaders List<String>
Specifies the content for Access-Control-Allow-Headers header.
allowMethods List<String>
Specifies the content for Access-Control-Allow-Methods header.
allowOriginRegexes List<String>
Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
allowOrigins List<String>
Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
disabled Boolean
If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
exposeHeaders List<String>
Specifies the content for Access-Control-Expose-Headers header.
maxAge String
Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
allowCredentials boolean
In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
allowHeaders string[]
Specifies the content for Access-Control-Allow-Headers header.
allowMethods string[]
Specifies the content for Access-Control-Allow-Methods header.
allowOriginRegexes string[]
Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
allowOrigins string[]
Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
disabled boolean
If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
exposeHeaders string[]
Specifies the content for Access-Control-Expose-Headers header.
maxAge string
Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
allow_credentials bool
In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
allow_headers Sequence[str]
Specifies the content for Access-Control-Allow-Headers header.
allow_methods Sequence[str]
Specifies the content for Access-Control-Allow-Methods header.
allow_origin_regexes Sequence[str]
Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
allow_origins Sequence[str]
Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
disabled bool
If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
expose_headers Sequence[str]
Specifies the content for Access-Control-Expose-Headers header.
max_age str
Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
allowCredentials Boolean
In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
allowHeaders List<String>
Specifies the content for Access-Control-Allow-Headers header.
allowMethods List<String>
Specifies the content for Access-Control-Allow-Methods header.
allowOriginRegexes List<String>
Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
allowOrigins List<String>
Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
disabled Boolean
If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
exposeHeaders List<String>
Specifies the content for Access-Control-Expose-Headers header.
maxAge String
Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.

HttpRouteCorsPolicyResponse
, HttpRouteCorsPolicyResponseArgs

AllowCredentials This property is required. bool
In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
AllowHeaders This property is required. List<string>
Specifies the content for Access-Control-Allow-Headers header.
AllowMethods This property is required. List<string>
Specifies the content for Access-Control-Allow-Methods header.
AllowOriginRegexes This property is required. List<string>
Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
AllowOrigins This property is required. List<string>
Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
Disabled This property is required. bool
If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
ExposeHeaders This property is required. List<string>
Specifies the content for Access-Control-Expose-Headers header.
MaxAge This property is required. string
Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
AllowCredentials This property is required. bool
In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
AllowHeaders This property is required. []string
Specifies the content for Access-Control-Allow-Headers header.
AllowMethods This property is required. []string
Specifies the content for Access-Control-Allow-Methods header.
AllowOriginRegexes This property is required. []string
Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
AllowOrigins This property is required. []string
Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
Disabled This property is required. bool
If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
ExposeHeaders This property is required. []string
Specifies the content for Access-Control-Expose-Headers header.
MaxAge This property is required. string
Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
allowCredentials This property is required. Boolean
In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
allowHeaders This property is required. List<String>
Specifies the content for Access-Control-Allow-Headers header.
allowMethods This property is required. List<String>
Specifies the content for Access-Control-Allow-Methods header.
allowOriginRegexes This property is required. List<String>
Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
allowOrigins This property is required. List<String>
Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
disabled This property is required. Boolean
If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
exposeHeaders This property is required. List<String>
Specifies the content for Access-Control-Expose-Headers header.
maxAge This property is required. String
Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
allowCredentials This property is required. boolean
In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
allowHeaders This property is required. string[]
Specifies the content for Access-Control-Allow-Headers header.
allowMethods This property is required. string[]
Specifies the content for Access-Control-Allow-Methods header.
allowOriginRegexes This property is required. string[]
Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
allowOrigins This property is required. string[]
Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
disabled This property is required. boolean
If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
exposeHeaders This property is required. string[]
Specifies the content for Access-Control-Expose-Headers header.
maxAge This property is required. string
Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
allow_credentials This property is required. bool
In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
allow_headers This property is required. Sequence[str]
Specifies the content for Access-Control-Allow-Headers header.
allow_methods This property is required. Sequence[str]
Specifies the content for Access-Control-Allow-Methods header.
allow_origin_regexes This property is required. Sequence[str]
Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
allow_origins This property is required. Sequence[str]
Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
disabled This property is required. bool
If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
expose_headers This property is required. Sequence[str]
Specifies the content for Access-Control-Expose-Headers header.
max_age This property is required. str
Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
allowCredentials This property is required. Boolean
In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
allowHeaders This property is required. List<String>
Specifies the content for Access-Control-Allow-Headers header.
allowMethods This property is required. List<String>
Specifies the content for Access-Control-Allow-Methods header.
allowOriginRegexes This property is required. List<String>
Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
allowOrigins This property is required. List<String>
Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
disabled This property is required. Boolean
If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
exposeHeaders This property is required. List<String>
Specifies the content for Access-Control-Expose-Headers header.
maxAge This property is required. String
Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.

HttpRouteDestination
, HttpRouteDestinationArgs

ServiceName string
The URL of a BackendService to route traffic to.
Weight int
Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
ServiceName string
The URL of a BackendService to route traffic to.
Weight int
Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
serviceName String
The URL of a BackendService to route traffic to.
weight Integer
Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
serviceName string
The URL of a BackendService to route traffic to.
weight number
Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
service_name str
The URL of a BackendService to route traffic to.
weight int
Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
serviceName String
The URL of a BackendService to route traffic to.
weight Number
Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.

HttpRouteDestinationResponse
, HttpRouteDestinationResponseArgs

ServiceName This property is required. string
The URL of a BackendService to route traffic to.
Weight This property is required. int
Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
ServiceName This property is required. string
The URL of a BackendService to route traffic to.
Weight This property is required. int
Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
serviceName This property is required. String
The URL of a BackendService to route traffic to.
weight This property is required. Integer
Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
serviceName This property is required. string
The URL of a BackendService to route traffic to.
weight This property is required. number
Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
service_name This property is required. str
The URL of a BackendService to route traffic to.
weight This property is required. int
Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
serviceName This property is required. String
The URL of a BackendService to route traffic to.
weight This property is required. Number
Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.

HttpRouteFaultInjectionPolicy
, HttpRouteFaultInjectionPolicyArgs

Abort HttpRouteFaultInjectionPolicyAbort
The specification for aborting to client requests.
Delay HttpRouteFaultInjectionPolicyDelay
The specification for injecting delay to client requests.
abort HttpRouteFaultInjectionPolicyAbort
The specification for aborting to client requests.
delay HttpRouteFaultInjectionPolicyDelay
The specification for injecting delay to client requests.
abort HttpRouteFaultInjectionPolicyAbort
The specification for aborting to client requests.
delay HttpRouteFaultInjectionPolicyDelay
The specification for injecting delay to client requests.
abort HttpRouteFaultInjectionPolicyAbort
The specification for aborting to client requests.
delay HttpRouteFaultInjectionPolicyDelay
The specification for injecting delay to client requests.
abort Property Map
The specification for aborting to client requests.
delay Property Map
The specification for injecting delay to client requests.

HttpRouteFaultInjectionPolicyAbort
, HttpRouteFaultInjectionPolicyAbortArgs

HttpStatus int
The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
Percentage int
The percentage of traffic which will be aborted. The value must be between [0, 100]
HttpStatus int
The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
Percentage int
The percentage of traffic which will be aborted. The value must be between [0, 100]
httpStatus Integer
The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
percentage Integer
The percentage of traffic which will be aborted. The value must be between [0, 100]
httpStatus number
The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
percentage number
The percentage of traffic which will be aborted. The value must be between [0, 100]
http_status int
The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
percentage int
The percentage of traffic which will be aborted. The value must be between [0, 100]
httpStatus Number
The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
percentage Number
The percentage of traffic which will be aborted. The value must be between [0, 100]

HttpRouteFaultInjectionPolicyAbortResponse
, HttpRouteFaultInjectionPolicyAbortResponseArgs

HttpStatus This property is required. int
The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
Percentage This property is required. int
The percentage of traffic which will be aborted. The value must be between [0, 100]
HttpStatus This property is required. int
The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
Percentage This property is required. int
The percentage of traffic which will be aborted. The value must be between [0, 100]
httpStatus This property is required. Integer
The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
percentage This property is required. Integer
The percentage of traffic which will be aborted. The value must be between [0, 100]
httpStatus This property is required. number
The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
percentage This property is required. number
The percentage of traffic which will be aborted. The value must be between [0, 100]
http_status This property is required. int
The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
percentage This property is required. int
The percentage of traffic which will be aborted. The value must be between [0, 100]
httpStatus This property is required. Number
The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
percentage This property is required. Number
The percentage of traffic which will be aborted. The value must be between [0, 100]

HttpRouteFaultInjectionPolicyDelay
, HttpRouteFaultInjectionPolicyDelayArgs

FixedDelay string
Specify a fixed delay before forwarding the request.
Percentage int
The percentage of traffic on which delay will be injected. The value must be between [0, 100]
FixedDelay string
Specify a fixed delay before forwarding the request.
Percentage int
The percentage of traffic on which delay will be injected. The value must be between [0, 100]
fixedDelay String
Specify a fixed delay before forwarding the request.
percentage Integer
The percentage of traffic on which delay will be injected. The value must be between [0, 100]
fixedDelay string
Specify a fixed delay before forwarding the request.
percentage number
The percentage of traffic on which delay will be injected. The value must be between [0, 100]
fixed_delay str
Specify a fixed delay before forwarding the request.
percentage int
The percentage of traffic on which delay will be injected. The value must be between [0, 100]
fixedDelay String
Specify a fixed delay before forwarding the request.
percentage Number
The percentage of traffic on which delay will be injected. The value must be between [0, 100]

HttpRouteFaultInjectionPolicyDelayResponse
, HttpRouteFaultInjectionPolicyDelayResponseArgs

FixedDelay This property is required. string
Specify a fixed delay before forwarding the request.
Percentage This property is required. int
The percentage of traffic on which delay will be injected. The value must be between [0, 100]
FixedDelay This property is required. string
Specify a fixed delay before forwarding the request.
Percentage This property is required. int
The percentage of traffic on which delay will be injected. The value must be between [0, 100]
fixedDelay This property is required. String
Specify a fixed delay before forwarding the request.
percentage This property is required. Integer
The percentage of traffic on which delay will be injected. The value must be between [0, 100]
fixedDelay This property is required. string
Specify a fixed delay before forwarding the request.
percentage This property is required. number
The percentage of traffic on which delay will be injected. The value must be between [0, 100]
fixed_delay This property is required. str
Specify a fixed delay before forwarding the request.
percentage This property is required. int
The percentage of traffic on which delay will be injected. The value must be between [0, 100]
fixedDelay This property is required. String
Specify a fixed delay before forwarding the request.
percentage This property is required. Number
The percentage of traffic on which delay will be injected. The value must be between [0, 100]

HttpRouteFaultInjectionPolicyResponse
, HttpRouteFaultInjectionPolicyResponseArgs

Abort This property is required. Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteFaultInjectionPolicyAbortResponse
The specification for aborting to client requests.
Delay This property is required. Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteFaultInjectionPolicyDelayResponse
The specification for injecting delay to client requests.
Abort This property is required. HttpRouteFaultInjectionPolicyAbortResponse
The specification for aborting to client requests.
Delay This property is required. HttpRouteFaultInjectionPolicyDelayResponse
The specification for injecting delay to client requests.
abort This property is required. HttpRouteFaultInjectionPolicyAbortResponse
The specification for aborting to client requests.
delay This property is required. HttpRouteFaultInjectionPolicyDelayResponse
The specification for injecting delay to client requests.
abort This property is required. HttpRouteFaultInjectionPolicyAbortResponse
The specification for aborting to client requests.
delay This property is required. HttpRouteFaultInjectionPolicyDelayResponse
The specification for injecting delay to client requests.
abort This property is required. HttpRouteFaultInjectionPolicyAbortResponse
The specification for aborting to client requests.
delay This property is required. HttpRouteFaultInjectionPolicyDelayResponse
The specification for injecting delay to client requests.
abort This property is required. Property Map
The specification for aborting to client requests.
delay This property is required. Property Map
The specification for injecting delay to client requests.

HttpRouteHeaderMatch
, HttpRouteHeaderMatchArgs

ExactMatch string
The value of the header should match exactly the content of exact_match.
Header string
The name of the HTTP header to match against.
InvertMatch bool
If specified, the match result will be inverted before checking. Default value is set to false.
PrefixMatch string
The value of the header must start with the contents of prefix_match.
PresentMatch bool
A header with header_name must exist. The match takes place whether or not the header has a value.
RangeMatch Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteHeaderMatchIntegerRange
If specified, the rule will match if the request header value is within the range.
RegexMatch string
The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
SuffixMatch string
The value of the header must end with the contents of suffix_match.
ExactMatch string
The value of the header should match exactly the content of exact_match.
Header string
The name of the HTTP header to match against.
InvertMatch bool
If specified, the match result will be inverted before checking. Default value is set to false.
PrefixMatch string
The value of the header must start with the contents of prefix_match.
PresentMatch bool
A header with header_name must exist. The match takes place whether or not the header has a value.
RangeMatch HttpRouteHeaderMatchIntegerRange
If specified, the rule will match if the request header value is within the range.
RegexMatch string
The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
SuffixMatch string
The value of the header must end with the contents of suffix_match.
exactMatch String
The value of the header should match exactly the content of exact_match.
header String
The name of the HTTP header to match against.
invertMatch Boolean
If specified, the match result will be inverted before checking. Default value is set to false.
prefixMatch String
The value of the header must start with the contents of prefix_match.
presentMatch Boolean
A header with header_name must exist. The match takes place whether or not the header has a value.
rangeMatch HttpRouteHeaderMatchIntegerRange
If specified, the rule will match if the request header value is within the range.
regexMatch String
The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
suffixMatch String
The value of the header must end with the contents of suffix_match.
exactMatch string
The value of the header should match exactly the content of exact_match.
header string
The name of the HTTP header to match against.
invertMatch boolean
If specified, the match result will be inverted before checking. Default value is set to false.
prefixMatch string
The value of the header must start with the contents of prefix_match.
presentMatch boolean
A header with header_name must exist. The match takes place whether or not the header has a value.
rangeMatch HttpRouteHeaderMatchIntegerRange
If specified, the rule will match if the request header value is within the range.
regexMatch string
The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
suffixMatch string
The value of the header must end with the contents of suffix_match.
exact_match str
The value of the header should match exactly the content of exact_match.
header str
The name of the HTTP header to match against.
invert_match bool
If specified, the match result will be inverted before checking. Default value is set to false.
prefix_match str
The value of the header must start with the contents of prefix_match.
present_match bool
A header with header_name must exist. The match takes place whether or not the header has a value.
range_match HttpRouteHeaderMatchIntegerRange
If specified, the rule will match if the request header value is within the range.
regex_match str
The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
suffix_match str
The value of the header must end with the contents of suffix_match.
exactMatch String
The value of the header should match exactly the content of exact_match.
header String
The name of the HTTP header to match against.
invertMatch Boolean
If specified, the match result will be inverted before checking. Default value is set to false.
prefixMatch String
The value of the header must start with the contents of prefix_match.
presentMatch Boolean
A header with header_name must exist. The match takes place whether or not the header has a value.
rangeMatch Property Map
If specified, the rule will match if the request header value is within the range.
regexMatch String
The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
suffixMatch String
The value of the header must end with the contents of suffix_match.

HttpRouteHeaderMatchIntegerRange
, HttpRouteHeaderMatchIntegerRangeArgs

End int
End of the range (exclusive)
Start int
Start of the range (inclusive)
End int
End of the range (exclusive)
Start int
Start of the range (inclusive)
end Integer
End of the range (exclusive)
start Integer
Start of the range (inclusive)
end number
End of the range (exclusive)
start number
Start of the range (inclusive)
end int
End of the range (exclusive)
start int
Start of the range (inclusive)
end Number
End of the range (exclusive)
start Number
Start of the range (inclusive)

HttpRouteHeaderMatchIntegerRangeResponse
, HttpRouteHeaderMatchIntegerRangeResponseArgs

End This property is required. int
End of the range (exclusive)
Start This property is required. int
Start of the range (inclusive)
End This property is required. int
End of the range (exclusive)
Start This property is required. int
Start of the range (inclusive)
end This property is required. Integer
End of the range (exclusive)
start This property is required. Integer
Start of the range (inclusive)
end This property is required. number
End of the range (exclusive)
start This property is required. number
Start of the range (inclusive)
end This property is required. int
End of the range (exclusive)
start This property is required. int
Start of the range (inclusive)
end This property is required. Number
End of the range (exclusive)
start This property is required. Number
Start of the range (inclusive)

HttpRouteHeaderMatchResponse
, HttpRouteHeaderMatchResponseArgs

ExactMatch This property is required. string
The value of the header should match exactly the content of exact_match.
Header This property is required. string
The name of the HTTP header to match against.
InvertMatch This property is required. bool
If specified, the match result will be inverted before checking. Default value is set to false.
PrefixMatch This property is required. string
The value of the header must start with the contents of prefix_match.
PresentMatch This property is required. bool
A header with header_name must exist. The match takes place whether or not the header has a value.
RangeMatch This property is required. Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteHeaderMatchIntegerRangeResponse
If specified, the rule will match if the request header value is within the range.
RegexMatch This property is required. string
The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
SuffixMatch This property is required. string
The value of the header must end with the contents of suffix_match.
ExactMatch This property is required. string
The value of the header should match exactly the content of exact_match.
Header This property is required. string
The name of the HTTP header to match against.
InvertMatch This property is required. bool
If specified, the match result will be inverted before checking. Default value is set to false.
PrefixMatch This property is required. string
The value of the header must start with the contents of prefix_match.
PresentMatch This property is required. bool
A header with header_name must exist. The match takes place whether or not the header has a value.
RangeMatch This property is required. HttpRouteHeaderMatchIntegerRangeResponse
If specified, the rule will match if the request header value is within the range.
RegexMatch This property is required. string
The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
SuffixMatch This property is required. string
The value of the header must end with the contents of suffix_match.
exactMatch This property is required. String
The value of the header should match exactly the content of exact_match.
header This property is required. String
The name of the HTTP header to match against.
invertMatch This property is required. Boolean
If specified, the match result will be inverted before checking. Default value is set to false.
prefixMatch This property is required. String
The value of the header must start with the contents of prefix_match.
presentMatch This property is required. Boolean
A header with header_name must exist. The match takes place whether or not the header has a value.
rangeMatch This property is required. HttpRouteHeaderMatchIntegerRangeResponse
If specified, the rule will match if the request header value is within the range.
regexMatch This property is required. String
The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
suffixMatch This property is required. String
The value of the header must end with the contents of suffix_match.
exactMatch This property is required. string
The value of the header should match exactly the content of exact_match.
header This property is required. string
The name of the HTTP header to match against.
invertMatch This property is required. boolean
If specified, the match result will be inverted before checking. Default value is set to false.
prefixMatch This property is required. string
The value of the header must start with the contents of prefix_match.
presentMatch This property is required. boolean
A header with header_name must exist. The match takes place whether or not the header has a value.
rangeMatch This property is required. HttpRouteHeaderMatchIntegerRangeResponse
If specified, the rule will match if the request header value is within the range.
regexMatch This property is required. string
The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
suffixMatch This property is required. string
The value of the header must end with the contents of suffix_match.
exact_match This property is required. str
The value of the header should match exactly the content of exact_match.
header This property is required. str
The name of the HTTP header to match against.
invert_match This property is required. bool
If specified, the match result will be inverted before checking. Default value is set to false.
prefix_match This property is required. str
The value of the header must start with the contents of prefix_match.
present_match This property is required. bool
A header with header_name must exist. The match takes place whether or not the header has a value.
range_match This property is required. HttpRouteHeaderMatchIntegerRangeResponse
If specified, the rule will match if the request header value is within the range.
regex_match This property is required. str
The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
suffix_match This property is required. str
The value of the header must end with the contents of suffix_match.
exactMatch This property is required. String
The value of the header should match exactly the content of exact_match.
header This property is required. String
The name of the HTTP header to match against.
invertMatch This property is required. Boolean
If specified, the match result will be inverted before checking. Default value is set to false.
prefixMatch This property is required. String
The value of the header must start with the contents of prefix_match.
presentMatch This property is required. Boolean
A header with header_name must exist. The match takes place whether or not the header has a value.
rangeMatch This property is required. Property Map
If specified, the rule will match if the request header value is within the range.
regexMatch This property is required. String
The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
suffixMatch This property is required. String
The value of the header must end with the contents of suffix_match.

HttpRouteHeaderModifier
, HttpRouteHeaderModifierArgs

Add Dictionary<string, string>
Add the headers with given map where key is the name of the header, value is the value of the header.
Remove List<string>
Remove headers (matching by header names) specified in the list.
Set Dictionary<string, string>
Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
Add map[string]string
Add the headers with given map where key is the name of the header, value is the value of the header.
Remove []string
Remove headers (matching by header names) specified in the list.
Set map[string]string
Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
add Map<String,String>
Add the headers with given map where key is the name of the header, value is the value of the header.
remove List<String>
Remove headers (matching by header names) specified in the list.
set Map<String,String>
Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
add {[key: string]: string}
Add the headers with given map where key is the name of the header, value is the value of the header.
remove string[]
Remove headers (matching by header names) specified in the list.
set {[key: string]: string}
Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
add Mapping[str, str]
Add the headers with given map where key is the name of the header, value is the value of the header.
remove Sequence[str]
Remove headers (matching by header names) specified in the list.
set Mapping[str, str]
Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
add Map<String>
Add the headers with given map where key is the name of the header, value is the value of the header.
remove List<String>
Remove headers (matching by header names) specified in the list.
set Map<String>
Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.

HttpRouteHeaderModifierResponse
, HttpRouteHeaderModifierResponseArgs

Add This property is required. Dictionary<string, string>
Add the headers with given map where key is the name of the header, value is the value of the header.
Remove This property is required. List<string>
Remove headers (matching by header names) specified in the list.
Set This property is required. Dictionary<string, string>
Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
Add This property is required. map[string]string
Add the headers with given map where key is the name of the header, value is the value of the header.
Remove This property is required. []string
Remove headers (matching by header names) specified in the list.
Set This property is required. map[string]string
Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
add This property is required. Map<String,String>
Add the headers with given map where key is the name of the header, value is the value of the header.
remove This property is required. List<String>
Remove headers (matching by header names) specified in the list.
set This property is required. Map<String,String>
Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
add This property is required. {[key: string]: string}
Add the headers with given map where key is the name of the header, value is the value of the header.
remove This property is required. string[]
Remove headers (matching by header names) specified in the list.
set This property is required. {[key: string]: string}
Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
add This property is required. Mapping[str, str]
Add the headers with given map where key is the name of the header, value is the value of the header.
remove This property is required. Sequence[str]
Remove headers (matching by header names) specified in the list.
set This property is required. Mapping[str, str]
Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
add This property is required. Map<String>
Add the headers with given map where key is the name of the header, value is the value of the header.
remove This property is required. List<String>
Remove headers (matching by header names) specified in the list.
set This property is required. Map<String>
Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.

HttpRouteQueryParameterMatch
, HttpRouteQueryParameterMatchArgs

ExactMatch string
The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
PresentMatch bool
Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
QueryParameter string
The name of the query parameter to match.
RegexMatch string
The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
ExactMatch string
The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
PresentMatch bool
Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
QueryParameter string
The name of the query parameter to match.
RegexMatch string
The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
exactMatch String
The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
presentMatch Boolean
Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
queryParameter String
The name of the query parameter to match.
regexMatch String
The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
exactMatch string
The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
presentMatch boolean
Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
queryParameter string
The name of the query parameter to match.
regexMatch string
The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
exact_match str
The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
present_match bool
Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
query_parameter str
The name of the query parameter to match.
regex_match str
The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
exactMatch String
The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
presentMatch Boolean
Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
queryParameter String
The name of the query parameter to match.
regexMatch String
The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.

HttpRouteQueryParameterMatchResponse
, HttpRouteQueryParameterMatchResponseArgs

ExactMatch This property is required. string
The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
PresentMatch This property is required. bool
Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
QueryParameter This property is required. string
The name of the query parameter to match.
RegexMatch This property is required. string
The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
ExactMatch This property is required. string
The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
PresentMatch This property is required. bool
Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
QueryParameter This property is required. string
The name of the query parameter to match.
RegexMatch This property is required. string
The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
exactMatch This property is required. String
The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
presentMatch This property is required. Boolean
Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
queryParameter This property is required. String
The name of the query parameter to match.
regexMatch This property is required. String
The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
exactMatch This property is required. string
The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
presentMatch This property is required. boolean
Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
queryParameter This property is required. string
The name of the query parameter to match.
regexMatch This property is required. string
The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
exact_match This property is required. str
The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
present_match This property is required. bool
Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
query_parameter This property is required. str
The name of the query parameter to match.
regex_match This property is required. str
The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
exactMatch This property is required. String
The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
presentMatch This property is required. Boolean
Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
queryParameter This property is required. String
The name of the query parameter to match.
regexMatch This property is required. String
The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.

HttpRouteRedirect
, HttpRouteRedirectArgs

HostRedirect string
The host that will be used in the redirect response instead of the one that was supplied in the request.
HttpsRedirect bool
If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.
PathRedirect string
The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
PortRedirect int
The port that will be used in the redirected request instead of the one that was supplied in the request.
PrefixRewrite string
Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
ResponseCode Pulumi.GoogleNative.NetworkServices.V1Beta1.HttpRouteRedirectResponseCode
The HTTP Status code to use for the redirect.
StripQuery bool
if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
HostRedirect string
The host that will be used in the redirect response instead of the one that was supplied in the request.
HttpsRedirect bool
If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.
PathRedirect string
The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
PortRedirect int
The port that will be used in the redirected request instead of the one that was supplied in the request.
PrefixRewrite string
Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
ResponseCode HttpRouteRedirectResponseCode
The HTTP Status code to use for the redirect.
StripQuery bool
if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
hostRedirect String
The host that will be used in the redirect response instead of the one that was supplied in the request.
httpsRedirect Boolean
If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.
pathRedirect String
The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
portRedirect Integer
The port that will be used in the redirected request instead of the one that was supplied in the request.
prefixRewrite String
Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
responseCode HttpRouteRedirectResponseCode
The HTTP Status code to use for the redirect.
stripQuery Boolean
if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
hostRedirect string
The host that will be used in the redirect response instead of the one that was supplied in the request.
httpsRedirect boolean
If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.
pathRedirect string
The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
portRedirect number
The port that will be used in the redirected request instead of the one that was supplied in the request.
prefixRewrite string
Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
responseCode HttpRouteRedirectResponseCode
The HTTP Status code to use for the redirect.
stripQuery boolean
if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
host_redirect str
The host that will be used in the redirect response instead of the one that was supplied in the request.
https_redirect bool
If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.
path_redirect str
The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
port_redirect int
The port that will be used in the redirected request instead of the one that was supplied in the request.
prefix_rewrite str
Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
response_code HttpRouteRedirectResponseCode
The HTTP Status code to use for the redirect.
strip_query bool
if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
hostRedirect String
The host that will be used in the redirect response instead of the one that was supplied in the request.
httpsRedirect Boolean
If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.
pathRedirect String
The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
portRedirect Number
The port that will be used in the redirected request instead of the one that was supplied in the request.
prefixRewrite String
Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
responseCode "RESPONSE_CODE_UNSPECIFIED" | "MOVED_PERMANENTLY_DEFAULT" | "FOUND" | "SEE_OTHER" | "TEMPORARY_REDIRECT" | "PERMANENT_REDIRECT"
The HTTP Status code to use for the redirect.
stripQuery Boolean
if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.

HttpRouteRedirectResponse
, HttpRouteRedirectResponseArgs

HostRedirect This property is required. string
The host that will be used in the redirect response instead of the one that was supplied in the request.
HttpsRedirect This property is required. bool
If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.
PathRedirect This property is required. string
The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
PortRedirect This property is required. int
The port that will be used in the redirected request instead of the one that was supplied in the request.
PrefixRewrite This property is required. string
Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
ResponseCode This property is required. string
The HTTP Status code to use for the redirect.
StripQuery This property is required. bool
if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
HostRedirect This property is required. string
The host that will be used in the redirect response instead of the one that was supplied in the request.
HttpsRedirect This property is required. bool
If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.
PathRedirect This property is required. string
The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
PortRedirect This property is required. int
The port that will be used in the redirected request instead of the one that was supplied in the request.
PrefixRewrite This property is required. string
Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
ResponseCode This property is required. string
The HTTP Status code to use for the redirect.
StripQuery This property is required. bool
if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
hostRedirect This property is required. String
The host that will be used in the redirect response instead of the one that was supplied in the request.
httpsRedirect This property is required. Boolean
If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.
pathRedirect This property is required. String
The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
portRedirect This property is required. Integer
The port that will be used in the redirected request instead of the one that was supplied in the request.
prefixRewrite This property is required. String
Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
responseCode This property is required. String
The HTTP Status code to use for the redirect.
stripQuery This property is required. Boolean
if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
hostRedirect This property is required. string
The host that will be used in the redirect response instead of the one that was supplied in the request.
httpsRedirect This property is required. boolean
If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.
pathRedirect This property is required. string
The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
portRedirect This property is required. number
The port that will be used in the redirected request instead of the one that was supplied in the request.
prefixRewrite This property is required. string
Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
responseCode This property is required. string
The HTTP Status code to use for the redirect.
stripQuery This property is required. boolean
if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
host_redirect This property is required. str
The host that will be used in the redirect response instead of the one that was supplied in the request.
https_redirect This property is required. bool
If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.
path_redirect This property is required. str
The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
port_redirect This property is required. int
The port that will be used in the redirected request instead of the one that was supplied in the request.
prefix_rewrite This property is required. str
Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
response_code This property is required. str
The HTTP Status code to use for the redirect.
strip_query This property is required. bool
if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
hostRedirect This property is required. String
The host that will be used in the redirect response instead of the one that was supplied in the request.
httpsRedirect This property is required. Boolean
If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.
pathRedirect This property is required. String
The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
portRedirect This property is required. Number
The port that will be used in the redirected request instead of the one that was supplied in the request.
prefixRewrite This property is required. String
Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
responseCode This property is required. String
The HTTP Status code to use for the redirect.
stripQuery This property is required. Boolean
if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.

HttpRouteRedirectResponseCode
, HttpRouteRedirectResponseCodeArgs

ResponseCodeUnspecified
RESPONSE_CODE_UNSPECIFIEDDefault value
MovedPermanentlyDefault
MOVED_PERMANENTLY_DEFAULTCorresponds to 301.
Found
FOUNDCorresponds to 302.
SeeOther
SEE_OTHERCorresponds to 303.
TemporaryRedirect
TEMPORARY_REDIRECTCorresponds to 307. In this case, the request method will be retained.
PermanentRedirect
PERMANENT_REDIRECTCorresponds to 308. In this case, the request method will be retained.
HttpRouteRedirectResponseCodeResponseCodeUnspecified
RESPONSE_CODE_UNSPECIFIEDDefault value
HttpRouteRedirectResponseCodeMovedPermanentlyDefault
MOVED_PERMANENTLY_DEFAULTCorresponds to 301.
HttpRouteRedirectResponseCodeFound
FOUNDCorresponds to 302.
HttpRouteRedirectResponseCodeSeeOther
SEE_OTHERCorresponds to 303.
HttpRouteRedirectResponseCodeTemporaryRedirect
TEMPORARY_REDIRECTCorresponds to 307. In this case, the request method will be retained.
HttpRouteRedirectResponseCodePermanentRedirect
PERMANENT_REDIRECTCorresponds to 308. In this case, the request method will be retained.
ResponseCodeUnspecified
RESPONSE_CODE_UNSPECIFIEDDefault value
MovedPermanentlyDefault
MOVED_PERMANENTLY_DEFAULTCorresponds to 301.
Found
FOUNDCorresponds to 302.
SeeOther
SEE_OTHERCorresponds to 303.
TemporaryRedirect
TEMPORARY_REDIRECTCorresponds to 307. In this case, the request method will be retained.
PermanentRedirect
PERMANENT_REDIRECTCorresponds to 308. In this case, the request method will be retained.
ResponseCodeUnspecified
RESPONSE_CODE_UNSPECIFIEDDefault value
MovedPermanentlyDefault
MOVED_PERMANENTLY_DEFAULTCorresponds to 301.
Found
FOUNDCorresponds to 302.
SeeOther
SEE_OTHERCorresponds to 303.
TemporaryRedirect
TEMPORARY_REDIRECTCorresponds to 307. In this case, the request method will be retained.
PermanentRedirect
PERMANENT_REDIRECTCorresponds to 308. In this case, the request method will be retained.
RESPONSE_CODE_UNSPECIFIED
RESPONSE_CODE_UNSPECIFIEDDefault value
MOVED_PERMANENTLY_DEFAULT
MOVED_PERMANENTLY_DEFAULTCorresponds to 301.
FOUND
FOUNDCorresponds to 302.
SEE_OTHER
SEE_OTHERCorresponds to 303.
TEMPORARY_REDIRECT
TEMPORARY_REDIRECTCorresponds to 307. In this case, the request method will be retained.
PERMANENT_REDIRECT
PERMANENT_REDIRECTCorresponds to 308. In this case, the request method will be retained.
"RESPONSE_CODE_UNSPECIFIED"
RESPONSE_CODE_UNSPECIFIEDDefault value
"MOVED_PERMANENTLY_DEFAULT"
MOVED_PERMANENTLY_DEFAULTCorresponds to 301.
"FOUND"
FOUNDCorresponds to 302.
"SEE_OTHER"
SEE_OTHERCorresponds to 303.
"TEMPORARY_REDIRECT"
TEMPORARY_REDIRECTCorresponds to 307. In this case, the request method will be retained.
"PERMANENT_REDIRECT"
PERMANENT_REDIRECTCorresponds to 308. In this case, the request method will be retained.

HttpRouteRequestMirrorPolicy
, HttpRouteRequestMirrorPolicyArgs

Destination Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteDestination
The destination the requests will be mirrored to. The weight of the destination will be ignored.
Destination HttpRouteDestination
The destination the requests will be mirrored to. The weight of the destination will be ignored.
destination HttpRouteDestination
The destination the requests will be mirrored to. The weight of the destination will be ignored.
destination HttpRouteDestination
The destination the requests will be mirrored to. The weight of the destination will be ignored.
destination HttpRouteDestination
The destination the requests will be mirrored to. The weight of the destination will be ignored.
destination Property Map
The destination the requests will be mirrored to. The weight of the destination will be ignored.

HttpRouteRequestMirrorPolicyResponse
, HttpRouteRequestMirrorPolicyResponseArgs

Destination This property is required. Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteDestinationResponse
The destination the requests will be mirrored to. The weight of the destination will be ignored.
Destination This property is required. HttpRouteDestinationResponse
The destination the requests will be mirrored to. The weight of the destination will be ignored.
destination This property is required. HttpRouteDestinationResponse
The destination the requests will be mirrored to. The weight of the destination will be ignored.
destination This property is required. HttpRouteDestinationResponse
The destination the requests will be mirrored to. The weight of the destination will be ignored.
destination This property is required. HttpRouteDestinationResponse
The destination the requests will be mirrored to. The weight of the destination will be ignored.
destination This property is required. Property Map
The destination the requests will be mirrored to. The weight of the destination will be ignored.

HttpRouteRetryPolicy
, HttpRouteRetryPolicyArgs

NumRetries int
Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
PerTryTimeout string
Specifies a non-zero timeout per retry attempt.
RetryConditions List<string>
Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
NumRetries int
Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
PerTryTimeout string
Specifies a non-zero timeout per retry attempt.
RetryConditions []string
Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
numRetries Integer
Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
perTryTimeout String
Specifies a non-zero timeout per retry attempt.
retryConditions List<String>
Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
numRetries number
Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
perTryTimeout string
Specifies a non-zero timeout per retry attempt.
retryConditions string[]
Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
num_retries int
Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
per_try_timeout str
Specifies a non-zero timeout per retry attempt.
retry_conditions Sequence[str]
Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
numRetries Number
Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
perTryTimeout String
Specifies a non-zero timeout per retry attempt.
retryConditions List<String>
Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.

HttpRouteRetryPolicyResponse
, HttpRouteRetryPolicyResponseArgs

NumRetries This property is required. int
Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
PerTryTimeout This property is required. string
Specifies a non-zero timeout per retry attempt.
RetryConditions This property is required. List<string>
Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
NumRetries This property is required. int
Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
PerTryTimeout This property is required. string
Specifies a non-zero timeout per retry attempt.
RetryConditions This property is required. []string
Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
numRetries This property is required. Integer
Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
perTryTimeout This property is required. String
Specifies a non-zero timeout per retry attempt.
retryConditions This property is required. List<String>
Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
numRetries This property is required. number
Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
perTryTimeout This property is required. string
Specifies a non-zero timeout per retry attempt.
retryConditions This property is required. string[]
Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
num_retries This property is required. int
Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
per_try_timeout This property is required. str
Specifies a non-zero timeout per retry attempt.
retry_conditions This property is required. Sequence[str]
Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
numRetries This property is required. Number
Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
perTryTimeout This property is required. String
Specifies a non-zero timeout per retry attempt.
retryConditions This property is required. List<String>
Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.

HttpRouteRouteAction
, HttpRouteRouteActionArgs

CorsPolicy Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteCorsPolicy
The specification for allowing client side cross-origin requests.
Destinations List<Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteDestination>
The destination to which traffic should be forwarded.
FaultInjectionPolicy Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteFaultInjectionPolicy
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
Redirect Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRedirect
If set, the request is directed as configured by this field.
RequestHeaderModifier Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteHeaderModifier
The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
RequestMirrorPolicy Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRequestMirrorPolicy
Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
ResponseHeaderModifier Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteHeaderModifier
The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
RetryPolicy Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRetryPolicy
Specifies the retry policy associated with this route.
StatefulSessionAffinity Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteStatefulSessionAffinityPolicy
Optional. Specifies cookie-based stateful session affinity.
Timeout string
Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
UrlRewrite Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteURLRewrite
The specification for rewrite URL before forwarding requests to the destination.
CorsPolicy HttpRouteCorsPolicy
The specification for allowing client side cross-origin requests.
Destinations []HttpRouteDestination
The destination to which traffic should be forwarded.
FaultInjectionPolicy HttpRouteFaultInjectionPolicy
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
Redirect HttpRouteRedirect
If set, the request is directed as configured by this field.
RequestHeaderModifier HttpRouteHeaderModifier
The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
RequestMirrorPolicy HttpRouteRequestMirrorPolicy
Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
ResponseHeaderModifier HttpRouteHeaderModifier
The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
RetryPolicy HttpRouteRetryPolicy
Specifies the retry policy associated with this route.
StatefulSessionAffinity HttpRouteStatefulSessionAffinityPolicy
Optional. Specifies cookie-based stateful session affinity.
Timeout string
Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
UrlRewrite HttpRouteURLRewrite
The specification for rewrite URL before forwarding requests to the destination.
corsPolicy HttpRouteCorsPolicy
The specification for allowing client side cross-origin requests.
destinations List<HttpRouteDestination>
The destination to which traffic should be forwarded.
faultInjectionPolicy HttpRouteFaultInjectionPolicy
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
redirect HttpRouteRedirect
If set, the request is directed as configured by this field.
requestHeaderModifier HttpRouteHeaderModifier
The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
requestMirrorPolicy HttpRouteRequestMirrorPolicy
Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
responseHeaderModifier HttpRouteHeaderModifier
The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
retryPolicy HttpRouteRetryPolicy
Specifies the retry policy associated with this route.
statefulSessionAffinity HttpRouteStatefulSessionAffinityPolicy
Optional. Specifies cookie-based stateful session affinity.
timeout String
Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
urlRewrite HttpRouteURLRewrite
The specification for rewrite URL before forwarding requests to the destination.
corsPolicy HttpRouteCorsPolicy
The specification for allowing client side cross-origin requests.
destinations HttpRouteDestination[]
The destination to which traffic should be forwarded.
faultInjectionPolicy HttpRouteFaultInjectionPolicy
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
redirect HttpRouteRedirect
If set, the request is directed as configured by this field.
requestHeaderModifier HttpRouteHeaderModifier
The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
requestMirrorPolicy HttpRouteRequestMirrorPolicy
Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
responseHeaderModifier HttpRouteHeaderModifier
The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
retryPolicy HttpRouteRetryPolicy
Specifies the retry policy associated with this route.
statefulSessionAffinity HttpRouteStatefulSessionAffinityPolicy
Optional. Specifies cookie-based stateful session affinity.
timeout string
Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
urlRewrite HttpRouteURLRewrite
The specification for rewrite URL before forwarding requests to the destination.
cors_policy HttpRouteCorsPolicy
The specification for allowing client side cross-origin requests.
destinations Sequence[HttpRouteDestination]
The destination to which traffic should be forwarded.
fault_injection_policy HttpRouteFaultInjectionPolicy
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
redirect HttpRouteRedirect
If set, the request is directed as configured by this field.
request_header_modifier HttpRouteHeaderModifier
The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
request_mirror_policy HttpRouteRequestMirrorPolicy
Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
response_header_modifier HttpRouteHeaderModifier
The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
retry_policy HttpRouteRetryPolicy
Specifies the retry policy associated with this route.
stateful_session_affinity HttpRouteStatefulSessionAffinityPolicy
Optional. Specifies cookie-based stateful session affinity.
timeout str
Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
url_rewrite HttpRouteURLRewrite
The specification for rewrite URL before forwarding requests to the destination.
corsPolicy Property Map
The specification for allowing client side cross-origin requests.
destinations List<Property Map>
The destination to which traffic should be forwarded.
faultInjectionPolicy Property Map
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
redirect Property Map
If set, the request is directed as configured by this field.
requestHeaderModifier Property Map
The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
requestMirrorPolicy Property Map
Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
responseHeaderModifier Property Map
The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
retryPolicy Property Map
Specifies the retry policy associated with this route.
statefulSessionAffinity Property Map
Optional. Specifies cookie-based stateful session affinity.
timeout String
Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
urlRewrite Property Map
The specification for rewrite URL before forwarding requests to the destination.

HttpRouteRouteActionResponse
, HttpRouteRouteActionResponseArgs

CorsPolicy This property is required. Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteCorsPolicyResponse
The specification for allowing client side cross-origin requests.
Destinations This property is required. List<Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteDestinationResponse>
The destination to which traffic should be forwarded.
FaultInjectionPolicy This property is required. Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteFaultInjectionPolicyResponse
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
Redirect This property is required. Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRedirectResponse
If set, the request is directed as configured by this field.
RequestHeaderModifier This property is required. Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteHeaderModifierResponse
The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
RequestMirrorPolicy This property is required. Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRequestMirrorPolicyResponse
Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
ResponseHeaderModifier This property is required. Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteHeaderModifierResponse
The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
RetryPolicy This property is required. Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRetryPolicyResponse
Specifies the retry policy associated with this route.
StatefulSessionAffinity This property is required. Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteStatefulSessionAffinityPolicyResponse
Optional. Specifies cookie-based stateful session affinity.
Timeout This property is required. string
Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
UrlRewrite This property is required. Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteURLRewriteResponse
The specification for rewrite URL before forwarding requests to the destination.
CorsPolicy This property is required. HttpRouteCorsPolicyResponse
The specification for allowing client side cross-origin requests.
Destinations This property is required. []HttpRouteDestinationResponse
The destination to which traffic should be forwarded.
FaultInjectionPolicy This property is required. HttpRouteFaultInjectionPolicyResponse
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
Redirect This property is required. HttpRouteRedirectResponse
If set, the request is directed as configured by this field.
RequestHeaderModifier This property is required. HttpRouteHeaderModifierResponse
The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
RequestMirrorPolicy This property is required. HttpRouteRequestMirrorPolicyResponse
Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
ResponseHeaderModifier This property is required. HttpRouteHeaderModifierResponse
The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
RetryPolicy This property is required. HttpRouteRetryPolicyResponse
Specifies the retry policy associated with this route.
StatefulSessionAffinity This property is required. HttpRouteStatefulSessionAffinityPolicyResponse
Optional. Specifies cookie-based stateful session affinity.
Timeout This property is required. string
Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
UrlRewrite This property is required. HttpRouteURLRewriteResponse
The specification for rewrite URL before forwarding requests to the destination.
corsPolicy This property is required. HttpRouteCorsPolicyResponse
The specification for allowing client side cross-origin requests.
destinations This property is required. List<HttpRouteDestinationResponse>
The destination to which traffic should be forwarded.
faultInjectionPolicy This property is required. HttpRouteFaultInjectionPolicyResponse
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
redirect This property is required. HttpRouteRedirectResponse
If set, the request is directed as configured by this field.
requestHeaderModifier This property is required. HttpRouteHeaderModifierResponse
The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
requestMirrorPolicy This property is required. HttpRouteRequestMirrorPolicyResponse
Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
responseHeaderModifier This property is required. HttpRouteHeaderModifierResponse
The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
retryPolicy This property is required. HttpRouteRetryPolicyResponse
Specifies the retry policy associated with this route.
statefulSessionAffinity This property is required. HttpRouteStatefulSessionAffinityPolicyResponse
Optional. Specifies cookie-based stateful session affinity.
timeout This property is required. String
Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
urlRewrite This property is required. HttpRouteURLRewriteResponse
The specification for rewrite URL before forwarding requests to the destination.
corsPolicy This property is required. HttpRouteCorsPolicyResponse
The specification for allowing client side cross-origin requests.
destinations This property is required. HttpRouteDestinationResponse[]
The destination to which traffic should be forwarded.
faultInjectionPolicy This property is required. HttpRouteFaultInjectionPolicyResponse
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
redirect This property is required. HttpRouteRedirectResponse
If set, the request is directed as configured by this field.
requestHeaderModifier This property is required. HttpRouteHeaderModifierResponse
The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
requestMirrorPolicy This property is required. HttpRouteRequestMirrorPolicyResponse
Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
responseHeaderModifier This property is required. HttpRouteHeaderModifierResponse
The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
retryPolicy This property is required. HttpRouteRetryPolicyResponse
Specifies the retry policy associated with this route.
statefulSessionAffinity This property is required. HttpRouteStatefulSessionAffinityPolicyResponse
Optional. Specifies cookie-based stateful session affinity.
timeout This property is required. string
Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
urlRewrite This property is required. HttpRouteURLRewriteResponse
The specification for rewrite URL before forwarding requests to the destination.
cors_policy This property is required. HttpRouteCorsPolicyResponse
The specification for allowing client side cross-origin requests.
destinations This property is required. Sequence[HttpRouteDestinationResponse]
The destination to which traffic should be forwarded.
fault_injection_policy This property is required. HttpRouteFaultInjectionPolicyResponse
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
redirect This property is required. HttpRouteRedirectResponse
If set, the request is directed as configured by this field.
request_header_modifier This property is required. HttpRouteHeaderModifierResponse
The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
request_mirror_policy This property is required. HttpRouteRequestMirrorPolicyResponse
Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
response_header_modifier This property is required. HttpRouteHeaderModifierResponse
The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
retry_policy This property is required. HttpRouteRetryPolicyResponse
Specifies the retry policy associated with this route.
stateful_session_affinity This property is required. HttpRouteStatefulSessionAffinityPolicyResponse
Optional. Specifies cookie-based stateful session affinity.
timeout This property is required. str
Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
url_rewrite This property is required. HttpRouteURLRewriteResponse
The specification for rewrite URL before forwarding requests to the destination.
corsPolicy This property is required. Property Map
The specification for allowing client side cross-origin requests.
destinations This property is required. List<Property Map>
The destination to which traffic should be forwarded.
faultInjectionPolicy This property is required. Property Map
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
redirect This property is required. Property Map
If set, the request is directed as configured by this field.
requestHeaderModifier This property is required. Property Map
The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
requestMirrorPolicy This property is required. Property Map
Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
responseHeaderModifier This property is required. Property Map
The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
retryPolicy This property is required. Property Map
Specifies the retry policy associated with this route.
statefulSessionAffinity This property is required. Property Map
Optional. Specifies cookie-based stateful session affinity.
timeout This property is required. String
Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
urlRewrite This property is required. Property Map
The specification for rewrite URL before forwarding requests to the destination.

HttpRouteRouteMatch
, HttpRouteRouteMatchArgs

FullPathMatch string
The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
Headers List<Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteHeaderMatch>
Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
IgnoreCase bool
Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
PrefixMatch string
The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
QueryParameters List<Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteQueryParameterMatch>
Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
RegexMatch string
The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
FullPathMatch string
The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
Headers []HttpRouteHeaderMatch
Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
IgnoreCase bool
Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
PrefixMatch string
The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
QueryParameters []HttpRouteQueryParameterMatch
Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
RegexMatch string
The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
fullPathMatch String
The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
headers List<HttpRouteHeaderMatch>
Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
ignoreCase Boolean
Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
prefixMatch String
The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
queryParameters List<HttpRouteQueryParameterMatch>
Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
regexMatch String
The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
fullPathMatch string
The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
headers HttpRouteHeaderMatch[]
Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
ignoreCase boolean
Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
prefixMatch string
The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
queryParameters HttpRouteQueryParameterMatch[]
Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
regexMatch string
The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
full_path_match str
The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
headers Sequence[HttpRouteHeaderMatch]
Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
ignore_case bool
Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
prefix_match str
The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
query_parameters Sequence[HttpRouteQueryParameterMatch]
Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
regex_match str
The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
fullPathMatch String
The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
headers List<Property Map>
Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
ignoreCase Boolean
Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
prefixMatch String
The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
queryParameters List<Property Map>
Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
regexMatch String
The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.

HttpRouteRouteMatchResponse
, HttpRouteRouteMatchResponseArgs

FullPathMatch This property is required. string
The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
Headers This property is required. List<Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteHeaderMatchResponse>
Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
IgnoreCase This property is required. bool
Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
PrefixMatch This property is required. string
The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
QueryParameters This property is required. List<Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteQueryParameterMatchResponse>
Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
RegexMatch This property is required. string
The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
FullPathMatch This property is required. string
The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
Headers This property is required. []HttpRouteHeaderMatchResponse
Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
IgnoreCase This property is required. bool
Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
PrefixMatch This property is required. string
The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
QueryParameters This property is required. []HttpRouteQueryParameterMatchResponse
Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
RegexMatch This property is required. string
The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
fullPathMatch This property is required. String
The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
headers This property is required. List<HttpRouteHeaderMatchResponse>
Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
ignoreCase This property is required. Boolean
Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
prefixMatch This property is required. String
The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
queryParameters This property is required. List<HttpRouteQueryParameterMatchResponse>
Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
regexMatch This property is required. String
The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
fullPathMatch This property is required. string
The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
headers This property is required. HttpRouteHeaderMatchResponse[]
Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
ignoreCase This property is required. boolean
Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
prefixMatch This property is required. string
The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
queryParameters This property is required. HttpRouteQueryParameterMatchResponse[]
Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
regexMatch This property is required. string
The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
full_path_match This property is required. str
The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
headers This property is required. Sequence[HttpRouteHeaderMatchResponse]
Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
ignore_case This property is required. bool
Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
prefix_match This property is required. str
The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
query_parameters This property is required. Sequence[HttpRouteQueryParameterMatchResponse]
Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
regex_match This property is required. str
The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
fullPathMatch This property is required. String
The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
headers This property is required. List<Property Map>
Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
ignoreCase This property is required. Boolean
Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
prefixMatch This property is required. String
The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
queryParameters This property is required. List<Property Map>
Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
regexMatch This property is required. String
The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.

HttpRouteRouteRule
, HttpRouteRouteRuleArgs

Action Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRouteAction
The detailed rule defining how to route matched traffic.
Matches List<Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRouteMatch>
A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
Action HttpRouteRouteAction
The detailed rule defining how to route matched traffic.
Matches []HttpRouteRouteMatch
A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
action HttpRouteRouteAction
The detailed rule defining how to route matched traffic.
matches List<HttpRouteRouteMatch>
A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
action HttpRouteRouteAction
The detailed rule defining how to route matched traffic.
matches HttpRouteRouteMatch[]
A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
action HttpRouteRouteAction
The detailed rule defining how to route matched traffic.
matches Sequence[HttpRouteRouteMatch]
A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
action Property Map
The detailed rule defining how to route matched traffic.
matches List<Property Map>
A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.

HttpRouteRouteRuleResponse
, HttpRouteRouteRuleResponseArgs

Action This property is required. Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRouteActionResponse
The detailed rule defining how to route matched traffic.
Matches This property is required. List<Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRouteMatchResponse>
A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
Action This property is required. HttpRouteRouteActionResponse
The detailed rule defining how to route matched traffic.
Matches This property is required. []HttpRouteRouteMatchResponse
A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
action This property is required. HttpRouteRouteActionResponse
The detailed rule defining how to route matched traffic.
matches This property is required. List<HttpRouteRouteMatchResponse>
A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
action This property is required. HttpRouteRouteActionResponse
The detailed rule defining how to route matched traffic.
matches This property is required. HttpRouteRouteMatchResponse[]
A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
action This property is required. HttpRouteRouteActionResponse
The detailed rule defining how to route matched traffic.
matches This property is required. Sequence[HttpRouteRouteMatchResponse]
A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
action This property is required. Property Map
The detailed rule defining how to route matched traffic.
matches This property is required. List<Property Map>
A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.

HttpRouteStatefulSessionAffinityPolicy
, HttpRouteStatefulSessionAffinityPolicyArgs

CookieTtl This property is required. string
The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
CookieTtl This property is required. string
The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
cookieTtl This property is required. String
The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
cookieTtl This property is required. string
The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
cookie_ttl This property is required. str
The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
cookieTtl This property is required. String
The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.

HttpRouteStatefulSessionAffinityPolicyResponse
, HttpRouteStatefulSessionAffinityPolicyResponseArgs

CookieTtl This property is required. string
The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
CookieTtl This property is required. string
The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
cookieTtl This property is required. String
The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
cookieTtl This property is required. string
The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
cookie_ttl This property is required. str
The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
cookieTtl This property is required. String
The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.

HttpRouteURLRewrite
, HttpRouteURLRewriteArgs

HostRewrite string
Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
PathPrefixRewrite string
Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
HostRewrite string
Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
PathPrefixRewrite string
Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
hostRewrite String
Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
pathPrefixRewrite String
Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
hostRewrite string
Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
pathPrefixRewrite string
Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
host_rewrite str
Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
path_prefix_rewrite str
Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
hostRewrite String
Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
pathPrefixRewrite String
Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.

HttpRouteURLRewriteResponse
, HttpRouteURLRewriteResponseArgs

HostRewrite This property is required. string
Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
PathPrefixRewrite This property is required. string
Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
HostRewrite This property is required. string
Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
PathPrefixRewrite This property is required. string
Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
hostRewrite This property is required. String
Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
pathPrefixRewrite This property is required. String
Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
hostRewrite This property is required. string
Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
pathPrefixRewrite This property is required. string
Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
host_rewrite This property is required. str
Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
path_prefix_rewrite This property is required. str
Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
hostRewrite This property is required. String
Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
pathPrefixRewrite This property is required. String
Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.

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