1. Packages
  2. Google Cloud Native
  3. API Docs
  4. compute
  5. compute/alpha
  6. UrlMap

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.compute/alpha.UrlMap

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 UrlMap resource in the specified project using the data included in the request.

Create UrlMap Resource

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

Constructor syntax

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

@overload
def UrlMap(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           default_custom_error_response_policy: Optional[CustomErrorResponsePolicyArgs] = None,
           default_route_action: Optional[HttpRouteActionArgs] = None,
           default_service: Optional[str] = None,
           default_url_redirect: Optional[HttpRedirectActionArgs] = None,
           description: Optional[str] = None,
           header_action: Optional[HttpHeaderActionArgs] = None,
           host_rules: Optional[Sequence[HostRuleArgs]] = None,
           name: Optional[str] = None,
           path_matchers: Optional[Sequence[PathMatcherArgs]] = None,
           project: Optional[str] = None,
           request_id: Optional[str] = None,
           tests: Optional[Sequence[UrlMapTestArgs]] = None)
func NewUrlMap(ctx *Context, name string, args *UrlMapArgs, opts ...ResourceOption) (*UrlMap, error)
public UrlMap(string name, UrlMapArgs? args = null, CustomResourceOptions? opts = null)
public UrlMap(String name, UrlMapArgs args)
public UrlMap(String name, UrlMapArgs args, CustomResourceOptions options)
type: google-native:compute/alpha:UrlMap
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 UrlMapArgs
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 UrlMapArgs
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 UrlMapArgs
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 UrlMapArgs
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. UrlMapArgs
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 urlMapResource = new GoogleNative.Compute.Alpha.UrlMap("urlMapResource", new()
{
    DefaultCustomErrorResponsePolicy = new GoogleNative.Compute.Alpha.Inputs.CustomErrorResponsePolicyArgs
    {
        ErrorResponseRules = new[]
        {
            new GoogleNative.Compute.Alpha.Inputs.CustomErrorResponsePolicyCustomErrorResponseRuleArgs
            {
                MatchResponseCodes = new[]
                {
                    "string",
                },
                OverrideResponseCode = 0,
                Path = "string",
            },
        },
        ErrorService = "string",
    },
    DefaultRouteAction = new GoogleNative.Compute.Alpha.Inputs.HttpRouteActionArgs
    {
        CorsPolicy = new GoogleNative.Compute.Alpha.Inputs.CorsPolicyArgs
        {
            AllowCredentials = false,
            AllowHeaders = new[]
            {
                "string",
            },
            AllowMethods = new[]
            {
                "string",
            },
            AllowOriginRegexes = new[]
            {
                "string",
            },
            AllowOrigins = new[]
            {
                "string",
            },
            Disabled = false,
            ExposeHeaders = new[]
            {
                "string",
            },
            MaxAge = 0,
        },
        FaultInjectionPolicy = new GoogleNative.Compute.Alpha.Inputs.HttpFaultInjectionArgs
        {
            Abort = new GoogleNative.Compute.Alpha.Inputs.HttpFaultAbortArgs
            {
                HttpStatus = 0,
                Percentage = 0,
            },
            Delay = new GoogleNative.Compute.Alpha.Inputs.HttpFaultDelayArgs
            {
                FixedDelay = new GoogleNative.Compute.Alpha.Inputs.DurationArgs
                {
                    Nanos = 0,
                    Seconds = "string",
                },
                Percentage = 0,
            },
        },
        MaxStreamDuration = new GoogleNative.Compute.Alpha.Inputs.DurationArgs
        {
            Nanos = 0,
            Seconds = "string",
        },
        RequestMirrorPolicy = new GoogleNative.Compute.Alpha.Inputs.RequestMirrorPolicyArgs
        {
            BackendService = "string",
        },
        RetryPolicy = new GoogleNative.Compute.Alpha.Inputs.HttpRetryPolicyArgs
        {
            NumRetries = 0,
            PerTryTimeout = new GoogleNative.Compute.Alpha.Inputs.DurationArgs
            {
                Nanos = 0,
                Seconds = "string",
            },
            RetryConditions = new[]
            {
                "string",
            },
        },
        Timeout = new GoogleNative.Compute.Alpha.Inputs.DurationArgs
        {
            Nanos = 0,
            Seconds = "string",
        },
        UrlRewrite = new GoogleNative.Compute.Alpha.Inputs.UrlRewriteArgs
        {
            HostRewrite = "string",
            PathPrefixRewrite = "string",
            PathTemplateRewrite = "string",
        },
        WeightedBackendServices = new[]
        {
            new GoogleNative.Compute.Alpha.Inputs.WeightedBackendServiceArgs
            {
                BackendService = "string",
                HeaderAction = new GoogleNative.Compute.Alpha.Inputs.HttpHeaderActionArgs
                {
                    RequestHeadersToAdd = new[]
                    {
                        new GoogleNative.Compute.Alpha.Inputs.HttpHeaderOptionArgs
                        {
                            HeaderName = "string",
                            HeaderValue = "string",
                            Replace = false,
                        },
                    },
                    RequestHeadersToRemove = new[]
                    {
                        "string",
                    },
                    ResponseHeadersToAdd = new[]
                    {
                        new GoogleNative.Compute.Alpha.Inputs.HttpHeaderOptionArgs
                        {
                            HeaderName = "string",
                            HeaderValue = "string",
                            Replace = false,
                        },
                    },
                    ResponseHeadersToRemove = new[]
                    {
                        "string",
                    },
                },
                Weight = 0,
            },
        },
    },
    DefaultService = "string",
    DefaultUrlRedirect = new GoogleNative.Compute.Alpha.Inputs.HttpRedirectActionArgs
    {
        HostRedirect = "string",
        HttpsRedirect = false,
        PathRedirect = "string",
        PrefixRedirect = "string",
        RedirectResponseCode = GoogleNative.Compute.Alpha.HttpRedirectActionRedirectResponseCode.Found,
        StripQuery = false,
    },
    Description = "string",
    HeaderAction = new GoogleNative.Compute.Alpha.Inputs.HttpHeaderActionArgs
    {
        RequestHeadersToAdd = new[]
        {
            new GoogleNative.Compute.Alpha.Inputs.HttpHeaderOptionArgs
            {
                HeaderName = "string",
                HeaderValue = "string",
                Replace = false,
            },
        },
        RequestHeadersToRemove = new[]
        {
            "string",
        },
        ResponseHeadersToAdd = new[]
        {
            new GoogleNative.Compute.Alpha.Inputs.HttpHeaderOptionArgs
            {
                HeaderName = "string",
                HeaderValue = "string",
                Replace = false,
            },
        },
        ResponseHeadersToRemove = new[]
        {
            "string",
        },
    },
    HostRules = new[]
    {
        new GoogleNative.Compute.Alpha.Inputs.HostRuleArgs
        {
            Description = "string",
            Hosts = new[]
            {
                "string",
            },
            PathMatcher = "string",
        },
    },
    Name = "string",
    PathMatchers = new[]
    {
        new GoogleNative.Compute.Alpha.Inputs.PathMatcherArgs
        {
            DefaultCustomErrorResponsePolicy = new GoogleNative.Compute.Alpha.Inputs.CustomErrorResponsePolicyArgs
            {
                ErrorResponseRules = new[]
                {
                    new GoogleNative.Compute.Alpha.Inputs.CustomErrorResponsePolicyCustomErrorResponseRuleArgs
                    {
                        MatchResponseCodes = new[]
                        {
                            "string",
                        },
                        OverrideResponseCode = 0,
                        Path = "string",
                    },
                },
                ErrorService = "string",
            },
            DefaultRouteAction = new GoogleNative.Compute.Alpha.Inputs.HttpRouteActionArgs
            {
                CorsPolicy = new GoogleNative.Compute.Alpha.Inputs.CorsPolicyArgs
                {
                    AllowCredentials = false,
                    AllowHeaders = new[]
                    {
                        "string",
                    },
                    AllowMethods = new[]
                    {
                        "string",
                    },
                    AllowOriginRegexes = new[]
                    {
                        "string",
                    },
                    AllowOrigins = new[]
                    {
                        "string",
                    },
                    Disabled = false,
                    ExposeHeaders = new[]
                    {
                        "string",
                    },
                    MaxAge = 0,
                },
                FaultInjectionPolicy = new GoogleNative.Compute.Alpha.Inputs.HttpFaultInjectionArgs
                {
                    Abort = new GoogleNative.Compute.Alpha.Inputs.HttpFaultAbortArgs
                    {
                        HttpStatus = 0,
                        Percentage = 0,
                    },
                    Delay = new GoogleNative.Compute.Alpha.Inputs.HttpFaultDelayArgs
                    {
                        FixedDelay = new GoogleNative.Compute.Alpha.Inputs.DurationArgs
                        {
                            Nanos = 0,
                            Seconds = "string",
                        },
                        Percentage = 0,
                    },
                },
                MaxStreamDuration = new GoogleNative.Compute.Alpha.Inputs.DurationArgs
                {
                    Nanos = 0,
                    Seconds = "string",
                },
                RequestMirrorPolicy = new GoogleNative.Compute.Alpha.Inputs.RequestMirrorPolicyArgs
                {
                    BackendService = "string",
                },
                RetryPolicy = new GoogleNative.Compute.Alpha.Inputs.HttpRetryPolicyArgs
                {
                    NumRetries = 0,
                    PerTryTimeout = new GoogleNative.Compute.Alpha.Inputs.DurationArgs
                    {
                        Nanos = 0,
                        Seconds = "string",
                    },
                    RetryConditions = new[]
                    {
                        "string",
                    },
                },
                Timeout = new GoogleNative.Compute.Alpha.Inputs.DurationArgs
                {
                    Nanos = 0,
                    Seconds = "string",
                },
                UrlRewrite = new GoogleNative.Compute.Alpha.Inputs.UrlRewriteArgs
                {
                    HostRewrite = "string",
                    PathPrefixRewrite = "string",
                    PathTemplateRewrite = "string",
                },
                WeightedBackendServices = new[]
                {
                    new GoogleNative.Compute.Alpha.Inputs.WeightedBackendServiceArgs
                    {
                        BackendService = "string",
                        HeaderAction = new GoogleNative.Compute.Alpha.Inputs.HttpHeaderActionArgs
                        {
                            RequestHeadersToAdd = new[]
                            {
                                new GoogleNative.Compute.Alpha.Inputs.HttpHeaderOptionArgs
                                {
                                    HeaderName = "string",
                                    HeaderValue = "string",
                                    Replace = false,
                                },
                            },
                            RequestHeadersToRemove = new[]
                            {
                                "string",
                            },
                            ResponseHeadersToAdd = new[]
                            {
                                new GoogleNative.Compute.Alpha.Inputs.HttpHeaderOptionArgs
                                {
                                    HeaderName = "string",
                                    HeaderValue = "string",
                                    Replace = false,
                                },
                            },
                            ResponseHeadersToRemove = new[]
                            {
                                "string",
                            },
                        },
                        Weight = 0,
                    },
                },
            },
            DefaultService = "string",
            DefaultUrlRedirect = new GoogleNative.Compute.Alpha.Inputs.HttpRedirectActionArgs
            {
                HostRedirect = "string",
                HttpsRedirect = false,
                PathRedirect = "string",
                PrefixRedirect = "string",
                RedirectResponseCode = GoogleNative.Compute.Alpha.HttpRedirectActionRedirectResponseCode.Found,
                StripQuery = false,
            },
            Description = "string",
            HeaderAction = new GoogleNative.Compute.Alpha.Inputs.HttpHeaderActionArgs
            {
                RequestHeadersToAdd = new[]
                {
                    new GoogleNative.Compute.Alpha.Inputs.HttpHeaderOptionArgs
                    {
                        HeaderName = "string",
                        HeaderValue = "string",
                        Replace = false,
                    },
                },
                RequestHeadersToRemove = new[]
                {
                    "string",
                },
                ResponseHeadersToAdd = new[]
                {
                    new GoogleNative.Compute.Alpha.Inputs.HttpHeaderOptionArgs
                    {
                        HeaderName = "string",
                        HeaderValue = "string",
                        Replace = false,
                    },
                },
                ResponseHeadersToRemove = new[]
                {
                    "string",
                },
            },
            Name = "string",
            PathRules = new[]
            {
                new GoogleNative.Compute.Alpha.Inputs.PathRuleArgs
                {
                    CustomErrorResponsePolicy = new GoogleNative.Compute.Alpha.Inputs.CustomErrorResponsePolicyArgs
                    {
                        ErrorResponseRules = new[]
                        {
                            new GoogleNative.Compute.Alpha.Inputs.CustomErrorResponsePolicyCustomErrorResponseRuleArgs
                            {
                                MatchResponseCodes = new[]
                                {
                                    "string",
                                },
                                OverrideResponseCode = 0,
                                Path = "string",
                            },
                        },
                        ErrorService = "string",
                    },
                    Paths = new[]
                    {
                        "string",
                    },
                    RouteAction = new GoogleNative.Compute.Alpha.Inputs.HttpRouteActionArgs
                    {
                        CorsPolicy = new GoogleNative.Compute.Alpha.Inputs.CorsPolicyArgs
                        {
                            AllowCredentials = false,
                            AllowHeaders = new[]
                            {
                                "string",
                            },
                            AllowMethods = new[]
                            {
                                "string",
                            },
                            AllowOriginRegexes = new[]
                            {
                                "string",
                            },
                            AllowOrigins = new[]
                            {
                                "string",
                            },
                            Disabled = false,
                            ExposeHeaders = new[]
                            {
                                "string",
                            },
                            MaxAge = 0,
                        },
                        FaultInjectionPolicy = new GoogleNative.Compute.Alpha.Inputs.HttpFaultInjectionArgs
                        {
                            Abort = new GoogleNative.Compute.Alpha.Inputs.HttpFaultAbortArgs
                            {
                                HttpStatus = 0,
                                Percentage = 0,
                            },
                            Delay = new GoogleNative.Compute.Alpha.Inputs.HttpFaultDelayArgs
                            {
                                FixedDelay = new GoogleNative.Compute.Alpha.Inputs.DurationArgs
                                {
                                    Nanos = 0,
                                    Seconds = "string",
                                },
                                Percentage = 0,
                            },
                        },
                        MaxStreamDuration = new GoogleNative.Compute.Alpha.Inputs.DurationArgs
                        {
                            Nanos = 0,
                            Seconds = "string",
                        },
                        RequestMirrorPolicy = new GoogleNative.Compute.Alpha.Inputs.RequestMirrorPolicyArgs
                        {
                            BackendService = "string",
                        },
                        RetryPolicy = new GoogleNative.Compute.Alpha.Inputs.HttpRetryPolicyArgs
                        {
                            NumRetries = 0,
                            PerTryTimeout = new GoogleNative.Compute.Alpha.Inputs.DurationArgs
                            {
                                Nanos = 0,
                                Seconds = "string",
                            },
                            RetryConditions = new[]
                            {
                                "string",
                            },
                        },
                        Timeout = new GoogleNative.Compute.Alpha.Inputs.DurationArgs
                        {
                            Nanos = 0,
                            Seconds = "string",
                        },
                        UrlRewrite = new GoogleNative.Compute.Alpha.Inputs.UrlRewriteArgs
                        {
                            HostRewrite = "string",
                            PathPrefixRewrite = "string",
                            PathTemplateRewrite = "string",
                        },
                        WeightedBackendServices = new[]
                        {
                            new GoogleNative.Compute.Alpha.Inputs.WeightedBackendServiceArgs
                            {
                                BackendService = "string",
                                HeaderAction = new GoogleNative.Compute.Alpha.Inputs.HttpHeaderActionArgs
                                {
                                    RequestHeadersToAdd = new[]
                                    {
                                        new GoogleNative.Compute.Alpha.Inputs.HttpHeaderOptionArgs
                                        {
                                            HeaderName = "string",
                                            HeaderValue = "string",
                                            Replace = false,
                                        },
                                    },
                                    RequestHeadersToRemove = new[]
                                    {
                                        "string",
                                    },
                                    ResponseHeadersToAdd = new[]
                                    {
                                        new GoogleNative.Compute.Alpha.Inputs.HttpHeaderOptionArgs
                                        {
                                            HeaderName = "string",
                                            HeaderValue = "string",
                                            Replace = false,
                                        },
                                    },
                                    ResponseHeadersToRemove = new[]
                                    {
                                        "string",
                                    },
                                },
                                Weight = 0,
                            },
                        },
                    },
                    Service = "string",
                    UrlRedirect = new GoogleNative.Compute.Alpha.Inputs.HttpRedirectActionArgs
                    {
                        HostRedirect = "string",
                        HttpsRedirect = false,
                        PathRedirect = "string",
                        PrefixRedirect = "string",
                        RedirectResponseCode = GoogleNative.Compute.Alpha.HttpRedirectActionRedirectResponseCode.Found,
                        StripQuery = false,
                    },
                },
            },
            RouteRules = new[]
            {
                new GoogleNative.Compute.Alpha.Inputs.HttpRouteRuleArgs
                {
                    CustomErrorResponsePolicy = new GoogleNative.Compute.Alpha.Inputs.CustomErrorResponsePolicyArgs
                    {
                        ErrorResponseRules = new[]
                        {
                            new GoogleNative.Compute.Alpha.Inputs.CustomErrorResponsePolicyCustomErrorResponseRuleArgs
                            {
                                MatchResponseCodes = new[]
                                {
                                    "string",
                                },
                                OverrideResponseCode = 0,
                                Path = "string",
                            },
                        },
                        ErrorService = "string",
                    },
                    Description = "string",
                    HeaderAction = new GoogleNative.Compute.Alpha.Inputs.HttpHeaderActionArgs
                    {
                        RequestHeadersToAdd = new[]
                        {
                            new GoogleNative.Compute.Alpha.Inputs.HttpHeaderOptionArgs
                            {
                                HeaderName = "string",
                                HeaderValue = "string",
                                Replace = false,
                            },
                        },
                        RequestHeadersToRemove = new[]
                        {
                            "string",
                        },
                        ResponseHeadersToAdd = new[]
                        {
                            new GoogleNative.Compute.Alpha.Inputs.HttpHeaderOptionArgs
                            {
                                HeaderName = "string",
                                HeaderValue = "string",
                                Replace = false,
                            },
                        },
                        ResponseHeadersToRemove = new[]
                        {
                            "string",
                        },
                    },
                    HttpFilterConfigs = new[]
                    {
                        new GoogleNative.Compute.Alpha.Inputs.HttpFilterConfigArgs
                        {
                            Config = "string",
                            ConfigTypeUrl = "string",
                            FilterName = "string",
                        },
                    },
                    HttpFilterMetadata = new[]
                    {
                        new GoogleNative.Compute.Alpha.Inputs.HttpFilterConfigArgs
                        {
                            Config = "string",
                            ConfigTypeUrl = "string",
                            FilterName = "string",
                        },
                    },
                    MatchRules = new[]
                    {
                        new GoogleNative.Compute.Alpha.Inputs.HttpRouteRuleMatchArgs
                        {
                            FullPathMatch = "string",
                            HeaderMatches = new[]
                            {
                                new GoogleNative.Compute.Alpha.Inputs.HttpHeaderMatchArgs
                                {
                                    ExactMatch = "string",
                                    HeaderName = "string",
                                    InvertMatch = false,
                                    PrefixMatch = "string",
                                    PresentMatch = false,
                                    RangeMatch = new GoogleNative.Compute.Alpha.Inputs.Int64RangeMatchArgs
                                    {
                                        RangeEnd = "string",
                                        RangeStart = "string",
                                    },
                                    RegexMatch = "string",
                                    SuffixMatch = "string",
                                },
                            },
                            IgnoreCase = false,
                            MetadataFilters = new[]
                            {
                                new GoogleNative.Compute.Alpha.Inputs.MetadataFilterArgs
                                {
                                    FilterLabels = new[]
                                    {
                                        new GoogleNative.Compute.Alpha.Inputs.MetadataFilterLabelMatchArgs
                                        {
                                            Name = "string",
                                            Value = "string",
                                        },
                                    },
                                    FilterMatchCriteria = GoogleNative.Compute.Alpha.MetadataFilterFilterMatchCriteria.MatchAll,
                                },
                            },
                            PathTemplateMatch = "string",
                            PrefixMatch = "string",
                            QueryParameterMatches = new[]
                            {
                                new GoogleNative.Compute.Alpha.Inputs.HttpQueryParameterMatchArgs
                                {
                                    ExactMatch = "string",
                                    Name = "string",
                                    PresentMatch = false,
                                    RegexMatch = "string",
                                },
                            },
                            RegexMatch = "string",
                        },
                    },
                    Priority = 0,
                    RouteAction = new GoogleNative.Compute.Alpha.Inputs.HttpRouteActionArgs
                    {
                        CorsPolicy = new GoogleNative.Compute.Alpha.Inputs.CorsPolicyArgs
                        {
                            AllowCredentials = false,
                            AllowHeaders = new[]
                            {
                                "string",
                            },
                            AllowMethods = new[]
                            {
                                "string",
                            },
                            AllowOriginRegexes = new[]
                            {
                                "string",
                            },
                            AllowOrigins = new[]
                            {
                                "string",
                            },
                            Disabled = false,
                            ExposeHeaders = new[]
                            {
                                "string",
                            },
                            MaxAge = 0,
                        },
                        FaultInjectionPolicy = new GoogleNative.Compute.Alpha.Inputs.HttpFaultInjectionArgs
                        {
                            Abort = new GoogleNative.Compute.Alpha.Inputs.HttpFaultAbortArgs
                            {
                                HttpStatus = 0,
                                Percentage = 0,
                            },
                            Delay = new GoogleNative.Compute.Alpha.Inputs.HttpFaultDelayArgs
                            {
                                FixedDelay = new GoogleNative.Compute.Alpha.Inputs.DurationArgs
                                {
                                    Nanos = 0,
                                    Seconds = "string",
                                },
                                Percentage = 0,
                            },
                        },
                        MaxStreamDuration = new GoogleNative.Compute.Alpha.Inputs.DurationArgs
                        {
                            Nanos = 0,
                            Seconds = "string",
                        },
                        RequestMirrorPolicy = new GoogleNative.Compute.Alpha.Inputs.RequestMirrorPolicyArgs
                        {
                            BackendService = "string",
                        },
                        RetryPolicy = new GoogleNative.Compute.Alpha.Inputs.HttpRetryPolicyArgs
                        {
                            NumRetries = 0,
                            PerTryTimeout = new GoogleNative.Compute.Alpha.Inputs.DurationArgs
                            {
                                Nanos = 0,
                                Seconds = "string",
                            },
                            RetryConditions = new[]
                            {
                                "string",
                            },
                        },
                        Timeout = new GoogleNative.Compute.Alpha.Inputs.DurationArgs
                        {
                            Nanos = 0,
                            Seconds = "string",
                        },
                        UrlRewrite = new GoogleNative.Compute.Alpha.Inputs.UrlRewriteArgs
                        {
                            HostRewrite = "string",
                            PathPrefixRewrite = "string",
                            PathTemplateRewrite = "string",
                        },
                        WeightedBackendServices = new[]
                        {
                            new GoogleNative.Compute.Alpha.Inputs.WeightedBackendServiceArgs
                            {
                                BackendService = "string",
                                HeaderAction = new GoogleNative.Compute.Alpha.Inputs.HttpHeaderActionArgs
                                {
                                    RequestHeadersToAdd = new[]
                                    {
                                        new GoogleNative.Compute.Alpha.Inputs.HttpHeaderOptionArgs
                                        {
                                            HeaderName = "string",
                                            HeaderValue = "string",
                                            Replace = false,
                                        },
                                    },
                                    RequestHeadersToRemove = new[]
                                    {
                                        "string",
                                    },
                                    ResponseHeadersToAdd = new[]
                                    {
                                        new GoogleNative.Compute.Alpha.Inputs.HttpHeaderOptionArgs
                                        {
                                            HeaderName = "string",
                                            HeaderValue = "string",
                                            Replace = false,
                                        },
                                    },
                                    ResponseHeadersToRemove = new[]
                                    {
                                        "string",
                                    },
                                },
                                Weight = 0,
                            },
                        },
                    },
                    Service = "string",
                    UrlRedirect = new GoogleNative.Compute.Alpha.Inputs.HttpRedirectActionArgs
                    {
                        HostRedirect = "string",
                        HttpsRedirect = false,
                        PathRedirect = "string",
                        PrefixRedirect = "string",
                        RedirectResponseCode = GoogleNative.Compute.Alpha.HttpRedirectActionRedirectResponseCode.Found,
                        StripQuery = false,
                    },
                },
            },
        },
    },
    Project = "string",
    RequestId = "string",
    Tests = new[]
    {
        new GoogleNative.Compute.Alpha.Inputs.UrlMapTestArgs
        {
            BackendServiceWeight = 0,
            Description = "string",
            ExpectedOutputUrl = "string",
            ExpectedRedirectResponseCode = 0,
            Headers = new[]
            {
                new GoogleNative.Compute.Alpha.Inputs.UrlMapTestHeaderArgs
                {
                    Name = "string",
                    Value = "string",
                },
            },
            Host = "string",
            Path = "string",
            Service = "string",
        },
    },
});
Copy
example, err := compute.NewUrlMap(ctx, "urlMapResource", &compute.UrlMapArgs{
	DefaultCustomErrorResponsePolicy: &compute.CustomErrorResponsePolicyArgs{
		ErrorResponseRules: compute.CustomErrorResponsePolicyCustomErrorResponseRuleArray{
			&compute.CustomErrorResponsePolicyCustomErrorResponseRuleArgs{
				MatchResponseCodes: pulumi.StringArray{
					pulumi.String("string"),
				},
				OverrideResponseCode: pulumi.Int(0),
				Path:                 pulumi.String("string"),
			},
		},
		ErrorService: pulumi.String("string"),
	},
	DefaultRouteAction: &compute.HttpRouteActionArgs{
		CorsPolicy: &compute.CorsPolicyArgs{
			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.Int(0),
		},
		FaultInjectionPolicy: &compute.HttpFaultInjectionArgs{
			Abort: &compute.HttpFaultAbortArgs{
				HttpStatus: pulumi.Int(0),
				Percentage: pulumi.Float64(0),
			},
			Delay: &compute.HttpFaultDelayArgs{
				FixedDelay: &compute.DurationArgs{
					Nanos:   pulumi.Int(0),
					Seconds: pulumi.String("string"),
				},
				Percentage: pulumi.Float64(0),
			},
		},
		MaxStreamDuration: &compute.DurationArgs{
			Nanos:   pulumi.Int(0),
			Seconds: pulumi.String("string"),
		},
		RequestMirrorPolicy: &compute.RequestMirrorPolicyArgs{
			BackendService: pulumi.String("string"),
		},
		RetryPolicy: &compute.HttpRetryPolicyArgs{
			NumRetries: pulumi.Int(0),
			PerTryTimeout: &compute.DurationArgs{
				Nanos:   pulumi.Int(0),
				Seconds: pulumi.String("string"),
			},
			RetryConditions: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		Timeout: &compute.DurationArgs{
			Nanos:   pulumi.Int(0),
			Seconds: pulumi.String("string"),
		},
		UrlRewrite: &compute.UrlRewriteArgs{
			HostRewrite:         pulumi.String("string"),
			PathPrefixRewrite:   pulumi.String("string"),
			PathTemplateRewrite: pulumi.String("string"),
		},
		WeightedBackendServices: compute.WeightedBackendServiceArray{
			&compute.WeightedBackendServiceArgs{
				BackendService: pulumi.String("string"),
				HeaderAction: &compute.HttpHeaderActionArgs{
					RequestHeadersToAdd: compute.HttpHeaderOptionArray{
						&compute.HttpHeaderOptionArgs{
							HeaderName:  pulumi.String("string"),
							HeaderValue: pulumi.String("string"),
							Replace:     pulumi.Bool(false),
						},
					},
					RequestHeadersToRemove: pulumi.StringArray{
						pulumi.String("string"),
					},
					ResponseHeadersToAdd: compute.HttpHeaderOptionArray{
						&compute.HttpHeaderOptionArgs{
							HeaderName:  pulumi.String("string"),
							HeaderValue: pulumi.String("string"),
							Replace:     pulumi.Bool(false),
						},
					},
					ResponseHeadersToRemove: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
				Weight: pulumi.Int(0),
			},
		},
	},
	DefaultService: pulumi.String("string"),
	DefaultUrlRedirect: &compute.HttpRedirectActionArgs{
		HostRedirect:         pulumi.String("string"),
		HttpsRedirect:        pulumi.Bool(false),
		PathRedirect:         pulumi.String("string"),
		PrefixRedirect:       pulumi.String("string"),
		RedirectResponseCode: compute.HttpRedirectActionRedirectResponseCodeFound,
		StripQuery:           pulumi.Bool(false),
	},
	Description: pulumi.String("string"),
	HeaderAction: &compute.HttpHeaderActionArgs{
		RequestHeadersToAdd: compute.HttpHeaderOptionArray{
			&compute.HttpHeaderOptionArgs{
				HeaderName:  pulumi.String("string"),
				HeaderValue: pulumi.String("string"),
				Replace:     pulumi.Bool(false),
			},
		},
		RequestHeadersToRemove: pulumi.StringArray{
			pulumi.String("string"),
		},
		ResponseHeadersToAdd: compute.HttpHeaderOptionArray{
			&compute.HttpHeaderOptionArgs{
				HeaderName:  pulumi.String("string"),
				HeaderValue: pulumi.String("string"),
				Replace:     pulumi.Bool(false),
			},
		},
		ResponseHeadersToRemove: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	HostRules: compute.HostRuleArray{
		&compute.HostRuleArgs{
			Description: pulumi.String("string"),
			Hosts: pulumi.StringArray{
				pulumi.String("string"),
			},
			PathMatcher: pulumi.String("string"),
		},
	},
	Name: pulumi.String("string"),
	PathMatchers: compute.PathMatcherArray{
		&compute.PathMatcherArgs{
			DefaultCustomErrorResponsePolicy: &compute.CustomErrorResponsePolicyArgs{
				ErrorResponseRules: compute.CustomErrorResponsePolicyCustomErrorResponseRuleArray{
					&compute.CustomErrorResponsePolicyCustomErrorResponseRuleArgs{
						MatchResponseCodes: pulumi.StringArray{
							pulumi.String("string"),
						},
						OverrideResponseCode: pulumi.Int(0),
						Path:                 pulumi.String("string"),
					},
				},
				ErrorService: pulumi.String("string"),
			},
			DefaultRouteAction: &compute.HttpRouteActionArgs{
				CorsPolicy: &compute.CorsPolicyArgs{
					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.Int(0),
				},
				FaultInjectionPolicy: &compute.HttpFaultInjectionArgs{
					Abort: &compute.HttpFaultAbortArgs{
						HttpStatus: pulumi.Int(0),
						Percentage: pulumi.Float64(0),
					},
					Delay: &compute.HttpFaultDelayArgs{
						FixedDelay: &compute.DurationArgs{
							Nanos:   pulumi.Int(0),
							Seconds: pulumi.String("string"),
						},
						Percentage: pulumi.Float64(0),
					},
				},
				MaxStreamDuration: &compute.DurationArgs{
					Nanos:   pulumi.Int(0),
					Seconds: pulumi.String("string"),
				},
				RequestMirrorPolicy: &compute.RequestMirrorPolicyArgs{
					BackendService: pulumi.String("string"),
				},
				RetryPolicy: &compute.HttpRetryPolicyArgs{
					NumRetries: pulumi.Int(0),
					PerTryTimeout: &compute.DurationArgs{
						Nanos:   pulumi.Int(0),
						Seconds: pulumi.String("string"),
					},
					RetryConditions: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
				Timeout: &compute.DurationArgs{
					Nanos:   pulumi.Int(0),
					Seconds: pulumi.String("string"),
				},
				UrlRewrite: &compute.UrlRewriteArgs{
					HostRewrite:         pulumi.String("string"),
					PathPrefixRewrite:   pulumi.String("string"),
					PathTemplateRewrite: pulumi.String("string"),
				},
				WeightedBackendServices: compute.WeightedBackendServiceArray{
					&compute.WeightedBackendServiceArgs{
						BackendService: pulumi.String("string"),
						HeaderAction: &compute.HttpHeaderActionArgs{
							RequestHeadersToAdd: compute.HttpHeaderOptionArray{
								&compute.HttpHeaderOptionArgs{
									HeaderName:  pulumi.String("string"),
									HeaderValue: pulumi.String("string"),
									Replace:     pulumi.Bool(false),
								},
							},
							RequestHeadersToRemove: pulumi.StringArray{
								pulumi.String("string"),
							},
							ResponseHeadersToAdd: compute.HttpHeaderOptionArray{
								&compute.HttpHeaderOptionArgs{
									HeaderName:  pulumi.String("string"),
									HeaderValue: pulumi.String("string"),
									Replace:     pulumi.Bool(false),
								},
							},
							ResponseHeadersToRemove: pulumi.StringArray{
								pulumi.String("string"),
							},
						},
						Weight: pulumi.Int(0),
					},
				},
			},
			DefaultService: pulumi.String("string"),
			DefaultUrlRedirect: &compute.HttpRedirectActionArgs{
				HostRedirect:         pulumi.String("string"),
				HttpsRedirect:        pulumi.Bool(false),
				PathRedirect:         pulumi.String("string"),
				PrefixRedirect:       pulumi.String("string"),
				RedirectResponseCode: compute.HttpRedirectActionRedirectResponseCodeFound,
				StripQuery:           pulumi.Bool(false),
			},
			Description: pulumi.String("string"),
			HeaderAction: &compute.HttpHeaderActionArgs{
				RequestHeadersToAdd: compute.HttpHeaderOptionArray{
					&compute.HttpHeaderOptionArgs{
						HeaderName:  pulumi.String("string"),
						HeaderValue: pulumi.String("string"),
						Replace:     pulumi.Bool(false),
					},
				},
				RequestHeadersToRemove: pulumi.StringArray{
					pulumi.String("string"),
				},
				ResponseHeadersToAdd: compute.HttpHeaderOptionArray{
					&compute.HttpHeaderOptionArgs{
						HeaderName:  pulumi.String("string"),
						HeaderValue: pulumi.String("string"),
						Replace:     pulumi.Bool(false),
					},
				},
				ResponseHeadersToRemove: pulumi.StringArray{
					pulumi.String("string"),
				},
			},
			Name: pulumi.String("string"),
			PathRules: compute.PathRuleArray{
				&compute.PathRuleArgs{
					CustomErrorResponsePolicy: &compute.CustomErrorResponsePolicyArgs{
						ErrorResponseRules: compute.CustomErrorResponsePolicyCustomErrorResponseRuleArray{
							&compute.CustomErrorResponsePolicyCustomErrorResponseRuleArgs{
								MatchResponseCodes: pulumi.StringArray{
									pulumi.String("string"),
								},
								OverrideResponseCode: pulumi.Int(0),
								Path:                 pulumi.String("string"),
							},
						},
						ErrorService: pulumi.String("string"),
					},
					Paths: pulumi.StringArray{
						pulumi.String("string"),
					},
					RouteAction: &compute.HttpRouteActionArgs{
						CorsPolicy: &compute.CorsPolicyArgs{
							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.Int(0),
						},
						FaultInjectionPolicy: &compute.HttpFaultInjectionArgs{
							Abort: &compute.HttpFaultAbortArgs{
								HttpStatus: pulumi.Int(0),
								Percentage: pulumi.Float64(0),
							},
							Delay: &compute.HttpFaultDelayArgs{
								FixedDelay: &compute.DurationArgs{
									Nanos:   pulumi.Int(0),
									Seconds: pulumi.String("string"),
								},
								Percentage: pulumi.Float64(0),
							},
						},
						MaxStreamDuration: &compute.DurationArgs{
							Nanos:   pulumi.Int(0),
							Seconds: pulumi.String("string"),
						},
						RequestMirrorPolicy: &compute.RequestMirrorPolicyArgs{
							BackendService: pulumi.String("string"),
						},
						RetryPolicy: &compute.HttpRetryPolicyArgs{
							NumRetries: pulumi.Int(0),
							PerTryTimeout: &compute.DurationArgs{
								Nanos:   pulumi.Int(0),
								Seconds: pulumi.String("string"),
							},
							RetryConditions: pulumi.StringArray{
								pulumi.String("string"),
							},
						},
						Timeout: &compute.DurationArgs{
							Nanos:   pulumi.Int(0),
							Seconds: pulumi.String("string"),
						},
						UrlRewrite: &compute.UrlRewriteArgs{
							HostRewrite:         pulumi.String("string"),
							PathPrefixRewrite:   pulumi.String("string"),
							PathTemplateRewrite: pulumi.String("string"),
						},
						WeightedBackendServices: compute.WeightedBackendServiceArray{
							&compute.WeightedBackendServiceArgs{
								BackendService: pulumi.String("string"),
								HeaderAction: &compute.HttpHeaderActionArgs{
									RequestHeadersToAdd: compute.HttpHeaderOptionArray{
										&compute.HttpHeaderOptionArgs{
											HeaderName:  pulumi.String("string"),
											HeaderValue: pulumi.String("string"),
											Replace:     pulumi.Bool(false),
										},
									},
									RequestHeadersToRemove: pulumi.StringArray{
										pulumi.String("string"),
									},
									ResponseHeadersToAdd: compute.HttpHeaderOptionArray{
										&compute.HttpHeaderOptionArgs{
											HeaderName:  pulumi.String("string"),
											HeaderValue: pulumi.String("string"),
											Replace:     pulumi.Bool(false),
										},
									},
									ResponseHeadersToRemove: pulumi.StringArray{
										pulumi.String("string"),
									},
								},
								Weight: pulumi.Int(0),
							},
						},
					},
					Service: pulumi.String("string"),
					UrlRedirect: &compute.HttpRedirectActionArgs{
						HostRedirect:         pulumi.String("string"),
						HttpsRedirect:        pulumi.Bool(false),
						PathRedirect:         pulumi.String("string"),
						PrefixRedirect:       pulumi.String("string"),
						RedirectResponseCode: compute.HttpRedirectActionRedirectResponseCodeFound,
						StripQuery:           pulumi.Bool(false),
					},
				},
			},
			RouteRules: compute.HttpRouteRuleArray{
				&compute.HttpRouteRuleArgs{
					CustomErrorResponsePolicy: &compute.CustomErrorResponsePolicyArgs{
						ErrorResponseRules: compute.CustomErrorResponsePolicyCustomErrorResponseRuleArray{
							&compute.CustomErrorResponsePolicyCustomErrorResponseRuleArgs{
								MatchResponseCodes: pulumi.StringArray{
									pulumi.String("string"),
								},
								OverrideResponseCode: pulumi.Int(0),
								Path:                 pulumi.String("string"),
							},
						},
						ErrorService: pulumi.String("string"),
					},
					Description: pulumi.String("string"),
					HeaderAction: &compute.HttpHeaderActionArgs{
						RequestHeadersToAdd: compute.HttpHeaderOptionArray{
							&compute.HttpHeaderOptionArgs{
								HeaderName:  pulumi.String("string"),
								HeaderValue: pulumi.String("string"),
								Replace:     pulumi.Bool(false),
							},
						},
						RequestHeadersToRemove: pulumi.StringArray{
							pulumi.String("string"),
						},
						ResponseHeadersToAdd: compute.HttpHeaderOptionArray{
							&compute.HttpHeaderOptionArgs{
								HeaderName:  pulumi.String("string"),
								HeaderValue: pulumi.String("string"),
								Replace:     pulumi.Bool(false),
							},
						},
						ResponseHeadersToRemove: pulumi.StringArray{
							pulumi.String("string"),
						},
					},
					HttpFilterConfigs: compute.HttpFilterConfigArray{
						&compute.HttpFilterConfigArgs{
							Config:        pulumi.String("string"),
							ConfigTypeUrl: pulumi.String("string"),
							FilterName:    pulumi.String("string"),
						},
					},
					HttpFilterMetadata: compute.HttpFilterConfigArray{
						&compute.HttpFilterConfigArgs{
							Config:        pulumi.String("string"),
							ConfigTypeUrl: pulumi.String("string"),
							FilterName:    pulumi.String("string"),
						},
					},
					MatchRules: compute.HttpRouteRuleMatchArray{
						&compute.HttpRouteRuleMatchArgs{
							FullPathMatch: pulumi.String("string"),
							HeaderMatches: compute.HttpHeaderMatchArray{
								&compute.HttpHeaderMatchArgs{
									ExactMatch:   pulumi.String("string"),
									HeaderName:   pulumi.String("string"),
									InvertMatch:  pulumi.Bool(false),
									PrefixMatch:  pulumi.String("string"),
									PresentMatch: pulumi.Bool(false),
									RangeMatch: &compute.Int64RangeMatchArgs{
										RangeEnd:   pulumi.String("string"),
										RangeStart: pulumi.String("string"),
									},
									RegexMatch:  pulumi.String("string"),
									SuffixMatch: pulumi.String("string"),
								},
							},
							IgnoreCase: pulumi.Bool(false),
							MetadataFilters: compute.MetadataFilterArray{
								&compute.MetadataFilterArgs{
									FilterLabels: compute.MetadataFilterLabelMatchArray{
										&compute.MetadataFilterLabelMatchArgs{
											Name:  pulumi.String("string"),
											Value: pulumi.String("string"),
										},
									},
									FilterMatchCriteria: compute.MetadataFilterFilterMatchCriteriaMatchAll,
								},
							},
							PathTemplateMatch: pulumi.String("string"),
							PrefixMatch:       pulumi.String("string"),
							QueryParameterMatches: compute.HttpQueryParameterMatchArray{
								&compute.HttpQueryParameterMatchArgs{
									ExactMatch:   pulumi.String("string"),
									Name:         pulumi.String("string"),
									PresentMatch: pulumi.Bool(false),
									RegexMatch:   pulumi.String("string"),
								},
							},
							RegexMatch: pulumi.String("string"),
						},
					},
					Priority: pulumi.Int(0),
					RouteAction: &compute.HttpRouteActionArgs{
						CorsPolicy: &compute.CorsPolicyArgs{
							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.Int(0),
						},
						FaultInjectionPolicy: &compute.HttpFaultInjectionArgs{
							Abort: &compute.HttpFaultAbortArgs{
								HttpStatus: pulumi.Int(0),
								Percentage: pulumi.Float64(0),
							},
							Delay: &compute.HttpFaultDelayArgs{
								FixedDelay: &compute.DurationArgs{
									Nanos:   pulumi.Int(0),
									Seconds: pulumi.String("string"),
								},
								Percentage: pulumi.Float64(0),
							},
						},
						MaxStreamDuration: &compute.DurationArgs{
							Nanos:   pulumi.Int(0),
							Seconds: pulumi.String("string"),
						},
						RequestMirrorPolicy: &compute.RequestMirrorPolicyArgs{
							BackendService: pulumi.String("string"),
						},
						RetryPolicy: &compute.HttpRetryPolicyArgs{
							NumRetries: pulumi.Int(0),
							PerTryTimeout: &compute.DurationArgs{
								Nanos:   pulumi.Int(0),
								Seconds: pulumi.String("string"),
							},
							RetryConditions: pulumi.StringArray{
								pulumi.String("string"),
							},
						},
						Timeout: &compute.DurationArgs{
							Nanos:   pulumi.Int(0),
							Seconds: pulumi.String("string"),
						},
						UrlRewrite: &compute.UrlRewriteArgs{
							HostRewrite:         pulumi.String("string"),
							PathPrefixRewrite:   pulumi.String("string"),
							PathTemplateRewrite: pulumi.String("string"),
						},
						WeightedBackendServices: compute.WeightedBackendServiceArray{
							&compute.WeightedBackendServiceArgs{
								BackendService: pulumi.String("string"),
								HeaderAction: &compute.HttpHeaderActionArgs{
									RequestHeadersToAdd: compute.HttpHeaderOptionArray{
										&compute.HttpHeaderOptionArgs{
											HeaderName:  pulumi.String("string"),
											HeaderValue: pulumi.String("string"),
											Replace:     pulumi.Bool(false),
										},
									},
									RequestHeadersToRemove: pulumi.StringArray{
										pulumi.String("string"),
									},
									ResponseHeadersToAdd: compute.HttpHeaderOptionArray{
										&compute.HttpHeaderOptionArgs{
											HeaderName:  pulumi.String("string"),
											HeaderValue: pulumi.String("string"),
											Replace:     pulumi.Bool(false),
										},
									},
									ResponseHeadersToRemove: pulumi.StringArray{
										pulumi.String("string"),
									},
								},
								Weight: pulumi.Int(0),
							},
						},
					},
					Service: pulumi.String("string"),
					UrlRedirect: &compute.HttpRedirectActionArgs{
						HostRedirect:         pulumi.String("string"),
						HttpsRedirect:        pulumi.Bool(false),
						PathRedirect:         pulumi.String("string"),
						PrefixRedirect:       pulumi.String("string"),
						RedirectResponseCode: compute.HttpRedirectActionRedirectResponseCodeFound,
						StripQuery:           pulumi.Bool(false),
					},
				},
			},
		},
	},
	Project:   pulumi.String("string"),
	RequestId: pulumi.String("string"),
	Tests: compute.UrlMapTestArray{
		&compute.UrlMapTestArgs{
			BackendServiceWeight:         pulumi.Int(0),
			Description:                  pulumi.String("string"),
			ExpectedOutputUrl:            pulumi.String("string"),
			ExpectedRedirectResponseCode: pulumi.Int(0),
			Headers: compute.UrlMapTestHeaderArray{
				&compute.UrlMapTestHeaderArgs{
					Name:  pulumi.String("string"),
					Value: pulumi.String("string"),
				},
			},
			Host:    pulumi.String("string"),
			Path:    pulumi.String("string"),
			Service: pulumi.String("string"),
		},
	},
})
Copy
var urlMapResource = new UrlMap("urlMapResource", UrlMapArgs.builder()
    .defaultCustomErrorResponsePolicy(CustomErrorResponsePolicyArgs.builder()
        .errorResponseRules(CustomErrorResponsePolicyCustomErrorResponseRuleArgs.builder()
            .matchResponseCodes("string")
            .overrideResponseCode(0)
            .path("string")
            .build())
        .errorService("string")
        .build())
    .defaultRouteAction(HttpRouteActionArgs.builder()
        .corsPolicy(CorsPolicyArgs.builder()
            .allowCredentials(false)
            .allowHeaders("string")
            .allowMethods("string")
            .allowOriginRegexes("string")
            .allowOrigins("string")
            .disabled(false)
            .exposeHeaders("string")
            .maxAge(0)
            .build())
        .faultInjectionPolicy(HttpFaultInjectionArgs.builder()
            .abort(HttpFaultAbortArgs.builder()
                .httpStatus(0)
                .percentage(0)
                .build())
            .delay(HttpFaultDelayArgs.builder()
                .fixedDelay(DurationArgs.builder()
                    .nanos(0)
                    .seconds("string")
                    .build())
                .percentage(0)
                .build())
            .build())
        .maxStreamDuration(DurationArgs.builder()
            .nanos(0)
            .seconds("string")
            .build())
        .requestMirrorPolicy(RequestMirrorPolicyArgs.builder()
            .backendService("string")
            .build())
        .retryPolicy(HttpRetryPolicyArgs.builder()
            .numRetries(0)
            .perTryTimeout(DurationArgs.builder()
                .nanos(0)
                .seconds("string")
                .build())
            .retryConditions("string")
            .build())
        .timeout(DurationArgs.builder()
            .nanos(0)
            .seconds("string")
            .build())
        .urlRewrite(UrlRewriteArgs.builder()
            .hostRewrite("string")
            .pathPrefixRewrite("string")
            .pathTemplateRewrite("string")
            .build())
        .weightedBackendServices(WeightedBackendServiceArgs.builder()
            .backendService("string")
            .headerAction(HttpHeaderActionArgs.builder()
                .requestHeadersToAdd(HttpHeaderOptionArgs.builder()
                    .headerName("string")
                    .headerValue("string")
                    .replace(false)
                    .build())
                .requestHeadersToRemove("string")
                .responseHeadersToAdd(HttpHeaderOptionArgs.builder()
                    .headerName("string")
                    .headerValue("string")
                    .replace(false)
                    .build())
                .responseHeadersToRemove("string")
                .build())
            .weight(0)
            .build())
        .build())
    .defaultService("string")
    .defaultUrlRedirect(HttpRedirectActionArgs.builder()
        .hostRedirect("string")
        .httpsRedirect(false)
        .pathRedirect("string")
        .prefixRedirect("string")
        .redirectResponseCode("FOUND")
        .stripQuery(false)
        .build())
    .description("string")
    .headerAction(HttpHeaderActionArgs.builder()
        .requestHeadersToAdd(HttpHeaderOptionArgs.builder()
            .headerName("string")
            .headerValue("string")
            .replace(false)
            .build())
        .requestHeadersToRemove("string")
        .responseHeadersToAdd(HttpHeaderOptionArgs.builder()
            .headerName("string")
            .headerValue("string")
            .replace(false)
            .build())
        .responseHeadersToRemove("string")
        .build())
    .hostRules(HostRuleArgs.builder()
        .description("string")
        .hosts("string")
        .pathMatcher("string")
        .build())
    .name("string")
    .pathMatchers(PathMatcherArgs.builder()
        .defaultCustomErrorResponsePolicy(CustomErrorResponsePolicyArgs.builder()
            .errorResponseRules(CustomErrorResponsePolicyCustomErrorResponseRuleArgs.builder()
                .matchResponseCodes("string")
                .overrideResponseCode(0)
                .path("string")
                .build())
            .errorService("string")
            .build())
        .defaultRouteAction(HttpRouteActionArgs.builder()
            .corsPolicy(CorsPolicyArgs.builder()
                .allowCredentials(false)
                .allowHeaders("string")
                .allowMethods("string")
                .allowOriginRegexes("string")
                .allowOrigins("string")
                .disabled(false)
                .exposeHeaders("string")
                .maxAge(0)
                .build())
            .faultInjectionPolicy(HttpFaultInjectionArgs.builder()
                .abort(HttpFaultAbortArgs.builder()
                    .httpStatus(0)
                    .percentage(0)
                    .build())
                .delay(HttpFaultDelayArgs.builder()
                    .fixedDelay(DurationArgs.builder()
                        .nanos(0)
                        .seconds("string")
                        .build())
                    .percentage(0)
                    .build())
                .build())
            .maxStreamDuration(DurationArgs.builder()
                .nanos(0)
                .seconds("string")
                .build())
            .requestMirrorPolicy(RequestMirrorPolicyArgs.builder()
                .backendService("string")
                .build())
            .retryPolicy(HttpRetryPolicyArgs.builder()
                .numRetries(0)
                .perTryTimeout(DurationArgs.builder()
                    .nanos(0)
                    .seconds("string")
                    .build())
                .retryConditions("string")
                .build())
            .timeout(DurationArgs.builder()
                .nanos(0)
                .seconds("string")
                .build())
            .urlRewrite(UrlRewriteArgs.builder()
                .hostRewrite("string")
                .pathPrefixRewrite("string")
                .pathTemplateRewrite("string")
                .build())
            .weightedBackendServices(WeightedBackendServiceArgs.builder()
                .backendService("string")
                .headerAction(HttpHeaderActionArgs.builder()
                    .requestHeadersToAdd(HttpHeaderOptionArgs.builder()
                        .headerName("string")
                        .headerValue("string")
                        .replace(false)
                        .build())
                    .requestHeadersToRemove("string")
                    .responseHeadersToAdd(HttpHeaderOptionArgs.builder()
                        .headerName("string")
                        .headerValue("string")
                        .replace(false)
                        .build())
                    .responseHeadersToRemove("string")
                    .build())
                .weight(0)
                .build())
            .build())
        .defaultService("string")
        .defaultUrlRedirect(HttpRedirectActionArgs.builder()
            .hostRedirect("string")
            .httpsRedirect(false)
            .pathRedirect("string")
            .prefixRedirect("string")
            .redirectResponseCode("FOUND")
            .stripQuery(false)
            .build())
        .description("string")
        .headerAction(HttpHeaderActionArgs.builder()
            .requestHeadersToAdd(HttpHeaderOptionArgs.builder()
                .headerName("string")
                .headerValue("string")
                .replace(false)
                .build())
            .requestHeadersToRemove("string")
            .responseHeadersToAdd(HttpHeaderOptionArgs.builder()
                .headerName("string")
                .headerValue("string")
                .replace(false)
                .build())
            .responseHeadersToRemove("string")
            .build())
        .name("string")
        .pathRules(PathRuleArgs.builder()
            .customErrorResponsePolicy(CustomErrorResponsePolicyArgs.builder()
                .errorResponseRules(CustomErrorResponsePolicyCustomErrorResponseRuleArgs.builder()
                    .matchResponseCodes("string")
                    .overrideResponseCode(0)
                    .path("string")
                    .build())
                .errorService("string")
                .build())
            .paths("string")
            .routeAction(HttpRouteActionArgs.builder()
                .corsPolicy(CorsPolicyArgs.builder()
                    .allowCredentials(false)
                    .allowHeaders("string")
                    .allowMethods("string")
                    .allowOriginRegexes("string")
                    .allowOrigins("string")
                    .disabled(false)
                    .exposeHeaders("string")
                    .maxAge(0)
                    .build())
                .faultInjectionPolicy(HttpFaultInjectionArgs.builder()
                    .abort(HttpFaultAbortArgs.builder()
                        .httpStatus(0)
                        .percentage(0)
                        .build())
                    .delay(HttpFaultDelayArgs.builder()
                        .fixedDelay(DurationArgs.builder()
                            .nanos(0)
                            .seconds("string")
                            .build())
                        .percentage(0)
                        .build())
                    .build())
                .maxStreamDuration(DurationArgs.builder()
                    .nanos(0)
                    .seconds("string")
                    .build())
                .requestMirrorPolicy(RequestMirrorPolicyArgs.builder()
                    .backendService("string")
                    .build())
                .retryPolicy(HttpRetryPolicyArgs.builder()
                    .numRetries(0)
                    .perTryTimeout(DurationArgs.builder()
                        .nanos(0)
                        .seconds("string")
                        .build())
                    .retryConditions("string")
                    .build())
                .timeout(DurationArgs.builder()
                    .nanos(0)
                    .seconds("string")
                    .build())
                .urlRewrite(UrlRewriteArgs.builder()
                    .hostRewrite("string")
                    .pathPrefixRewrite("string")
                    .pathTemplateRewrite("string")
                    .build())
                .weightedBackendServices(WeightedBackendServiceArgs.builder()
                    .backendService("string")
                    .headerAction(HttpHeaderActionArgs.builder()
                        .requestHeadersToAdd(HttpHeaderOptionArgs.builder()
                            .headerName("string")
                            .headerValue("string")
                            .replace(false)
                            .build())
                        .requestHeadersToRemove("string")
                        .responseHeadersToAdd(HttpHeaderOptionArgs.builder()
                            .headerName("string")
                            .headerValue("string")
                            .replace(false)
                            .build())
                        .responseHeadersToRemove("string")
                        .build())
                    .weight(0)
                    .build())
                .build())
            .service("string")
            .urlRedirect(HttpRedirectActionArgs.builder()
                .hostRedirect("string")
                .httpsRedirect(false)
                .pathRedirect("string")
                .prefixRedirect("string")
                .redirectResponseCode("FOUND")
                .stripQuery(false)
                .build())
            .build())
        .routeRules(HttpRouteRuleArgs.builder()
            .customErrorResponsePolicy(CustomErrorResponsePolicyArgs.builder()
                .errorResponseRules(CustomErrorResponsePolicyCustomErrorResponseRuleArgs.builder()
                    .matchResponseCodes("string")
                    .overrideResponseCode(0)
                    .path("string")
                    .build())
                .errorService("string")
                .build())
            .description("string")
            .headerAction(HttpHeaderActionArgs.builder()
                .requestHeadersToAdd(HttpHeaderOptionArgs.builder()
                    .headerName("string")
                    .headerValue("string")
                    .replace(false)
                    .build())
                .requestHeadersToRemove("string")
                .responseHeadersToAdd(HttpHeaderOptionArgs.builder()
                    .headerName("string")
                    .headerValue("string")
                    .replace(false)
                    .build())
                .responseHeadersToRemove("string")
                .build())
            .httpFilterConfigs(HttpFilterConfigArgs.builder()
                .config("string")
                .configTypeUrl("string")
                .filterName("string")
                .build())
            .httpFilterMetadata(HttpFilterConfigArgs.builder()
                .config("string")
                .configTypeUrl("string")
                .filterName("string")
                .build())
            .matchRules(HttpRouteRuleMatchArgs.builder()
                .fullPathMatch("string")
                .headerMatches(HttpHeaderMatchArgs.builder()
                    .exactMatch("string")
                    .headerName("string")
                    .invertMatch(false)
                    .prefixMatch("string")
                    .presentMatch(false)
                    .rangeMatch(Int64RangeMatchArgs.builder()
                        .rangeEnd("string")
                        .rangeStart("string")
                        .build())
                    .regexMatch("string")
                    .suffixMatch("string")
                    .build())
                .ignoreCase(false)
                .metadataFilters(MetadataFilterArgs.builder()
                    .filterLabels(MetadataFilterLabelMatchArgs.builder()
                        .name("string")
                        .value("string")
                        .build())
                    .filterMatchCriteria("MATCH_ALL")
                    .build())
                .pathTemplateMatch("string")
                .prefixMatch("string")
                .queryParameterMatches(HttpQueryParameterMatchArgs.builder()
                    .exactMatch("string")
                    .name("string")
                    .presentMatch(false)
                    .regexMatch("string")
                    .build())
                .regexMatch("string")
                .build())
            .priority(0)
            .routeAction(HttpRouteActionArgs.builder()
                .corsPolicy(CorsPolicyArgs.builder()
                    .allowCredentials(false)
                    .allowHeaders("string")
                    .allowMethods("string")
                    .allowOriginRegexes("string")
                    .allowOrigins("string")
                    .disabled(false)
                    .exposeHeaders("string")
                    .maxAge(0)
                    .build())
                .faultInjectionPolicy(HttpFaultInjectionArgs.builder()
                    .abort(HttpFaultAbortArgs.builder()
                        .httpStatus(0)
                        .percentage(0)
                        .build())
                    .delay(HttpFaultDelayArgs.builder()
                        .fixedDelay(DurationArgs.builder()
                            .nanos(0)
                            .seconds("string")
                            .build())
                        .percentage(0)
                        .build())
                    .build())
                .maxStreamDuration(DurationArgs.builder()
                    .nanos(0)
                    .seconds("string")
                    .build())
                .requestMirrorPolicy(RequestMirrorPolicyArgs.builder()
                    .backendService("string")
                    .build())
                .retryPolicy(HttpRetryPolicyArgs.builder()
                    .numRetries(0)
                    .perTryTimeout(DurationArgs.builder()
                        .nanos(0)
                        .seconds("string")
                        .build())
                    .retryConditions("string")
                    .build())
                .timeout(DurationArgs.builder()
                    .nanos(0)
                    .seconds("string")
                    .build())
                .urlRewrite(UrlRewriteArgs.builder()
                    .hostRewrite("string")
                    .pathPrefixRewrite("string")
                    .pathTemplateRewrite("string")
                    .build())
                .weightedBackendServices(WeightedBackendServiceArgs.builder()
                    .backendService("string")
                    .headerAction(HttpHeaderActionArgs.builder()
                        .requestHeadersToAdd(HttpHeaderOptionArgs.builder()
                            .headerName("string")
                            .headerValue("string")
                            .replace(false)
                            .build())
                        .requestHeadersToRemove("string")
                        .responseHeadersToAdd(HttpHeaderOptionArgs.builder()
                            .headerName("string")
                            .headerValue("string")
                            .replace(false)
                            .build())
                        .responseHeadersToRemove("string")
                        .build())
                    .weight(0)
                    .build())
                .build())
            .service("string")
            .urlRedirect(HttpRedirectActionArgs.builder()
                .hostRedirect("string")
                .httpsRedirect(false)
                .pathRedirect("string")
                .prefixRedirect("string")
                .redirectResponseCode("FOUND")
                .stripQuery(false)
                .build())
            .build())
        .build())
    .project("string")
    .requestId("string")
    .tests(UrlMapTestArgs.builder()
        .backendServiceWeight(0)
        .description("string")
        .expectedOutputUrl("string")
        .expectedRedirectResponseCode(0)
        .headers(UrlMapTestHeaderArgs.builder()
            .name("string")
            .value("string")
            .build())
        .host("string")
        .path("string")
        .service("string")
        .build())
    .build());
Copy
url_map_resource = google_native.compute.alpha.UrlMap("urlMapResource",
    default_custom_error_response_policy={
        "error_response_rules": [{
            "match_response_codes": ["string"],
            "override_response_code": 0,
            "path": "string",
        }],
        "error_service": "string",
    },
    default_route_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": 0,
        },
        "fault_injection_policy": {
            "abort": {
                "http_status": 0,
                "percentage": 0,
            },
            "delay": {
                "fixed_delay": {
                    "nanos": 0,
                    "seconds": "string",
                },
                "percentage": 0,
            },
        },
        "max_stream_duration": {
            "nanos": 0,
            "seconds": "string",
        },
        "request_mirror_policy": {
            "backend_service": "string",
        },
        "retry_policy": {
            "num_retries": 0,
            "per_try_timeout": {
                "nanos": 0,
                "seconds": "string",
            },
            "retry_conditions": ["string"],
        },
        "timeout": {
            "nanos": 0,
            "seconds": "string",
        },
        "url_rewrite": {
            "host_rewrite": "string",
            "path_prefix_rewrite": "string",
            "path_template_rewrite": "string",
        },
        "weighted_backend_services": [{
            "backend_service": "string",
            "header_action": {
                "request_headers_to_add": [{
                    "header_name": "string",
                    "header_value": "string",
                    "replace": False,
                }],
                "request_headers_to_remove": ["string"],
                "response_headers_to_add": [{
                    "header_name": "string",
                    "header_value": "string",
                    "replace": False,
                }],
                "response_headers_to_remove": ["string"],
            },
            "weight": 0,
        }],
    },
    default_service="string",
    default_url_redirect={
        "host_redirect": "string",
        "https_redirect": False,
        "path_redirect": "string",
        "prefix_redirect": "string",
        "redirect_response_code": google_native.compute.alpha.HttpRedirectActionRedirectResponseCode.FOUND,
        "strip_query": False,
    },
    description="string",
    header_action={
        "request_headers_to_add": [{
            "header_name": "string",
            "header_value": "string",
            "replace": False,
        }],
        "request_headers_to_remove": ["string"],
        "response_headers_to_add": [{
            "header_name": "string",
            "header_value": "string",
            "replace": False,
        }],
        "response_headers_to_remove": ["string"],
    },
    host_rules=[{
        "description": "string",
        "hosts": ["string"],
        "path_matcher": "string",
    }],
    name="string",
    path_matchers=[{
        "default_custom_error_response_policy": {
            "error_response_rules": [{
                "match_response_codes": ["string"],
                "override_response_code": 0,
                "path": "string",
            }],
            "error_service": "string",
        },
        "default_route_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": 0,
            },
            "fault_injection_policy": {
                "abort": {
                    "http_status": 0,
                    "percentage": 0,
                },
                "delay": {
                    "fixed_delay": {
                        "nanos": 0,
                        "seconds": "string",
                    },
                    "percentage": 0,
                },
            },
            "max_stream_duration": {
                "nanos": 0,
                "seconds": "string",
            },
            "request_mirror_policy": {
                "backend_service": "string",
            },
            "retry_policy": {
                "num_retries": 0,
                "per_try_timeout": {
                    "nanos": 0,
                    "seconds": "string",
                },
                "retry_conditions": ["string"],
            },
            "timeout": {
                "nanos": 0,
                "seconds": "string",
            },
            "url_rewrite": {
                "host_rewrite": "string",
                "path_prefix_rewrite": "string",
                "path_template_rewrite": "string",
            },
            "weighted_backend_services": [{
                "backend_service": "string",
                "header_action": {
                    "request_headers_to_add": [{
                        "header_name": "string",
                        "header_value": "string",
                        "replace": False,
                    }],
                    "request_headers_to_remove": ["string"],
                    "response_headers_to_add": [{
                        "header_name": "string",
                        "header_value": "string",
                        "replace": False,
                    }],
                    "response_headers_to_remove": ["string"],
                },
                "weight": 0,
            }],
        },
        "default_service": "string",
        "default_url_redirect": {
            "host_redirect": "string",
            "https_redirect": False,
            "path_redirect": "string",
            "prefix_redirect": "string",
            "redirect_response_code": google_native.compute.alpha.HttpRedirectActionRedirectResponseCode.FOUND,
            "strip_query": False,
        },
        "description": "string",
        "header_action": {
            "request_headers_to_add": [{
                "header_name": "string",
                "header_value": "string",
                "replace": False,
            }],
            "request_headers_to_remove": ["string"],
            "response_headers_to_add": [{
                "header_name": "string",
                "header_value": "string",
                "replace": False,
            }],
            "response_headers_to_remove": ["string"],
        },
        "name": "string",
        "path_rules": [{
            "custom_error_response_policy": {
                "error_response_rules": [{
                    "match_response_codes": ["string"],
                    "override_response_code": 0,
                    "path": "string",
                }],
                "error_service": "string",
            },
            "paths": ["string"],
            "route_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": 0,
                },
                "fault_injection_policy": {
                    "abort": {
                        "http_status": 0,
                        "percentage": 0,
                    },
                    "delay": {
                        "fixed_delay": {
                            "nanos": 0,
                            "seconds": "string",
                        },
                        "percentage": 0,
                    },
                },
                "max_stream_duration": {
                    "nanos": 0,
                    "seconds": "string",
                },
                "request_mirror_policy": {
                    "backend_service": "string",
                },
                "retry_policy": {
                    "num_retries": 0,
                    "per_try_timeout": {
                        "nanos": 0,
                        "seconds": "string",
                    },
                    "retry_conditions": ["string"],
                },
                "timeout": {
                    "nanos": 0,
                    "seconds": "string",
                },
                "url_rewrite": {
                    "host_rewrite": "string",
                    "path_prefix_rewrite": "string",
                    "path_template_rewrite": "string",
                },
                "weighted_backend_services": [{
                    "backend_service": "string",
                    "header_action": {
                        "request_headers_to_add": [{
                            "header_name": "string",
                            "header_value": "string",
                            "replace": False,
                        }],
                        "request_headers_to_remove": ["string"],
                        "response_headers_to_add": [{
                            "header_name": "string",
                            "header_value": "string",
                            "replace": False,
                        }],
                        "response_headers_to_remove": ["string"],
                    },
                    "weight": 0,
                }],
            },
            "service": "string",
            "url_redirect": {
                "host_redirect": "string",
                "https_redirect": False,
                "path_redirect": "string",
                "prefix_redirect": "string",
                "redirect_response_code": google_native.compute.alpha.HttpRedirectActionRedirectResponseCode.FOUND,
                "strip_query": False,
            },
        }],
        "route_rules": [{
            "custom_error_response_policy": {
                "error_response_rules": [{
                    "match_response_codes": ["string"],
                    "override_response_code": 0,
                    "path": "string",
                }],
                "error_service": "string",
            },
            "description": "string",
            "header_action": {
                "request_headers_to_add": [{
                    "header_name": "string",
                    "header_value": "string",
                    "replace": False,
                }],
                "request_headers_to_remove": ["string"],
                "response_headers_to_add": [{
                    "header_name": "string",
                    "header_value": "string",
                    "replace": False,
                }],
                "response_headers_to_remove": ["string"],
            },
            "http_filter_configs": [{
                "config": "string",
                "config_type_url": "string",
                "filter_name": "string",
            }],
            "http_filter_metadata": [{
                "config": "string",
                "config_type_url": "string",
                "filter_name": "string",
            }],
            "match_rules": [{
                "full_path_match": "string",
                "header_matches": [{
                    "exact_match": "string",
                    "header_name": "string",
                    "invert_match": False,
                    "prefix_match": "string",
                    "present_match": False,
                    "range_match": {
                        "range_end": "string",
                        "range_start": "string",
                    },
                    "regex_match": "string",
                    "suffix_match": "string",
                }],
                "ignore_case": False,
                "metadata_filters": [{
                    "filter_labels": [{
                        "name": "string",
                        "value": "string",
                    }],
                    "filter_match_criteria": google_native.compute.alpha.MetadataFilterFilterMatchCriteria.MATCH_ALL,
                }],
                "path_template_match": "string",
                "prefix_match": "string",
                "query_parameter_matches": [{
                    "exact_match": "string",
                    "name": "string",
                    "present_match": False,
                    "regex_match": "string",
                }],
                "regex_match": "string",
            }],
            "priority": 0,
            "route_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": 0,
                },
                "fault_injection_policy": {
                    "abort": {
                        "http_status": 0,
                        "percentage": 0,
                    },
                    "delay": {
                        "fixed_delay": {
                            "nanos": 0,
                            "seconds": "string",
                        },
                        "percentage": 0,
                    },
                },
                "max_stream_duration": {
                    "nanos": 0,
                    "seconds": "string",
                },
                "request_mirror_policy": {
                    "backend_service": "string",
                },
                "retry_policy": {
                    "num_retries": 0,
                    "per_try_timeout": {
                        "nanos": 0,
                        "seconds": "string",
                    },
                    "retry_conditions": ["string"],
                },
                "timeout": {
                    "nanos": 0,
                    "seconds": "string",
                },
                "url_rewrite": {
                    "host_rewrite": "string",
                    "path_prefix_rewrite": "string",
                    "path_template_rewrite": "string",
                },
                "weighted_backend_services": [{
                    "backend_service": "string",
                    "header_action": {
                        "request_headers_to_add": [{
                            "header_name": "string",
                            "header_value": "string",
                            "replace": False,
                        }],
                        "request_headers_to_remove": ["string"],
                        "response_headers_to_add": [{
                            "header_name": "string",
                            "header_value": "string",
                            "replace": False,
                        }],
                        "response_headers_to_remove": ["string"],
                    },
                    "weight": 0,
                }],
            },
            "service": "string",
            "url_redirect": {
                "host_redirect": "string",
                "https_redirect": False,
                "path_redirect": "string",
                "prefix_redirect": "string",
                "redirect_response_code": google_native.compute.alpha.HttpRedirectActionRedirectResponseCode.FOUND,
                "strip_query": False,
            },
        }],
    }],
    project="string",
    request_id="string",
    tests=[{
        "backend_service_weight": 0,
        "description": "string",
        "expected_output_url": "string",
        "expected_redirect_response_code": 0,
        "headers": [{
            "name": "string",
            "value": "string",
        }],
        "host": "string",
        "path": "string",
        "service": "string",
    }])
Copy
const urlMapResource = new google_native.compute.alpha.UrlMap("urlMapResource", {
    defaultCustomErrorResponsePolicy: {
        errorResponseRules: [{
            matchResponseCodes: ["string"],
            overrideResponseCode: 0,
            path: "string",
        }],
        errorService: "string",
    },
    defaultRouteAction: {
        corsPolicy: {
            allowCredentials: false,
            allowHeaders: ["string"],
            allowMethods: ["string"],
            allowOriginRegexes: ["string"],
            allowOrigins: ["string"],
            disabled: false,
            exposeHeaders: ["string"],
            maxAge: 0,
        },
        faultInjectionPolicy: {
            abort: {
                httpStatus: 0,
                percentage: 0,
            },
            delay: {
                fixedDelay: {
                    nanos: 0,
                    seconds: "string",
                },
                percentage: 0,
            },
        },
        maxStreamDuration: {
            nanos: 0,
            seconds: "string",
        },
        requestMirrorPolicy: {
            backendService: "string",
        },
        retryPolicy: {
            numRetries: 0,
            perTryTimeout: {
                nanos: 0,
                seconds: "string",
            },
            retryConditions: ["string"],
        },
        timeout: {
            nanos: 0,
            seconds: "string",
        },
        urlRewrite: {
            hostRewrite: "string",
            pathPrefixRewrite: "string",
            pathTemplateRewrite: "string",
        },
        weightedBackendServices: [{
            backendService: "string",
            headerAction: {
                requestHeadersToAdd: [{
                    headerName: "string",
                    headerValue: "string",
                    replace: false,
                }],
                requestHeadersToRemove: ["string"],
                responseHeadersToAdd: [{
                    headerName: "string",
                    headerValue: "string",
                    replace: false,
                }],
                responseHeadersToRemove: ["string"],
            },
            weight: 0,
        }],
    },
    defaultService: "string",
    defaultUrlRedirect: {
        hostRedirect: "string",
        httpsRedirect: false,
        pathRedirect: "string",
        prefixRedirect: "string",
        redirectResponseCode: google_native.compute.alpha.HttpRedirectActionRedirectResponseCode.Found,
        stripQuery: false,
    },
    description: "string",
    headerAction: {
        requestHeadersToAdd: [{
            headerName: "string",
            headerValue: "string",
            replace: false,
        }],
        requestHeadersToRemove: ["string"],
        responseHeadersToAdd: [{
            headerName: "string",
            headerValue: "string",
            replace: false,
        }],
        responseHeadersToRemove: ["string"],
    },
    hostRules: [{
        description: "string",
        hosts: ["string"],
        pathMatcher: "string",
    }],
    name: "string",
    pathMatchers: [{
        defaultCustomErrorResponsePolicy: {
            errorResponseRules: [{
                matchResponseCodes: ["string"],
                overrideResponseCode: 0,
                path: "string",
            }],
            errorService: "string",
        },
        defaultRouteAction: {
            corsPolicy: {
                allowCredentials: false,
                allowHeaders: ["string"],
                allowMethods: ["string"],
                allowOriginRegexes: ["string"],
                allowOrigins: ["string"],
                disabled: false,
                exposeHeaders: ["string"],
                maxAge: 0,
            },
            faultInjectionPolicy: {
                abort: {
                    httpStatus: 0,
                    percentage: 0,
                },
                delay: {
                    fixedDelay: {
                        nanos: 0,
                        seconds: "string",
                    },
                    percentage: 0,
                },
            },
            maxStreamDuration: {
                nanos: 0,
                seconds: "string",
            },
            requestMirrorPolicy: {
                backendService: "string",
            },
            retryPolicy: {
                numRetries: 0,
                perTryTimeout: {
                    nanos: 0,
                    seconds: "string",
                },
                retryConditions: ["string"],
            },
            timeout: {
                nanos: 0,
                seconds: "string",
            },
            urlRewrite: {
                hostRewrite: "string",
                pathPrefixRewrite: "string",
                pathTemplateRewrite: "string",
            },
            weightedBackendServices: [{
                backendService: "string",
                headerAction: {
                    requestHeadersToAdd: [{
                        headerName: "string",
                        headerValue: "string",
                        replace: false,
                    }],
                    requestHeadersToRemove: ["string"],
                    responseHeadersToAdd: [{
                        headerName: "string",
                        headerValue: "string",
                        replace: false,
                    }],
                    responseHeadersToRemove: ["string"],
                },
                weight: 0,
            }],
        },
        defaultService: "string",
        defaultUrlRedirect: {
            hostRedirect: "string",
            httpsRedirect: false,
            pathRedirect: "string",
            prefixRedirect: "string",
            redirectResponseCode: google_native.compute.alpha.HttpRedirectActionRedirectResponseCode.Found,
            stripQuery: false,
        },
        description: "string",
        headerAction: {
            requestHeadersToAdd: [{
                headerName: "string",
                headerValue: "string",
                replace: false,
            }],
            requestHeadersToRemove: ["string"],
            responseHeadersToAdd: [{
                headerName: "string",
                headerValue: "string",
                replace: false,
            }],
            responseHeadersToRemove: ["string"],
        },
        name: "string",
        pathRules: [{
            customErrorResponsePolicy: {
                errorResponseRules: [{
                    matchResponseCodes: ["string"],
                    overrideResponseCode: 0,
                    path: "string",
                }],
                errorService: "string",
            },
            paths: ["string"],
            routeAction: {
                corsPolicy: {
                    allowCredentials: false,
                    allowHeaders: ["string"],
                    allowMethods: ["string"],
                    allowOriginRegexes: ["string"],
                    allowOrigins: ["string"],
                    disabled: false,
                    exposeHeaders: ["string"],
                    maxAge: 0,
                },
                faultInjectionPolicy: {
                    abort: {
                        httpStatus: 0,
                        percentage: 0,
                    },
                    delay: {
                        fixedDelay: {
                            nanos: 0,
                            seconds: "string",
                        },
                        percentage: 0,
                    },
                },
                maxStreamDuration: {
                    nanos: 0,
                    seconds: "string",
                },
                requestMirrorPolicy: {
                    backendService: "string",
                },
                retryPolicy: {
                    numRetries: 0,
                    perTryTimeout: {
                        nanos: 0,
                        seconds: "string",
                    },
                    retryConditions: ["string"],
                },
                timeout: {
                    nanos: 0,
                    seconds: "string",
                },
                urlRewrite: {
                    hostRewrite: "string",
                    pathPrefixRewrite: "string",
                    pathTemplateRewrite: "string",
                },
                weightedBackendServices: [{
                    backendService: "string",
                    headerAction: {
                        requestHeadersToAdd: [{
                            headerName: "string",
                            headerValue: "string",
                            replace: false,
                        }],
                        requestHeadersToRemove: ["string"],
                        responseHeadersToAdd: [{
                            headerName: "string",
                            headerValue: "string",
                            replace: false,
                        }],
                        responseHeadersToRemove: ["string"],
                    },
                    weight: 0,
                }],
            },
            service: "string",
            urlRedirect: {
                hostRedirect: "string",
                httpsRedirect: false,
                pathRedirect: "string",
                prefixRedirect: "string",
                redirectResponseCode: google_native.compute.alpha.HttpRedirectActionRedirectResponseCode.Found,
                stripQuery: false,
            },
        }],
        routeRules: [{
            customErrorResponsePolicy: {
                errorResponseRules: [{
                    matchResponseCodes: ["string"],
                    overrideResponseCode: 0,
                    path: "string",
                }],
                errorService: "string",
            },
            description: "string",
            headerAction: {
                requestHeadersToAdd: [{
                    headerName: "string",
                    headerValue: "string",
                    replace: false,
                }],
                requestHeadersToRemove: ["string"],
                responseHeadersToAdd: [{
                    headerName: "string",
                    headerValue: "string",
                    replace: false,
                }],
                responseHeadersToRemove: ["string"],
            },
            httpFilterConfigs: [{
                config: "string",
                configTypeUrl: "string",
                filterName: "string",
            }],
            httpFilterMetadata: [{
                config: "string",
                configTypeUrl: "string",
                filterName: "string",
            }],
            matchRules: [{
                fullPathMatch: "string",
                headerMatches: [{
                    exactMatch: "string",
                    headerName: "string",
                    invertMatch: false,
                    prefixMatch: "string",
                    presentMatch: false,
                    rangeMatch: {
                        rangeEnd: "string",
                        rangeStart: "string",
                    },
                    regexMatch: "string",
                    suffixMatch: "string",
                }],
                ignoreCase: false,
                metadataFilters: [{
                    filterLabels: [{
                        name: "string",
                        value: "string",
                    }],
                    filterMatchCriteria: google_native.compute.alpha.MetadataFilterFilterMatchCriteria.MatchAll,
                }],
                pathTemplateMatch: "string",
                prefixMatch: "string",
                queryParameterMatches: [{
                    exactMatch: "string",
                    name: "string",
                    presentMatch: false,
                    regexMatch: "string",
                }],
                regexMatch: "string",
            }],
            priority: 0,
            routeAction: {
                corsPolicy: {
                    allowCredentials: false,
                    allowHeaders: ["string"],
                    allowMethods: ["string"],
                    allowOriginRegexes: ["string"],
                    allowOrigins: ["string"],
                    disabled: false,
                    exposeHeaders: ["string"],
                    maxAge: 0,
                },
                faultInjectionPolicy: {
                    abort: {
                        httpStatus: 0,
                        percentage: 0,
                    },
                    delay: {
                        fixedDelay: {
                            nanos: 0,
                            seconds: "string",
                        },
                        percentage: 0,
                    },
                },
                maxStreamDuration: {
                    nanos: 0,
                    seconds: "string",
                },
                requestMirrorPolicy: {
                    backendService: "string",
                },
                retryPolicy: {
                    numRetries: 0,
                    perTryTimeout: {
                        nanos: 0,
                        seconds: "string",
                    },
                    retryConditions: ["string"],
                },
                timeout: {
                    nanos: 0,
                    seconds: "string",
                },
                urlRewrite: {
                    hostRewrite: "string",
                    pathPrefixRewrite: "string",
                    pathTemplateRewrite: "string",
                },
                weightedBackendServices: [{
                    backendService: "string",
                    headerAction: {
                        requestHeadersToAdd: [{
                            headerName: "string",
                            headerValue: "string",
                            replace: false,
                        }],
                        requestHeadersToRemove: ["string"],
                        responseHeadersToAdd: [{
                            headerName: "string",
                            headerValue: "string",
                            replace: false,
                        }],
                        responseHeadersToRemove: ["string"],
                    },
                    weight: 0,
                }],
            },
            service: "string",
            urlRedirect: {
                hostRedirect: "string",
                httpsRedirect: false,
                pathRedirect: "string",
                prefixRedirect: "string",
                redirectResponseCode: google_native.compute.alpha.HttpRedirectActionRedirectResponseCode.Found,
                stripQuery: false,
            },
        }],
    }],
    project: "string",
    requestId: "string",
    tests: [{
        backendServiceWeight: 0,
        description: "string",
        expectedOutputUrl: "string",
        expectedRedirectResponseCode: 0,
        headers: [{
            name: "string",
            value: "string",
        }],
        host: "string",
        path: "string",
        service: "string",
    }],
});
Copy
type: google-native:compute/alpha:UrlMap
properties:
    defaultCustomErrorResponsePolicy:
        errorResponseRules:
            - matchResponseCodes:
                - string
              overrideResponseCode: 0
              path: string
        errorService: string
    defaultRouteAction:
        corsPolicy:
            allowCredentials: false
            allowHeaders:
                - string
            allowMethods:
                - string
            allowOriginRegexes:
                - string
            allowOrigins:
                - string
            disabled: false
            exposeHeaders:
                - string
            maxAge: 0
        faultInjectionPolicy:
            abort:
                httpStatus: 0
                percentage: 0
            delay:
                fixedDelay:
                    nanos: 0
                    seconds: string
                percentage: 0
        maxStreamDuration:
            nanos: 0
            seconds: string
        requestMirrorPolicy:
            backendService: string
        retryPolicy:
            numRetries: 0
            perTryTimeout:
                nanos: 0
                seconds: string
            retryConditions:
                - string
        timeout:
            nanos: 0
            seconds: string
        urlRewrite:
            hostRewrite: string
            pathPrefixRewrite: string
            pathTemplateRewrite: string
        weightedBackendServices:
            - backendService: string
              headerAction:
                requestHeadersToAdd:
                    - headerName: string
                      headerValue: string
                      replace: false
                requestHeadersToRemove:
                    - string
                responseHeadersToAdd:
                    - headerName: string
                      headerValue: string
                      replace: false
                responseHeadersToRemove:
                    - string
              weight: 0
    defaultService: string
    defaultUrlRedirect:
        hostRedirect: string
        httpsRedirect: false
        pathRedirect: string
        prefixRedirect: string
        redirectResponseCode: FOUND
        stripQuery: false
    description: string
    headerAction:
        requestHeadersToAdd:
            - headerName: string
              headerValue: string
              replace: false
        requestHeadersToRemove:
            - string
        responseHeadersToAdd:
            - headerName: string
              headerValue: string
              replace: false
        responseHeadersToRemove:
            - string
    hostRules:
        - description: string
          hosts:
            - string
          pathMatcher: string
    name: string
    pathMatchers:
        - defaultCustomErrorResponsePolicy:
            errorResponseRules:
                - matchResponseCodes:
                    - string
                  overrideResponseCode: 0
                  path: string
            errorService: string
          defaultRouteAction:
            corsPolicy:
                allowCredentials: false
                allowHeaders:
                    - string
                allowMethods:
                    - string
                allowOriginRegexes:
                    - string
                allowOrigins:
                    - string
                disabled: false
                exposeHeaders:
                    - string
                maxAge: 0
            faultInjectionPolicy:
                abort:
                    httpStatus: 0
                    percentage: 0
                delay:
                    fixedDelay:
                        nanos: 0
                        seconds: string
                    percentage: 0
            maxStreamDuration:
                nanos: 0
                seconds: string
            requestMirrorPolicy:
                backendService: string
            retryPolicy:
                numRetries: 0
                perTryTimeout:
                    nanos: 0
                    seconds: string
                retryConditions:
                    - string
            timeout:
                nanos: 0
                seconds: string
            urlRewrite:
                hostRewrite: string
                pathPrefixRewrite: string
                pathTemplateRewrite: string
            weightedBackendServices:
                - backendService: string
                  headerAction:
                    requestHeadersToAdd:
                        - headerName: string
                          headerValue: string
                          replace: false
                    requestHeadersToRemove:
                        - string
                    responseHeadersToAdd:
                        - headerName: string
                          headerValue: string
                          replace: false
                    responseHeadersToRemove:
                        - string
                  weight: 0
          defaultService: string
          defaultUrlRedirect:
            hostRedirect: string
            httpsRedirect: false
            pathRedirect: string
            prefixRedirect: string
            redirectResponseCode: FOUND
            stripQuery: false
          description: string
          headerAction:
            requestHeadersToAdd:
                - headerName: string
                  headerValue: string
                  replace: false
            requestHeadersToRemove:
                - string
            responseHeadersToAdd:
                - headerName: string
                  headerValue: string
                  replace: false
            responseHeadersToRemove:
                - string
          name: string
          pathRules:
            - customErrorResponsePolicy:
                errorResponseRules:
                    - matchResponseCodes:
                        - string
                      overrideResponseCode: 0
                      path: string
                errorService: string
              paths:
                - string
              routeAction:
                corsPolicy:
                    allowCredentials: false
                    allowHeaders:
                        - string
                    allowMethods:
                        - string
                    allowOriginRegexes:
                        - string
                    allowOrigins:
                        - string
                    disabled: false
                    exposeHeaders:
                        - string
                    maxAge: 0
                faultInjectionPolicy:
                    abort:
                        httpStatus: 0
                        percentage: 0
                    delay:
                        fixedDelay:
                            nanos: 0
                            seconds: string
                        percentage: 0
                maxStreamDuration:
                    nanos: 0
                    seconds: string
                requestMirrorPolicy:
                    backendService: string
                retryPolicy:
                    numRetries: 0
                    perTryTimeout:
                        nanos: 0
                        seconds: string
                    retryConditions:
                        - string
                timeout:
                    nanos: 0
                    seconds: string
                urlRewrite:
                    hostRewrite: string
                    pathPrefixRewrite: string
                    pathTemplateRewrite: string
                weightedBackendServices:
                    - backendService: string
                      headerAction:
                        requestHeadersToAdd:
                            - headerName: string
                              headerValue: string
                              replace: false
                        requestHeadersToRemove:
                            - string
                        responseHeadersToAdd:
                            - headerName: string
                              headerValue: string
                              replace: false
                        responseHeadersToRemove:
                            - string
                      weight: 0
              service: string
              urlRedirect:
                hostRedirect: string
                httpsRedirect: false
                pathRedirect: string
                prefixRedirect: string
                redirectResponseCode: FOUND
                stripQuery: false
          routeRules:
            - customErrorResponsePolicy:
                errorResponseRules:
                    - matchResponseCodes:
                        - string
                      overrideResponseCode: 0
                      path: string
                errorService: string
              description: string
              headerAction:
                requestHeadersToAdd:
                    - headerName: string
                      headerValue: string
                      replace: false
                requestHeadersToRemove:
                    - string
                responseHeadersToAdd:
                    - headerName: string
                      headerValue: string
                      replace: false
                responseHeadersToRemove:
                    - string
              httpFilterConfigs:
                - config: string
                  configTypeUrl: string
                  filterName: string
              httpFilterMetadata:
                - config: string
                  configTypeUrl: string
                  filterName: string
              matchRules:
                - fullPathMatch: string
                  headerMatches:
                    - exactMatch: string
                      headerName: string
                      invertMatch: false
                      prefixMatch: string
                      presentMatch: false
                      rangeMatch:
                        rangeEnd: string
                        rangeStart: string
                      regexMatch: string
                      suffixMatch: string
                  ignoreCase: false
                  metadataFilters:
                    - filterLabels:
                        - name: string
                          value: string
                      filterMatchCriteria: MATCH_ALL
                  pathTemplateMatch: string
                  prefixMatch: string
                  queryParameterMatches:
                    - exactMatch: string
                      name: string
                      presentMatch: false
                      regexMatch: string
                  regexMatch: string
              priority: 0
              routeAction:
                corsPolicy:
                    allowCredentials: false
                    allowHeaders:
                        - string
                    allowMethods:
                        - string
                    allowOriginRegexes:
                        - string
                    allowOrigins:
                        - string
                    disabled: false
                    exposeHeaders:
                        - string
                    maxAge: 0
                faultInjectionPolicy:
                    abort:
                        httpStatus: 0
                        percentage: 0
                    delay:
                        fixedDelay:
                            nanos: 0
                            seconds: string
                        percentage: 0
                maxStreamDuration:
                    nanos: 0
                    seconds: string
                requestMirrorPolicy:
                    backendService: string
                retryPolicy:
                    numRetries: 0
                    perTryTimeout:
                        nanos: 0
                        seconds: string
                    retryConditions:
                        - string
                timeout:
                    nanos: 0
                    seconds: string
                urlRewrite:
                    hostRewrite: string
                    pathPrefixRewrite: string
                    pathTemplateRewrite: string
                weightedBackendServices:
                    - backendService: string
                      headerAction:
                        requestHeadersToAdd:
                            - headerName: string
                              headerValue: string
                              replace: false
                        requestHeadersToRemove:
                            - string
                        responseHeadersToAdd:
                            - headerName: string
                              headerValue: string
                              replace: false
                        responseHeadersToRemove:
                            - string
                      weight: 0
              service: string
              urlRedirect:
                hostRedirect: string
                httpsRedirect: false
                pathRedirect: string
                prefixRedirect: string
                redirectResponseCode: FOUND
                stripQuery: false
    project: string
    requestId: string
    tests:
        - backendServiceWeight: 0
          description: string
          expectedOutputUrl: string
          expectedRedirectResponseCode: 0
          headers:
            - name: string
              value: string
          host: string
          path: string
          service: string
Copy

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

DefaultCustomErrorResponsePolicy Pulumi.GoogleNative.Compute.Alpha.Inputs.CustomErrorResponsePolicy
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the load balancer level and applies only when no policy has been defined for the error code at lower levels like PathMatcher, RouteRule and PathRule within this UrlMap. For example, consider a UrlMap with the following configuration: - defaultCustomErrorResponsePolicy containing policies for responding to 5xx and 4xx errors - A PathMatcher configured for *.example.com has defaultCustomErrorResponsePolicy for 4xx. If a request for http://www.example.com/ encounters a 404, the policy in pathMatcher.defaultCustomErrorResponsePolicy will be enforced. When the request for http://www.example.com/ encounters a 502, the policy in UrlMap.defaultCustomErrorResponsePolicy will be enforced. When a request that does not match any host in *.example.com such as http://www.myotherexample.com/, encounters a 404, UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
DefaultRouteAction Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpRouteAction
defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
DefaultService string
The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
DefaultUrlRedirect Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpRedirectAction
When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
Description string
An optional description of this resource. Provide this property when you create the resource.
HeaderAction Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpHeaderAction
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction specified here take effect after headerAction specified under pathMatcher. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
HostRules List<Pulumi.GoogleNative.Compute.Alpha.Inputs.HostRule>
The list of host rules to use against the URL.
Name string
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
PathMatchers List<Pulumi.GoogleNative.Compute.Alpha.Inputs.PathMatcher>
The list of named PathMatchers to use against the URL.
Project Changes to this property will trigger replacement. string
RequestId string
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
Tests List<Pulumi.GoogleNative.Compute.Alpha.Inputs.UrlMapTest>
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
DefaultCustomErrorResponsePolicy CustomErrorResponsePolicyArgs
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the load balancer level and applies only when no policy has been defined for the error code at lower levels like PathMatcher, RouteRule and PathRule within this UrlMap. For example, consider a UrlMap with the following configuration: - defaultCustomErrorResponsePolicy containing policies for responding to 5xx and 4xx errors - A PathMatcher configured for *.example.com has defaultCustomErrorResponsePolicy for 4xx. If a request for http://www.example.com/ encounters a 404, the policy in pathMatcher.defaultCustomErrorResponsePolicy will be enforced. When the request for http://www.example.com/ encounters a 502, the policy in UrlMap.defaultCustomErrorResponsePolicy will be enforced. When a request that does not match any host in *.example.com such as http://www.myotherexample.com/, encounters a 404, UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
DefaultRouteAction HttpRouteActionArgs
defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
DefaultService string
The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
DefaultUrlRedirect HttpRedirectActionArgs
When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
Description string
An optional description of this resource. Provide this property when you create the resource.
HeaderAction HttpHeaderActionArgs
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction specified here take effect after headerAction specified under pathMatcher. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
HostRules []HostRuleArgs
The list of host rules to use against the URL.
Name string
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
PathMatchers []PathMatcherArgs
The list of named PathMatchers to use against the URL.
Project Changes to this property will trigger replacement. string
RequestId string
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
Tests []UrlMapTestArgs
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
defaultCustomErrorResponsePolicy CustomErrorResponsePolicy
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the load balancer level and applies only when no policy has been defined for the error code at lower levels like PathMatcher, RouteRule and PathRule within this UrlMap. For example, consider a UrlMap with the following configuration: - defaultCustomErrorResponsePolicy containing policies for responding to 5xx and 4xx errors - A PathMatcher configured for *.example.com has defaultCustomErrorResponsePolicy for 4xx. If a request for http://www.example.com/ encounters a 404, the policy in pathMatcher.defaultCustomErrorResponsePolicy will be enforced. When the request for http://www.example.com/ encounters a 502, the policy in UrlMap.defaultCustomErrorResponsePolicy will be enforced. When a request that does not match any host in *.example.com such as http://www.myotherexample.com/, encounters a 404, UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
defaultRouteAction HttpRouteAction
defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
defaultService String
The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
defaultUrlRedirect HttpRedirectAction
When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
description String
An optional description of this resource. Provide this property when you create the resource.
headerAction HttpHeaderAction
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction specified here take effect after headerAction specified under pathMatcher. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
hostRules List<HostRule>
The list of host rules to use against the URL.
name String
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
pathMatchers List<PathMatcher>
The list of named PathMatchers to use against the URL.
project Changes to this property will trigger replacement. String
requestId String
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
tests List<UrlMapTest>
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
defaultCustomErrorResponsePolicy CustomErrorResponsePolicy
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the load balancer level and applies only when no policy has been defined for the error code at lower levels like PathMatcher, RouteRule and PathRule within this UrlMap. For example, consider a UrlMap with the following configuration: - defaultCustomErrorResponsePolicy containing policies for responding to 5xx and 4xx errors - A PathMatcher configured for *.example.com has defaultCustomErrorResponsePolicy for 4xx. If a request for http://www.example.com/ encounters a 404, the policy in pathMatcher.defaultCustomErrorResponsePolicy will be enforced. When the request for http://www.example.com/ encounters a 502, the policy in UrlMap.defaultCustomErrorResponsePolicy will be enforced. When a request that does not match any host in *.example.com such as http://www.myotherexample.com/, encounters a 404, UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
defaultRouteAction HttpRouteAction
defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
defaultService string
The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
defaultUrlRedirect HttpRedirectAction
When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
description string
An optional description of this resource. Provide this property when you create the resource.
headerAction HttpHeaderAction
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction specified here take effect after headerAction specified under pathMatcher. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
hostRules HostRule[]
The list of host rules to use against the URL.
name string
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
pathMatchers PathMatcher[]
The list of named PathMatchers to use against the URL.
project Changes to this property will trigger replacement. string
requestId string
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
tests UrlMapTest[]
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
default_custom_error_response_policy CustomErrorResponsePolicyArgs
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the load balancer level and applies only when no policy has been defined for the error code at lower levels like PathMatcher, RouteRule and PathRule within this UrlMap. For example, consider a UrlMap with the following configuration: - defaultCustomErrorResponsePolicy containing policies for responding to 5xx and 4xx errors - A PathMatcher configured for *.example.com has defaultCustomErrorResponsePolicy for 4xx. If a request for http://www.example.com/ encounters a 404, the policy in pathMatcher.defaultCustomErrorResponsePolicy will be enforced. When the request for http://www.example.com/ encounters a 502, the policy in UrlMap.defaultCustomErrorResponsePolicy will be enforced. When a request that does not match any host in *.example.com such as http://www.myotherexample.com/, encounters a 404, UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
default_route_action HttpRouteActionArgs
defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
default_service str
The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
default_url_redirect HttpRedirectActionArgs
When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
description str
An optional description of this resource. Provide this property when you create the resource.
header_action HttpHeaderActionArgs
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction specified here take effect after headerAction specified under pathMatcher. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
host_rules Sequence[HostRuleArgs]
The list of host rules to use against the URL.
name str
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
path_matchers Sequence[PathMatcherArgs]
The list of named PathMatchers to use against the URL.
project Changes to this property will trigger replacement. str
request_id str
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
tests Sequence[UrlMapTestArgs]
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
defaultCustomErrorResponsePolicy Property Map
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the load balancer level and applies only when no policy has been defined for the error code at lower levels like PathMatcher, RouteRule and PathRule within this UrlMap. For example, consider a UrlMap with the following configuration: - defaultCustomErrorResponsePolicy containing policies for responding to 5xx and 4xx errors - A PathMatcher configured for *.example.com has defaultCustomErrorResponsePolicy for 4xx. If a request for http://www.example.com/ encounters a 404, the policy in pathMatcher.defaultCustomErrorResponsePolicy will be enforced. When the request for http://www.example.com/ encounters a 502, the policy in UrlMap.defaultCustomErrorResponsePolicy will be enforced. When a request that does not match any host in *.example.com such as http://www.myotherexample.com/, encounters a 404, UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
defaultRouteAction Property Map
defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
defaultService String
The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
defaultUrlRedirect Property Map
When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
description String
An optional description of this resource. Provide this property when you create the resource.
headerAction Property Map
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction specified here take effect after headerAction specified under pathMatcher. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
hostRules List<Property Map>
The list of host rules to use against the URL.
name String
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
pathMatchers List<Property Map>
The list of named PathMatchers to use against the URL.
project Changes to this property will trigger replacement. String
requestId String
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
tests List<Property Map>
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.

Outputs

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

CreationTimestamp string
Creation timestamp in RFC3339 text format.
Fingerprint string
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field is ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a UrlMap.
Id string
The provider-assigned unique ID for this managed resource.
Kind string
Type of the resource. Always compute#urlMaps for url maps.
Region string
URL of the region where the regional URL map resides. This field is not applicable to global URL maps. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
SelfLink string
Server-defined URL for the resource.
CreationTimestamp string
Creation timestamp in RFC3339 text format.
Fingerprint string
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field is ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a UrlMap.
Id string
The provider-assigned unique ID for this managed resource.
Kind string
Type of the resource. Always compute#urlMaps for url maps.
Region string
URL of the region where the regional URL map resides. This field is not applicable to global URL maps. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
SelfLink string
Server-defined URL for the resource.
creationTimestamp String
Creation timestamp in RFC3339 text format.
fingerprint String
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field is ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a UrlMap.
id String
The provider-assigned unique ID for this managed resource.
kind String
Type of the resource. Always compute#urlMaps for url maps.
region String
URL of the region where the regional URL map resides. This field is not applicable to global URL maps. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
selfLink String
Server-defined URL for the resource.
creationTimestamp string
Creation timestamp in RFC3339 text format.
fingerprint string
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field is ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a UrlMap.
id string
The provider-assigned unique ID for this managed resource.
kind string
Type of the resource. Always compute#urlMaps for url maps.
region string
URL of the region where the regional URL map resides. This field is not applicable to global URL maps. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
selfLink string
Server-defined URL for the resource.
creation_timestamp str
Creation timestamp in RFC3339 text format.
fingerprint str
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field is ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a UrlMap.
id str
The provider-assigned unique ID for this managed resource.
kind str
Type of the resource. Always compute#urlMaps for url maps.
region str
URL of the region where the regional URL map resides. This field is not applicable to global URL maps. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
self_link str
Server-defined URL for the resource.
creationTimestamp String
Creation timestamp in RFC3339 text format.
fingerprint String
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field is ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a UrlMap.
id String
The provider-assigned unique ID for this managed resource.
kind String
Type of the resource. Always compute#urlMaps for url maps.
region String
URL of the region where the regional URL map resides. This field is not applicable to global URL maps. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
selfLink String
Server-defined URL for the resource.

Supporting Types

CorsPolicy
, CorsPolicyArgs

AllowCredentials bool
In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This field translates to the Access-Control-Allow-Credentials header. Default is false.
AllowHeaders List<string>
Specifies the content for the Access-Control-Allow-Headers header.
AllowMethods List<string>
Specifies the content for the Access-Control-Allow-Methods header.
AllowOriginRegexes List<string>
Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
AllowOrigins List<string>
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
Disabled bool
If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
ExposeHeaders List<string>
Specifies the content for the Access-Control-Expose-Headers header.
MaxAge int
Specifies how long results of a preflight request can be cached in seconds. This field 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 field translates to the Access-Control-Allow-Credentials header. Default is false.
AllowHeaders []string
Specifies the content for the Access-Control-Allow-Headers header.
AllowMethods []string
Specifies the content for the Access-Control-Allow-Methods header.
AllowOriginRegexes []string
Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
AllowOrigins []string
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
Disabled bool
If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
ExposeHeaders []string
Specifies the content for the Access-Control-Expose-Headers header.
MaxAge int
Specifies how long results of a preflight request can be cached in seconds. This field 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 field translates to the Access-Control-Allow-Credentials header. Default is false.
allowHeaders List<String>
Specifies the content for the Access-Control-Allow-Headers header.
allowMethods List<String>
Specifies the content for the Access-Control-Allow-Methods header.
allowOriginRegexes List<String>
Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
allowOrigins List<String>
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
disabled Boolean
If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
exposeHeaders List<String>
Specifies the content for the Access-Control-Expose-Headers header.
maxAge Integer
Specifies how long results of a preflight request can be cached in seconds. This field 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 field translates to the Access-Control-Allow-Credentials header. Default is false.
allowHeaders string[]
Specifies the content for the Access-Control-Allow-Headers header.
allowMethods string[]
Specifies the content for the Access-Control-Allow-Methods header.
allowOriginRegexes string[]
Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
allowOrigins string[]
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
disabled boolean
If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
exposeHeaders string[]
Specifies the content for the Access-Control-Expose-Headers header.
maxAge number
Specifies how long results of a preflight request can be cached in seconds. This field 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 field translates to the Access-Control-Allow-Credentials header. Default is false.
allow_headers Sequence[str]
Specifies the content for the Access-Control-Allow-Headers header.
allow_methods Sequence[str]
Specifies the content for the Access-Control-Allow-Methods header.
allow_origin_regexes Sequence[str]
Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
allow_origins Sequence[str]
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
disabled bool
If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
expose_headers Sequence[str]
Specifies the content for the Access-Control-Expose-Headers header.
max_age int
Specifies how long results of a preflight request can be cached in seconds. This field 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 field translates to the Access-Control-Allow-Credentials header. Default is false.
allowHeaders List<String>
Specifies the content for the Access-Control-Allow-Headers header.
allowMethods List<String>
Specifies the content for the Access-Control-Allow-Methods header.
allowOriginRegexes List<String>
Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
allowOrigins List<String>
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
disabled Boolean
If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
exposeHeaders List<String>
Specifies the content for the Access-Control-Expose-Headers header.
maxAge Number
Specifies how long results of a preflight request can be cached in seconds. This field translates to the Access-Control-Max-Age header.

CorsPolicyResponse
, CorsPolicyResponseArgs

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 field translates to the Access-Control-Allow-Credentials header. Default is false.
AllowHeaders This property is required. List<string>
Specifies the content for the Access-Control-Allow-Headers header.
AllowMethods This property is required. List<string>
Specifies the content for the Access-Control-Allow-Methods header.
AllowOriginRegexes This property is required. List<string>
Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
AllowOrigins This property is required. List<string>
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
Disabled This property is required. bool
If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
ExposeHeaders This property is required. List<string>
Specifies the content for the Access-Control-Expose-Headers header.
MaxAge This property is required. int
Specifies how long results of a preflight request can be cached in seconds. This field 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 field translates to the Access-Control-Allow-Credentials header. Default is false.
AllowHeaders This property is required. []string
Specifies the content for the Access-Control-Allow-Headers header.
AllowMethods This property is required. []string
Specifies the content for the Access-Control-Allow-Methods header.
AllowOriginRegexes This property is required. []string
Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
AllowOrigins This property is required. []string
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
Disabled This property is required. bool
If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
ExposeHeaders This property is required. []string
Specifies the content for the Access-Control-Expose-Headers header.
MaxAge This property is required. int
Specifies how long results of a preflight request can be cached in seconds. This field 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 field translates to the Access-Control-Allow-Credentials header. Default is false.
allowHeaders This property is required. List<String>
Specifies the content for the Access-Control-Allow-Headers header.
allowMethods This property is required. List<String>
Specifies the content for the Access-Control-Allow-Methods header.
allowOriginRegexes This property is required. List<String>
Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
allowOrigins This property is required. List<String>
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
disabled This property is required. Boolean
If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
exposeHeaders This property is required. List<String>
Specifies the content for the Access-Control-Expose-Headers header.
maxAge This property is required. Integer
Specifies how long results of a preflight request can be cached in seconds. This field 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 field translates to the Access-Control-Allow-Credentials header. Default is false.
allowHeaders This property is required. string[]
Specifies the content for the Access-Control-Allow-Headers header.
allowMethods This property is required. string[]
Specifies the content for the Access-Control-Allow-Methods header.
allowOriginRegexes This property is required. string[]
Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
allowOrigins This property is required. string[]
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
disabled This property is required. boolean
If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
exposeHeaders This property is required. string[]
Specifies the content for the Access-Control-Expose-Headers header.
maxAge This property is required. number
Specifies how long results of a preflight request can be cached in seconds. This field 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 field translates to the Access-Control-Allow-Credentials header. Default is false.
allow_headers This property is required. Sequence[str]
Specifies the content for the Access-Control-Allow-Headers header.
allow_methods This property is required. Sequence[str]
Specifies the content for the Access-Control-Allow-Methods header.
allow_origin_regexes This property is required. Sequence[str]
Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
allow_origins This property is required. Sequence[str]
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
disabled This property is required. bool
If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
expose_headers This property is required. Sequence[str]
Specifies the content for the Access-Control-Expose-Headers header.
max_age This property is required. int
Specifies how long results of a preflight request can be cached in seconds. This field 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 field translates to the Access-Control-Allow-Credentials header. Default is false.
allowHeaders This property is required. List<String>
Specifies the content for the Access-Control-Allow-Headers header.
allowMethods This property is required. List<String>
Specifies the content for the Access-Control-Allow-Methods header.
allowOriginRegexes This property is required. List<String>
Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
allowOrigins This property is required. List<String>
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
disabled This property is required. Boolean
If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
exposeHeaders This property is required. List<String>
Specifies the content for the Access-Control-Expose-Headers header.
maxAge This property is required. Number
Specifies how long results of a preflight request can be cached in seconds. This field translates to the Access-Control-Max-Age header.

CustomErrorResponsePolicy
, CustomErrorResponsePolicyArgs

ErrorResponseRules List<Pulumi.GoogleNative.Compute.Alpha.Inputs.CustomErrorResponsePolicyCustomErrorResponseRule>
Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX). If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect.
ErrorService string
The full or partial URL to the BackendBucket resource that contains the custom error content. Examples are: - https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket - compute/v1/projects/project/global/backendBuckets/myBackendBucket - global/backendBuckets/myBackendBucket If errorService is not specified at lower levels like pathMatcher, pathRule and routeRule, an errorService specified at a higher level in the UrlMap will be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more errorResponseRules[], it must specify errorService. If load balancer cannot reach the backendBucket, a simple Not Found Error will be returned, with the original response code (or overrideResponseCode if configured). errorService is not supported for internal or regional HTTP/HTTPS load balancers.
ErrorResponseRules []CustomErrorResponsePolicyCustomErrorResponseRule
Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX). If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect.
ErrorService string
The full or partial URL to the BackendBucket resource that contains the custom error content. Examples are: - https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket - compute/v1/projects/project/global/backendBuckets/myBackendBucket - global/backendBuckets/myBackendBucket If errorService is not specified at lower levels like pathMatcher, pathRule and routeRule, an errorService specified at a higher level in the UrlMap will be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more errorResponseRules[], it must specify errorService. If load balancer cannot reach the backendBucket, a simple Not Found Error will be returned, with the original response code (or overrideResponseCode if configured). errorService is not supported for internal or regional HTTP/HTTPS load balancers.
errorResponseRules List<CustomErrorResponsePolicyCustomErrorResponseRule>
Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX). If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect.
errorService String
The full or partial URL to the BackendBucket resource that contains the custom error content. Examples are: - https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket - compute/v1/projects/project/global/backendBuckets/myBackendBucket - global/backendBuckets/myBackendBucket If errorService is not specified at lower levels like pathMatcher, pathRule and routeRule, an errorService specified at a higher level in the UrlMap will be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more errorResponseRules[], it must specify errorService. If load balancer cannot reach the backendBucket, a simple Not Found Error will be returned, with the original response code (or overrideResponseCode if configured). errorService is not supported for internal or regional HTTP/HTTPS load balancers.
errorResponseRules CustomErrorResponsePolicyCustomErrorResponseRule[]
Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX). If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect.
errorService string
The full or partial URL to the BackendBucket resource that contains the custom error content. Examples are: - https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket - compute/v1/projects/project/global/backendBuckets/myBackendBucket - global/backendBuckets/myBackendBucket If errorService is not specified at lower levels like pathMatcher, pathRule and routeRule, an errorService specified at a higher level in the UrlMap will be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more errorResponseRules[], it must specify errorService. If load balancer cannot reach the backendBucket, a simple Not Found Error will be returned, with the original response code (or overrideResponseCode if configured). errorService is not supported for internal or regional HTTP/HTTPS load balancers.
error_response_rules Sequence[CustomErrorResponsePolicyCustomErrorResponseRule]
Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX). If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect.
error_service str
The full or partial URL to the BackendBucket resource that contains the custom error content. Examples are: - https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket - compute/v1/projects/project/global/backendBuckets/myBackendBucket - global/backendBuckets/myBackendBucket If errorService is not specified at lower levels like pathMatcher, pathRule and routeRule, an errorService specified at a higher level in the UrlMap will be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more errorResponseRules[], it must specify errorService. If load balancer cannot reach the backendBucket, a simple Not Found Error will be returned, with the original response code (or overrideResponseCode if configured). errorService is not supported for internal or regional HTTP/HTTPS load balancers.
errorResponseRules List<Property Map>
Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX). If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect.
errorService String
The full or partial URL to the BackendBucket resource that contains the custom error content. Examples are: - https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket - compute/v1/projects/project/global/backendBuckets/myBackendBucket - global/backendBuckets/myBackendBucket If errorService is not specified at lower levels like pathMatcher, pathRule and routeRule, an errorService specified at a higher level in the UrlMap will be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more errorResponseRules[], it must specify errorService. If load balancer cannot reach the backendBucket, a simple Not Found Error will be returned, with the original response code (or overrideResponseCode if configured). errorService is not supported for internal or regional HTTP/HTTPS load balancers.

CustomErrorResponsePolicyCustomErrorResponseRule
, CustomErrorResponsePolicyCustomErrorResponseRuleArgs

MatchResponseCodes List<string>
Valid values include: - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value. - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599. - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499. Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy.
OverrideResponseCode int
The HTTP status code returned with the response containing the custom error content. If overrideResponseCode is not supplied, the same response code returned by the original backend bucket or backend service is returned to the client.
Path string
The full path to a file within backendBucket . For example: /errors/defaultError.html path must start with a leading slash. path cannot have trailing slashes. If the file is not available in backendBucket or the load balancer cannot reach the BackendBucket, a simple Not Found Error is returned to the client. The value must be from 1 to 1024 characters
MatchResponseCodes []string
Valid values include: - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value. - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599. - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499. Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy.
OverrideResponseCode int
The HTTP status code returned with the response containing the custom error content. If overrideResponseCode is not supplied, the same response code returned by the original backend bucket or backend service is returned to the client.
Path string
The full path to a file within backendBucket . For example: /errors/defaultError.html path must start with a leading slash. path cannot have trailing slashes. If the file is not available in backendBucket or the load balancer cannot reach the BackendBucket, a simple Not Found Error is returned to the client. The value must be from 1 to 1024 characters
matchResponseCodes List<String>
Valid values include: - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value. - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599. - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499. Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy.
overrideResponseCode Integer
The HTTP status code returned with the response containing the custom error content. If overrideResponseCode is not supplied, the same response code returned by the original backend bucket or backend service is returned to the client.
path String
The full path to a file within backendBucket . For example: /errors/defaultError.html path must start with a leading slash. path cannot have trailing slashes. If the file is not available in backendBucket or the load balancer cannot reach the BackendBucket, a simple Not Found Error is returned to the client. The value must be from 1 to 1024 characters
matchResponseCodes string[]
Valid values include: - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value. - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599. - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499. Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy.
overrideResponseCode number
The HTTP status code returned with the response containing the custom error content. If overrideResponseCode is not supplied, the same response code returned by the original backend bucket or backend service is returned to the client.
path string
The full path to a file within backendBucket . For example: /errors/defaultError.html path must start with a leading slash. path cannot have trailing slashes. If the file is not available in backendBucket or the load balancer cannot reach the BackendBucket, a simple Not Found Error is returned to the client. The value must be from 1 to 1024 characters
match_response_codes Sequence[str]
Valid values include: - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value. - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599. - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499. Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy.
override_response_code int
The HTTP status code returned with the response containing the custom error content. If overrideResponseCode is not supplied, the same response code returned by the original backend bucket or backend service is returned to the client.
path str
The full path to a file within backendBucket . For example: /errors/defaultError.html path must start with a leading slash. path cannot have trailing slashes. If the file is not available in backendBucket or the load balancer cannot reach the BackendBucket, a simple Not Found Error is returned to the client. The value must be from 1 to 1024 characters
matchResponseCodes List<String>
Valid values include: - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value. - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599. - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499. Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy.
overrideResponseCode Number
The HTTP status code returned with the response containing the custom error content. If overrideResponseCode is not supplied, the same response code returned by the original backend bucket or backend service is returned to the client.
path String
The full path to a file within backendBucket . For example: /errors/defaultError.html path must start with a leading slash. path cannot have trailing slashes. If the file is not available in backendBucket or the load balancer cannot reach the BackendBucket, a simple Not Found Error is returned to the client. The value must be from 1 to 1024 characters

CustomErrorResponsePolicyCustomErrorResponseRuleResponse
, CustomErrorResponsePolicyCustomErrorResponseRuleResponseArgs

MatchResponseCodes This property is required. List<string>
Valid values include: - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value. - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599. - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499. Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy.
OverrideResponseCode This property is required. int
The HTTP status code returned with the response containing the custom error content. If overrideResponseCode is not supplied, the same response code returned by the original backend bucket or backend service is returned to the client.
Path This property is required. string
The full path to a file within backendBucket . For example: /errors/defaultError.html path must start with a leading slash. path cannot have trailing slashes. If the file is not available in backendBucket or the load balancer cannot reach the BackendBucket, a simple Not Found Error is returned to the client. The value must be from 1 to 1024 characters
MatchResponseCodes This property is required. []string
Valid values include: - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value. - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599. - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499. Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy.
OverrideResponseCode This property is required. int
The HTTP status code returned with the response containing the custom error content. If overrideResponseCode is not supplied, the same response code returned by the original backend bucket or backend service is returned to the client.
Path This property is required. string
The full path to a file within backendBucket . For example: /errors/defaultError.html path must start with a leading slash. path cannot have trailing slashes. If the file is not available in backendBucket or the load balancer cannot reach the BackendBucket, a simple Not Found Error is returned to the client. The value must be from 1 to 1024 characters
matchResponseCodes This property is required. List<String>
Valid values include: - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value. - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599. - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499. Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy.
overrideResponseCode This property is required. Integer
The HTTP status code returned with the response containing the custom error content. If overrideResponseCode is not supplied, the same response code returned by the original backend bucket or backend service is returned to the client.
path This property is required. String
The full path to a file within backendBucket . For example: /errors/defaultError.html path must start with a leading slash. path cannot have trailing slashes. If the file is not available in backendBucket or the load balancer cannot reach the BackendBucket, a simple Not Found Error is returned to the client. The value must be from 1 to 1024 characters
matchResponseCodes This property is required. string[]
Valid values include: - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value. - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599. - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499. Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy.
overrideResponseCode This property is required. number
The HTTP status code returned with the response containing the custom error content. If overrideResponseCode is not supplied, the same response code returned by the original backend bucket or backend service is returned to the client.
path This property is required. string
The full path to a file within backendBucket . For example: /errors/defaultError.html path must start with a leading slash. path cannot have trailing slashes. If the file is not available in backendBucket or the load balancer cannot reach the BackendBucket, a simple Not Found Error is returned to the client. The value must be from 1 to 1024 characters
match_response_codes This property is required. Sequence[str]
Valid values include: - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value. - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599. - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499. Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy.
override_response_code This property is required. int
The HTTP status code returned with the response containing the custom error content. If overrideResponseCode is not supplied, the same response code returned by the original backend bucket or backend service is returned to the client.
path This property is required. str
The full path to a file within backendBucket . For example: /errors/defaultError.html path must start with a leading slash. path cannot have trailing slashes. If the file is not available in backendBucket or the load balancer cannot reach the BackendBucket, a simple Not Found Error is returned to the client. The value must be from 1 to 1024 characters
matchResponseCodes This property is required. List<String>
Valid values include: - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value. - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599. - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499. Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy.
overrideResponseCode This property is required. Number
The HTTP status code returned with the response containing the custom error content. If overrideResponseCode is not supplied, the same response code returned by the original backend bucket or backend service is returned to the client.
path This property is required. String
The full path to a file within backendBucket . For example: /errors/defaultError.html path must start with a leading slash. path cannot have trailing slashes. If the file is not available in backendBucket or the load balancer cannot reach the BackendBucket, a simple Not Found Error is returned to the client. The value must be from 1 to 1024 characters

CustomErrorResponsePolicyResponse
, CustomErrorResponsePolicyResponseArgs

ErrorResponseRules This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.CustomErrorResponsePolicyCustomErrorResponseRuleResponse>
Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX). If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect.
ErrorService This property is required. string
The full or partial URL to the BackendBucket resource that contains the custom error content. Examples are: - https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket - compute/v1/projects/project/global/backendBuckets/myBackendBucket - global/backendBuckets/myBackendBucket If errorService is not specified at lower levels like pathMatcher, pathRule and routeRule, an errorService specified at a higher level in the UrlMap will be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more errorResponseRules[], it must specify errorService. If load balancer cannot reach the backendBucket, a simple Not Found Error will be returned, with the original response code (or overrideResponseCode if configured). errorService is not supported for internal or regional HTTP/HTTPS load balancers.
ErrorResponseRules This property is required. []CustomErrorResponsePolicyCustomErrorResponseRuleResponse
Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX). If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect.
ErrorService This property is required. string
The full or partial URL to the BackendBucket resource that contains the custom error content. Examples are: - https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket - compute/v1/projects/project/global/backendBuckets/myBackendBucket - global/backendBuckets/myBackendBucket If errorService is not specified at lower levels like pathMatcher, pathRule and routeRule, an errorService specified at a higher level in the UrlMap will be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more errorResponseRules[], it must specify errorService. If load balancer cannot reach the backendBucket, a simple Not Found Error will be returned, with the original response code (or overrideResponseCode if configured). errorService is not supported for internal or regional HTTP/HTTPS load balancers.
errorResponseRules This property is required. List<CustomErrorResponsePolicyCustomErrorResponseRuleResponse>
Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX). If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect.
errorService This property is required. String
The full or partial URL to the BackendBucket resource that contains the custom error content. Examples are: - https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket - compute/v1/projects/project/global/backendBuckets/myBackendBucket - global/backendBuckets/myBackendBucket If errorService is not specified at lower levels like pathMatcher, pathRule and routeRule, an errorService specified at a higher level in the UrlMap will be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more errorResponseRules[], it must specify errorService. If load balancer cannot reach the backendBucket, a simple Not Found Error will be returned, with the original response code (or overrideResponseCode if configured). errorService is not supported for internal or regional HTTP/HTTPS load balancers.
errorResponseRules This property is required. CustomErrorResponsePolicyCustomErrorResponseRuleResponse[]
Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX). If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect.
errorService This property is required. string
The full or partial URL to the BackendBucket resource that contains the custom error content. Examples are: - https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket - compute/v1/projects/project/global/backendBuckets/myBackendBucket - global/backendBuckets/myBackendBucket If errorService is not specified at lower levels like pathMatcher, pathRule and routeRule, an errorService specified at a higher level in the UrlMap will be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more errorResponseRules[], it must specify errorService. If load balancer cannot reach the backendBucket, a simple Not Found Error will be returned, with the original response code (or overrideResponseCode if configured). errorService is not supported for internal or regional HTTP/HTTPS load balancers.
error_response_rules This property is required. Sequence[CustomErrorResponsePolicyCustomErrorResponseRuleResponse]
Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX). If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect.
error_service This property is required. str
The full or partial URL to the BackendBucket resource that contains the custom error content. Examples are: - https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket - compute/v1/projects/project/global/backendBuckets/myBackendBucket - global/backendBuckets/myBackendBucket If errorService is not specified at lower levels like pathMatcher, pathRule and routeRule, an errorService specified at a higher level in the UrlMap will be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more errorResponseRules[], it must specify errorService. If load balancer cannot reach the backendBucket, a simple Not Found Error will be returned, with the original response code (or overrideResponseCode if configured). errorService is not supported for internal or regional HTTP/HTTPS load balancers.
errorResponseRules This property is required. List<Property Map>
Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX). If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect.
errorService This property is required. String
The full or partial URL to the BackendBucket resource that contains the custom error content. Examples are: - https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket - compute/v1/projects/project/global/backendBuckets/myBackendBucket - global/backendBuckets/myBackendBucket If errorService is not specified at lower levels like pathMatcher, pathRule and routeRule, an errorService specified at a higher level in the UrlMap will be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more errorResponseRules[], it must specify errorService. If load balancer cannot reach the backendBucket, a simple Not Found Error will be returned, with the original response code (or overrideResponseCode if configured). errorService is not supported for internal or regional HTTP/HTTPS load balancers.

Duration
, DurationArgs

Nanos int
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
Seconds string
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
Nanos int
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
Seconds string
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
nanos Integer
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
seconds String
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
nanos number
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
seconds string
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
nanos int
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
seconds str
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
nanos Number
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
seconds String
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years

DurationResponse
, DurationResponseArgs

Nanos This property is required. int
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
Seconds This property is required. string
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
Nanos This property is required. int
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
Seconds This property is required. string
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
nanos This property is required. Integer
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
seconds This property is required. String
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
nanos This property is required. number
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
seconds This property is required. string
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
nanos This property is required. int
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
seconds This property is required. str
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
nanos This property is required. Number
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
seconds This property is required. String
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years

HostRule
, HostRuleArgs

Description string
An optional description of this resource. Provide this property when you create the resource.
Hosts List<string>
The list of host patterns to match. They must be valid hostnames with optional port numbers in the format host:port. * matches any string of ([a-z0-9-.]*). In that case, * must be the first character, and if followed by anything, the immediate following character must be either - or .. * based matching is not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
PathMatcher string
The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion.
Description string
An optional description of this resource. Provide this property when you create the resource.
Hosts []string
The list of host patterns to match. They must be valid hostnames with optional port numbers in the format host:port. * matches any string of ([a-z0-9-.]*). In that case, * must be the first character, and if followed by anything, the immediate following character must be either - or .. * based matching is not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
PathMatcher string
The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion.
description String
An optional description of this resource. Provide this property when you create the resource.
hosts List<String>
The list of host patterns to match. They must be valid hostnames with optional port numbers in the format host:port. * matches any string of ([a-z0-9-.]*). In that case, * must be the first character, and if followed by anything, the immediate following character must be either - or .. * based matching is not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
pathMatcher String
The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion.
description string
An optional description of this resource. Provide this property when you create the resource.
hosts string[]
The list of host patterns to match. They must be valid hostnames with optional port numbers in the format host:port. * matches any string of ([a-z0-9-.]*). In that case, * must be the first character, and if followed by anything, the immediate following character must be either - or .. * based matching is not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
pathMatcher string
The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion.
description str
An optional description of this resource. Provide this property when you create the resource.
hosts Sequence[str]
The list of host patterns to match. They must be valid hostnames with optional port numbers in the format host:port. * matches any string of ([a-z0-9-.]*). In that case, * must be the first character, and if followed by anything, the immediate following character must be either - or .. * based matching is not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
path_matcher str
The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion.
description String
An optional description of this resource. Provide this property when you create the resource.
hosts List<String>
The list of host patterns to match. They must be valid hostnames with optional port numbers in the format host:port. * matches any string of ([a-z0-9-.]*). In that case, * must be the first character, and if followed by anything, the immediate following character must be either - or .. * based matching is not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
pathMatcher String
The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion.

HostRuleResponse
, HostRuleResponseArgs

Description This property is required. string
An optional description of this resource. Provide this property when you create the resource.
Hosts This property is required. List<string>
The list of host patterns to match. They must be valid hostnames with optional port numbers in the format host:port. * matches any string of ([a-z0-9-.]*). In that case, * must be the first character, and if followed by anything, the immediate following character must be either - or .. * based matching is not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
PathMatcher This property is required. string
The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion.
Description This property is required. string
An optional description of this resource. Provide this property when you create the resource.
Hosts This property is required. []string
The list of host patterns to match. They must be valid hostnames with optional port numbers in the format host:port. * matches any string of ([a-z0-9-.]*). In that case, * must be the first character, and if followed by anything, the immediate following character must be either - or .. * based matching is not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
PathMatcher This property is required. string
The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion.
description This property is required. String
An optional description of this resource. Provide this property when you create the resource.
hosts This property is required. List<String>
The list of host patterns to match. They must be valid hostnames with optional port numbers in the format host:port. * matches any string of ([a-z0-9-.]*). In that case, * must be the first character, and if followed by anything, the immediate following character must be either - or .. * based matching is not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
pathMatcher This property is required. String
The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion.
description This property is required. string
An optional description of this resource. Provide this property when you create the resource.
hosts This property is required. string[]
The list of host patterns to match. They must be valid hostnames with optional port numbers in the format host:port. * matches any string of ([a-z0-9-.]*). In that case, * must be the first character, and if followed by anything, the immediate following character must be either - or .. * based matching is not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
pathMatcher This property is required. string
The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion.
description This property is required. str
An optional description of this resource. Provide this property when you create the resource.
hosts This property is required. Sequence[str]
The list of host patterns to match. They must be valid hostnames with optional port numbers in the format host:port. * matches any string of ([a-z0-9-.]*). In that case, * must be the first character, and if followed by anything, the immediate following character must be either - or .. * based matching is not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
path_matcher This property is required. str
The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion.
description This property is required. String
An optional description of this resource. Provide this property when you create the resource.
hosts This property is required. List<String>
The list of host patterns to match. They must be valid hostnames with optional port numbers in the format host:port. * matches any string of ([a-z0-9-.]*). In that case, * must be the first character, and if followed by anything, the immediate following character must be either - or .. * based matching is not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
pathMatcher This property is required. String
The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion.

HttpFaultAbort
, HttpFaultAbortArgs

HttpStatus int
The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director.
Percentage double
The percentage of traffic for connections, operations, or requests that is aborted as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
HttpStatus int
The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director.
Percentage float64
The percentage of traffic for connections, operations, or requests that is aborted as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
httpStatus Integer
The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director.
percentage Double
The percentage of traffic for connections, operations, or requests that is aborted as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
httpStatus number
The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director.
percentage number
The percentage of traffic for connections, operations, or requests that is aborted as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
http_status int
The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director.
percentage float
The percentage of traffic for connections, operations, or requests that is aborted as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
httpStatus Number
The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director.
percentage Number
The percentage of traffic for connections, operations, or requests that is aborted as part of fault injection. The value must be from 0.0 to 100.0 inclusive.

HttpFaultAbortResponse
, HttpFaultAbortResponseArgs

HttpStatus This property is required. int
The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director.
Percentage This property is required. double
The percentage of traffic for connections, operations, or requests that is aborted as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
HttpStatus This property is required. int
The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director.
Percentage This property is required. float64
The percentage of traffic for connections, operations, or requests that is aborted as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
httpStatus This property is required. Integer
The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director.
percentage This property is required. Double
The percentage of traffic for connections, operations, or requests that is aborted as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
httpStatus This property is required. number
The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director.
percentage This property is required. number
The percentage of traffic for connections, operations, or requests that is aborted as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
http_status This property is required. int
The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director.
percentage This property is required. float
The percentage of traffic for connections, operations, or requests that is aborted as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
httpStatus This property is required. Number
The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director.
percentage This property is required. Number
The percentage of traffic for connections, operations, or requests that is aborted as part of fault injection. The value must be from 0.0 to 100.0 inclusive.

HttpFaultDelay
, HttpFaultDelayArgs

FixedDelay Pulumi.GoogleNative.Compute.Alpha.Inputs.Duration
Specifies the value of the fixed delay interval.
Percentage double
The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
FixedDelay Duration
Specifies the value of the fixed delay interval.
Percentage float64
The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
fixedDelay Duration
Specifies the value of the fixed delay interval.
percentage Double
The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
fixedDelay Duration
Specifies the value of the fixed delay interval.
percentage number
The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
fixed_delay Duration
Specifies the value of the fixed delay interval.
percentage float
The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
fixedDelay Property Map
Specifies the value of the fixed delay interval.
percentage Number
The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive.

HttpFaultDelayResponse
, HttpFaultDelayResponseArgs

FixedDelay This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.DurationResponse
Specifies the value of the fixed delay interval.
Percentage This property is required. double
The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
FixedDelay This property is required. DurationResponse
Specifies the value of the fixed delay interval.
Percentage This property is required. float64
The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
fixedDelay This property is required. DurationResponse
Specifies the value of the fixed delay interval.
percentage This property is required. Double
The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
fixedDelay This property is required. DurationResponse
Specifies the value of the fixed delay interval.
percentage This property is required. number
The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
fixed_delay This property is required. DurationResponse
Specifies the value of the fixed delay interval.
percentage This property is required. float
The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive.
fixedDelay This property is required. Property Map
Specifies the value of the fixed delay interval.
percentage This property is required. Number
The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive.

HttpFaultInjection
, HttpFaultInjectionArgs

Abort Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpFaultAbort
The specification for how client requests are aborted as part of fault injection.
Delay Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpFaultDelay
The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
Abort HttpFaultAbort
The specification for how client requests are aborted as part of fault injection.
Delay HttpFaultDelay
The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
abort HttpFaultAbort
The specification for how client requests are aborted as part of fault injection.
delay HttpFaultDelay
The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
abort HttpFaultAbort
The specification for how client requests are aborted as part of fault injection.
delay HttpFaultDelay
The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
abort HttpFaultAbort
The specification for how client requests are aborted as part of fault injection.
delay HttpFaultDelay
The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
abort Property Map
The specification for how client requests are aborted as part of fault injection.
delay Property Map
The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.

HttpFaultInjectionResponse
, HttpFaultInjectionResponseArgs

Abort This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpFaultAbortResponse
The specification for how client requests are aborted as part of fault injection.
Delay This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpFaultDelayResponse
The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
Abort This property is required. HttpFaultAbortResponse
The specification for how client requests are aborted as part of fault injection.
Delay This property is required. HttpFaultDelayResponse
The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
abort This property is required. HttpFaultAbortResponse
The specification for how client requests are aborted as part of fault injection.
delay This property is required. HttpFaultDelayResponse
The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
abort This property is required. HttpFaultAbortResponse
The specification for how client requests are aborted as part of fault injection.
delay This property is required. HttpFaultDelayResponse
The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
abort This property is required. HttpFaultAbortResponse
The specification for how client requests are aborted as part of fault injection.
delay This property is required. HttpFaultDelayResponse
The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
abort This property is required. Property Map
The specification for how client requests are aborted as part of fault injection.
delay This property is required. Property Map
The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.

HttpFilterConfig
, HttpFilterConfigArgs

Config string
The configuration needed to enable the networkservices.HttpFilter resource. The configuration must be YAML formatted and only contain fields defined in the protobuf identified in configTypeUrl
ConfigTypeUrl string
The fully qualified versioned proto3 type url of the protobuf that the filter expects for its contextual settings, for example: type.googleapis.com/google.protobuf.Struct
FilterName string
Name of the networkservices.HttpFilter resource this configuration belongs to. This name must be known to the xDS client. Example: envoy.wasm
Config string
The configuration needed to enable the networkservices.HttpFilter resource. The configuration must be YAML formatted and only contain fields defined in the protobuf identified in configTypeUrl
ConfigTypeUrl string
The fully qualified versioned proto3 type url of the protobuf that the filter expects for its contextual settings, for example: type.googleapis.com/google.protobuf.Struct
FilterName string
Name of the networkservices.HttpFilter resource this configuration belongs to. This name must be known to the xDS client. Example: envoy.wasm
config String
The configuration needed to enable the networkservices.HttpFilter resource. The configuration must be YAML formatted and only contain fields defined in the protobuf identified in configTypeUrl
configTypeUrl String
The fully qualified versioned proto3 type url of the protobuf that the filter expects for its contextual settings, for example: type.googleapis.com/google.protobuf.Struct
filterName String
Name of the networkservices.HttpFilter resource this configuration belongs to. This name must be known to the xDS client. Example: envoy.wasm
config string
The configuration needed to enable the networkservices.HttpFilter resource. The configuration must be YAML formatted and only contain fields defined in the protobuf identified in configTypeUrl
configTypeUrl string
The fully qualified versioned proto3 type url of the protobuf that the filter expects for its contextual settings, for example: type.googleapis.com/google.protobuf.Struct
filterName string
Name of the networkservices.HttpFilter resource this configuration belongs to. This name must be known to the xDS client. Example: envoy.wasm
config str
The configuration needed to enable the networkservices.HttpFilter resource. The configuration must be YAML formatted and only contain fields defined in the protobuf identified in configTypeUrl
config_type_url str
The fully qualified versioned proto3 type url of the protobuf that the filter expects for its contextual settings, for example: type.googleapis.com/google.protobuf.Struct
filter_name str
Name of the networkservices.HttpFilter resource this configuration belongs to. This name must be known to the xDS client. Example: envoy.wasm
config String
The configuration needed to enable the networkservices.HttpFilter resource. The configuration must be YAML formatted and only contain fields defined in the protobuf identified in configTypeUrl
configTypeUrl String
The fully qualified versioned proto3 type url of the protobuf that the filter expects for its contextual settings, for example: type.googleapis.com/google.protobuf.Struct
filterName String
Name of the networkservices.HttpFilter resource this configuration belongs to. This name must be known to the xDS client. Example: envoy.wasm

HttpFilterConfigResponse
, HttpFilterConfigResponseArgs

Config This property is required. string
The configuration needed to enable the networkservices.HttpFilter resource. The configuration must be YAML formatted and only contain fields defined in the protobuf identified in configTypeUrl
ConfigTypeUrl This property is required. string
The fully qualified versioned proto3 type url of the protobuf that the filter expects for its contextual settings, for example: type.googleapis.com/google.protobuf.Struct
FilterName This property is required. string
Name of the networkservices.HttpFilter resource this configuration belongs to. This name must be known to the xDS client. Example: envoy.wasm
Config This property is required. string
The configuration needed to enable the networkservices.HttpFilter resource. The configuration must be YAML formatted and only contain fields defined in the protobuf identified in configTypeUrl
ConfigTypeUrl This property is required. string
The fully qualified versioned proto3 type url of the protobuf that the filter expects for its contextual settings, for example: type.googleapis.com/google.protobuf.Struct
FilterName This property is required. string
Name of the networkservices.HttpFilter resource this configuration belongs to. This name must be known to the xDS client. Example: envoy.wasm
config This property is required. String
The configuration needed to enable the networkservices.HttpFilter resource. The configuration must be YAML formatted and only contain fields defined in the protobuf identified in configTypeUrl
configTypeUrl This property is required. String
The fully qualified versioned proto3 type url of the protobuf that the filter expects for its contextual settings, for example: type.googleapis.com/google.protobuf.Struct
filterName This property is required. String
Name of the networkservices.HttpFilter resource this configuration belongs to. This name must be known to the xDS client. Example: envoy.wasm
config This property is required. string
The configuration needed to enable the networkservices.HttpFilter resource. The configuration must be YAML formatted and only contain fields defined in the protobuf identified in configTypeUrl
configTypeUrl This property is required. string
The fully qualified versioned proto3 type url of the protobuf that the filter expects for its contextual settings, for example: type.googleapis.com/google.protobuf.Struct
filterName This property is required. string
Name of the networkservices.HttpFilter resource this configuration belongs to. This name must be known to the xDS client. Example: envoy.wasm
config This property is required. str
The configuration needed to enable the networkservices.HttpFilter resource. The configuration must be YAML formatted and only contain fields defined in the protobuf identified in configTypeUrl
config_type_url This property is required. str
The fully qualified versioned proto3 type url of the protobuf that the filter expects for its contextual settings, for example: type.googleapis.com/google.protobuf.Struct
filter_name This property is required. str
Name of the networkservices.HttpFilter resource this configuration belongs to. This name must be known to the xDS client. Example: envoy.wasm
config This property is required. String
The configuration needed to enable the networkservices.HttpFilter resource. The configuration must be YAML formatted and only contain fields defined in the protobuf identified in configTypeUrl
configTypeUrl This property is required. String
The fully qualified versioned proto3 type url of the protobuf that the filter expects for its contextual settings, for example: type.googleapis.com/google.protobuf.Struct
filterName This property is required. String
Name of the networkservices.HttpFilter resource this configuration belongs to. This name must be known to the xDS client. Example: envoy.wasm

HttpHeaderAction
, HttpHeaderActionArgs

RequestHeadersToAdd List<Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpHeaderOption>
Headers to add to a matching request before forwarding the request to the backendService.
RequestHeadersToRemove List<string>
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
ResponseHeadersToAdd List<Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpHeaderOption>
Headers to add the response before sending the response back to the client.
ResponseHeadersToRemove List<string>
A list of header names for headers that need to be removed from the response before sending the response back to the client.
RequestHeadersToAdd []HttpHeaderOption
Headers to add to a matching request before forwarding the request to the backendService.
RequestHeadersToRemove []string
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
ResponseHeadersToAdd []HttpHeaderOption
Headers to add the response before sending the response back to the client.
ResponseHeadersToRemove []string
A list of header names for headers that need to be removed from the response before sending the response back to the client.
requestHeadersToAdd List<HttpHeaderOption>
Headers to add to a matching request before forwarding the request to the backendService.
requestHeadersToRemove List<String>
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
responseHeadersToAdd List<HttpHeaderOption>
Headers to add the response before sending the response back to the client.
responseHeadersToRemove List<String>
A list of header names for headers that need to be removed from the response before sending the response back to the client.
requestHeadersToAdd HttpHeaderOption[]
Headers to add to a matching request before forwarding the request to the backendService.
requestHeadersToRemove string[]
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
responseHeadersToAdd HttpHeaderOption[]
Headers to add the response before sending the response back to the client.
responseHeadersToRemove string[]
A list of header names for headers that need to be removed from the response before sending the response back to the client.
request_headers_to_add Sequence[HttpHeaderOption]
Headers to add to a matching request before forwarding the request to the backendService.
request_headers_to_remove Sequence[str]
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
response_headers_to_add Sequence[HttpHeaderOption]
Headers to add the response before sending the response back to the client.
response_headers_to_remove Sequence[str]
A list of header names for headers that need to be removed from the response before sending the response back to the client.
requestHeadersToAdd List<Property Map>
Headers to add to a matching request before forwarding the request to the backendService.
requestHeadersToRemove List<String>
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
responseHeadersToAdd List<Property Map>
Headers to add the response before sending the response back to the client.
responseHeadersToRemove List<String>
A list of header names for headers that need to be removed from the response before sending the response back to the client.

HttpHeaderActionResponse
, HttpHeaderActionResponseArgs

RequestHeadersToAdd This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpHeaderOptionResponse>
Headers to add to a matching request before forwarding the request to the backendService.
RequestHeadersToRemove This property is required. List<string>
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
ResponseHeadersToAdd This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpHeaderOptionResponse>
Headers to add the response before sending the response back to the client.
ResponseHeadersToRemove This property is required. List<string>
A list of header names for headers that need to be removed from the response before sending the response back to the client.
RequestHeadersToAdd This property is required. []HttpHeaderOptionResponse
Headers to add to a matching request before forwarding the request to the backendService.
RequestHeadersToRemove This property is required. []string
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
ResponseHeadersToAdd This property is required. []HttpHeaderOptionResponse
Headers to add the response before sending the response back to the client.
ResponseHeadersToRemove This property is required. []string
A list of header names for headers that need to be removed from the response before sending the response back to the client.
requestHeadersToAdd This property is required. List<HttpHeaderOptionResponse>
Headers to add to a matching request before forwarding the request to the backendService.
requestHeadersToRemove This property is required. List<String>
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
responseHeadersToAdd This property is required. List<HttpHeaderOptionResponse>
Headers to add the response before sending the response back to the client.
responseHeadersToRemove This property is required. List<String>
A list of header names for headers that need to be removed from the response before sending the response back to the client.
requestHeadersToAdd This property is required. HttpHeaderOptionResponse[]
Headers to add to a matching request before forwarding the request to the backendService.
requestHeadersToRemove This property is required. string[]
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
responseHeadersToAdd This property is required. HttpHeaderOptionResponse[]
Headers to add the response before sending the response back to the client.
responseHeadersToRemove This property is required. string[]
A list of header names for headers that need to be removed from the response before sending the response back to the client.
request_headers_to_add This property is required. Sequence[HttpHeaderOptionResponse]
Headers to add to a matching request before forwarding the request to the backendService.
request_headers_to_remove This property is required. Sequence[str]
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
response_headers_to_add This property is required. Sequence[HttpHeaderOptionResponse]
Headers to add the response before sending the response back to the client.
response_headers_to_remove This property is required. Sequence[str]
A list of header names for headers that need to be removed from the response before sending the response back to the client.
requestHeadersToAdd This property is required. List<Property Map>
Headers to add to a matching request before forwarding the request to the backendService.
requestHeadersToRemove This property is required. List<String>
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
responseHeadersToAdd This property is required. List<Property Map>
Headers to add the response before sending the response back to the client.
responseHeadersToRemove This property is required. List<String>
A list of header names for headers that need to be removed from the response before sending the response back to the client.

HttpHeaderMatch
, HttpHeaderMatchArgs

ExactMatch string
The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
HeaderName string
The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". When the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true, only non-binary user-specified custom metadata and the content-type header are supported. The following transport-level headers cannot be used in header matching rules: :authority, :method, :path, :scheme, user-agent, accept-encoding, content-encoding, grpc-accept-encoding, grpc-encoding, grpc-previous-rpc-attempts, grpc-tags-bin, grpc-timeout and grpc-trace-bin.
InvertMatch bool
If set to false, the headerMatch is considered a match if the preceding match criteria are met. If set to true, the headerMatch is considered a match if the preceding match criteria are NOT met. The default setting is false.
PrefixMatch string
The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
PresentMatch bool
A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
RangeMatch Pulumi.GoogleNative.Compute.Alpha.Inputs.Int64RangeMatch
The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL.
RegexMatch string
The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
SuffixMatch string
The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
ExactMatch string
The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
HeaderName string
The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". When the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true, only non-binary user-specified custom metadata and the content-type header are supported. The following transport-level headers cannot be used in header matching rules: :authority, :method, :path, :scheme, user-agent, accept-encoding, content-encoding, grpc-accept-encoding, grpc-encoding, grpc-previous-rpc-attempts, grpc-tags-bin, grpc-timeout and grpc-trace-bin.
InvertMatch bool
If set to false, the headerMatch is considered a match if the preceding match criteria are met. If set to true, the headerMatch is considered a match if the preceding match criteria are NOT met. The default setting is false.
PrefixMatch string
The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
PresentMatch bool
A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
RangeMatch Int64RangeMatch
The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL.
RegexMatch string
The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
SuffixMatch string
The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
exactMatch String
The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
headerName String
The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". When the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true, only non-binary user-specified custom metadata and the content-type header are supported. The following transport-level headers cannot be used in header matching rules: :authority, :method, :path, :scheme, user-agent, accept-encoding, content-encoding, grpc-accept-encoding, grpc-encoding, grpc-previous-rpc-attempts, grpc-tags-bin, grpc-timeout and grpc-trace-bin.
invertMatch Boolean
If set to false, the headerMatch is considered a match if the preceding match criteria are met. If set to true, the headerMatch is considered a match if the preceding match criteria are NOT met. The default setting is false.
prefixMatch String
The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
presentMatch Boolean
A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
rangeMatch Int64RangeMatch
The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL.
regexMatch String
The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
suffixMatch String
The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
exactMatch string
The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
headerName string
The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". When the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true, only non-binary user-specified custom metadata and the content-type header are supported. The following transport-level headers cannot be used in header matching rules: :authority, :method, :path, :scheme, user-agent, accept-encoding, content-encoding, grpc-accept-encoding, grpc-encoding, grpc-previous-rpc-attempts, grpc-tags-bin, grpc-timeout and grpc-trace-bin.
invertMatch boolean
If set to false, the headerMatch is considered a match if the preceding match criteria are met. If set to true, the headerMatch is considered a match if the preceding match criteria are NOT met. The default setting is false.
prefixMatch string
The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
presentMatch boolean
A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
rangeMatch Int64RangeMatch
The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL.
regexMatch string
The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
suffixMatch string
The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
exact_match str
The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
header_name str
The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". When the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true, only non-binary user-specified custom metadata and the content-type header are supported. The following transport-level headers cannot be used in header matching rules: :authority, :method, :path, :scheme, user-agent, accept-encoding, content-encoding, grpc-accept-encoding, grpc-encoding, grpc-previous-rpc-attempts, grpc-tags-bin, grpc-timeout and grpc-trace-bin.
invert_match bool
If set to false, the headerMatch is considered a match if the preceding match criteria are met. If set to true, the headerMatch is considered a match if the preceding match criteria are NOT met. The default setting is false.
prefix_match str
The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
present_match bool
A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
range_match Int64RangeMatch
The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL.
regex_match str
The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
suffix_match str
The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
exactMatch String
The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
headerName String
The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". When the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true, only non-binary user-specified custom metadata and the content-type header are supported. The following transport-level headers cannot be used in header matching rules: :authority, :method, :path, :scheme, user-agent, accept-encoding, content-encoding, grpc-accept-encoding, grpc-encoding, grpc-previous-rpc-attempts, grpc-tags-bin, grpc-timeout and grpc-trace-bin.
invertMatch Boolean
If set to false, the headerMatch is considered a match if the preceding match criteria are met. If set to true, the headerMatch is considered a match if the preceding match criteria are NOT met. The default setting is false.
prefixMatch String
The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
presentMatch Boolean
A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
rangeMatch Property Map
The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL.
regexMatch String
The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
suffixMatch String
The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.

HttpHeaderMatchResponse
, HttpHeaderMatchResponseArgs

ExactMatch This property is required. string
The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
HeaderName This property is required. string
The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". When the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true, only non-binary user-specified custom metadata and the content-type header are supported. The following transport-level headers cannot be used in header matching rules: :authority, :method, :path, :scheme, user-agent, accept-encoding, content-encoding, grpc-accept-encoding, grpc-encoding, grpc-previous-rpc-attempts, grpc-tags-bin, grpc-timeout and grpc-trace-bin.
InvertMatch This property is required. bool
If set to false, the headerMatch is considered a match if the preceding match criteria are met. If set to true, the headerMatch is considered a match if the preceding match criteria are NOT met. The default setting is false.
PrefixMatch This property is required. string
The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
PresentMatch This property is required. bool
A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
RangeMatch This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.Int64RangeMatchResponse
The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL.
RegexMatch This property is required. string
The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
SuffixMatch This property is required. string
The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
ExactMatch This property is required. string
The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
HeaderName This property is required. string
The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". When the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true, only non-binary user-specified custom metadata and the content-type header are supported. The following transport-level headers cannot be used in header matching rules: :authority, :method, :path, :scheme, user-agent, accept-encoding, content-encoding, grpc-accept-encoding, grpc-encoding, grpc-previous-rpc-attempts, grpc-tags-bin, grpc-timeout and grpc-trace-bin.
InvertMatch This property is required. bool
If set to false, the headerMatch is considered a match if the preceding match criteria are met. If set to true, the headerMatch is considered a match if the preceding match criteria are NOT met. The default setting is false.
PrefixMatch This property is required. string
The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
PresentMatch This property is required. bool
A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
RangeMatch This property is required. Int64RangeMatchResponse
The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL.
RegexMatch This property is required. string
The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
SuffixMatch This property is required. string
The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
exactMatch This property is required. String
The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
headerName This property is required. String
The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". When the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true, only non-binary user-specified custom metadata and the content-type header are supported. The following transport-level headers cannot be used in header matching rules: :authority, :method, :path, :scheme, user-agent, accept-encoding, content-encoding, grpc-accept-encoding, grpc-encoding, grpc-previous-rpc-attempts, grpc-tags-bin, grpc-timeout and grpc-trace-bin.
invertMatch This property is required. Boolean
If set to false, the headerMatch is considered a match if the preceding match criteria are met. If set to true, the headerMatch is considered a match if the preceding match criteria are NOT met. The default setting is false.
prefixMatch This property is required. String
The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
presentMatch This property is required. Boolean
A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
rangeMatch This property is required. Int64RangeMatchResponse
The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL.
regexMatch This property is required. String
The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
suffixMatch This property is required. String
The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
exactMatch This property is required. string
The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
headerName This property is required. string
The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". When the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true, only non-binary user-specified custom metadata and the content-type header are supported. The following transport-level headers cannot be used in header matching rules: :authority, :method, :path, :scheme, user-agent, accept-encoding, content-encoding, grpc-accept-encoding, grpc-encoding, grpc-previous-rpc-attempts, grpc-tags-bin, grpc-timeout and grpc-trace-bin.
invertMatch This property is required. boolean
If set to false, the headerMatch is considered a match if the preceding match criteria are met. If set to true, the headerMatch is considered a match if the preceding match criteria are NOT met. The default setting is false.
prefixMatch This property is required. string
The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
presentMatch This property is required. boolean
A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
rangeMatch This property is required. Int64RangeMatchResponse
The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL.
regexMatch This property is required. string
The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
suffixMatch This property is required. string
The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
exact_match This property is required. str
The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
header_name This property is required. str
The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". When the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true, only non-binary user-specified custom metadata and the content-type header are supported. The following transport-level headers cannot be used in header matching rules: :authority, :method, :path, :scheme, user-agent, accept-encoding, content-encoding, grpc-accept-encoding, grpc-encoding, grpc-previous-rpc-attempts, grpc-tags-bin, grpc-timeout and grpc-trace-bin.
invert_match This property is required. bool
If set to false, the headerMatch is considered a match if the preceding match criteria are met. If set to true, the headerMatch is considered a match if the preceding match criteria are NOT met. The default setting is false.
prefix_match This property is required. str
The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
present_match This property is required. bool
A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
range_match This property is required. Int64RangeMatchResponse
The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL.
regex_match This property is required. str
The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
suffix_match This property is required. str
The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
exactMatch This property is required. String
The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
headerName This property is required. String
The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". When the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true, only non-binary user-specified custom metadata and the content-type header are supported. The following transport-level headers cannot be used in header matching rules: :authority, :method, :path, :scheme, user-agent, accept-encoding, content-encoding, grpc-accept-encoding, grpc-encoding, grpc-previous-rpc-attempts, grpc-tags-bin, grpc-timeout and grpc-trace-bin.
invertMatch This property is required. Boolean
If set to false, the headerMatch is considered a match if the preceding match criteria are met. If set to true, the headerMatch is considered a match if the preceding match criteria are NOT met. The default setting is false.
prefixMatch This property is required. String
The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
presentMatch This property is required. Boolean
A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
rangeMatch This property is required. Property Map
The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL.
regexMatch This property is required. String
The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
suffixMatch This property is required. String
The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.

HttpHeaderOption
, HttpHeaderOptionArgs

HeaderName string
The name of the header.
HeaderValue string
The value of the header to add.
Replace bool
If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is false.
HeaderName string
The name of the header.
HeaderValue string
The value of the header to add.
Replace bool
If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is false.
headerName String
The name of the header.
headerValue String
The value of the header to add.
replace Boolean
If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is false.
headerName string
The name of the header.
headerValue string
The value of the header to add.
replace boolean
If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is false.
header_name str
The name of the header.
header_value str
The value of the header to add.
replace bool
If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is false.
headerName String
The name of the header.
headerValue String
The value of the header to add.
replace Boolean
If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is false.

HttpHeaderOptionResponse
, HttpHeaderOptionResponseArgs

HeaderName This property is required. string
The name of the header.
HeaderValue This property is required. string
The value of the header to add.
Replace This property is required. bool
If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is false.
HeaderName This property is required. string
The name of the header.
HeaderValue This property is required. string
The value of the header to add.
Replace This property is required. bool
If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is false.
headerName This property is required. String
The name of the header.
headerValue This property is required. String
The value of the header to add.
replace This property is required. Boolean
If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is false.
headerName This property is required. string
The name of the header.
headerValue This property is required. string
The value of the header to add.
replace This property is required. boolean
If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is false.
header_name This property is required. str
The name of the header.
header_value This property is required. str
The value of the header to add.
replace This property is required. bool
If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is false.
headerName This property is required. String
The name of the header.
headerValue This property is required. String
The value of the header to add.
replace This property is required. Boolean
If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is false.

HttpQueryParameterMatch
, HttpQueryParameterMatchArgs

ExactMatch string
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
Name string
The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
PresentMatch bool
Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.
RegexMatch string
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
ExactMatch string
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
Name string
The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
PresentMatch bool
Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.
RegexMatch string
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
exactMatch String
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
name String
The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
presentMatch Boolean
Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.
regexMatch String
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
exactMatch string
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
name string
The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
presentMatch boolean
Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.
regexMatch string
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
exact_match str
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
name str
The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
present_match bool
Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.
regex_match str
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
exactMatch String
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
name String
The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
presentMatch Boolean
Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.
regexMatch String
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.

HttpQueryParameterMatchResponse
, HttpQueryParameterMatchResponseArgs

ExactMatch This property is required. string
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
Name This property is required. string
The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
PresentMatch This property is required. bool
Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.
RegexMatch This property is required. string
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
ExactMatch This property is required. string
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
Name This property is required. string
The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
PresentMatch This property is required. bool
Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.
RegexMatch This property is required. string
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
exactMatch This property is required. String
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
name This property is required. String
The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
presentMatch This property is required. Boolean
Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.
regexMatch This property is required. String
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
exactMatch This property is required. string
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
name This property is required. string
The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
presentMatch This property is required. boolean
Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.
regexMatch This property is required. string
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
exact_match This property is required. str
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
name This property is required. str
The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
present_match This property is required. bool
Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.
regex_match This property is required. str
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
exactMatch This property is required. String
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
name This property is required. String
The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
presentMatch This property is required. Boolean
Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.
regexMatch This property is required. String
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.

HttpRedirectAction
, HttpRedirectActionArgs

HostRedirect string
The host that is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters.
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 remains the same as that of the request. This must only be set for URL maps used in TargetHttpProxys. Setting this true for TargetHttpsProxy is not permitted. The default is set to false.
PathRedirect string
The path that is used in the redirect response instead of the one that was supplied in the request. pathRedirect cannot be supplied together with prefixRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
PrefixRedirect string
The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, retaining the remaining portion of the URL before redirecting the request. prefixRedirect cannot be supplied together with pathRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
RedirectResponseCode Pulumi.GoogleNative.Compute.Alpha.HttpRedirectActionRedirectResponseCode
The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained.
StripQuery bool
If set to true, any accompanying query portion of the original URL is removed before 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 is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters.
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 remains the same as that of the request. This must only be set for URL maps used in TargetHttpProxys. Setting this true for TargetHttpsProxy is not permitted. The default is set to false.
PathRedirect string
The path that is used in the redirect response instead of the one that was supplied in the request. pathRedirect cannot be supplied together with prefixRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
PrefixRedirect string
The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, retaining the remaining portion of the URL before redirecting the request. prefixRedirect cannot be supplied together with pathRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
RedirectResponseCode HttpRedirectActionRedirectResponseCode
The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained.
StripQuery bool
If set to true, any accompanying query portion of the original URL is removed before 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 is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters.
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 remains the same as that of the request. This must only be set for URL maps used in TargetHttpProxys. Setting this true for TargetHttpsProxy is not permitted. The default is set to false.
pathRedirect String
The path that is used in the redirect response instead of the one that was supplied in the request. pathRedirect cannot be supplied together with prefixRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
prefixRedirect String
The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, retaining the remaining portion of the URL before redirecting the request. prefixRedirect cannot be supplied together with pathRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
redirectResponseCode HttpRedirectActionRedirectResponseCode
The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained.
stripQuery Boolean
If set to true, any accompanying query portion of the original URL is removed before 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 is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters.
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 remains the same as that of the request. This must only be set for URL maps used in TargetHttpProxys. Setting this true for TargetHttpsProxy is not permitted. The default is set to false.
pathRedirect string
The path that is used in the redirect response instead of the one that was supplied in the request. pathRedirect cannot be supplied together with prefixRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
prefixRedirect string
The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, retaining the remaining portion of the URL before redirecting the request. prefixRedirect cannot be supplied together with pathRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
redirectResponseCode HttpRedirectActionRedirectResponseCode
The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained.
stripQuery boolean
If set to true, any accompanying query portion of the original URL is removed before 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 is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters.
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 remains the same as that of the request. This must only be set for URL maps used in TargetHttpProxys. Setting this true for TargetHttpsProxy is not permitted. The default is set to false.
path_redirect str
The path that is used in the redirect response instead of the one that was supplied in the request. pathRedirect cannot be supplied together with prefixRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
prefix_redirect str
The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, retaining the remaining portion of the URL before redirecting the request. prefixRedirect cannot be supplied together with pathRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
redirect_response_code HttpRedirectActionRedirectResponseCode
The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained.
strip_query bool
If set to true, any accompanying query portion of the original URL is removed before 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 is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters.
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 remains the same as that of the request. This must only be set for URL maps used in TargetHttpProxys. Setting this true for TargetHttpsProxy is not permitted. The default is set to false.
pathRedirect String
The path that is used in the redirect response instead of the one that was supplied in the request. pathRedirect cannot be supplied together with prefixRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
prefixRedirect String
The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, retaining the remaining portion of the URL before redirecting the request. prefixRedirect cannot be supplied together with pathRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
redirectResponseCode "FOUND" | "MOVED_PERMANENTLY_DEFAULT" | "PERMANENT_REDIRECT" | "SEE_OTHER" | "TEMPORARY_REDIRECT"
The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained.
stripQuery Boolean
If set to true, any accompanying query portion of the original URL is removed before redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.

HttpRedirectActionRedirectResponseCode
, HttpRedirectActionRedirectResponseCodeArgs

Found
FOUNDHttp Status Code 302 - Found.
MovedPermanentlyDefault
MOVED_PERMANENTLY_DEFAULTHttp Status Code 301 - Moved Permanently.
PermanentRedirect
PERMANENT_REDIRECTHttp Status Code 308 - Permanent Redirect maintaining HTTP method.
SeeOther
SEE_OTHERHttp Status Code 303 - See Other.
TemporaryRedirect
TEMPORARY_REDIRECTHttp Status Code 307 - Temporary Redirect maintaining HTTP method.
HttpRedirectActionRedirectResponseCodeFound
FOUNDHttp Status Code 302 - Found.
HttpRedirectActionRedirectResponseCodeMovedPermanentlyDefault
MOVED_PERMANENTLY_DEFAULTHttp Status Code 301 - Moved Permanently.
HttpRedirectActionRedirectResponseCodePermanentRedirect
PERMANENT_REDIRECTHttp Status Code 308 - Permanent Redirect maintaining HTTP method.
HttpRedirectActionRedirectResponseCodeSeeOther
SEE_OTHERHttp Status Code 303 - See Other.
HttpRedirectActionRedirectResponseCodeTemporaryRedirect
TEMPORARY_REDIRECTHttp Status Code 307 - Temporary Redirect maintaining HTTP method.
Found
FOUNDHttp Status Code 302 - Found.
MovedPermanentlyDefault
MOVED_PERMANENTLY_DEFAULTHttp Status Code 301 - Moved Permanently.
PermanentRedirect
PERMANENT_REDIRECTHttp Status Code 308 - Permanent Redirect maintaining HTTP method.
SeeOther
SEE_OTHERHttp Status Code 303 - See Other.
TemporaryRedirect
TEMPORARY_REDIRECTHttp Status Code 307 - Temporary Redirect maintaining HTTP method.
Found
FOUNDHttp Status Code 302 - Found.
MovedPermanentlyDefault
MOVED_PERMANENTLY_DEFAULTHttp Status Code 301 - Moved Permanently.
PermanentRedirect
PERMANENT_REDIRECTHttp Status Code 308 - Permanent Redirect maintaining HTTP method.
SeeOther
SEE_OTHERHttp Status Code 303 - See Other.
TemporaryRedirect
TEMPORARY_REDIRECTHttp Status Code 307 - Temporary Redirect maintaining HTTP method.
FOUND
FOUNDHttp Status Code 302 - Found.
MOVED_PERMANENTLY_DEFAULT
MOVED_PERMANENTLY_DEFAULTHttp Status Code 301 - Moved Permanently.
PERMANENT_REDIRECT
PERMANENT_REDIRECTHttp Status Code 308 - Permanent Redirect maintaining HTTP method.
SEE_OTHER
SEE_OTHERHttp Status Code 303 - See Other.
TEMPORARY_REDIRECT
TEMPORARY_REDIRECTHttp Status Code 307 - Temporary Redirect maintaining HTTP method.
"FOUND"
FOUNDHttp Status Code 302 - Found.
"MOVED_PERMANENTLY_DEFAULT"
MOVED_PERMANENTLY_DEFAULTHttp Status Code 301 - Moved Permanently.
"PERMANENT_REDIRECT"
PERMANENT_REDIRECTHttp Status Code 308 - Permanent Redirect maintaining HTTP method.
"SEE_OTHER"
SEE_OTHERHttp Status Code 303 - See Other.
"TEMPORARY_REDIRECT"
TEMPORARY_REDIRECTHttp Status Code 307 - Temporary Redirect maintaining HTTP method.

HttpRedirectActionResponse
, HttpRedirectActionResponseArgs

HostRedirect This property is required. string
The host that is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters.
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 remains the same as that of the request. This must only be set for URL maps used in TargetHttpProxys. Setting this true for TargetHttpsProxy is not permitted. The default is set to false.
PathRedirect This property is required. string
The path that is used in the redirect response instead of the one that was supplied in the request. pathRedirect cannot be supplied together with prefixRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
PrefixRedirect This property is required. string
The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, retaining the remaining portion of the URL before redirecting the request. prefixRedirect cannot be supplied together with pathRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
RedirectResponseCode This property is required. string
The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained.
StripQuery This property is required. bool
If set to true, any accompanying query portion of the original URL is removed before 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 is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters.
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 remains the same as that of the request. This must only be set for URL maps used in TargetHttpProxys. Setting this true for TargetHttpsProxy is not permitted. The default is set to false.
PathRedirect This property is required. string
The path that is used in the redirect response instead of the one that was supplied in the request. pathRedirect cannot be supplied together with prefixRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
PrefixRedirect This property is required. string
The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, retaining the remaining portion of the URL before redirecting the request. prefixRedirect cannot be supplied together with pathRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
RedirectResponseCode This property is required. string
The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained.
StripQuery This property is required. bool
If set to true, any accompanying query portion of the original URL is removed before 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 is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters.
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 remains the same as that of the request. This must only be set for URL maps used in TargetHttpProxys. Setting this true for TargetHttpsProxy is not permitted. The default is set to false.
pathRedirect This property is required. String
The path that is used in the redirect response instead of the one that was supplied in the request. pathRedirect cannot be supplied together with prefixRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
prefixRedirect This property is required. String
The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, retaining the remaining portion of the URL before redirecting the request. prefixRedirect cannot be supplied together with pathRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
redirectResponseCode This property is required. String
The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained.
stripQuery This property is required. Boolean
If set to true, any accompanying query portion of the original URL is removed before 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 is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters.
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 remains the same as that of the request. This must only be set for URL maps used in TargetHttpProxys. Setting this true for TargetHttpsProxy is not permitted. The default is set to false.
pathRedirect This property is required. string
The path that is used in the redirect response instead of the one that was supplied in the request. pathRedirect cannot be supplied together with prefixRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
prefixRedirect This property is required. string
The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, retaining the remaining portion of the URL before redirecting the request. prefixRedirect cannot be supplied together with pathRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
redirectResponseCode This property is required. string
The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained.
stripQuery This property is required. boolean
If set to true, any accompanying query portion of the original URL is removed before 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 is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters.
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 remains the same as that of the request. This must only be set for URL maps used in TargetHttpProxys. Setting this true for TargetHttpsProxy is not permitted. The default is set to false.
path_redirect This property is required. str
The path that is used in the redirect response instead of the one that was supplied in the request. pathRedirect cannot be supplied together with prefixRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
prefix_redirect This property is required. str
The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, retaining the remaining portion of the URL before redirecting the request. prefixRedirect cannot be supplied together with pathRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
redirect_response_code This property is required. str
The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained.
strip_query This property is required. bool
If set to true, any accompanying query portion of the original URL is removed before 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 is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters.
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 remains the same as that of the request. This must only be set for URL maps used in TargetHttpProxys. Setting this true for TargetHttpsProxy is not permitted. The default is set to false.
pathRedirect This property is required. String
The path that is used in the redirect response instead of the one that was supplied in the request. pathRedirect cannot be supplied together with prefixRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
prefixRedirect This property is required. String
The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, retaining the remaining portion of the URL before redirecting the request. prefixRedirect cannot be supplied together with pathRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.
redirectResponseCode This property is required. String
The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained.
stripQuery This property is required. Boolean
If set to true, any accompanying query portion of the original URL is removed before redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.

HttpRetryPolicy
, HttpRetryPolicyArgs

NumRetries int
Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1.
PerTryTimeout Pulumi.GoogleNative.Compute.Alpha.Inputs.Duration
Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in the HttpRouteAction field. If timeout in the HttpRouteAction field is not set, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
RetryConditions List<string>
Specifies one or more conditions when this retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint responds with any 5xx response code, or if the instance or endpoint does not respond at all. For example, disconnects, reset, read timeout, connection failure, and refused streams. - gateway-error: Similar to 5xx, but only applies to response codes 502, 503 or 504. - connect-failure: a retry is attempted on failures connecting to the instance or endpoint. For example, connection timeouts. - retriable-4xx: a retry is attempted if the instance or endpoint responds with a 4xx response code. The only error that you can retry is error code 409. - refused-stream: a retry is attempted if the instance or endpoint resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: a retry is attempted if the gRPC status code in the response header is set to cancelled. - deadline-exceeded: a retry is attempted if the gRPC status code in the response header is set to deadline-exceeded. - internal: a retry is attempted if the gRPC status code in the response header is set to internal. - resource-exhausted: a retry is attempted if the gRPC status code in the response header is set to resource-exhausted. - unavailable: a retry is attempted if the gRPC status code in the response header is set to unavailable. Only the following codes are supported when the URL map is bound to target gRPC proxy that has validateForProxyless field set to true. - cancelled - deadline-exceeded - internal - resource-exhausted - unavailable
NumRetries int
Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1.
PerTryTimeout Duration
Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in the HttpRouteAction field. If timeout in the HttpRouteAction field is not set, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
RetryConditions []string
Specifies one or more conditions when this retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint responds with any 5xx response code, or if the instance or endpoint does not respond at all. For example, disconnects, reset, read timeout, connection failure, and refused streams. - gateway-error: Similar to 5xx, but only applies to response codes 502, 503 or 504. - connect-failure: a retry is attempted on failures connecting to the instance or endpoint. For example, connection timeouts. - retriable-4xx: a retry is attempted if the instance or endpoint responds with a 4xx response code. The only error that you can retry is error code 409. - refused-stream: a retry is attempted if the instance or endpoint resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: a retry is attempted if the gRPC status code in the response header is set to cancelled. - deadline-exceeded: a retry is attempted if the gRPC status code in the response header is set to deadline-exceeded. - internal: a retry is attempted if the gRPC status code in the response header is set to internal. - resource-exhausted: a retry is attempted if the gRPC status code in the response header is set to resource-exhausted. - unavailable: a retry is attempted if the gRPC status code in the response header is set to unavailable. Only the following codes are supported when the URL map is bound to target gRPC proxy that has validateForProxyless field set to true. - cancelled - deadline-exceeded - internal - resource-exhausted - unavailable
numRetries Integer
Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1.
perTryTimeout Duration
Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in the HttpRouteAction field. If timeout in the HttpRouteAction field is not set, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
retryConditions List<String>
Specifies one or more conditions when this retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint responds with any 5xx response code, or if the instance or endpoint does not respond at all. For example, disconnects, reset, read timeout, connection failure, and refused streams. - gateway-error: Similar to 5xx, but only applies to response codes 502, 503 or 504. - connect-failure: a retry is attempted on failures connecting to the instance or endpoint. For example, connection timeouts. - retriable-4xx: a retry is attempted if the instance or endpoint responds with a 4xx response code. The only error that you can retry is error code 409. - refused-stream: a retry is attempted if the instance or endpoint resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: a retry is attempted if the gRPC status code in the response header is set to cancelled. - deadline-exceeded: a retry is attempted if the gRPC status code in the response header is set to deadline-exceeded. - internal: a retry is attempted if the gRPC status code in the response header is set to internal. - resource-exhausted: a retry is attempted if the gRPC status code in the response header is set to resource-exhausted. - unavailable: a retry is attempted if the gRPC status code in the response header is set to unavailable. Only the following codes are supported when the URL map is bound to target gRPC proxy that has validateForProxyless field set to true. - cancelled - deadline-exceeded - internal - resource-exhausted - unavailable
numRetries number
Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1.
perTryTimeout Duration
Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in the HttpRouteAction field. If timeout in the HttpRouteAction field is not set, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
retryConditions string[]
Specifies one or more conditions when this retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint responds with any 5xx response code, or if the instance or endpoint does not respond at all. For example, disconnects, reset, read timeout, connection failure, and refused streams. - gateway-error: Similar to 5xx, but only applies to response codes 502, 503 or 504. - connect-failure: a retry is attempted on failures connecting to the instance or endpoint. For example, connection timeouts. - retriable-4xx: a retry is attempted if the instance or endpoint responds with a 4xx response code. The only error that you can retry is error code 409. - refused-stream: a retry is attempted if the instance or endpoint resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: a retry is attempted if the gRPC status code in the response header is set to cancelled. - deadline-exceeded: a retry is attempted if the gRPC status code in the response header is set to deadline-exceeded. - internal: a retry is attempted if the gRPC status code in the response header is set to internal. - resource-exhausted: a retry is attempted if the gRPC status code in the response header is set to resource-exhausted. - unavailable: a retry is attempted if the gRPC status code in the response header is set to unavailable. Only the following codes are supported when the URL map is bound to target gRPC proxy that has validateForProxyless field set to true. - cancelled - deadline-exceeded - internal - resource-exhausted - unavailable
num_retries int
Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1.
per_try_timeout Duration
Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in the HttpRouteAction field. If timeout in the HttpRouteAction field is not set, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
retry_conditions Sequence[str]
Specifies one or more conditions when this retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint responds with any 5xx response code, or if the instance or endpoint does not respond at all. For example, disconnects, reset, read timeout, connection failure, and refused streams. - gateway-error: Similar to 5xx, but only applies to response codes 502, 503 or 504. - connect-failure: a retry is attempted on failures connecting to the instance or endpoint. For example, connection timeouts. - retriable-4xx: a retry is attempted if the instance or endpoint responds with a 4xx response code. The only error that you can retry is error code 409. - refused-stream: a retry is attempted if the instance or endpoint resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: a retry is attempted if the gRPC status code in the response header is set to cancelled. - deadline-exceeded: a retry is attempted if the gRPC status code in the response header is set to deadline-exceeded. - internal: a retry is attempted if the gRPC status code in the response header is set to internal. - resource-exhausted: a retry is attempted if the gRPC status code in the response header is set to resource-exhausted. - unavailable: a retry is attempted if the gRPC status code in the response header is set to unavailable. Only the following codes are supported when the URL map is bound to target gRPC proxy that has validateForProxyless field set to true. - cancelled - deadline-exceeded - internal - resource-exhausted - unavailable
numRetries Number
Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1.
perTryTimeout Property Map
Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in the HttpRouteAction field. If timeout in the HttpRouteAction field is not set, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
retryConditions List<String>
Specifies one or more conditions when this retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint responds with any 5xx response code, or if the instance or endpoint does not respond at all. For example, disconnects, reset, read timeout, connection failure, and refused streams. - gateway-error: Similar to 5xx, but only applies to response codes 502, 503 or 504. - connect-failure: a retry is attempted on failures connecting to the instance or endpoint. For example, connection timeouts. - retriable-4xx: a retry is attempted if the instance or endpoint responds with a 4xx response code. The only error that you can retry is error code 409. - refused-stream: a retry is attempted if the instance or endpoint resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: a retry is attempted if the gRPC status code in the response header is set to cancelled. - deadline-exceeded: a retry is attempted if the gRPC status code in the response header is set to deadline-exceeded. - internal: a retry is attempted if the gRPC status code in the response header is set to internal. - resource-exhausted: a retry is attempted if the gRPC status code in the response header is set to resource-exhausted. - unavailable: a retry is attempted if the gRPC status code in the response header is set to unavailable. Only the following codes are supported when the URL map is bound to target gRPC proxy that has validateForProxyless field set to true. - cancelled - deadline-exceeded - internal - resource-exhausted - unavailable

HttpRetryPolicyResponse
, HttpRetryPolicyResponseArgs

NumRetries This property is required. int
Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1.
PerTryTimeout This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.DurationResponse
Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in the HttpRouteAction field. If timeout in the HttpRouteAction field is not set, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
RetryConditions This property is required. List<string>
Specifies one or more conditions when this retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint responds with any 5xx response code, or if the instance or endpoint does not respond at all. For example, disconnects, reset, read timeout, connection failure, and refused streams. - gateway-error: Similar to 5xx, but only applies to response codes 502, 503 or 504. - connect-failure: a retry is attempted on failures connecting to the instance or endpoint. For example, connection timeouts. - retriable-4xx: a retry is attempted if the instance or endpoint responds with a 4xx response code. The only error that you can retry is error code 409. - refused-stream: a retry is attempted if the instance or endpoint resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: a retry is attempted if the gRPC status code in the response header is set to cancelled. - deadline-exceeded: a retry is attempted if the gRPC status code in the response header is set to deadline-exceeded. - internal: a retry is attempted if the gRPC status code in the response header is set to internal. - resource-exhausted: a retry is attempted if the gRPC status code in the response header is set to resource-exhausted. - unavailable: a retry is attempted if the gRPC status code in the response header is set to unavailable. Only the following codes are supported when the URL map is bound to target gRPC proxy that has validateForProxyless field set to true. - cancelled - deadline-exceeded - internal - resource-exhausted - unavailable
NumRetries This property is required. int
Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1.
PerTryTimeout This property is required. DurationResponse
Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in the HttpRouteAction field. If timeout in the HttpRouteAction field is not set, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
RetryConditions This property is required. []string
Specifies one or more conditions when this retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint responds with any 5xx response code, or if the instance or endpoint does not respond at all. For example, disconnects, reset, read timeout, connection failure, and refused streams. - gateway-error: Similar to 5xx, but only applies to response codes 502, 503 or 504. - connect-failure: a retry is attempted on failures connecting to the instance or endpoint. For example, connection timeouts. - retriable-4xx: a retry is attempted if the instance or endpoint responds with a 4xx response code. The only error that you can retry is error code 409. - refused-stream: a retry is attempted if the instance or endpoint resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: a retry is attempted if the gRPC status code in the response header is set to cancelled. - deadline-exceeded: a retry is attempted if the gRPC status code in the response header is set to deadline-exceeded. - internal: a retry is attempted if the gRPC status code in the response header is set to internal. - resource-exhausted: a retry is attempted if the gRPC status code in the response header is set to resource-exhausted. - unavailable: a retry is attempted if the gRPC status code in the response header is set to unavailable. Only the following codes are supported when the URL map is bound to target gRPC proxy that has validateForProxyless field set to true. - cancelled - deadline-exceeded - internal - resource-exhausted - unavailable
numRetries This property is required. Integer
Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1.
perTryTimeout This property is required. DurationResponse
Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in the HttpRouteAction field. If timeout in the HttpRouteAction field is not set, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
retryConditions This property is required. List<String>
Specifies one or more conditions when this retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint responds with any 5xx response code, or if the instance or endpoint does not respond at all. For example, disconnects, reset, read timeout, connection failure, and refused streams. - gateway-error: Similar to 5xx, but only applies to response codes 502, 503 or 504. - connect-failure: a retry is attempted on failures connecting to the instance or endpoint. For example, connection timeouts. - retriable-4xx: a retry is attempted if the instance or endpoint responds with a 4xx response code. The only error that you can retry is error code 409. - refused-stream: a retry is attempted if the instance or endpoint resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: a retry is attempted if the gRPC status code in the response header is set to cancelled. - deadline-exceeded: a retry is attempted if the gRPC status code in the response header is set to deadline-exceeded. - internal: a retry is attempted if the gRPC status code in the response header is set to internal. - resource-exhausted: a retry is attempted if the gRPC status code in the response header is set to resource-exhausted. - unavailable: a retry is attempted if the gRPC status code in the response header is set to unavailable. Only the following codes are supported when the URL map is bound to target gRPC proxy that has validateForProxyless field set to true. - cancelled - deadline-exceeded - internal - resource-exhausted - unavailable
numRetries This property is required. number
Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1.
perTryTimeout This property is required. DurationResponse
Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in the HttpRouteAction field. If timeout in the HttpRouteAction field is not set, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
retryConditions This property is required. string[]
Specifies one or more conditions when this retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint responds with any 5xx response code, or if the instance or endpoint does not respond at all. For example, disconnects, reset, read timeout, connection failure, and refused streams. - gateway-error: Similar to 5xx, but only applies to response codes 502, 503 or 504. - connect-failure: a retry is attempted on failures connecting to the instance or endpoint. For example, connection timeouts. - retriable-4xx: a retry is attempted if the instance or endpoint responds with a 4xx response code. The only error that you can retry is error code 409. - refused-stream: a retry is attempted if the instance or endpoint resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: a retry is attempted if the gRPC status code in the response header is set to cancelled. - deadline-exceeded: a retry is attempted if the gRPC status code in the response header is set to deadline-exceeded. - internal: a retry is attempted if the gRPC status code in the response header is set to internal. - resource-exhausted: a retry is attempted if the gRPC status code in the response header is set to resource-exhausted. - unavailable: a retry is attempted if the gRPC status code in the response header is set to unavailable. Only the following codes are supported when the URL map is bound to target gRPC proxy that has validateForProxyless field set to true. - cancelled - deadline-exceeded - internal - resource-exhausted - unavailable
num_retries This property is required. int
Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1.
per_try_timeout This property is required. DurationResponse
Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in the HttpRouteAction field. If timeout in the HttpRouteAction field is not set, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
retry_conditions This property is required. Sequence[str]
Specifies one or more conditions when this retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint responds with any 5xx response code, or if the instance or endpoint does not respond at all. For example, disconnects, reset, read timeout, connection failure, and refused streams. - gateway-error: Similar to 5xx, but only applies to response codes 502, 503 or 504. - connect-failure: a retry is attempted on failures connecting to the instance or endpoint. For example, connection timeouts. - retriable-4xx: a retry is attempted if the instance or endpoint responds with a 4xx response code. The only error that you can retry is error code 409. - refused-stream: a retry is attempted if the instance or endpoint resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: a retry is attempted if the gRPC status code in the response header is set to cancelled. - deadline-exceeded: a retry is attempted if the gRPC status code in the response header is set to deadline-exceeded. - internal: a retry is attempted if the gRPC status code in the response header is set to internal. - resource-exhausted: a retry is attempted if the gRPC status code in the response header is set to resource-exhausted. - unavailable: a retry is attempted if the gRPC status code in the response header is set to unavailable. Only the following codes are supported when the URL map is bound to target gRPC proxy that has validateForProxyless field set to true. - cancelled - deadline-exceeded - internal - resource-exhausted - unavailable
numRetries This property is required. Number
Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1.
perTryTimeout This property is required. Property Map
Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in the HttpRouteAction field. If timeout in the HttpRouteAction field is not set, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
retryConditions This property is required. List<String>
Specifies one or more conditions when this retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint responds with any 5xx response code, or if the instance or endpoint does not respond at all. For example, disconnects, reset, read timeout, connection failure, and refused streams. - gateway-error: Similar to 5xx, but only applies to response codes 502, 503 or 504. - connect-failure: a retry is attempted on failures connecting to the instance or endpoint. For example, connection timeouts. - retriable-4xx: a retry is attempted if the instance or endpoint responds with a 4xx response code. The only error that you can retry is error code 409. - refused-stream: a retry is attempted if the instance or endpoint resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: a retry is attempted if the gRPC status code in the response header is set to cancelled. - deadline-exceeded: a retry is attempted if the gRPC status code in the response header is set to deadline-exceeded. - internal: a retry is attempted if the gRPC status code in the response header is set to internal. - resource-exhausted: a retry is attempted if the gRPC status code in the response header is set to resource-exhausted. - unavailable: a retry is attempted if the gRPC status code in the response header is set to unavailable. Only the following codes are supported when the URL map is bound to target gRPC proxy that has validateForProxyless field set to true. - cancelled - deadline-exceeded - internal - resource-exhausted - unavailable

HttpRouteAction
, HttpRouteActionArgs

CorsPolicy Pulumi.GoogleNative.Compute.Alpha.Inputs.CorsPolicy
The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy.
FaultInjectionPolicy Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpFaultInjection
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 by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the classic Application Load Balancer . To see which load balancers support fault injection, see Load balancing: Routing and traffic management features.
MaxStreamDuration Pulumi.GoogleNative.Compute.Alpha.Inputs.Duration
Specifies the maximum duration (timeout) for streams on the selected route. Unlike the timeout field where the timeout duration starts from the time the request has been fully processed (known as end-of-stream), the duration in this field is computed from the beginning of the stream until the response has been processed, including all retries. A stream that does not complete in this duration is closed. If not specified, this field uses the maximum maxStreamDuration value among all backend services associated with the route. This field is only allowed if the Url map is used with backend services with loadBalancingScheme set to INTERNAL_SELF_MANAGED.
RequestMirrorPolicy Pulumi.GoogleNative.Compute.Alpha.Inputs.RequestMirrorPolicy
Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer does not wait for responses from the shadow service. Before sending traffic to the shadow service, the host / authority header is suffixed with -shadow. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
RetryPolicy Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpRetryPolicy
Specifies the retry policy associated with this route.
Timeout Pulumi.GoogleNative.Compute.Alpha.Inputs.Duration
Specifies the timeout for the selected route. Timeout is computed from the time the request has been fully processed (known as end-of-stream) up until the response has been processed. Timeout includes all retries. If not specified, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
UrlRewrite Pulumi.GoogleNative.Compute.Alpha.Inputs.UrlRewrite
The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for classic Application Load Balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
WeightedBackendServices List<Pulumi.GoogleNative.Compute.Alpha.Inputs.WeightedBackendService>
A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non-zero number. After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction.
CorsPolicy CorsPolicy
The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy.
FaultInjectionPolicy HttpFaultInjection
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 by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the classic Application Load Balancer . To see which load balancers support fault injection, see Load balancing: Routing and traffic management features.
MaxStreamDuration Duration
Specifies the maximum duration (timeout) for streams on the selected route. Unlike the timeout field where the timeout duration starts from the time the request has been fully processed (known as end-of-stream), the duration in this field is computed from the beginning of the stream until the response has been processed, including all retries. A stream that does not complete in this duration is closed. If not specified, this field uses the maximum maxStreamDuration value among all backend services associated with the route. This field is only allowed if the Url map is used with backend services with loadBalancingScheme set to INTERNAL_SELF_MANAGED.
RequestMirrorPolicy RequestMirrorPolicy
Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer does not wait for responses from the shadow service. Before sending traffic to the shadow service, the host / authority header is suffixed with -shadow. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
RetryPolicy HttpRetryPolicy
Specifies the retry policy associated with this route.
Timeout Duration
Specifies the timeout for the selected route. Timeout is computed from the time the request has been fully processed (known as end-of-stream) up until the response has been processed. Timeout includes all retries. If not specified, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
UrlRewrite UrlRewrite
The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for classic Application Load Balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
WeightedBackendServices []WeightedBackendService
A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non-zero number. After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction.
corsPolicy CorsPolicy
The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy.
faultInjectionPolicy HttpFaultInjection
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 by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the classic Application Load Balancer . To see which load balancers support fault injection, see Load balancing: Routing and traffic management features.
maxStreamDuration Duration
Specifies the maximum duration (timeout) for streams on the selected route. Unlike the timeout field where the timeout duration starts from the time the request has been fully processed (known as end-of-stream), the duration in this field is computed from the beginning of the stream until the response has been processed, including all retries. A stream that does not complete in this duration is closed. If not specified, this field uses the maximum maxStreamDuration value among all backend services associated with the route. This field is only allowed if the Url map is used with backend services with loadBalancingScheme set to INTERNAL_SELF_MANAGED.
requestMirrorPolicy RequestMirrorPolicy
Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer does not wait for responses from the shadow service. Before sending traffic to the shadow service, the host / authority header is suffixed with -shadow. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
retryPolicy HttpRetryPolicy
Specifies the retry policy associated with this route.
timeout Duration
Specifies the timeout for the selected route. Timeout is computed from the time the request has been fully processed (known as end-of-stream) up until the response has been processed. Timeout includes all retries. If not specified, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
urlRewrite UrlRewrite
The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for classic Application Load Balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
weightedBackendServices List<WeightedBackendService>
A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non-zero number. After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction.
corsPolicy CorsPolicy
The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy.
faultInjectionPolicy HttpFaultInjection
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 by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the classic Application Load Balancer . To see which load balancers support fault injection, see Load balancing: Routing and traffic management features.
maxStreamDuration Duration
Specifies the maximum duration (timeout) for streams on the selected route. Unlike the timeout field where the timeout duration starts from the time the request has been fully processed (known as end-of-stream), the duration in this field is computed from the beginning of the stream until the response has been processed, including all retries. A stream that does not complete in this duration is closed. If not specified, this field uses the maximum maxStreamDuration value among all backend services associated with the route. This field is only allowed if the Url map is used with backend services with loadBalancingScheme set to INTERNAL_SELF_MANAGED.
requestMirrorPolicy RequestMirrorPolicy
Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer does not wait for responses from the shadow service. Before sending traffic to the shadow service, the host / authority header is suffixed with -shadow. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
retryPolicy HttpRetryPolicy
Specifies the retry policy associated with this route.
timeout Duration
Specifies the timeout for the selected route. Timeout is computed from the time the request has been fully processed (known as end-of-stream) up until the response has been processed. Timeout includes all retries. If not specified, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
urlRewrite UrlRewrite
The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for classic Application Load Balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
weightedBackendServices WeightedBackendService[]
A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non-zero number. After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction.
cors_policy CorsPolicy
The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy.
fault_injection_policy HttpFaultInjection
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 by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the classic Application Load Balancer . To see which load balancers support fault injection, see Load balancing: Routing and traffic management features.
max_stream_duration Duration
Specifies the maximum duration (timeout) for streams on the selected route. Unlike the timeout field where the timeout duration starts from the time the request has been fully processed (known as end-of-stream), the duration in this field is computed from the beginning of the stream until the response has been processed, including all retries. A stream that does not complete in this duration is closed. If not specified, this field uses the maximum maxStreamDuration value among all backend services associated with the route. This field is only allowed if the Url map is used with backend services with loadBalancingScheme set to INTERNAL_SELF_MANAGED.
request_mirror_policy RequestMirrorPolicy
Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer does not wait for responses from the shadow service. Before sending traffic to the shadow service, the host / authority header is suffixed with -shadow. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
retry_policy HttpRetryPolicy
Specifies the retry policy associated with this route.
timeout Duration
Specifies the timeout for the selected route. Timeout is computed from the time the request has been fully processed (known as end-of-stream) up until the response has been processed. Timeout includes all retries. If not specified, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
url_rewrite UrlRewrite
The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for classic Application Load Balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
weighted_backend_services Sequence[WeightedBackendService]
A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non-zero number. After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction.
corsPolicy Property Map
The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy.
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 by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the classic Application Load Balancer . To see which load balancers support fault injection, see Load balancing: Routing and traffic management features.
maxStreamDuration Property Map
Specifies the maximum duration (timeout) for streams on the selected route. Unlike the timeout field where the timeout duration starts from the time the request has been fully processed (known as end-of-stream), the duration in this field is computed from the beginning of the stream until the response has been processed, including all retries. A stream that does not complete in this duration is closed. If not specified, this field uses the maximum maxStreamDuration value among all backend services associated with the route. This field is only allowed if the Url map is used with backend services with loadBalancingScheme set to INTERNAL_SELF_MANAGED.
requestMirrorPolicy Property Map
Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer does not wait for responses from the shadow service. Before sending traffic to the shadow service, the host / authority header is suffixed with -shadow. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
retryPolicy Property Map
Specifies the retry policy associated with this route.
timeout Property Map
Specifies the timeout for the selected route. Timeout is computed from the time the request has been fully processed (known as end-of-stream) up until the response has been processed. Timeout includes all retries. If not specified, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
urlRewrite Property Map
The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for classic Application Load Balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
weightedBackendServices List<Property Map>
A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non-zero number. After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction.

HttpRouteActionResponse
, HttpRouteActionResponseArgs

CorsPolicy This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.CorsPolicyResponse
The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy.
FaultInjectionPolicy This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpFaultInjectionResponse
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 by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the classic Application Load Balancer . To see which load balancers support fault injection, see Load balancing: Routing and traffic management features.
MaxStreamDuration This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.DurationResponse
Specifies the maximum duration (timeout) for streams on the selected route. Unlike the timeout field where the timeout duration starts from the time the request has been fully processed (known as end-of-stream), the duration in this field is computed from the beginning of the stream until the response has been processed, including all retries. A stream that does not complete in this duration is closed. If not specified, this field uses the maximum maxStreamDuration value among all backend services associated with the route. This field is only allowed if the Url map is used with backend services with loadBalancingScheme set to INTERNAL_SELF_MANAGED.
RequestMirrorPolicy This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.RequestMirrorPolicyResponse
Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer does not wait for responses from the shadow service. Before sending traffic to the shadow service, the host / authority header is suffixed with -shadow. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
RetryPolicy This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpRetryPolicyResponse
Specifies the retry policy associated with this route.
Timeout This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.DurationResponse
Specifies the timeout for the selected route. Timeout is computed from the time the request has been fully processed (known as end-of-stream) up until the response has been processed. Timeout includes all retries. If not specified, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
UrlRewrite This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.UrlRewriteResponse
The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for classic Application Load Balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
WeightedBackendServices This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.WeightedBackendServiceResponse>
A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non-zero number. After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction.
CorsPolicy This property is required. CorsPolicyResponse
The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy.
FaultInjectionPolicy This property is required. HttpFaultInjectionResponse
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 by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the classic Application Load Balancer . To see which load balancers support fault injection, see Load balancing: Routing and traffic management features.
MaxStreamDuration This property is required. DurationResponse
Specifies the maximum duration (timeout) for streams on the selected route. Unlike the timeout field where the timeout duration starts from the time the request has been fully processed (known as end-of-stream), the duration in this field is computed from the beginning of the stream until the response has been processed, including all retries. A stream that does not complete in this duration is closed. If not specified, this field uses the maximum maxStreamDuration value among all backend services associated with the route. This field is only allowed if the Url map is used with backend services with loadBalancingScheme set to INTERNAL_SELF_MANAGED.
RequestMirrorPolicy This property is required. RequestMirrorPolicyResponse
Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer does not wait for responses from the shadow service. Before sending traffic to the shadow service, the host / authority header is suffixed with -shadow. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
RetryPolicy This property is required. HttpRetryPolicyResponse
Specifies the retry policy associated with this route.
Timeout This property is required. DurationResponse
Specifies the timeout for the selected route. Timeout is computed from the time the request has been fully processed (known as end-of-stream) up until the response has been processed. Timeout includes all retries. If not specified, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
UrlRewrite This property is required. UrlRewriteResponse
The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for classic Application Load Balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
WeightedBackendServices This property is required. []WeightedBackendServiceResponse
A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non-zero number. After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction.
corsPolicy This property is required. CorsPolicyResponse
The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy.
faultInjectionPolicy This property is required. HttpFaultInjectionResponse
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 by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the classic Application Load Balancer . To see which load balancers support fault injection, see Load balancing: Routing and traffic management features.
maxStreamDuration This property is required. DurationResponse
Specifies the maximum duration (timeout) for streams on the selected route. Unlike the timeout field where the timeout duration starts from the time the request has been fully processed (known as end-of-stream), the duration in this field is computed from the beginning of the stream until the response has been processed, including all retries. A stream that does not complete in this duration is closed. If not specified, this field uses the maximum maxStreamDuration value among all backend services associated with the route. This field is only allowed if the Url map is used with backend services with loadBalancingScheme set to INTERNAL_SELF_MANAGED.
requestMirrorPolicy This property is required. RequestMirrorPolicyResponse
Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer does not wait for responses from the shadow service. Before sending traffic to the shadow service, the host / authority header is suffixed with -shadow. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
retryPolicy This property is required. HttpRetryPolicyResponse
Specifies the retry policy associated with this route.
timeout This property is required. DurationResponse
Specifies the timeout for the selected route. Timeout is computed from the time the request has been fully processed (known as end-of-stream) up until the response has been processed. Timeout includes all retries. If not specified, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
urlRewrite This property is required. UrlRewriteResponse
The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for classic Application Load Balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
weightedBackendServices This property is required. List<WeightedBackendServiceResponse>
A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non-zero number. After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction.
corsPolicy This property is required. CorsPolicyResponse
The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy.
faultInjectionPolicy This property is required. HttpFaultInjectionResponse
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 by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the classic Application Load Balancer . To see which load balancers support fault injection, see Load balancing: Routing and traffic management features.
maxStreamDuration This property is required. DurationResponse
Specifies the maximum duration (timeout) for streams on the selected route. Unlike the timeout field where the timeout duration starts from the time the request has been fully processed (known as end-of-stream), the duration in this field is computed from the beginning of the stream until the response has been processed, including all retries. A stream that does not complete in this duration is closed. If not specified, this field uses the maximum maxStreamDuration value among all backend services associated with the route. This field is only allowed if the Url map is used with backend services with loadBalancingScheme set to INTERNAL_SELF_MANAGED.
requestMirrorPolicy This property is required. RequestMirrorPolicyResponse
Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer does not wait for responses from the shadow service. Before sending traffic to the shadow service, the host / authority header is suffixed with -shadow. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
retryPolicy This property is required. HttpRetryPolicyResponse
Specifies the retry policy associated with this route.
timeout This property is required. DurationResponse
Specifies the timeout for the selected route. Timeout is computed from the time the request has been fully processed (known as end-of-stream) up until the response has been processed. Timeout includes all retries. If not specified, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
urlRewrite This property is required. UrlRewriteResponse
The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for classic Application Load Balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
weightedBackendServices This property is required. WeightedBackendServiceResponse[]
A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non-zero number. After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction.
cors_policy This property is required. CorsPolicyResponse
The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy.
fault_injection_policy This property is required. HttpFaultInjectionResponse
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 by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the classic Application Load Balancer . To see which load balancers support fault injection, see Load balancing: Routing and traffic management features.
max_stream_duration This property is required. DurationResponse
Specifies the maximum duration (timeout) for streams on the selected route. Unlike the timeout field where the timeout duration starts from the time the request has been fully processed (known as end-of-stream), the duration in this field is computed from the beginning of the stream until the response has been processed, including all retries. A stream that does not complete in this duration is closed. If not specified, this field uses the maximum maxStreamDuration value among all backend services associated with the route. This field is only allowed if the Url map is used with backend services with loadBalancingScheme set to INTERNAL_SELF_MANAGED.
request_mirror_policy This property is required. RequestMirrorPolicyResponse
Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer does not wait for responses from the shadow service. Before sending traffic to the shadow service, the host / authority header is suffixed with -shadow. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
retry_policy This property is required. HttpRetryPolicyResponse
Specifies the retry policy associated with this route.
timeout This property is required. DurationResponse
Specifies the timeout for the selected route. Timeout is computed from the time the request has been fully processed (known as end-of-stream) up until the response has been processed. Timeout includes all retries. If not specified, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
url_rewrite This property is required. UrlRewriteResponse
The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for classic Application Load Balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
weighted_backend_services This property is required. Sequence[WeightedBackendServiceResponse]
A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non-zero number. After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction.
corsPolicy This property is required. Property Map
The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy.
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 by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the classic Application Load Balancer . To see which load balancers support fault injection, see Load balancing: Routing and traffic management features.
maxStreamDuration This property is required. Property Map
Specifies the maximum duration (timeout) for streams on the selected route. Unlike the timeout field where the timeout duration starts from the time the request has been fully processed (known as end-of-stream), the duration in this field is computed from the beginning of the stream until the response has been processed, including all retries. A stream that does not complete in this duration is closed. If not specified, this field uses the maximum maxStreamDuration value among all backend services associated with the route. This field is only allowed if the Url map is used with backend services with loadBalancingScheme set to INTERNAL_SELF_MANAGED.
requestMirrorPolicy This property is required. Property Map
Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer does not wait for responses from the shadow service. Before sending traffic to the shadow service, the host / authority header is suffixed with -shadow. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
retryPolicy This property is required. Property Map
Specifies the retry policy associated with this route.
timeout This property is required. Property Map
Specifies the timeout for the selected route. Timeout is computed from the time the request has been fully processed (known as end-of-stream) up until the response has been processed. Timeout includes all retries. If not specified, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
urlRewrite This property is required. Property Map
The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for classic Application Load Balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
weightedBackendServices This property is required. List<Property Map>
A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non-zero number. After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction.

HttpRouteRule
, HttpRouteRuleArgs

CustomErrorResponsePolicy Pulumi.GoogleNative.Compute.Alpha.Inputs.CustomErrorResponsePolicy
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for global external Application Load Balancers.
Description string
The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
HeaderAction Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpHeaderAction
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction value specified here is applied before the matching pathMatchers[].headerAction and after pathMatchers[].routeRules[].routeAction.weightedBackendService.backendServiceWeightAction[].headerAction HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
HttpFilterConfigs List<Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpFilterConfig>
Outbound route specific configuration for networkservices.HttpFilter resources enabled by Traffic Director. httpFilterConfigs only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
HttpFilterMetadata List<Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpFilterConfig>
Outbound route specific metadata supplied to networkservices.HttpFilter resources enabled by Traffic Director. httpFilterMetadata only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. The only configTypeUrl supported is type.googleapis.com/google.protobuf.Struct Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
MatchRules List<Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpRouteRuleMatch>
The list of criteria for matching attributes of a request to this routeRule. This list has OR semantics: the request matches this routeRule when any of the matchRules are satisfied. However predicates within a given matchRule have AND semantics. All predicates within a matchRule must match for the request to match the rule.
Priority int
For routeRules within a given pathMatcher, priority determines the order in which a load balancer interprets routeRules. RouteRules are evaluated in order of priority, from the lowest to highest number. The priority of a rule decreases as its number increases (1, 2, 3, N+1). The first rule that matches the request is applied. You cannot configure two or more routeRules with the same priority. Priority for each rule must be set to a number from 0 to 2147483647 inclusive. Priority numbers can have gaps, which enable you to add or remove rules in the future without affecting the rest of the rules. For example, 1, 2, 3, 4, 5, 9, 12, 16 is a valid series of priority numbers to which you could add rules numbered from 6 to 8, 10 to 11, and 13 to 15 in the future without any impact on existing rules.
RouteAction Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpRouteAction
In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a route rule's routeAction.
Service string
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
UrlRedirect Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpRedirectAction
When this rule is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
CustomErrorResponsePolicy CustomErrorResponsePolicy
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for global external Application Load Balancers.
Description string
The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
HeaderAction HttpHeaderAction
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction value specified here is applied before the matching pathMatchers[].headerAction and after pathMatchers[].routeRules[].routeAction.weightedBackendService.backendServiceWeightAction[].headerAction HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
HttpFilterConfigs []HttpFilterConfig
Outbound route specific configuration for networkservices.HttpFilter resources enabled by Traffic Director. httpFilterConfigs only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
HttpFilterMetadata []HttpFilterConfig
Outbound route specific metadata supplied to networkservices.HttpFilter resources enabled by Traffic Director. httpFilterMetadata only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. The only configTypeUrl supported is type.googleapis.com/google.protobuf.Struct Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
MatchRules []HttpRouteRuleMatch
The list of criteria for matching attributes of a request to this routeRule. This list has OR semantics: the request matches this routeRule when any of the matchRules are satisfied. However predicates within a given matchRule have AND semantics. All predicates within a matchRule must match for the request to match the rule.
Priority int
For routeRules within a given pathMatcher, priority determines the order in which a load balancer interprets routeRules. RouteRules are evaluated in order of priority, from the lowest to highest number. The priority of a rule decreases as its number increases (1, 2, 3, N+1). The first rule that matches the request is applied. You cannot configure two or more routeRules with the same priority. Priority for each rule must be set to a number from 0 to 2147483647 inclusive. Priority numbers can have gaps, which enable you to add or remove rules in the future without affecting the rest of the rules. For example, 1, 2, 3, 4, 5, 9, 12, 16 is a valid series of priority numbers to which you could add rules numbered from 6 to 8, 10 to 11, and 13 to 15 in the future without any impact on existing rules.
RouteAction HttpRouteAction
In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a route rule's routeAction.
Service string
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
UrlRedirect HttpRedirectAction
When this rule is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
customErrorResponsePolicy CustomErrorResponsePolicy
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for global external Application Load Balancers.
description String
The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
headerAction HttpHeaderAction
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction value specified here is applied before the matching pathMatchers[].headerAction and after pathMatchers[].routeRules[].routeAction.weightedBackendService.backendServiceWeightAction[].headerAction HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
httpFilterConfigs List<HttpFilterConfig>
Outbound route specific configuration for networkservices.HttpFilter resources enabled by Traffic Director. httpFilterConfigs only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
httpFilterMetadata List<HttpFilterConfig>
Outbound route specific metadata supplied to networkservices.HttpFilter resources enabled by Traffic Director. httpFilterMetadata only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. The only configTypeUrl supported is type.googleapis.com/google.protobuf.Struct Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
matchRules List<HttpRouteRuleMatch>
The list of criteria for matching attributes of a request to this routeRule. This list has OR semantics: the request matches this routeRule when any of the matchRules are satisfied. However predicates within a given matchRule have AND semantics. All predicates within a matchRule must match for the request to match the rule.
priority Integer
For routeRules within a given pathMatcher, priority determines the order in which a load balancer interprets routeRules. RouteRules are evaluated in order of priority, from the lowest to highest number. The priority of a rule decreases as its number increases (1, 2, 3, N+1). The first rule that matches the request is applied. You cannot configure two or more routeRules with the same priority. Priority for each rule must be set to a number from 0 to 2147483647 inclusive. Priority numbers can have gaps, which enable you to add or remove rules in the future without affecting the rest of the rules. For example, 1, 2, 3, 4, 5, 9, 12, 16 is a valid series of priority numbers to which you could add rules numbered from 6 to 8, 10 to 11, and 13 to 15 in the future without any impact on existing rules.
routeAction HttpRouteAction
In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a route rule's routeAction.
service String
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
urlRedirect HttpRedirectAction
When this rule is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
customErrorResponsePolicy CustomErrorResponsePolicy
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for global external Application Load Balancers.
description string
The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
headerAction HttpHeaderAction
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction value specified here is applied before the matching pathMatchers[].headerAction and after pathMatchers[].routeRules[].routeAction.weightedBackendService.backendServiceWeightAction[].headerAction HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
httpFilterConfigs HttpFilterConfig[]
Outbound route specific configuration for networkservices.HttpFilter resources enabled by Traffic Director. httpFilterConfigs only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
httpFilterMetadata HttpFilterConfig[]
Outbound route specific metadata supplied to networkservices.HttpFilter resources enabled by Traffic Director. httpFilterMetadata only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. The only configTypeUrl supported is type.googleapis.com/google.protobuf.Struct Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
matchRules HttpRouteRuleMatch[]
The list of criteria for matching attributes of a request to this routeRule. This list has OR semantics: the request matches this routeRule when any of the matchRules are satisfied. However predicates within a given matchRule have AND semantics. All predicates within a matchRule must match for the request to match the rule.
priority number
For routeRules within a given pathMatcher, priority determines the order in which a load balancer interprets routeRules. RouteRules are evaluated in order of priority, from the lowest to highest number. The priority of a rule decreases as its number increases (1, 2, 3, N+1). The first rule that matches the request is applied. You cannot configure two or more routeRules with the same priority. Priority for each rule must be set to a number from 0 to 2147483647 inclusive. Priority numbers can have gaps, which enable you to add or remove rules in the future without affecting the rest of the rules. For example, 1, 2, 3, 4, 5, 9, 12, 16 is a valid series of priority numbers to which you could add rules numbered from 6 to 8, 10 to 11, and 13 to 15 in the future without any impact on existing rules.
routeAction HttpRouteAction
In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a route rule's routeAction.
service string
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
urlRedirect HttpRedirectAction
When this rule is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
custom_error_response_policy CustomErrorResponsePolicy
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for global external Application Load Balancers.
description str
The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
header_action HttpHeaderAction
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction value specified here is applied before the matching pathMatchers[].headerAction and after pathMatchers[].routeRules[].routeAction.weightedBackendService.backendServiceWeightAction[].headerAction HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
http_filter_configs Sequence[HttpFilterConfig]
Outbound route specific configuration for networkservices.HttpFilter resources enabled by Traffic Director. httpFilterConfigs only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
http_filter_metadata Sequence[HttpFilterConfig]
Outbound route specific metadata supplied to networkservices.HttpFilter resources enabled by Traffic Director. httpFilterMetadata only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. The only configTypeUrl supported is type.googleapis.com/google.protobuf.Struct Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
match_rules Sequence[HttpRouteRuleMatch]
The list of criteria for matching attributes of a request to this routeRule. This list has OR semantics: the request matches this routeRule when any of the matchRules are satisfied. However predicates within a given matchRule have AND semantics. All predicates within a matchRule must match for the request to match the rule.
priority int
For routeRules within a given pathMatcher, priority determines the order in which a load balancer interprets routeRules. RouteRules are evaluated in order of priority, from the lowest to highest number. The priority of a rule decreases as its number increases (1, 2, 3, N+1). The first rule that matches the request is applied. You cannot configure two or more routeRules with the same priority. Priority for each rule must be set to a number from 0 to 2147483647 inclusive. Priority numbers can have gaps, which enable you to add or remove rules in the future without affecting the rest of the rules. For example, 1, 2, 3, 4, 5, 9, 12, 16 is a valid series of priority numbers to which you could add rules numbered from 6 to 8, 10 to 11, and 13 to 15 in the future without any impact on existing rules.
route_action HttpRouteAction
In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a route rule's routeAction.
service str
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
url_redirect HttpRedirectAction
When this rule is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
customErrorResponsePolicy Property Map
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for global external Application Load Balancers.
description String
The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
headerAction Property Map
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction value specified here is applied before the matching pathMatchers[].headerAction and after pathMatchers[].routeRules[].routeAction.weightedBackendService.backendServiceWeightAction[].headerAction HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
httpFilterConfigs List<Property Map>
Outbound route specific configuration for networkservices.HttpFilter resources enabled by Traffic Director. httpFilterConfigs only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
httpFilterMetadata List<Property Map>
Outbound route specific metadata supplied to networkservices.HttpFilter resources enabled by Traffic Director. httpFilterMetadata only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. The only configTypeUrl supported is type.googleapis.com/google.protobuf.Struct Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
matchRules List<Property Map>
The list of criteria for matching attributes of a request to this routeRule. This list has OR semantics: the request matches this routeRule when any of the matchRules are satisfied. However predicates within a given matchRule have AND semantics. All predicates within a matchRule must match for the request to match the rule.
priority Number
For routeRules within a given pathMatcher, priority determines the order in which a load balancer interprets routeRules. RouteRules are evaluated in order of priority, from the lowest to highest number. The priority of a rule decreases as its number increases (1, 2, 3, N+1). The first rule that matches the request is applied. You cannot configure two or more routeRules with the same priority. Priority for each rule must be set to a number from 0 to 2147483647 inclusive. Priority numbers can have gaps, which enable you to add or remove rules in the future without affecting the rest of the rules. For example, 1, 2, 3, 4, 5, 9, 12, 16 is a valid series of priority numbers to which you could add rules numbered from 6 to 8, 10 to 11, and 13 to 15 in the future without any impact on existing rules.
routeAction Property Map
In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a route rule's routeAction.
service String
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
urlRedirect Property Map
When this rule is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.

HttpRouteRuleMatch
, HttpRouteRuleMatchArgs

FullPathMatch string
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
HeaderMatches List<Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpHeaderMatch>
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
IgnoreCase bool
Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch. Not supported when the URL map is bound to a target gRPC proxy.
MetadataFilters List<Pulumi.GoogleNative.Compute.Alpha.Inputs.MetadataFilter>
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
PathTemplateMatch string
If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be between 1 and 1024 characters - The pattern must start with a leading slash ("/") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match, regex_match or path_template_match must be set.
PrefixMatch string
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
QueryParameterMatches List<Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpQueryParameterMatch>
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
RegexMatch string
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
FullPathMatch string
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
HeaderMatches []HttpHeaderMatch
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
IgnoreCase bool
Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch. Not supported when the URL map is bound to a target gRPC proxy.
MetadataFilters []MetadataFilter
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
PathTemplateMatch string
If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be between 1 and 1024 characters - The pattern must start with a leading slash ("/") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match, regex_match or path_template_match must be set.
PrefixMatch string
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
QueryParameterMatches []HttpQueryParameterMatch
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
RegexMatch string
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
fullPathMatch String
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
headerMatches List<HttpHeaderMatch>
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
ignoreCase Boolean
Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch. Not supported when the URL map is bound to a target gRPC proxy.
metadataFilters List<MetadataFilter>
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
pathTemplateMatch String
If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be between 1 and 1024 characters - The pattern must start with a leading slash ("/") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match, regex_match or path_template_match must be set.
prefixMatch String
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
queryParameterMatches List<HttpQueryParameterMatch>
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
regexMatch String
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
fullPathMatch string
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
headerMatches HttpHeaderMatch[]
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
ignoreCase boolean
Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch. Not supported when the URL map is bound to a target gRPC proxy.
metadataFilters MetadataFilter[]
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
pathTemplateMatch string
If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be between 1 and 1024 characters - The pattern must start with a leading slash ("/") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match, regex_match or path_template_match must be set.
prefixMatch string
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
queryParameterMatches HttpQueryParameterMatch[]
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
regexMatch string
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
full_path_match str
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
header_matches Sequence[HttpHeaderMatch]
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
ignore_case bool
Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch. Not supported when the URL map is bound to a target gRPC proxy.
metadata_filters Sequence[MetadataFilter]
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
path_template_match str
If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be between 1 and 1024 characters - The pattern must start with a leading slash ("/") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match, regex_match or path_template_match must be set.
prefix_match str
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
query_parameter_matches Sequence[HttpQueryParameterMatch]
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
regex_match str
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
fullPathMatch String
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
headerMatches List<Property Map>
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
ignoreCase Boolean
Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch. Not supported when the URL map is bound to a target gRPC proxy.
metadataFilters List<Property Map>
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
pathTemplateMatch String
If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be between 1 and 1024 characters - The pattern must start with a leading slash ("/") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match, regex_match or path_template_match must be set.
prefixMatch String
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
queryParameterMatches List<Property Map>
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
regexMatch String
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.

HttpRouteRuleMatchResponse
, HttpRouteRuleMatchResponseArgs

FullPathMatch This property is required. string
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
HeaderMatches This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpHeaderMatchResponse>
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
IgnoreCase This property is required. bool
Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch. Not supported when the URL map is bound to a target gRPC proxy.
MetadataFilters This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.MetadataFilterResponse>
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
PathTemplateMatch This property is required. string
If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be between 1 and 1024 characters - The pattern must start with a leading slash ("/") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match, regex_match or path_template_match must be set.
PrefixMatch This property is required. string
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
QueryParameterMatches This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpQueryParameterMatchResponse>
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
RegexMatch This property is required. string
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
FullPathMatch This property is required. string
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
HeaderMatches This property is required. []HttpHeaderMatchResponse
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
IgnoreCase This property is required. bool
Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch. Not supported when the URL map is bound to a target gRPC proxy.
MetadataFilters This property is required. []MetadataFilterResponse
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
PathTemplateMatch This property is required. string
If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be between 1 and 1024 characters - The pattern must start with a leading slash ("/") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match, regex_match or path_template_match must be set.
PrefixMatch This property is required. string
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
QueryParameterMatches This property is required. []HttpQueryParameterMatchResponse
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
RegexMatch This property is required. string
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
fullPathMatch This property is required. String
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
headerMatches This property is required. List<HttpHeaderMatchResponse>
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
ignoreCase This property is required. Boolean
Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch. Not supported when the URL map is bound to a target gRPC proxy.
metadataFilters This property is required. List<MetadataFilterResponse>
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
pathTemplateMatch This property is required. String
If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be between 1 and 1024 characters - The pattern must start with a leading slash ("/") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match, regex_match or path_template_match must be set.
prefixMatch This property is required. String
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
queryParameterMatches This property is required. List<HttpQueryParameterMatchResponse>
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
regexMatch This property is required. String
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
fullPathMatch This property is required. string
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
headerMatches This property is required. HttpHeaderMatchResponse[]
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
ignoreCase This property is required. boolean
Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch. Not supported when the URL map is bound to a target gRPC proxy.
metadataFilters This property is required. MetadataFilterResponse[]
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
pathTemplateMatch This property is required. string
If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be between 1 and 1024 characters - The pattern must start with a leading slash ("/") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match, regex_match or path_template_match must be set.
prefixMatch This property is required. string
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
queryParameterMatches This property is required. HttpQueryParameterMatchResponse[]
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
regexMatch This property is required. string
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
full_path_match This property is required. str
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
header_matches This property is required. Sequence[HttpHeaderMatchResponse]
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
ignore_case This property is required. bool
Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch. Not supported when the URL map is bound to a target gRPC proxy.
metadata_filters This property is required. Sequence[MetadataFilterResponse]
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
path_template_match This property is required. str
If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be between 1 and 1024 characters - The pattern must start with a leading slash ("/") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match, regex_match or path_template_match must be set.
prefix_match This property is required. str
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
query_parameter_matches This property is required. Sequence[HttpQueryParameterMatchResponse]
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
regex_match This property is required. str
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
fullPathMatch This property is required. String
For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
headerMatches This property is required. List<Property Map>
Specifies a list of header match criteria, all of which must match corresponding headers in the request.
ignoreCase This property is required. Boolean
Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch. Not supported when the URL map is bound to a target gRPC proxy.
metadataFilters This property is required. List<Property Map>
Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
pathTemplateMatch This property is required. String
If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be between 1 and 1024 characters - The pattern must start with a leading slash ("/") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match, regex_match or path_template_match must be set.
prefixMatch This property is required. String
For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
queryParameterMatches This property is required. List<Property Map>
Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
regexMatch This property is required. String
For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.

HttpRouteRuleResponse
, HttpRouteRuleResponseArgs

CustomErrorResponsePolicy This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.CustomErrorResponsePolicyResponse
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for global external Application Load Balancers.
Description This property is required. string
The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
HeaderAction This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpHeaderActionResponse
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction value specified here is applied before the matching pathMatchers[].headerAction and after pathMatchers[].routeRules[].routeAction.weightedBackendService.backendServiceWeightAction[].headerAction HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
HttpFilterConfigs This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpFilterConfigResponse>
Outbound route specific configuration for networkservices.HttpFilter resources enabled by Traffic Director. httpFilterConfigs only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
HttpFilterMetadata This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpFilterConfigResponse>
Outbound route specific metadata supplied to networkservices.HttpFilter resources enabled by Traffic Director. httpFilterMetadata only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. The only configTypeUrl supported is type.googleapis.com/google.protobuf.Struct Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
MatchRules This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpRouteRuleMatchResponse>
The list of criteria for matching attributes of a request to this routeRule. This list has OR semantics: the request matches this routeRule when any of the matchRules are satisfied. However predicates within a given matchRule have AND semantics. All predicates within a matchRule must match for the request to match the rule.
Priority This property is required. int
For routeRules within a given pathMatcher, priority determines the order in which a load balancer interprets routeRules. RouteRules are evaluated in order of priority, from the lowest to highest number. The priority of a rule decreases as its number increases (1, 2, 3, N+1). The first rule that matches the request is applied. You cannot configure two or more routeRules with the same priority. Priority for each rule must be set to a number from 0 to 2147483647 inclusive. Priority numbers can have gaps, which enable you to add or remove rules in the future without affecting the rest of the rules. For example, 1, 2, 3, 4, 5, 9, 12, 16 is a valid series of priority numbers to which you could add rules numbered from 6 to 8, 10 to 11, and 13 to 15 in the future without any impact on existing rules.
RouteAction This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpRouteActionResponse
In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a route rule's routeAction.
Service This property is required. string
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
UrlRedirect This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpRedirectActionResponse
When this rule is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
CustomErrorResponsePolicy This property is required. CustomErrorResponsePolicyResponse
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for global external Application Load Balancers.
Description This property is required. string
The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
HeaderAction This property is required. HttpHeaderActionResponse
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction value specified here is applied before the matching pathMatchers[].headerAction and after pathMatchers[].routeRules[].routeAction.weightedBackendService.backendServiceWeightAction[].headerAction HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
HttpFilterConfigs This property is required. []HttpFilterConfigResponse
Outbound route specific configuration for networkservices.HttpFilter resources enabled by Traffic Director. httpFilterConfigs only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
HttpFilterMetadata This property is required. []HttpFilterConfigResponse
Outbound route specific metadata supplied to networkservices.HttpFilter resources enabled by Traffic Director. httpFilterMetadata only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. The only configTypeUrl supported is type.googleapis.com/google.protobuf.Struct Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
MatchRules This property is required. []HttpRouteRuleMatchResponse
The list of criteria for matching attributes of a request to this routeRule. This list has OR semantics: the request matches this routeRule when any of the matchRules are satisfied. However predicates within a given matchRule have AND semantics. All predicates within a matchRule must match for the request to match the rule.
Priority This property is required. int
For routeRules within a given pathMatcher, priority determines the order in which a load balancer interprets routeRules. RouteRules are evaluated in order of priority, from the lowest to highest number. The priority of a rule decreases as its number increases (1, 2, 3, N+1). The first rule that matches the request is applied. You cannot configure two or more routeRules with the same priority. Priority for each rule must be set to a number from 0 to 2147483647 inclusive. Priority numbers can have gaps, which enable you to add or remove rules in the future without affecting the rest of the rules. For example, 1, 2, 3, 4, 5, 9, 12, 16 is a valid series of priority numbers to which you could add rules numbered from 6 to 8, 10 to 11, and 13 to 15 in the future without any impact on existing rules.
RouteAction This property is required. HttpRouteActionResponse
In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a route rule's routeAction.
Service This property is required. string
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
UrlRedirect This property is required. HttpRedirectActionResponse
When this rule is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
customErrorResponsePolicy This property is required. CustomErrorResponsePolicyResponse
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for global external Application Load Balancers.
description This property is required. String
The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
headerAction This property is required. HttpHeaderActionResponse
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction value specified here is applied before the matching pathMatchers[].headerAction and after pathMatchers[].routeRules[].routeAction.weightedBackendService.backendServiceWeightAction[].headerAction HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
httpFilterConfigs This property is required. List<HttpFilterConfigResponse>
Outbound route specific configuration for networkservices.HttpFilter resources enabled by Traffic Director. httpFilterConfigs only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
httpFilterMetadata This property is required. List<HttpFilterConfigResponse>
Outbound route specific metadata supplied to networkservices.HttpFilter resources enabled by Traffic Director. httpFilterMetadata only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. The only configTypeUrl supported is type.googleapis.com/google.protobuf.Struct Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
matchRules This property is required. List<HttpRouteRuleMatchResponse>
The list of criteria for matching attributes of a request to this routeRule. This list has OR semantics: the request matches this routeRule when any of the matchRules are satisfied. However predicates within a given matchRule have AND semantics. All predicates within a matchRule must match for the request to match the rule.
priority This property is required. Integer
For routeRules within a given pathMatcher, priority determines the order in which a load balancer interprets routeRules. RouteRules are evaluated in order of priority, from the lowest to highest number. The priority of a rule decreases as its number increases (1, 2, 3, N+1). The first rule that matches the request is applied. You cannot configure two or more routeRules with the same priority. Priority for each rule must be set to a number from 0 to 2147483647 inclusive. Priority numbers can have gaps, which enable you to add or remove rules in the future without affecting the rest of the rules. For example, 1, 2, 3, 4, 5, 9, 12, 16 is a valid series of priority numbers to which you could add rules numbered from 6 to 8, 10 to 11, and 13 to 15 in the future without any impact on existing rules.
routeAction This property is required. HttpRouteActionResponse
In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a route rule's routeAction.
service This property is required. String
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
urlRedirect This property is required. HttpRedirectActionResponse
When this rule is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
customErrorResponsePolicy This property is required. CustomErrorResponsePolicyResponse
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for global external Application Load Balancers.
description This property is required. string
The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
headerAction This property is required. HttpHeaderActionResponse
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction value specified here is applied before the matching pathMatchers[].headerAction and after pathMatchers[].routeRules[].routeAction.weightedBackendService.backendServiceWeightAction[].headerAction HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
httpFilterConfigs This property is required. HttpFilterConfigResponse[]
Outbound route specific configuration for networkservices.HttpFilter resources enabled by Traffic Director. httpFilterConfigs only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
httpFilterMetadata This property is required. HttpFilterConfigResponse[]
Outbound route specific metadata supplied to networkservices.HttpFilter resources enabled by Traffic Director. httpFilterMetadata only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. The only configTypeUrl supported is type.googleapis.com/google.protobuf.Struct Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
matchRules This property is required. HttpRouteRuleMatchResponse[]
The list of criteria for matching attributes of a request to this routeRule. This list has OR semantics: the request matches this routeRule when any of the matchRules are satisfied. However predicates within a given matchRule have AND semantics. All predicates within a matchRule must match for the request to match the rule.
priority This property is required. number
For routeRules within a given pathMatcher, priority determines the order in which a load balancer interprets routeRules. RouteRules are evaluated in order of priority, from the lowest to highest number. The priority of a rule decreases as its number increases (1, 2, 3, N+1). The first rule that matches the request is applied. You cannot configure two or more routeRules with the same priority. Priority for each rule must be set to a number from 0 to 2147483647 inclusive. Priority numbers can have gaps, which enable you to add or remove rules in the future without affecting the rest of the rules. For example, 1, 2, 3, 4, 5, 9, 12, 16 is a valid series of priority numbers to which you could add rules numbered from 6 to 8, 10 to 11, and 13 to 15 in the future without any impact on existing rules.
routeAction This property is required. HttpRouteActionResponse
In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a route rule's routeAction.
service This property is required. string
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
urlRedirect This property is required. HttpRedirectActionResponse
When this rule is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
custom_error_response_policy This property is required. CustomErrorResponsePolicyResponse
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for global external Application Load Balancers.
description This property is required. str
The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
header_action This property is required. HttpHeaderActionResponse
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction value specified here is applied before the matching pathMatchers[].headerAction and after pathMatchers[].routeRules[].routeAction.weightedBackendService.backendServiceWeightAction[].headerAction HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
http_filter_configs This property is required. Sequence[HttpFilterConfigResponse]
Outbound route specific configuration for networkservices.HttpFilter resources enabled by Traffic Director. httpFilterConfigs only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
http_filter_metadata This property is required. Sequence[HttpFilterConfigResponse]
Outbound route specific metadata supplied to networkservices.HttpFilter resources enabled by Traffic Director. httpFilterMetadata only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. The only configTypeUrl supported is type.googleapis.com/google.protobuf.Struct Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
match_rules This property is required. Sequence[HttpRouteRuleMatchResponse]
The list of criteria for matching attributes of a request to this routeRule. This list has OR semantics: the request matches this routeRule when any of the matchRules are satisfied. However predicates within a given matchRule have AND semantics. All predicates within a matchRule must match for the request to match the rule.
priority This property is required. int
For routeRules within a given pathMatcher, priority determines the order in which a load balancer interprets routeRules. RouteRules are evaluated in order of priority, from the lowest to highest number. The priority of a rule decreases as its number increases (1, 2, 3, N+1). The first rule that matches the request is applied. You cannot configure two or more routeRules with the same priority. Priority for each rule must be set to a number from 0 to 2147483647 inclusive. Priority numbers can have gaps, which enable you to add or remove rules in the future without affecting the rest of the rules. For example, 1, 2, 3, 4, 5, 9, 12, 16 is a valid series of priority numbers to which you could add rules numbered from 6 to 8, 10 to 11, and 13 to 15 in the future without any impact on existing rules.
route_action This property is required. HttpRouteActionResponse
In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a route rule's routeAction.
service This property is required. str
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
url_redirect This property is required. HttpRedirectActionResponse
When this rule is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
customErrorResponsePolicy This property is required. Property Map
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for global external Application Load Balancers.
description This property is required. String
The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
headerAction This property is required. Property Map
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction value specified here is applied before the matching pathMatchers[].headerAction and after pathMatchers[].routeRules[].routeAction.weightedBackendService.backendServiceWeightAction[].headerAction HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
httpFilterConfigs This property is required. List<Property Map>
Outbound route specific configuration for networkservices.HttpFilter resources enabled by Traffic Director. httpFilterConfigs only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
httpFilterMetadata This property is required. List<Property Map>
Outbound route specific metadata supplied to networkservices.HttpFilter resources enabled by Traffic Director. httpFilterMetadata only applies for load balancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for more details. The only configTypeUrl supported is type.googleapis.com/google.protobuf.Struct Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
matchRules This property is required. List<Property Map>
The list of criteria for matching attributes of a request to this routeRule. This list has OR semantics: the request matches this routeRule when any of the matchRules are satisfied. However predicates within a given matchRule have AND semantics. All predicates within a matchRule must match for the request to match the rule.
priority This property is required. Number
For routeRules within a given pathMatcher, priority determines the order in which a load balancer interprets routeRules. RouteRules are evaluated in order of priority, from the lowest to highest number. The priority of a rule decreases as its number increases (1, 2, 3, N+1). The first rule that matches the request is applied. You cannot configure two or more routeRules with the same priority. Priority for each rule must be set to a number from 0 to 2147483647 inclusive. Priority numbers can have gaps, which enable you to add or remove rules in the future without affecting the rest of the rules. For example, 1, 2, 3, 4, 5, 9, 12, 16 is a valid series of priority numbers to which you could add rules numbered from 6 to 8, 10 to 11, and 13 to 15 in the future without any impact on existing rules.
routeAction This property is required. Property Map
In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a route rule's routeAction.
service This property is required. String
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
urlRedirect This property is required. Property Map
When this rule is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.

Int64RangeMatch
, Int64RangeMatchArgs

RangeEnd string
The end of the range (exclusive) in signed long integer format.
RangeStart string
The start of the range (inclusive) in signed long integer format.
RangeEnd string
The end of the range (exclusive) in signed long integer format.
RangeStart string
The start of the range (inclusive) in signed long integer format.
rangeEnd String
The end of the range (exclusive) in signed long integer format.
rangeStart String
The start of the range (inclusive) in signed long integer format.
rangeEnd string
The end of the range (exclusive) in signed long integer format.
rangeStart string
The start of the range (inclusive) in signed long integer format.
range_end str
The end of the range (exclusive) in signed long integer format.
range_start str
The start of the range (inclusive) in signed long integer format.
rangeEnd String
The end of the range (exclusive) in signed long integer format.
rangeStart String
The start of the range (inclusive) in signed long integer format.

Int64RangeMatchResponse
, Int64RangeMatchResponseArgs

RangeEnd This property is required. string
The end of the range (exclusive) in signed long integer format.
RangeStart This property is required. string
The start of the range (inclusive) in signed long integer format.
RangeEnd This property is required. string
The end of the range (exclusive) in signed long integer format.
RangeStart This property is required. string
The start of the range (inclusive) in signed long integer format.
rangeEnd This property is required. String
The end of the range (exclusive) in signed long integer format.
rangeStart This property is required. String
The start of the range (inclusive) in signed long integer format.
rangeEnd This property is required. string
The end of the range (exclusive) in signed long integer format.
rangeStart This property is required. string
The start of the range (inclusive) in signed long integer format.
range_end This property is required. str
The end of the range (exclusive) in signed long integer format.
range_start This property is required. str
The start of the range (inclusive) in signed long integer format.
rangeEnd This property is required. String
The end of the range (exclusive) in signed long integer format.
rangeStart This property is required. String
The start of the range (inclusive) in signed long integer format.

MetadataFilter
, MetadataFilterArgs

FilterLabels List<Pulumi.GoogleNative.Compute.Alpha.Inputs.MetadataFilterLabelMatch>
The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.
FilterMatchCriteria Pulumi.GoogleNative.Compute.Alpha.MetadataFilterFilterMatchCriteria
Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata.
FilterLabels []MetadataFilterLabelMatch
The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.
FilterMatchCriteria MetadataFilterFilterMatchCriteria
Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata.
filterLabels List<MetadataFilterLabelMatch>
The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.
filterMatchCriteria MetadataFilterFilterMatchCriteria
Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata.
filterLabels MetadataFilterLabelMatch[]
The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.
filterMatchCriteria MetadataFilterFilterMatchCriteria
Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata.
filter_labels Sequence[MetadataFilterLabelMatch]
The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.
filter_match_criteria MetadataFilterFilterMatchCriteria
Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata.
filterLabels List<Property Map>
The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.
filterMatchCriteria "MATCH_ALL" | "MATCH_ANY" | "NOT_SET"
Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata.

MetadataFilterFilterMatchCriteria
, MetadataFilterFilterMatchCriteriaArgs

MatchAll
MATCH_ALLSpecifies that all filterLabels must match for the metadataFilter to be considered a match.
MatchAny
MATCH_ANYSpecifies that any filterLabel must match for the metadataFilter to be considered a match.
NotSet
NOT_SETIndicates that the match criteria was not set. A metadataFilter must never be created with this value.
MetadataFilterFilterMatchCriteriaMatchAll
MATCH_ALLSpecifies that all filterLabels must match for the metadataFilter to be considered a match.
MetadataFilterFilterMatchCriteriaMatchAny
MATCH_ANYSpecifies that any filterLabel must match for the metadataFilter to be considered a match.
MetadataFilterFilterMatchCriteriaNotSet
NOT_SETIndicates that the match criteria was not set. A metadataFilter must never be created with this value.
MatchAll
MATCH_ALLSpecifies that all filterLabels must match for the metadataFilter to be considered a match.
MatchAny
MATCH_ANYSpecifies that any filterLabel must match for the metadataFilter to be considered a match.
NotSet
NOT_SETIndicates that the match criteria was not set. A metadataFilter must never be created with this value.
MatchAll
MATCH_ALLSpecifies that all filterLabels must match for the metadataFilter to be considered a match.
MatchAny
MATCH_ANYSpecifies that any filterLabel must match for the metadataFilter to be considered a match.
NotSet
NOT_SETIndicates that the match criteria was not set. A metadataFilter must never be created with this value.
MATCH_ALL
MATCH_ALLSpecifies that all filterLabels must match for the metadataFilter to be considered a match.
MATCH_ANY
MATCH_ANYSpecifies that any filterLabel must match for the metadataFilter to be considered a match.
NOT_SET
NOT_SETIndicates that the match criteria was not set. A metadataFilter must never be created with this value.
"MATCH_ALL"
MATCH_ALLSpecifies that all filterLabels must match for the metadataFilter to be considered a match.
"MATCH_ANY"
MATCH_ANYSpecifies that any filterLabel must match for the metadataFilter to be considered a match.
"NOT_SET"
NOT_SETIndicates that the match criteria was not set. A metadataFilter must never be created with this value.

MetadataFilterLabelMatch
, MetadataFilterLabelMatchArgs

Name string
Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long.
Value string
The value of the label must match the specified value. value can have a maximum length of 1024 characters.
Name string
Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long.
Value string
The value of the label must match the specified value. value can have a maximum length of 1024 characters.
name String
Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long.
value String
The value of the label must match the specified value. value can have a maximum length of 1024 characters.
name string
Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long.
value string
The value of the label must match the specified value. value can have a maximum length of 1024 characters.
name str
Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long.
value str
The value of the label must match the specified value. value can have a maximum length of 1024 characters.
name String
Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long.
value String
The value of the label must match the specified value. value can have a maximum length of 1024 characters.

MetadataFilterLabelMatchResponse
, MetadataFilterLabelMatchResponseArgs

Name This property is required. string
Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long.
Value This property is required. string
The value of the label must match the specified value. value can have a maximum length of 1024 characters.
Name This property is required. string
Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long.
Value This property is required. string
The value of the label must match the specified value. value can have a maximum length of 1024 characters.
name This property is required. String
Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long.
value This property is required. String
The value of the label must match the specified value. value can have a maximum length of 1024 characters.
name This property is required. string
Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long.
value This property is required. string
The value of the label must match the specified value. value can have a maximum length of 1024 characters.
name This property is required. str
Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long.
value This property is required. str
The value of the label must match the specified value. value can have a maximum length of 1024 characters.
name This property is required. String
Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long.
value This property is required. String
The value of the label must match the specified value. value can have a maximum length of 1024 characters.

MetadataFilterResponse
, MetadataFilterResponseArgs

FilterLabels This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.MetadataFilterLabelMatchResponse>
The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.
FilterMatchCriteria This property is required. string
Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata.
FilterLabels This property is required. []MetadataFilterLabelMatchResponse
The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.
FilterMatchCriteria This property is required. string
Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata.
filterLabels This property is required. List<MetadataFilterLabelMatchResponse>
The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.
filterMatchCriteria This property is required. String
Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata.
filterLabels This property is required. MetadataFilterLabelMatchResponse[]
The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.
filterMatchCriteria This property is required. string
Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata.
filter_labels This property is required. Sequence[MetadataFilterLabelMatchResponse]
The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.
filter_match_criteria This property is required. str
Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata.
filterLabels This property is required. List<Property Map>
The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.
filterMatchCriteria This property is required. String
Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata.

PathMatcher
, PathMatcherArgs

DefaultCustomErrorResponsePolicy Pulumi.GoogleNative.Compute.Alpha.Inputs.CustomErrorResponsePolicy
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
DefaultRouteAction Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpRouteAction
defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
DefaultService string
The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
DefaultUrlRedirect Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpRedirectAction
When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
Description string
An optional description of this resource. Provide this property when you create the resource.
HeaderAction Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpHeaderAction
Specifies changes to request and response headers that need to take effect for the selected backend service. HeaderAction specified here are applied after the matching HttpRouteRule HeaderAction and before the HeaderAction in the UrlMap HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
Name string
The name to which this PathMatcher is referred by the HostRule.
PathRules List<Pulumi.GoogleNative.Compute.Alpha.Inputs.PathRule>
The list of path rules. Use this list instead of routeRules when routing based on simple path matching is all that's required. The order by which path rules are specified does not matter. Matches are always done on the longest-path-first basis. For example: a pathRule with a path /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear in this list. Within a given pathMatcher, only one of pathRules or routeRules must be set.
RouteRules List<Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpRouteRule>
The list of HTTP route rules. Use this list instead of pathRules when advanced route matching and routing actions are desired. routeRules are evaluated in order of priority, from the lowest to highest number. Within a given pathMatcher, you can set only one of pathRules or routeRules.
DefaultCustomErrorResponsePolicy CustomErrorResponsePolicy
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
DefaultRouteAction HttpRouteAction
defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
DefaultService string
The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
DefaultUrlRedirect HttpRedirectAction
When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
Description string
An optional description of this resource. Provide this property when you create the resource.
HeaderAction HttpHeaderAction
Specifies changes to request and response headers that need to take effect for the selected backend service. HeaderAction specified here are applied after the matching HttpRouteRule HeaderAction and before the HeaderAction in the UrlMap HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
Name string
The name to which this PathMatcher is referred by the HostRule.
PathRules []PathRule
The list of path rules. Use this list instead of routeRules when routing based on simple path matching is all that's required. The order by which path rules are specified does not matter. Matches are always done on the longest-path-first basis. For example: a pathRule with a path /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear in this list. Within a given pathMatcher, only one of pathRules or routeRules must be set.
RouteRules []HttpRouteRule
The list of HTTP route rules. Use this list instead of pathRules when advanced route matching and routing actions are desired. routeRules are evaluated in order of priority, from the lowest to highest number. Within a given pathMatcher, you can set only one of pathRules or routeRules.
defaultCustomErrorResponsePolicy CustomErrorResponsePolicy
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
defaultRouteAction HttpRouteAction
defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
defaultService String
The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
defaultUrlRedirect HttpRedirectAction
When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
description String
An optional description of this resource. Provide this property when you create the resource.
headerAction HttpHeaderAction
Specifies changes to request and response headers that need to take effect for the selected backend service. HeaderAction specified here are applied after the matching HttpRouteRule HeaderAction and before the HeaderAction in the UrlMap HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
name String
The name to which this PathMatcher is referred by the HostRule.
pathRules List<PathRule>
The list of path rules. Use this list instead of routeRules when routing based on simple path matching is all that's required. The order by which path rules are specified does not matter. Matches are always done on the longest-path-first basis. For example: a pathRule with a path /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear in this list. Within a given pathMatcher, only one of pathRules or routeRules must be set.
routeRules List<HttpRouteRule>
The list of HTTP route rules. Use this list instead of pathRules when advanced route matching and routing actions are desired. routeRules are evaluated in order of priority, from the lowest to highest number. Within a given pathMatcher, you can set only one of pathRules or routeRules.
defaultCustomErrorResponsePolicy CustomErrorResponsePolicy
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
defaultRouteAction HttpRouteAction
defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
defaultService string
The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
defaultUrlRedirect HttpRedirectAction
When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
description string
An optional description of this resource. Provide this property when you create the resource.
headerAction HttpHeaderAction
Specifies changes to request and response headers that need to take effect for the selected backend service. HeaderAction specified here are applied after the matching HttpRouteRule HeaderAction and before the HeaderAction in the UrlMap HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
name string
The name to which this PathMatcher is referred by the HostRule.
pathRules PathRule[]
The list of path rules. Use this list instead of routeRules when routing based on simple path matching is all that's required. The order by which path rules are specified does not matter. Matches are always done on the longest-path-first basis. For example: a pathRule with a path /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear in this list. Within a given pathMatcher, only one of pathRules or routeRules must be set.
routeRules HttpRouteRule[]
The list of HTTP route rules. Use this list instead of pathRules when advanced route matching and routing actions are desired. routeRules are evaluated in order of priority, from the lowest to highest number. Within a given pathMatcher, you can set only one of pathRules or routeRules.
default_custom_error_response_policy CustomErrorResponsePolicy
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
default_route_action HttpRouteAction
defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
default_service str
The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
default_url_redirect HttpRedirectAction
When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
description str
An optional description of this resource. Provide this property when you create the resource.
header_action HttpHeaderAction
Specifies changes to request and response headers that need to take effect for the selected backend service. HeaderAction specified here are applied after the matching HttpRouteRule HeaderAction and before the HeaderAction in the UrlMap HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
name str
The name to which this PathMatcher is referred by the HostRule.
path_rules Sequence[PathRule]
The list of path rules. Use this list instead of routeRules when routing based on simple path matching is all that's required. The order by which path rules are specified does not matter. Matches are always done on the longest-path-first basis. For example: a pathRule with a path /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear in this list. Within a given pathMatcher, only one of pathRules or routeRules must be set.
route_rules Sequence[HttpRouteRule]
The list of HTTP route rules. Use this list instead of pathRules when advanced route matching and routing actions are desired. routeRules are evaluated in order of priority, from the lowest to highest number. Within a given pathMatcher, you can set only one of pathRules or routeRules.
defaultCustomErrorResponsePolicy Property Map
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
defaultRouteAction Property Map
defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
defaultService String
The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
defaultUrlRedirect Property Map
When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
description String
An optional description of this resource. Provide this property when you create the resource.
headerAction Property Map
Specifies changes to request and response headers that need to take effect for the selected backend service. HeaderAction specified here are applied after the matching HttpRouteRule HeaderAction and before the HeaderAction in the UrlMap HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
name String
The name to which this PathMatcher is referred by the HostRule.
pathRules List<Property Map>
The list of path rules. Use this list instead of routeRules when routing based on simple path matching is all that's required. The order by which path rules are specified does not matter. Matches are always done on the longest-path-first basis. For example: a pathRule with a path /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear in this list. Within a given pathMatcher, only one of pathRules or routeRules must be set.
routeRules List<Property Map>
The list of HTTP route rules. Use this list instead of pathRules when advanced route matching and routing actions are desired. routeRules are evaluated in order of priority, from the lowest to highest number. Within a given pathMatcher, you can set only one of pathRules or routeRules.

PathMatcherResponse
, PathMatcherResponseArgs

DefaultCustomErrorResponsePolicy This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.CustomErrorResponsePolicyResponse
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
DefaultRouteAction This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpRouteActionResponse
defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
DefaultService This property is required. string
The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
DefaultUrlRedirect This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpRedirectActionResponse
When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
Description This property is required. string
An optional description of this resource. Provide this property when you create the resource.
HeaderAction This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpHeaderActionResponse
Specifies changes to request and response headers that need to take effect for the selected backend service. HeaderAction specified here are applied after the matching HttpRouteRule HeaderAction and before the HeaderAction in the UrlMap HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
Name This property is required. string
The name to which this PathMatcher is referred by the HostRule.
PathRules This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.PathRuleResponse>
The list of path rules. Use this list instead of routeRules when routing based on simple path matching is all that's required. The order by which path rules are specified does not matter. Matches are always done on the longest-path-first basis. For example: a pathRule with a path /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear in this list. Within a given pathMatcher, only one of pathRules or routeRules must be set.
RouteRules This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpRouteRuleResponse>
The list of HTTP route rules. Use this list instead of pathRules when advanced route matching and routing actions are desired. routeRules are evaluated in order of priority, from the lowest to highest number. Within a given pathMatcher, you can set only one of pathRules or routeRules.
DefaultCustomErrorResponsePolicy This property is required. CustomErrorResponsePolicyResponse
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
DefaultRouteAction This property is required. HttpRouteActionResponse
defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
DefaultService This property is required. string
The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
DefaultUrlRedirect This property is required. HttpRedirectActionResponse
When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
Description This property is required. string
An optional description of this resource. Provide this property when you create the resource.
HeaderAction This property is required. HttpHeaderActionResponse
Specifies changes to request and response headers that need to take effect for the selected backend service. HeaderAction specified here are applied after the matching HttpRouteRule HeaderAction and before the HeaderAction in the UrlMap HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
Name This property is required. string
The name to which this PathMatcher is referred by the HostRule.
PathRules This property is required. []PathRuleResponse
The list of path rules. Use this list instead of routeRules when routing based on simple path matching is all that's required. The order by which path rules are specified does not matter. Matches are always done on the longest-path-first basis. For example: a pathRule with a path /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear in this list. Within a given pathMatcher, only one of pathRules or routeRules must be set.
RouteRules This property is required. []HttpRouteRuleResponse
The list of HTTP route rules. Use this list instead of pathRules when advanced route matching and routing actions are desired. routeRules are evaluated in order of priority, from the lowest to highest number. Within a given pathMatcher, you can set only one of pathRules or routeRules.
defaultCustomErrorResponsePolicy This property is required. CustomErrorResponsePolicyResponse
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
defaultRouteAction This property is required. HttpRouteActionResponse
defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
defaultService This property is required. String
The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
defaultUrlRedirect This property is required. HttpRedirectActionResponse
When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
description This property is required. String
An optional description of this resource. Provide this property when you create the resource.
headerAction This property is required. HttpHeaderActionResponse
Specifies changes to request and response headers that need to take effect for the selected backend service. HeaderAction specified here are applied after the matching HttpRouteRule HeaderAction and before the HeaderAction in the UrlMap HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
name This property is required. String
The name to which this PathMatcher is referred by the HostRule.
pathRules This property is required. List<PathRuleResponse>
The list of path rules. Use this list instead of routeRules when routing based on simple path matching is all that's required. The order by which path rules are specified does not matter. Matches are always done on the longest-path-first basis. For example: a pathRule with a path /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear in this list. Within a given pathMatcher, only one of pathRules or routeRules must be set.
routeRules This property is required. List<HttpRouteRuleResponse>
The list of HTTP route rules. Use this list instead of pathRules when advanced route matching and routing actions are desired. routeRules are evaluated in order of priority, from the lowest to highest number. Within a given pathMatcher, you can set only one of pathRules or routeRules.
defaultCustomErrorResponsePolicy This property is required. CustomErrorResponsePolicyResponse
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
defaultRouteAction This property is required. HttpRouteActionResponse
defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
defaultService This property is required. string
The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
defaultUrlRedirect This property is required. HttpRedirectActionResponse
When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
description This property is required. string
An optional description of this resource. Provide this property when you create the resource.
headerAction This property is required. HttpHeaderActionResponse
Specifies changes to request and response headers that need to take effect for the selected backend service. HeaderAction specified here are applied after the matching HttpRouteRule HeaderAction and before the HeaderAction in the UrlMap HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
name This property is required. string
The name to which this PathMatcher is referred by the HostRule.
pathRules This property is required. PathRuleResponse[]
The list of path rules. Use this list instead of routeRules when routing based on simple path matching is all that's required. The order by which path rules are specified does not matter. Matches are always done on the longest-path-first basis. For example: a pathRule with a path /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear in this list. Within a given pathMatcher, only one of pathRules or routeRules must be set.
routeRules This property is required. HttpRouteRuleResponse[]
The list of HTTP route rules. Use this list instead of pathRules when advanced route matching and routing actions are desired. routeRules are evaluated in order of priority, from the lowest to highest number. Within a given pathMatcher, you can set only one of pathRules or routeRules.
default_custom_error_response_policy This property is required. CustomErrorResponsePolicyResponse
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
default_route_action This property is required. HttpRouteActionResponse
defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
default_service This property is required. str
The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
default_url_redirect This property is required. HttpRedirectActionResponse
When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
description This property is required. str
An optional description of this resource. Provide this property when you create the resource.
header_action This property is required. HttpHeaderActionResponse
Specifies changes to request and response headers that need to take effect for the selected backend service. HeaderAction specified here are applied after the matching HttpRouteRule HeaderAction and before the HeaderAction in the UrlMap HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
name This property is required. str
The name to which this PathMatcher is referred by the HostRule.
path_rules This property is required. Sequence[PathRuleResponse]
The list of path rules. Use this list instead of routeRules when routing based on simple path matching is all that's required. The order by which path rules are specified does not matter. Matches are always done on the longest-path-first basis. For example: a pathRule with a path /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear in this list. Within a given pathMatcher, only one of pathRules or routeRules must be set.
route_rules This property is required. Sequence[HttpRouteRuleResponse]
The list of HTTP route rules. Use this list instead of pathRules when advanced route matching and routing actions are desired. routeRules are evaluated in order of priority, from the lowest to highest number. Within a given pathMatcher, you can set only one of pathRules or routeRules.
defaultCustomErrorResponsePolicy This property is required. Property Map
defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers.
defaultRouteAction This property is required. Property Map
defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
defaultService This property is required. String
The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
defaultUrlRedirect This property is required. Property Map
When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
description This property is required. String
An optional description of this resource. Provide this property when you create the resource.
headerAction This property is required. Property Map
Specifies changes to request and response headers that need to take effect for the selected backend service. HeaderAction specified here are applied after the matching HttpRouteRule HeaderAction and before the HeaderAction in the UrlMap HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
name This property is required. String
The name to which this PathMatcher is referred by the HostRule.
pathRules This property is required. List<Property Map>
The list of path rules. Use this list instead of routeRules when routing based on simple path matching is all that's required. The order by which path rules are specified does not matter. Matches are always done on the longest-path-first basis. For example: a pathRule with a path /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear in this list. Within a given pathMatcher, only one of pathRules or routeRules must be set.
routeRules This property is required. List<Property Map>
The list of HTTP route rules. Use this list instead of pathRules when advanced route matching and routing actions are desired. routeRules are evaluated in order of priority, from the lowest to highest number. Within a given pathMatcher, you can set only one of pathRules or routeRules.

PathRule
, PathRuleArgs

CustomErrorResponsePolicy Pulumi.GoogleNative.Compute.Alpha.Inputs.CustomErrorResponsePolicy
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for global external Application Load Balancers.
Paths List<string>
The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here.
RouteAction Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpRouteAction
In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path rule's routeAction.
Service string
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
UrlRedirect Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpRedirectAction
When a path pattern is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
CustomErrorResponsePolicy CustomErrorResponsePolicy
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for global external Application Load Balancers.
Paths []string
The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here.
RouteAction HttpRouteAction
In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path rule's routeAction.
Service string
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
UrlRedirect HttpRedirectAction
When a path pattern is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
customErrorResponsePolicy CustomErrorResponsePolicy
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for global external Application Load Balancers.
paths List<String>
The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here.
routeAction HttpRouteAction
In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path rule's routeAction.
service String
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
urlRedirect HttpRedirectAction
When a path pattern is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
customErrorResponsePolicy CustomErrorResponsePolicy
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for global external Application Load Balancers.
paths string[]
The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here.
routeAction HttpRouteAction
In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path rule's routeAction.
service string
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
urlRedirect HttpRedirectAction
When a path pattern is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
custom_error_response_policy CustomErrorResponsePolicy
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for global external Application Load Balancers.
paths Sequence[str]
The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here.
route_action HttpRouteAction
In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path rule's routeAction.
service str
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
url_redirect HttpRedirectAction
When a path pattern is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
customErrorResponsePolicy Property Map
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for global external Application Load Balancers.
paths List<String>
The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here.
routeAction Property Map
In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path rule's routeAction.
service String
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
urlRedirect Property Map
When a path pattern is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.

PathRuleResponse
, PathRuleResponseArgs

CustomErrorResponsePolicy This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.CustomErrorResponsePolicyResponse
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for global external Application Load Balancers.
Paths This property is required. List<string>
The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here.
RouteAction This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpRouteActionResponse
In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path rule's routeAction.
Service This property is required. string
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
UrlRedirect This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpRedirectActionResponse
When a path pattern is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
CustomErrorResponsePolicy This property is required. CustomErrorResponsePolicyResponse
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for global external Application Load Balancers.
Paths This property is required. []string
The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here.
RouteAction This property is required. HttpRouteActionResponse
In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path rule's routeAction.
Service This property is required. string
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
UrlRedirect This property is required. HttpRedirectActionResponse
When a path pattern is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
customErrorResponsePolicy This property is required. CustomErrorResponsePolicyResponse
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for global external Application Load Balancers.
paths This property is required. List<String>
The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here.
routeAction This property is required. HttpRouteActionResponse
In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path rule's routeAction.
service This property is required. String
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
urlRedirect This property is required. HttpRedirectActionResponse
When a path pattern is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
customErrorResponsePolicy This property is required. CustomErrorResponsePolicyResponse
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for global external Application Load Balancers.
paths This property is required. string[]
The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here.
routeAction This property is required. HttpRouteActionResponse
In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path rule's routeAction.
service This property is required. string
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
urlRedirect This property is required. HttpRedirectActionResponse
When a path pattern is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
custom_error_response_policy This property is required. CustomErrorResponsePolicyResponse
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for global external Application Load Balancers.
paths This property is required. Sequence[str]
The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here.
route_action This property is required. HttpRouteActionResponse
In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path rule's routeAction.
service This property is required. str
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
url_redirect This property is required. HttpRedirectActionResponse
When a path pattern is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
customErrorResponsePolicy This property is required. Property Map
customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for global external Application Load Balancers.
paths This property is required. List<String>
The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here.
routeAction This property is required. Property Map
In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path rule's routeAction.
service This property is required. String
The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
urlRedirect This property is required. Property Map
When a path pattern is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.

RequestMirrorPolicy
, RequestMirrorPolicyArgs

BackendService string
The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service.
BackendService string
The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service.
backendService String
The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service.
backendService string
The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service.
backend_service str
The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service.
backendService String
The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service.

RequestMirrorPolicyResponse
, RequestMirrorPolicyResponseArgs

BackendService This property is required. string
The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service.
BackendService This property is required. string
The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service.
backendService This property is required. String
The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service.
backendService This property is required. string
The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service.
backend_service This property is required. str
The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service.
backendService This property is required. String
The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service.

UrlMapTest
, UrlMapTestArgs

BackendServiceWeight int
The weight to use for the supplied host and path when using advanced routing rules that involve traffic splitting.
Description string
Description of this test case.
ExpectedOutputUrl string
The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by the load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to HTTPS. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified.
ExpectedRedirectResponseCode int
For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set.
ExpectedUrlRedirect string
The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

Deprecated: The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

Headers List<Pulumi.GoogleNative.Compute.Alpha.Inputs.UrlMapTestHeader>
HTTP headers for this request. If headers contains a host header, then host must also match the header value.
Host string
Host portion of the URL. If headers contains a host header, then host must also match the header value.
Path string
Path portion of the URL.
Service string
Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set.
BackendServiceWeight int
The weight to use for the supplied host and path when using advanced routing rules that involve traffic splitting.
Description string
Description of this test case.
ExpectedOutputUrl string
The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by the load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to HTTPS. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified.
ExpectedRedirectResponseCode int
For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set.
ExpectedUrlRedirect string
The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

Deprecated: The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

Headers []UrlMapTestHeader
HTTP headers for this request. If headers contains a host header, then host must also match the header value.
Host string
Host portion of the URL. If headers contains a host header, then host must also match the header value.
Path string
Path portion of the URL.
Service string
Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set.
backendServiceWeight Integer
The weight to use for the supplied host and path when using advanced routing rules that involve traffic splitting.
description String
Description of this test case.
expectedOutputUrl String
The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by the load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to HTTPS. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified.
expectedRedirectResponseCode Integer
For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set.
expectedUrlRedirect String
The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

Deprecated: The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

headers List<UrlMapTestHeader>
HTTP headers for this request. If headers contains a host header, then host must also match the header value.
host String
Host portion of the URL. If headers contains a host header, then host must also match the header value.
path String
Path portion of the URL.
service String
Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set.
backendServiceWeight number
The weight to use for the supplied host and path when using advanced routing rules that involve traffic splitting.
description string
Description of this test case.
expectedOutputUrl string
The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by the load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to HTTPS. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified.
expectedRedirectResponseCode number
For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set.
expectedUrlRedirect string
The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

Deprecated: The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

headers UrlMapTestHeader[]
HTTP headers for this request. If headers contains a host header, then host must also match the header value.
host string
Host portion of the URL. If headers contains a host header, then host must also match the header value.
path string
Path portion of the URL.
service string
Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set.
backend_service_weight int
The weight to use for the supplied host and path when using advanced routing rules that involve traffic splitting.
description str
Description of this test case.
expected_output_url str
The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by the load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to HTTPS. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified.
expected_redirect_response_code int
For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set.
expected_url_redirect str
The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

Deprecated: The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

headers Sequence[UrlMapTestHeader]
HTTP headers for this request. If headers contains a host header, then host must also match the header value.
host str
Host portion of the URL. If headers contains a host header, then host must also match the header value.
path str
Path portion of the URL.
service str
Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set.
backendServiceWeight Number
The weight to use for the supplied host and path when using advanced routing rules that involve traffic splitting.
description String
Description of this test case.
expectedOutputUrl String
The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by the load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to HTTPS. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified.
expectedRedirectResponseCode Number
For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set.
expectedUrlRedirect String
The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

Deprecated: The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

headers List<Property Map>
HTTP headers for this request. If headers contains a host header, then host must also match the header value.
host String
Host portion of the URL. If headers contains a host header, then host must also match the header value.
path String
Path portion of the URL.
service String
Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set.

UrlMapTestHeader
, UrlMapTestHeaderArgs

Name string
Header name.
Value string
Header value.
Name string
Header name.
Value string
Header value.
name String
Header name.
value String
Header value.
name string
Header name.
value string
Header value.
name str
Header name.
value str
Header value.
name String
Header name.
value String
Header value.

UrlMapTestHeaderResponse
, UrlMapTestHeaderResponseArgs

Name This property is required. string
Header name.
Value This property is required. string
Header value.
Name This property is required. string
Header name.
Value This property is required. string
Header value.
name This property is required. String
Header name.
value This property is required. String
Header value.
name This property is required. string
Header name.
value This property is required. string
Header value.
name This property is required. str
Header name.
value This property is required. str
Header value.
name This property is required. String
Header name.
value This property is required. String
Header value.

UrlMapTestResponse
, UrlMapTestResponseArgs

BackendServiceWeight This property is required. int
The weight to use for the supplied host and path when using advanced routing rules that involve traffic splitting.
Description This property is required. string
Description of this test case.
ExpectedOutputUrl This property is required. string
The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by the load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to HTTPS. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified.
ExpectedRedirectResponseCode This property is required. int
For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set.
ExpectedUrlRedirect This property is required. string
The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

Deprecated: The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

Headers This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.UrlMapTestHeaderResponse>
HTTP headers for this request. If headers contains a host header, then host must also match the header value.
Host This property is required. string
Host portion of the URL. If headers contains a host header, then host must also match the header value.
Path This property is required. string
Path portion of the URL.
Service This property is required. string
Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set.
BackendServiceWeight This property is required. int
The weight to use for the supplied host and path when using advanced routing rules that involve traffic splitting.
Description This property is required. string
Description of this test case.
ExpectedOutputUrl This property is required. string
The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by the load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to HTTPS. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified.
ExpectedRedirectResponseCode This property is required. int
For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set.
ExpectedUrlRedirect This property is required. string
The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

Deprecated: The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

Headers This property is required. []UrlMapTestHeaderResponse
HTTP headers for this request. If headers contains a host header, then host must also match the header value.
Host This property is required. string
Host portion of the URL. If headers contains a host header, then host must also match the header value.
Path This property is required. string
Path portion of the URL.
Service This property is required. string
Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set.
backendServiceWeight This property is required. Integer
The weight to use for the supplied host and path when using advanced routing rules that involve traffic splitting.
description This property is required. String
Description of this test case.
expectedOutputUrl This property is required. String
The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by the load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to HTTPS. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified.
expectedRedirectResponseCode This property is required. Integer
For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set.
expectedUrlRedirect This property is required. String
The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

Deprecated: The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

headers This property is required. List<UrlMapTestHeaderResponse>
HTTP headers for this request. If headers contains a host header, then host must also match the header value.
host This property is required. String
Host portion of the URL. If headers contains a host header, then host must also match the header value.
path This property is required. String
Path portion of the URL.
service This property is required. String
Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set.
backendServiceWeight This property is required. number
The weight to use for the supplied host and path when using advanced routing rules that involve traffic splitting.
description This property is required. string
Description of this test case.
expectedOutputUrl This property is required. string
The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by the load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to HTTPS. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified.
expectedRedirectResponseCode This property is required. number
For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set.
expectedUrlRedirect This property is required. string
The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

Deprecated: The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

headers This property is required. UrlMapTestHeaderResponse[]
HTTP headers for this request. If headers contains a host header, then host must also match the header value.
host This property is required. string
Host portion of the URL. If headers contains a host header, then host must also match the header value.
path This property is required. string
Path portion of the URL.
service This property is required. string
Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set.
backend_service_weight This property is required. int
The weight to use for the supplied host and path when using advanced routing rules that involve traffic splitting.
description This property is required. str
Description of this test case.
expected_output_url This property is required. str
The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by the load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to HTTPS. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified.
expected_redirect_response_code This property is required. int
For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set.
expected_url_redirect This property is required. str
The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

Deprecated: The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

headers This property is required. Sequence[UrlMapTestHeaderResponse]
HTTP headers for this request. If headers contains a host header, then host must also match the header value.
host This property is required. str
Host portion of the URL. If headers contains a host header, then host must also match the header value.
path This property is required. str
Path portion of the URL.
service This property is required. str
Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set.
backendServiceWeight This property is required. Number
The weight to use for the supplied host and path when using advanced routing rules that involve traffic splitting.
description This property is required. String
Description of this test case.
expectedOutputUrl This property is required. String
The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by the load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to HTTPS. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified.
expectedRedirectResponseCode This property is required. Number
For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set.
expectedUrlRedirect This property is required. String
The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

Deprecated: The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.

headers This property is required. List<Property Map>
HTTP headers for this request. If headers contains a host header, then host must also match the header value.
host This property is required. String
Host portion of the URL. If headers contains a host header, then host must also match the header value.
path This property is required. String
Path portion of the URL.
service This property is required. String
Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set.

UrlRewrite
, UrlRewriteArgs

HostRewrite string
Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters.
PathPrefixRewrite string
Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters.
PathTemplateRewrite string
If specified, the pattern rewrites the URL path (based on the :path header) using the HTTP template syntax. A corresponding path_template_match must be specified. Any template variables must exist in the path_template_match field. - -At least one variable must be specified in the path_template_match field - You can omit variables from the rewritten URL - The * and ** operators cannot be matched unless they have a corresponding variable name - e.g. {format=*} or {var=**}. For example, a path_template_match of /static/{format=**} could be rewritten as /static/content/{format} to prefix /content to the URL. Variables can also be re-ordered in a rewrite, so that /{country}/{format}/{suffix=**} can be rewritten as /content/{format}/{country}/{suffix}. At least one non-empty routeRules[].matchRules[].path_template_match is required. Only one of path_prefix_rewrite or path_template_rewrite may be specified.
HostRewrite string
Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters.
PathPrefixRewrite string
Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters.
PathTemplateRewrite string
If specified, the pattern rewrites the URL path (based on the :path header) using the HTTP template syntax. A corresponding path_template_match must be specified. Any template variables must exist in the path_template_match field. - -At least one variable must be specified in the path_template_match field - You can omit variables from the rewritten URL - The * and ** operators cannot be matched unless they have a corresponding variable name - e.g. {format=*} or {var=**}. For example, a path_template_match of /static/{format=**} could be rewritten as /static/content/{format} to prefix /content to the URL. Variables can also be re-ordered in a rewrite, so that /{country}/{format}/{suffix=**} can be rewritten as /content/{format}/{country}/{suffix}. At least one non-empty routeRules[].matchRules[].path_template_match is required. Only one of path_prefix_rewrite or path_template_rewrite may be specified.
hostRewrite String
Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters.
pathPrefixRewrite String
Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters.
pathTemplateRewrite String
If specified, the pattern rewrites the URL path (based on the :path header) using the HTTP template syntax. A corresponding path_template_match must be specified. Any template variables must exist in the path_template_match field. - -At least one variable must be specified in the path_template_match field - You can omit variables from the rewritten URL - The * and ** operators cannot be matched unless they have a corresponding variable name - e.g. {format=*} or {var=**}. For example, a path_template_match of /static/{format=**} could be rewritten as /static/content/{format} to prefix /content to the URL. Variables can also be re-ordered in a rewrite, so that /{country}/{format}/{suffix=**} can be rewritten as /content/{format}/{country}/{suffix}. At least one non-empty routeRules[].matchRules[].path_template_match is required. Only one of path_prefix_rewrite or path_template_rewrite may be specified.
hostRewrite string
Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters.
pathPrefixRewrite string
Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters.
pathTemplateRewrite string
If specified, the pattern rewrites the URL path (based on the :path header) using the HTTP template syntax. A corresponding path_template_match must be specified. Any template variables must exist in the path_template_match field. - -At least one variable must be specified in the path_template_match field - You can omit variables from the rewritten URL - The * and ** operators cannot be matched unless they have a corresponding variable name - e.g. {format=*} or {var=**}. For example, a path_template_match of /static/{format=**} could be rewritten as /static/content/{format} to prefix /content to the URL. Variables can also be re-ordered in a rewrite, so that /{country}/{format}/{suffix=**} can be rewritten as /content/{format}/{country}/{suffix}. At least one non-empty routeRules[].matchRules[].path_template_match is required. Only one of path_prefix_rewrite or path_template_rewrite may be specified.
host_rewrite str
Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters.
path_prefix_rewrite str
Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters.
path_template_rewrite str
If specified, the pattern rewrites the URL path (based on the :path header) using the HTTP template syntax. A corresponding path_template_match must be specified. Any template variables must exist in the path_template_match field. - -At least one variable must be specified in the path_template_match field - You can omit variables from the rewritten URL - The * and ** operators cannot be matched unless they have a corresponding variable name - e.g. {format=*} or {var=**}. For example, a path_template_match of /static/{format=**} could be rewritten as /static/content/{format} to prefix /content to the URL. Variables can also be re-ordered in a rewrite, so that /{country}/{format}/{suffix=**} can be rewritten as /content/{format}/{country}/{suffix}. At least one non-empty routeRules[].matchRules[].path_template_match is required. Only one of path_prefix_rewrite or path_template_rewrite may be specified.
hostRewrite String
Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters.
pathPrefixRewrite String
Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters.
pathTemplateRewrite String
If specified, the pattern rewrites the URL path (based on the :path header) using the HTTP template syntax. A corresponding path_template_match must be specified. Any template variables must exist in the path_template_match field. - -At least one variable must be specified in the path_template_match field - You can omit variables from the rewritten URL - The * and ** operators cannot be matched unless they have a corresponding variable name - e.g. {format=*} or {var=**}. For example, a path_template_match of /static/{format=**} could be rewritten as /static/content/{format} to prefix /content to the URL. Variables can also be re-ordered in a rewrite, so that /{country}/{format}/{suffix=**} can be rewritten as /content/{format}/{country}/{suffix}. At least one non-empty routeRules[].matchRules[].path_template_match is required. Only one of path_prefix_rewrite or path_template_rewrite may be specified.

UrlRewriteResponse
, UrlRewriteResponseArgs

HostRewrite This property is required. string
Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters.
PathPrefixRewrite This property is required. string
Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters.
PathTemplateRewrite This property is required. string
If specified, the pattern rewrites the URL path (based on the :path header) using the HTTP template syntax. A corresponding path_template_match must be specified. Any template variables must exist in the path_template_match field. - -At least one variable must be specified in the path_template_match field - You can omit variables from the rewritten URL - The * and ** operators cannot be matched unless they have a corresponding variable name - e.g. {format=*} or {var=**}. For example, a path_template_match of /static/{format=**} could be rewritten as /static/content/{format} to prefix /content to the URL. Variables can also be re-ordered in a rewrite, so that /{country}/{format}/{suffix=**} can be rewritten as /content/{format}/{country}/{suffix}. At least one non-empty routeRules[].matchRules[].path_template_match is required. Only one of path_prefix_rewrite or path_template_rewrite may be specified.
HostRewrite This property is required. string
Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters.
PathPrefixRewrite This property is required. string
Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters.
PathTemplateRewrite This property is required. string
If specified, the pattern rewrites the URL path (based on the :path header) using the HTTP template syntax. A corresponding path_template_match must be specified. Any template variables must exist in the path_template_match field. - -At least one variable must be specified in the path_template_match field - You can omit variables from the rewritten URL - The * and ** operators cannot be matched unless they have a corresponding variable name - e.g. {format=*} or {var=**}. For example, a path_template_match of /static/{format=**} could be rewritten as /static/content/{format} to prefix /content to the URL. Variables can also be re-ordered in a rewrite, so that /{country}/{format}/{suffix=**} can be rewritten as /content/{format}/{country}/{suffix}. At least one non-empty routeRules[].matchRules[].path_template_match is required. Only one of path_prefix_rewrite or path_template_rewrite may be specified.
hostRewrite This property is required. String
Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters.
pathPrefixRewrite This property is required. String
Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters.
pathTemplateRewrite This property is required. String
If specified, the pattern rewrites the URL path (based on the :path header) using the HTTP template syntax. A corresponding path_template_match must be specified. Any template variables must exist in the path_template_match field. - -At least one variable must be specified in the path_template_match field - You can omit variables from the rewritten URL - The * and ** operators cannot be matched unless they have a corresponding variable name - e.g. {format=*} or {var=**}. For example, a path_template_match of /static/{format=**} could be rewritten as /static/content/{format} to prefix /content to the URL. Variables can also be re-ordered in a rewrite, so that /{country}/{format}/{suffix=**} can be rewritten as /content/{format}/{country}/{suffix}. At least one non-empty routeRules[].matchRules[].path_template_match is required. Only one of path_prefix_rewrite or path_template_rewrite may be specified.
hostRewrite This property is required. string
Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters.
pathPrefixRewrite This property is required. string
Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters.
pathTemplateRewrite This property is required. string
If specified, the pattern rewrites the URL path (based on the :path header) using the HTTP template syntax. A corresponding path_template_match must be specified. Any template variables must exist in the path_template_match field. - -At least one variable must be specified in the path_template_match field - You can omit variables from the rewritten URL - The * and ** operators cannot be matched unless they have a corresponding variable name - e.g. {format=*} or {var=**}. For example, a path_template_match of /static/{format=**} could be rewritten as /static/content/{format} to prefix /content to the URL. Variables can also be re-ordered in a rewrite, so that /{country}/{format}/{suffix=**} can be rewritten as /content/{format}/{country}/{suffix}. At least one non-empty routeRules[].matchRules[].path_template_match is required. Only one of path_prefix_rewrite or path_template_rewrite may be specified.
host_rewrite This property is required. str
Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters.
path_prefix_rewrite This property is required. str
Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters.
path_template_rewrite This property is required. str
If specified, the pattern rewrites the URL path (based on the :path header) using the HTTP template syntax. A corresponding path_template_match must be specified. Any template variables must exist in the path_template_match field. - -At least one variable must be specified in the path_template_match field - You can omit variables from the rewritten URL - The * and ** operators cannot be matched unless they have a corresponding variable name - e.g. {format=*} or {var=**}. For example, a path_template_match of /static/{format=**} could be rewritten as /static/content/{format} to prefix /content to the URL. Variables can also be re-ordered in a rewrite, so that /{country}/{format}/{suffix=**} can be rewritten as /content/{format}/{country}/{suffix}. At least one non-empty routeRules[].matchRules[].path_template_match is required. Only one of path_prefix_rewrite or path_template_rewrite may be specified.
hostRewrite This property is required. String
Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters.
pathPrefixRewrite This property is required. String
Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters.
pathTemplateRewrite This property is required. String
If specified, the pattern rewrites the URL path (based on the :path header) using the HTTP template syntax. A corresponding path_template_match must be specified. Any template variables must exist in the path_template_match field. - -At least one variable must be specified in the path_template_match field - You can omit variables from the rewritten URL - The * and ** operators cannot be matched unless they have a corresponding variable name - e.g. {format=*} or {var=**}. For example, a path_template_match of /static/{format=**} could be rewritten as /static/content/{format} to prefix /content to the URL. Variables can also be re-ordered in a rewrite, so that /{country}/{format}/{suffix=**} can be rewritten as /content/{format}/{country}/{suffix}. At least one non-empty routeRules[].matchRules[].path_template_match is required. Only one of path_prefix_rewrite or path_template_rewrite may be specified.

WeightedBackendService
, WeightedBackendServiceArgs

BackendService string
The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backendServiceWeight.
HeaderAction Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpHeaderAction
Specifies changes to request and response headers that need to take effect for the selected backendService. headerAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
Weight int
Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. The value must be from 0 to 1000.
BackendService string
The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backendServiceWeight.
HeaderAction HttpHeaderAction
Specifies changes to request and response headers that need to take effect for the selected backendService. headerAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
Weight int
Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. The value must be from 0 to 1000.
backendService String
The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backendServiceWeight.
headerAction HttpHeaderAction
Specifies changes to request and response headers that need to take effect for the selected backendService. headerAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
weight Integer
Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. The value must be from 0 to 1000.
backendService string
The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backendServiceWeight.
headerAction HttpHeaderAction
Specifies changes to request and response headers that need to take effect for the selected backendService. headerAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
weight number
Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. The value must be from 0 to 1000.
backend_service str
The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backendServiceWeight.
header_action HttpHeaderAction
Specifies changes to request and response headers that need to take effect for the selected backendService. headerAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
weight int
Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. The value must be from 0 to 1000.
backendService String
The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backendServiceWeight.
headerAction Property Map
Specifies changes to request and response headers that need to take effect for the selected backendService. headerAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
weight Number
Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. The value must be from 0 to 1000.

WeightedBackendServiceResponse
, WeightedBackendServiceResponseArgs

BackendService This property is required. string
The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backendServiceWeight.
HeaderAction This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.HttpHeaderActionResponse
Specifies changes to request and response headers that need to take effect for the selected backendService. headerAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
Weight This property is required. int
Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. The value must be from 0 to 1000.
BackendService This property is required. string
The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backendServiceWeight.
HeaderAction This property is required. HttpHeaderActionResponse
Specifies changes to request and response headers that need to take effect for the selected backendService. headerAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
Weight This property is required. int
Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. The value must be from 0 to 1000.
backendService This property is required. String
The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backendServiceWeight.
headerAction This property is required. HttpHeaderActionResponse
Specifies changes to request and response headers that need to take effect for the selected backendService. headerAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
weight This property is required. Integer
Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. The value must be from 0 to 1000.
backendService This property is required. string
The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backendServiceWeight.
headerAction This property is required. HttpHeaderActionResponse
Specifies changes to request and response headers that need to take effect for the selected backendService. headerAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
weight This property is required. number
Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. The value must be from 0 to 1000.
backend_service This property is required. str
The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backendServiceWeight.
header_action This property is required. HttpHeaderActionResponse
Specifies changes to request and response headers that need to take effect for the selected backendService. headerAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
weight This property is required. int
Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. The value must be from 0 to 1000.
backendService This property is required. String
The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backendServiceWeight.
headerAction This property is required. Property Map
Specifies changes to request and response headers that need to take effect for the selected backendService. headerAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
weight This property is required. Number
Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. The value must be from 0 to 1000.

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