Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.compute/v1.RegionUrlMap
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a UrlMap resource in the specified project using the data included in the request.
Create RegionUrlMap Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RegionUrlMap(name: string, args: RegionUrlMapArgs, opts?: CustomResourceOptions);
@overload
def RegionUrlMap(resource_name: str,
args: RegionUrlMapArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RegionUrlMap(resource_name: str,
opts: Optional[ResourceOptions] = None,
region: Optional[str] = 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 NewRegionUrlMap(ctx *Context, name string, args RegionUrlMapArgs, opts ...ResourceOption) (*RegionUrlMap, error)
public RegionUrlMap(string name, RegionUrlMapArgs args, CustomResourceOptions? opts = null)
public RegionUrlMap(String name, RegionUrlMapArgs args)
public RegionUrlMap(String name, RegionUrlMapArgs args, CustomResourceOptions options)
type: google-native:compute/v1:RegionUrlMap
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RegionUrlMapArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RegionUrlMapArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RegionUrlMapArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RegionUrlMapArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RegionUrlMapArgs
- 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 exampleregionUrlMapResourceResourceFromComputev1 = new GoogleNative.Compute.V1.RegionUrlMap("exampleregionUrlMapResourceResourceFromComputev1", new()
{
Region = "string",
DefaultRouteAction = new GoogleNative.Compute.V1.Inputs.HttpRouteActionArgs
{
CorsPolicy = new GoogleNative.Compute.V1.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.V1.Inputs.HttpFaultInjectionArgs
{
Abort = new GoogleNative.Compute.V1.Inputs.HttpFaultAbortArgs
{
HttpStatus = 0,
Percentage = 0,
},
Delay = new GoogleNative.Compute.V1.Inputs.HttpFaultDelayArgs
{
FixedDelay = new GoogleNative.Compute.V1.Inputs.DurationArgs
{
Nanos = 0,
Seconds = "string",
},
Percentage = 0,
},
},
MaxStreamDuration = new GoogleNative.Compute.V1.Inputs.DurationArgs
{
Nanos = 0,
Seconds = "string",
},
RequestMirrorPolicy = new GoogleNative.Compute.V1.Inputs.RequestMirrorPolicyArgs
{
BackendService = "string",
},
RetryPolicy = new GoogleNative.Compute.V1.Inputs.HttpRetryPolicyArgs
{
NumRetries = 0,
PerTryTimeout = new GoogleNative.Compute.V1.Inputs.DurationArgs
{
Nanos = 0,
Seconds = "string",
},
RetryConditions = new[]
{
"string",
},
},
Timeout = new GoogleNative.Compute.V1.Inputs.DurationArgs
{
Nanos = 0,
Seconds = "string",
},
UrlRewrite = new GoogleNative.Compute.V1.Inputs.UrlRewriteArgs
{
HostRewrite = "string",
PathPrefixRewrite = "string",
PathTemplateRewrite = "string",
},
WeightedBackendServices = new[]
{
new GoogleNative.Compute.V1.Inputs.WeightedBackendServiceArgs
{
BackendService = "string",
HeaderAction = new GoogleNative.Compute.V1.Inputs.HttpHeaderActionArgs
{
RequestHeadersToAdd = new[]
{
new GoogleNative.Compute.V1.Inputs.HttpHeaderOptionArgs
{
HeaderName = "string",
HeaderValue = "string",
Replace = false,
},
},
RequestHeadersToRemove = new[]
{
"string",
},
ResponseHeadersToAdd = new[]
{
new GoogleNative.Compute.V1.Inputs.HttpHeaderOptionArgs
{
HeaderName = "string",
HeaderValue = "string",
Replace = false,
},
},
ResponseHeadersToRemove = new[]
{
"string",
},
},
Weight = 0,
},
},
},
DefaultService = "string",
DefaultUrlRedirect = new GoogleNative.Compute.V1.Inputs.HttpRedirectActionArgs
{
HostRedirect = "string",
HttpsRedirect = false,
PathRedirect = "string",
PrefixRedirect = "string",
RedirectResponseCode = GoogleNative.Compute.V1.HttpRedirectActionRedirectResponseCode.Found,
StripQuery = false,
},
Description = "string",
HeaderAction = new GoogleNative.Compute.V1.Inputs.HttpHeaderActionArgs
{
RequestHeadersToAdd = new[]
{
new GoogleNative.Compute.V1.Inputs.HttpHeaderOptionArgs
{
HeaderName = "string",
HeaderValue = "string",
Replace = false,
},
},
RequestHeadersToRemove = new[]
{
"string",
},
ResponseHeadersToAdd = new[]
{
new GoogleNative.Compute.V1.Inputs.HttpHeaderOptionArgs
{
HeaderName = "string",
HeaderValue = "string",
Replace = false,
},
},
ResponseHeadersToRemove = new[]
{
"string",
},
},
HostRules = new[]
{
new GoogleNative.Compute.V1.Inputs.HostRuleArgs
{
Description = "string",
Hosts = new[]
{
"string",
},
PathMatcher = "string",
},
},
Name = "string",
PathMatchers = new[]
{
new GoogleNative.Compute.V1.Inputs.PathMatcherArgs
{
DefaultRouteAction = new GoogleNative.Compute.V1.Inputs.HttpRouteActionArgs
{
CorsPolicy = new GoogleNative.Compute.V1.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.V1.Inputs.HttpFaultInjectionArgs
{
Abort = new GoogleNative.Compute.V1.Inputs.HttpFaultAbortArgs
{
HttpStatus = 0,
Percentage = 0,
},
Delay = new GoogleNative.Compute.V1.Inputs.HttpFaultDelayArgs
{
FixedDelay = new GoogleNative.Compute.V1.Inputs.DurationArgs
{
Nanos = 0,
Seconds = "string",
},
Percentage = 0,
},
},
MaxStreamDuration = new GoogleNative.Compute.V1.Inputs.DurationArgs
{
Nanos = 0,
Seconds = "string",
},
RequestMirrorPolicy = new GoogleNative.Compute.V1.Inputs.RequestMirrorPolicyArgs
{
BackendService = "string",
},
RetryPolicy = new GoogleNative.Compute.V1.Inputs.HttpRetryPolicyArgs
{
NumRetries = 0,
PerTryTimeout = new GoogleNative.Compute.V1.Inputs.DurationArgs
{
Nanos = 0,
Seconds = "string",
},
RetryConditions = new[]
{
"string",
},
},
Timeout = new GoogleNative.Compute.V1.Inputs.DurationArgs
{
Nanos = 0,
Seconds = "string",
},
UrlRewrite = new GoogleNative.Compute.V1.Inputs.UrlRewriteArgs
{
HostRewrite = "string",
PathPrefixRewrite = "string",
PathTemplateRewrite = "string",
},
WeightedBackendServices = new[]
{
new GoogleNative.Compute.V1.Inputs.WeightedBackendServiceArgs
{
BackendService = "string",
HeaderAction = new GoogleNative.Compute.V1.Inputs.HttpHeaderActionArgs
{
RequestHeadersToAdd = new[]
{
new GoogleNative.Compute.V1.Inputs.HttpHeaderOptionArgs
{
HeaderName = "string",
HeaderValue = "string",
Replace = false,
},
},
RequestHeadersToRemove = new[]
{
"string",
},
ResponseHeadersToAdd = new[]
{
new GoogleNative.Compute.V1.Inputs.HttpHeaderOptionArgs
{
HeaderName = "string",
HeaderValue = "string",
Replace = false,
},
},
ResponseHeadersToRemove = new[]
{
"string",
},
},
Weight = 0,
},
},
},
DefaultService = "string",
DefaultUrlRedirect = new GoogleNative.Compute.V1.Inputs.HttpRedirectActionArgs
{
HostRedirect = "string",
HttpsRedirect = false,
PathRedirect = "string",
PrefixRedirect = "string",
RedirectResponseCode = GoogleNative.Compute.V1.HttpRedirectActionRedirectResponseCode.Found,
StripQuery = false,
},
Description = "string",
HeaderAction = new GoogleNative.Compute.V1.Inputs.HttpHeaderActionArgs
{
RequestHeadersToAdd = new[]
{
new GoogleNative.Compute.V1.Inputs.HttpHeaderOptionArgs
{
HeaderName = "string",
HeaderValue = "string",
Replace = false,
},
},
RequestHeadersToRemove = new[]
{
"string",
},
ResponseHeadersToAdd = new[]
{
new GoogleNative.Compute.V1.Inputs.HttpHeaderOptionArgs
{
HeaderName = "string",
HeaderValue = "string",
Replace = false,
},
},
ResponseHeadersToRemove = new[]
{
"string",
},
},
Name = "string",
PathRules = new[]
{
new GoogleNative.Compute.V1.Inputs.PathRuleArgs
{
Paths = new[]
{
"string",
},
RouteAction = new GoogleNative.Compute.V1.Inputs.HttpRouteActionArgs
{
CorsPolicy = new GoogleNative.Compute.V1.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.V1.Inputs.HttpFaultInjectionArgs
{
Abort = new GoogleNative.Compute.V1.Inputs.HttpFaultAbortArgs
{
HttpStatus = 0,
Percentage = 0,
},
Delay = new GoogleNative.Compute.V1.Inputs.HttpFaultDelayArgs
{
FixedDelay = new GoogleNative.Compute.V1.Inputs.DurationArgs
{
Nanos = 0,
Seconds = "string",
},
Percentage = 0,
},
},
MaxStreamDuration = new GoogleNative.Compute.V1.Inputs.DurationArgs
{
Nanos = 0,
Seconds = "string",
},
RequestMirrorPolicy = new GoogleNative.Compute.V1.Inputs.RequestMirrorPolicyArgs
{
BackendService = "string",
},
RetryPolicy = new GoogleNative.Compute.V1.Inputs.HttpRetryPolicyArgs
{
NumRetries = 0,
PerTryTimeout = new GoogleNative.Compute.V1.Inputs.DurationArgs
{
Nanos = 0,
Seconds = "string",
},
RetryConditions = new[]
{
"string",
},
},
Timeout = new GoogleNative.Compute.V1.Inputs.DurationArgs
{
Nanos = 0,
Seconds = "string",
},
UrlRewrite = new GoogleNative.Compute.V1.Inputs.UrlRewriteArgs
{
HostRewrite = "string",
PathPrefixRewrite = "string",
PathTemplateRewrite = "string",
},
WeightedBackendServices = new[]
{
new GoogleNative.Compute.V1.Inputs.WeightedBackendServiceArgs
{
BackendService = "string",
HeaderAction = new GoogleNative.Compute.V1.Inputs.HttpHeaderActionArgs
{
RequestHeadersToAdd = new[]
{
new GoogleNative.Compute.V1.Inputs.HttpHeaderOptionArgs
{
HeaderName = "string",
HeaderValue = "string",
Replace = false,
},
},
RequestHeadersToRemove = new[]
{
"string",
},
ResponseHeadersToAdd = new[]
{
new GoogleNative.Compute.V1.Inputs.HttpHeaderOptionArgs
{
HeaderName = "string",
HeaderValue = "string",
Replace = false,
},
},
ResponseHeadersToRemove = new[]
{
"string",
},
},
Weight = 0,
},
},
},
Service = "string",
UrlRedirect = new GoogleNative.Compute.V1.Inputs.HttpRedirectActionArgs
{
HostRedirect = "string",
HttpsRedirect = false,
PathRedirect = "string",
PrefixRedirect = "string",
RedirectResponseCode = GoogleNative.Compute.V1.HttpRedirectActionRedirectResponseCode.Found,
StripQuery = false,
},
},
},
RouteRules = new[]
{
new GoogleNative.Compute.V1.Inputs.HttpRouteRuleArgs
{
Description = "string",
HeaderAction = new GoogleNative.Compute.V1.Inputs.HttpHeaderActionArgs
{
RequestHeadersToAdd = new[]
{
new GoogleNative.Compute.V1.Inputs.HttpHeaderOptionArgs
{
HeaderName = "string",
HeaderValue = "string",
Replace = false,
},
},
RequestHeadersToRemove = new[]
{
"string",
},
ResponseHeadersToAdd = new[]
{
new GoogleNative.Compute.V1.Inputs.HttpHeaderOptionArgs
{
HeaderName = "string",
HeaderValue = "string",
Replace = false,
},
},
ResponseHeadersToRemove = new[]
{
"string",
},
},
MatchRules = new[]
{
new GoogleNative.Compute.V1.Inputs.HttpRouteRuleMatchArgs
{
FullPathMatch = "string",
HeaderMatches = new[]
{
new GoogleNative.Compute.V1.Inputs.HttpHeaderMatchArgs
{
ExactMatch = "string",
HeaderName = "string",
InvertMatch = false,
PrefixMatch = "string",
PresentMatch = false,
RangeMatch = new GoogleNative.Compute.V1.Inputs.Int64RangeMatchArgs
{
RangeEnd = "string",
RangeStart = "string",
},
RegexMatch = "string",
SuffixMatch = "string",
},
},
IgnoreCase = false,
MetadataFilters = new[]
{
new GoogleNative.Compute.V1.Inputs.MetadataFilterArgs
{
FilterLabels = new[]
{
new GoogleNative.Compute.V1.Inputs.MetadataFilterLabelMatchArgs
{
Name = "string",
Value = "string",
},
},
FilterMatchCriteria = GoogleNative.Compute.V1.MetadataFilterFilterMatchCriteria.MatchAll,
},
},
PathTemplateMatch = "string",
PrefixMatch = "string",
QueryParameterMatches = new[]
{
new GoogleNative.Compute.V1.Inputs.HttpQueryParameterMatchArgs
{
ExactMatch = "string",
Name = "string",
PresentMatch = false,
RegexMatch = "string",
},
},
RegexMatch = "string",
},
},
Priority = 0,
RouteAction = new GoogleNative.Compute.V1.Inputs.HttpRouteActionArgs
{
CorsPolicy = new GoogleNative.Compute.V1.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.V1.Inputs.HttpFaultInjectionArgs
{
Abort = new GoogleNative.Compute.V1.Inputs.HttpFaultAbortArgs
{
HttpStatus = 0,
Percentage = 0,
},
Delay = new GoogleNative.Compute.V1.Inputs.HttpFaultDelayArgs
{
FixedDelay = new GoogleNative.Compute.V1.Inputs.DurationArgs
{
Nanos = 0,
Seconds = "string",
},
Percentage = 0,
},
},
MaxStreamDuration = new GoogleNative.Compute.V1.Inputs.DurationArgs
{
Nanos = 0,
Seconds = "string",
},
RequestMirrorPolicy = new GoogleNative.Compute.V1.Inputs.RequestMirrorPolicyArgs
{
BackendService = "string",
},
RetryPolicy = new GoogleNative.Compute.V1.Inputs.HttpRetryPolicyArgs
{
NumRetries = 0,
PerTryTimeout = new GoogleNative.Compute.V1.Inputs.DurationArgs
{
Nanos = 0,
Seconds = "string",
},
RetryConditions = new[]
{
"string",
},
},
Timeout = new GoogleNative.Compute.V1.Inputs.DurationArgs
{
Nanos = 0,
Seconds = "string",
},
UrlRewrite = new GoogleNative.Compute.V1.Inputs.UrlRewriteArgs
{
HostRewrite = "string",
PathPrefixRewrite = "string",
PathTemplateRewrite = "string",
},
WeightedBackendServices = new[]
{
new GoogleNative.Compute.V1.Inputs.WeightedBackendServiceArgs
{
BackendService = "string",
HeaderAction = new GoogleNative.Compute.V1.Inputs.HttpHeaderActionArgs
{
RequestHeadersToAdd = new[]
{
new GoogleNative.Compute.V1.Inputs.HttpHeaderOptionArgs
{
HeaderName = "string",
HeaderValue = "string",
Replace = false,
},
},
RequestHeadersToRemove = new[]
{
"string",
},
ResponseHeadersToAdd = new[]
{
new GoogleNative.Compute.V1.Inputs.HttpHeaderOptionArgs
{
HeaderName = "string",
HeaderValue = "string",
Replace = false,
},
},
ResponseHeadersToRemove = new[]
{
"string",
},
},
Weight = 0,
},
},
},
Service = "string",
UrlRedirect = new GoogleNative.Compute.V1.Inputs.HttpRedirectActionArgs
{
HostRedirect = "string",
HttpsRedirect = false,
PathRedirect = "string",
PrefixRedirect = "string",
RedirectResponseCode = GoogleNative.Compute.V1.HttpRedirectActionRedirectResponseCode.Found,
StripQuery = false,
},
},
},
},
},
Project = "string",
RequestId = "string",
Tests = new[]
{
new GoogleNative.Compute.V1.Inputs.UrlMapTestArgs
{
Description = "string",
ExpectedOutputUrl = "string",
ExpectedRedirectResponseCode = 0,
Headers = new[]
{
new GoogleNative.Compute.V1.Inputs.UrlMapTestHeaderArgs
{
Name = "string",
Value = "string",
},
},
Host = "string",
Path = "string",
Service = "string",
},
},
});
example, err := computev1.NewRegionUrlMap(ctx, "exampleregionUrlMapResourceResourceFromComputev1", &computev1.RegionUrlMapArgs{
Region: 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: computev1.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{
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: computev1.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{
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: computev1.HttpRedirectActionRedirectResponseCodeFound,
StripQuery: pulumi.Bool(false),
},
},
},
RouteRules: compute.HttpRouteRuleArray{
&compute.HttpRouteRuleArgs{
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"),
},
},
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: computev1.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: computev1.HttpRedirectActionRedirectResponseCodeFound,
StripQuery: pulumi.Bool(false),
},
},
},
},
},
Project: pulumi.String("string"),
RequestId: pulumi.String("string"),
Tests: compute.UrlMapTestArray{
&compute.UrlMapTestArgs{
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"),
},
},
})
var exampleregionUrlMapResourceResourceFromComputev1 = new RegionUrlMap("exampleregionUrlMapResourceResourceFromComputev1", RegionUrlMapArgs.builder()
.region("string")
.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()
.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()
.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()
.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())
.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()
.description("string")
.expectedOutputUrl("string")
.expectedRedirectResponseCode(0)
.headers(UrlMapTestHeaderArgs.builder()
.name("string")
.value("string")
.build())
.host("string")
.path("string")
.service("string")
.build())
.build());
exampleregion_url_map_resource_resource_from_computev1 = google_native.compute.v1.RegionUrlMap("exampleregionUrlMapResourceResourceFromComputev1",
region="string",
default_route_action=google_native.compute.v1.HttpRouteActionArgs(
cors_policy=google_native.compute.v1.CorsPolicyArgs(
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=google_native.compute.v1.HttpFaultInjectionArgs(
abort=google_native.compute.v1.HttpFaultAbortArgs(
http_status=0,
percentage=0,
),
delay=google_native.compute.v1.HttpFaultDelayArgs(
fixed_delay=google_native.compute.v1.DurationArgs(
nanos=0,
seconds="string",
),
percentage=0,
),
),
max_stream_duration=google_native.compute.v1.DurationArgs(
nanos=0,
seconds="string",
),
request_mirror_policy=google_native.compute.v1.RequestMirrorPolicyArgs(
backend_service="string",
),
retry_policy=google_native.compute.v1.HttpRetryPolicyArgs(
num_retries=0,
per_try_timeout=google_native.compute.v1.DurationArgs(
nanos=0,
seconds="string",
),
retry_conditions=["string"],
),
timeout=google_native.compute.v1.DurationArgs(
nanos=0,
seconds="string",
),
url_rewrite=google_native.compute.v1.UrlRewriteArgs(
host_rewrite="string",
path_prefix_rewrite="string",
path_template_rewrite="string",
),
weighted_backend_services=[google_native.compute.v1.WeightedBackendServiceArgs(
backend_service="string",
header_action=google_native.compute.v1.HttpHeaderActionArgs(
request_headers_to_add=[google_native.compute.v1.HttpHeaderOptionArgs(
header_name="string",
header_value="string",
replace=False,
)],
request_headers_to_remove=["string"],
response_headers_to_add=[google_native.compute.v1.HttpHeaderOptionArgs(
header_name="string",
header_value="string",
replace=False,
)],
response_headers_to_remove=["string"],
),
weight=0,
)],
),
default_service="string",
default_url_redirect=google_native.compute.v1.HttpRedirectActionArgs(
host_redirect="string",
https_redirect=False,
path_redirect="string",
prefix_redirect="string",
redirect_response_code=google_native.compute.v1.HttpRedirectActionRedirectResponseCode.FOUND,
strip_query=False,
),
description="string",
header_action=google_native.compute.v1.HttpHeaderActionArgs(
request_headers_to_add=[google_native.compute.v1.HttpHeaderOptionArgs(
header_name="string",
header_value="string",
replace=False,
)],
request_headers_to_remove=["string"],
response_headers_to_add=[google_native.compute.v1.HttpHeaderOptionArgs(
header_name="string",
header_value="string",
replace=False,
)],
response_headers_to_remove=["string"],
),
host_rules=[google_native.compute.v1.HostRuleArgs(
description="string",
hosts=["string"],
path_matcher="string",
)],
name="string",
path_matchers=[google_native.compute.v1.PathMatcherArgs(
default_route_action=google_native.compute.v1.HttpRouteActionArgs(
cors_policy=google_native.compute.v1.CorsPolicyArgs(
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=google_native.compute.v1.HttpFaultInjectionArgs(
abort=google_native.compute.v1.HttpFaultAbortArgs(
http_status=0,
percentage=0,
),
delay=google_native.compute.v1.HttpFaultDelayArgs(
fixed_delay=google_native.compute.v1.DurationArgs(
nanos=0,
seconds="string",
),
percentage=0,
),
),
max_stream_duration=google_native.compute.v1.DurationArgs(
nanos=0,
seconds="string",
),
request_mirror_policy=google_native.compute.v1.RequestMirrorPolicyArgs(
backend_service="string",
),
retry_policy=google_native.compute.v1.HttpRetryPolicyArgs(
num_retries=0,
per_try_timeout=google_native.compute.v1.DurationArgs(
nanos=0,
seconds="string",
),
retry_conditions=["string"],
),
timeout=google_native.compute.v1.DurationArgs(
nanos=0,
seconds="string",
),
url_rewrite=google_native.compute.v1.UrlRewriteArgs(
host_rewrite="string",
path_prefix_rewrite="string",
path_template_rewrite="string",
),
weighted_backend_services=[google_native.compute.v1.WeightedBackendServiceArgs(
backend_service="string",
header_action=google_native.compute.v1.HttpHeaderActionArgs(
request_headers_to_add=[google_native.compute.v1.HttpHeaderOptionArgs(
header_name="string",
header_value="string",
replace=False,
)],
request_headers_to_remove=["string"],
response_headers_to_add=[google_native.compute.v1.HttpHeaderOptionArgs(
header_name="string",
header_value="string",
replace=False,
)],
response_headers_to_remove=["string"],
),
weight=0,
)],
),
default_service="string",
default_url_redirect=google_native.compute.v1.HttpRedirectActionArgs(
host_redirect="string",
https_redirect=False,
path_redirect="string",
prefix_redirect="string",
redirect_response_code=google_native.compute.v1.HttpRedirectActionRedirectResponseCode.FOUND,
strip_query=False,
),
description="string",
header_action=google_native.compute.v1.HttpHeaderActionArgs(
request_headers_to_add=[google_native.compute.v1.HttpHeaderOptionArgs(
header_name="string",
header_value="string",
replace=False,
)],
request_headers_to_remove=["string"],
response_headers_to_add=[google_native.compute.v1.HttpHeaderOptionArgs(
header_name="string",
header_value="string",
replace=False,
)],
response_headers_to_remove=["string"],
),
name="string",
path_rules=[google_native.compute.v1.PathRuleArgs(
paths=["string"],
route_action=google_native.compute.v1.HttpRouteActionArgs(
cors_policy=google_native.compute.v1.CorsPolicyArgs(
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=google_native.compute.v1.HttpFaultInjectionArgs(
abort=google_native.compute.v1.HttpFaultAbortArgs(
http_status=0,
percentage=0,
),
delay=google_native.compute.v1.HttpFaultDelayArgs(
fixed_delay=google_native.compute.v1.DurationArgs(
nanos=0,
seconds="string",
),
percentage=0,
),
),
max_stream_duration=google_native.compute.v1.DurationArgs(
nanos=0,
seconds="string",
),
request_mirror_policy=google_native.compute.v1.RequestMirrorPolicyArgs(
backend_service="string",
),
retry_policy=google_native.compute.v1.HttpRetryPolicyArgs(
num_retries=0,
per_try_timeout=google_native.compute.v1.DurationArgs(
nanos=0,
seconds="string",
),
retry_conditions=["string"],
),
timeout=google_native.compute.v1.DurationArgs(
nanos=0,
seconds="string",
),
url_rewrite=google_native.compute.v1.UrlRewriteArgs(
host_rewrite="string",
path_prefix_rewrite="string",
path_template_rewrite="string",
),
weighted_backend_services=[google_native.compute.v1.WeightedBackendServiceArgs(
backend_service="string",
header_action=google_native.compute.v1.HttpHeaderActionArgs(
request_headers_to_add=[google_native.compute.v1.HttpHeaderOptionArgs(
header_name="string",
header_value="string",
replace=False,
)],
request_headers_to_remove=["string"],
response_headers_to_add=[google_native.compute.v1.HttpHeaderOptionArgs(
header_name="string",
header_value="string",
replace=False,
)],
response_headers_to_remove=["string"],
),
weight=0,
)],
),
service="string",
url_redirect=google_native.compute.v1.HttpRedirectActionArgs(
host_redirect="string",
https_redirect=False,
path_redirect="string",
prefix_redirect="string",
redirect_response_code=google_native.compute.v1.HttpRedirectActionRedirectResponseCode.FOUND,
strip_query=False,
),
)],
route_rules=[google_native.compute.v1.HttpRouteRuleArgs(
description="string",
header_action=google_native.compute.v1.HttpHeaderActionArgs(
request_headers_to_add=[google_native.compute.v1.HttpHeaderOptionArgs(
header_name="string",
header_value="string",
replace=False,
)],
request_headers_to_remove=["string"],
response_headers_to_add=[google_native.compute.v1.HttpHeaderOptionArgs(
header_name="string",
header_value="string",
replace=False,
)],
response_headers_to_remove=["string"],
),
match_rules=[google_native.compute.v1.HttpRouteRuleMatchArgs(
full_path_match="string",
header_matches=[google_native.compute.v1.HttpHeaderMatchArgs(
exact_match="string",
header_name="string",
invert_match=False,
prefix_match="string",
present_match=False,
range_match=google_native.compute.v1.Int64RangeMatchArgs(
range_end="string",
range_start="string",
),
regex_match="string",
suffix_match="string",
)],
ignore_case=False,
metadata_filters=[google_native.compute.v1.MetadataFilterArgs(
filter_labels=[google_native.compute.v1.MetadataFilterLabelMatchArgs(
name="string",
value="string",
)],
filter_match_criteria=google_native.compute.v1.MetadataFilterFilterMatchCriteria.MATCH_ALL,
)],
path_template_match="string",
prefix_match="string",
query_parameter_matches=[google_native.compute.v1.HttpQueryParameterMatchArgs(
exact_match="string",
name="string",
present_match=False,
regex_match="string",
)],
regex_match="string",
)],
priority=0,
route_action=google_native.compute.v1.HttpRouteActionArgs(
cors_policy=google_native.compute.v1.CorsPolicyArgs(
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=google_native.compute.v1.HttpFaultInjectionArgs(
abort=google_native.compute.v1.HttpFaultAbortArgs(
http_status=0,
percentage=0,
),
delay=google_native.compute.v1.HttpFaultDelayArgs(
fixed_delay=google_native.compute.v1.DurationArgs(
nanos=0,
seconds="string",
),
percentage=0,
),
),
max_stream_duration=google_native.compute.v1.DurationArgs(
nanos=0,
seconds="string",
),
request_mirror_policy=google_native.compute.v1.RequestMirrorPolicyArgs(
backend_service="string",
),
retry_policy=google_native.compute.v1.HttpRetryPolicyArgs(
num_retries=0,
per_try_timeout=google_native.compute.v1.DurationArgs(
nanos=0,
seconds="string",
),
retry_conditions=["string"],
),
timeout=google_native.compute.v1.DurationArgs(
nanos=0,
seconds="string",
),
url_rewrite=google_native.compute.v1.UrlRewriteArgs(
host_rewrite="string",
path_prefix_rewrite="string",
path_template_rewrite="string",
),
weighted_backend_services=[google_native.compute.v1.WeightedBackendServiceArgs(
backend_service="string",
header_action=google_native.compute.v1.HttpHeaderActionArgs(
request_headers_to_add=[google_native.compute.v1.HttpHeaderOptionArgs(
header_name="string",
header_value="string",
replace=False,
)],
request_headers_to_remove=["string"],
response_headers_to_add=[google_native.compute.v1.HttpHeaderOptionArgs(
header_name="string",
header_value="string",
replace=False,
)],
response_headers_to_remove=["string"],
),
weight=0,
)],
),
service="string",
url_redirect=google_native.compute.v1.HttpRedirectActionArgs(
host_redirect="string",
https_redirect=False,
path_redirect="string",
prefix_redirect="string",
redirect_response_code=google_native.compute.v1.HttpRedirectActionRedirectResponseCode.FOUND,
strip_query=False,
),
)],
)],
project="string",
request_id="string",
tests=[google_native.compute.v1.UrlMapTestArgs(
description="string",
expected_output_url="string",
expected_redirect_response_code=0,
headers=[google_native.compute.v1.UrlMapTestHeaderArgs(
name="string",
value="string",
)],
host="string",
path="string",
service="string",
)])
const exampleregionUrlMapResourceResourceFromComputev1 = new google_native.compute.v1.RegionUrlMap("exampleregionUrlMapResourceResourceFromComputev1", {
region: "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.v1.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: [{
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.v1.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: [{
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.v1.HttpRedirectActionRedirectResponseCode.Found,
stripQuery: false,
},
}],
routeRules: [{
description: "string",
headerAction: {
requestHeadersToAdd: [{
headerName: "string",
headerValue: "string",
replace: false,
}],
requestHeadersToRemove: ["string"],
responseHeadersToAdd: [{
headerName: "string",
headerValue: "string",
replace: false,
}],
responseHeadersToRemove: ["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.v1.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.v1.HttpRedirectActionRedirectResponseCode.Found,
stripQuery: false,
},
}],
}],
project: "string",
requestId: "string",
tests: [{
description: "string",
expectedOutputUrl: "string",
expectedRedirectResponseCode: 0,
headers: [{
name: "string",
value: "string",
}],
host: "string",
path: "string",
service: "string",
}],
});
type: google-native:compute/v1:RegionUrlMap
properties:
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:
- 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:
- 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:
- description: string
headerAction:
requestHeadersToAdd:
- headerName: string
headerValue: string
replace: false
requestHeadersToRemove:
- string
responseHeadersToAdd:
- headerName: string
headerValue: string
replace: false
responseHeadersToRemove:
- 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
region: string
requestId: string
tests:
- description: string
expectedOutputUrl: string
expectedRedirectResponseCode: 0
headers:
- name: string
value: string
host: string
path: string
service: string
RegionUrlMap Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The RegionUrlMap resource accepts the following input properties:
- Region string
- Default
Route Pulumi.Action Google Native. Compute. V1. Inputs. Http Route Action - 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 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.
- Default
Url Pulumi.Redirect Google Native. Compute. V1. Inputs. Http Redirect Action - 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.
- Header
Action Pulumi.Google Native. Compute. V1. Inputs. Http Header Action - 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 List<Pulumi.Google Native. Compute. V1. Inputs. Host Rule> - 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. - Path
Matchers List<Pulumi.Google Native. Compute. V1. Inputs. Path Matcher> - The list of named PathMatchers to use against the URL.
- Project string
- Request
Id string - begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
- Tests
List<Pulumi.
Google Native. Compute. V1. Inputs. Url Map Test> - 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.
- Region string
- Default
Route HttpAction Route Action Args - 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 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.
- Default
Url HttpRedirect Redirect Action Args - 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.
- Header
Action HttpHeader Action Args - 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 []HostRule Args - 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. - Path
Matchers []PathMatcher Args - The list of named PathMatchers to use against the URL.
- Project string
- Request
Id string - begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
- Tests
[]Url
Map Test Args - 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.
- region String
- default
Route HttpAction Route Action - 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 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.
- default
Url HttpRedirect Redirect Action - 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.
- header
Action HttpHeader Action - 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 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. - path
Matchers List<PathMatcher> - The list of named PathMatchers to use against the URL.
- project String
- request
Id String - begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
- tests
List<Url
Map Test> - 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.
- region string
- default
Route HttpAction Route Action - 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 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.
- default
Url HttpRedirect Redirect Action - 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.
- header
Action HttpHeader Action - 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 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. - path
Matchers PathMatcher[] - The list of named PathMatchers to use against the URL.
- project string
- request
Id string - begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
- tests
Url
Map Test[] - 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.
- region str
- default_
route_ Httpaction Route Action Args - 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_ Httpredirect Redirect Action Args - 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 HttpHeader Action Args - 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[HostRule Args] - 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[PathMatcher Args] - The list of named PathMatchers to use against the URL.
- project str
- request_
id str - begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
- tests
Sequence[Url
Map Test Args] - 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.
- region String
- default
Route Property MapAction - 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 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.
- default
Url Property MapRedirect - 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.
- header
Action 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.
- host
Rules 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. - path
Matchers List<Property Map> - The list of named PathMatchers to use against the URL.
- project String
- request
Id String - begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
- 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 RegionUrlMap resource produces the following output properties:
- Creation
Timestamp 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.
- Self
Link string - Server-defined URL for the resource.
- Creation
Timestamp 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.
- Self
Link string - Server-defined URL for the resource.
- creation
Timestamp 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.
- self
Link String - Server-defined URL for the resource.
- creation
Timestamp 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.
- self
Link 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.
- self_
link str - Server-defined URL for the resource.
- creation
Timestamp 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.
- self
Link String - Server-defined URL for the resource.
Supporting Types
CorsPolicy, CorsPolicyArgs
- 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 List<string> - Specifies the content for the Access-Control-Allow-Headers header.
- Allow
Methods List<string> - Specifies the content for the Access-Control-Allow-Methods header.
- Allow
Origin List<string>Regexes - 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 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.
- Expose
Headers List<string> - 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.
- 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 []string - Specifies the content for the Access-Control-Allow-Headers header.
- Allow
Methods []string - Specifies the content for the Access-Control-Allow-Methods header.
- Allow
Origin []stringRegexes - 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 []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.
- Expose
Headers []string - 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.
- allow
Credentials 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.
- allow
Headers List<String> - Specifies the content for the Access-Control-Allow-Headers header.
- allow
Methods List<String> - Specifies the content for the Access-Control-Allow-Methods header.
- allow
Origin List<String>Regexes - 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 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.
- expose
Headers List<String> - Specifies the content for the Access-Control-Expose-Headers header.
- max
Age Integer - 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 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.
- allow
Headers string[] - Specifies the content for the Access-Control-Allow-Headers header.
- allow
Methods string[] - Specifies the content for the Access-Control-Allow-Methods header.
- allow
Origin string[]Regexes - 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 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.
- expose
Headers string[] - Specifies the content for the Access-Control-Expose-Headers header.
- max
Age 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_ Sequence[str]regexes - 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.
- allow
Credentials 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.
- allow
Headers List<String> - Specifies the content for the Access-Control-Allow-Headers header.
- allow
Methods List<String> - Specifies the content for the Access-Control-Allow-Methods header.
- allow
Origin List<String>Regexes - 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 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.
- expose
Headers List<String> - Specifies the content for the Access-Control-Expose-Headers header.
- max
Age 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
- 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 List<string> - Specifies the content for the Access-Control-Allow-Headers header.
- Allow
Methods List<string> - Specifies the content for the Access-Control-Allow-Methods header.
- Allow
Origin List<string>Regexes - 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 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.
- Expose
Headers List<string> - 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.
- 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 []string - Specifies the content for the Access-Control-Allow-Headers header.
- Allow
Methods []string - Specifies the content for the Access-Control-Allow-Methods header.
- Allow
Origin []stringRegexes - 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 []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.
- Expose
Headers []string - 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.
- allow
Credentials 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.
- allow
Headers List<String> - Specifies the content for the Access-Control-Allow-Headers header.
- allow
Methods List<String> - Specifies the content for the Access-Control-Allow-Methods header.
- allow
Origin List<String>Regexes - 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 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.
- expose
Headers List<String> - Specifies the content for the Access-Control-Expose-Headers header.
- max
Age Integer - 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 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.
- allow
Headers string[] - Specifies the content for the Access-Control-Allow-Headers header.
- allow
Methods string[] - Specifies the content for the Access-Control-Allow-Methods header.
- allow
Origin string[]Regexes - 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 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.
- expose
Headers string[] - Specifies the content for the Access-Control-Expose-Headers header.
- max
Age 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_ Sequence[str]regexes - 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.
- allow
Credentials 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.
- allow
Headers List<String> - Specifies the content for the Access-Control-Allow-Headers header.
- allow
Methods List<String> - Specifies the content for the Access-Control-Allow-Methods header.
- allow
Origin List<String>Regexes - 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 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.
- expose
Headers List<String> - Specifies the content for the Access-Control-Expose-Headers header.
- max
Age Number - Specifies how long results of a preflight request can be cached in seconds. This field translates to the Access-Control-Max-Age header.
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 positivenanos
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 positivenanos
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 positivenanos
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 positivenanos
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 positivenanos
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 positivenanos
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 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 positivenanos
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 positivenanos
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 positivenanos
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 positivenanos
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 positivenanos
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 positivenanos
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
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.
- Path
Matcher 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.
- Path
Matcher 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.
- path
Matcher 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.
- path
Matcher 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.
- path
Matcher 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 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.
- Path
Matcher 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.
- Path
Matcher 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.
- path
Matcher 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.
- path
Matcher 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.
- path
Matcher 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
- 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 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.
- 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 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.
- http
Status 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.
- http
Status 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.
- http
Status 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
- 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 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.
- 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 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.
- http
Status 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.
- http
Status 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.
- http
Status 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.
HttpFaultDelay, HttpFaultDelayArgs
- Fixed
Delay Pulumi.Google Native. Compute. V1. 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.
- Fixed
Delay 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.
- fixed
Delay 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.
- fixed
Delay 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.
- fixed
Delay 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
- Fixed
Delay Pulumi.Google Native. Compute. V1. Inputs. Duration Response - 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.
- Fixed
Delay DurationResponse - 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.
- fixed
Delay DurationResponse - 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.
- fixed
Delay DurationResponse - 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 DurationResponse - 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.
- fixed
Delay 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.
HttpFaultInjection, HttpFaultInjectionArgs
- Abort
Pulumi.
Google Native. Compute. V1. Inputs. Http Fault Abort - The specification for how client requests are aborted as part of fault injection.
- Delay
Pulumi.
Google Native. Compute. V1. Inputs. Http Fault Delay - The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
- Abort
Http
Fault Abort - The specification for how client requests are aborted as part of fault injection.
- Delay
Http
Fault Delay - The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
- abort
Http
Fault Abort - The specification for how client requests are aborted as part of fault injection.
- delay
Http
Fault Delay - The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
- abort
Http
Fault Abort - The specification for how client requests are aborted as part of fault injection.
- delay
Http
Fault Delay - The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
- abort
Http
Fault Abort - The specification for how client requests are aborted as part of fault injection.
- delay
Http
Fault Delay - 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
Pulumi.
Google Native. Compute. V1. Inputs. Http Fault Abort Response - The specification for how client requests are aborted as part of fault injection.
- Delay
Pulumi.
Google Native. Compute. V1. Inputs. Http Fault Delay Response - The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
- Abort
Http
Fault Abort Response - The specification for how client requests are aborted as part of fault injection.
- Delay
Http
Fault Delay Response - The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
- abort
Http
Fault Abort Response - The specification for how client requests are aborted as part of fault injection.
- delay
Http
Fault Delay Response - The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
- abort
Http
Fault Abort Response - The specification for how client requests are aborted as part of fault injection.
- delay
Http
Fault Delay Response - The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
- abort
Http
Fault Abort Response - The specification for how client requests are aborted as part of fault injection.
- delay
Http
Fault Delay Response - 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.
HttpHeaderAction, HttpHeaderActionArgs
- Request
Headers List<Pulumi.To Add Google Native. Compute. V1. Inputs. Http Header Option> - Headers to add to a matching request before forwarding the request to the backendService.
- Request
Headers List<string>To Remove - A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
- Response
Headers List<Pulumi.To Add Google Native. Compute. V1. Inputs. Http Header Option> - Headers to add the response before sending the response back to the client.
- Response
Headers List<string>To Remove - 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 []HttpTo Add Header Option - Headers to add to a matching request before forwarding the request to the backendService.
- Request
Headers []stringTo Remove - A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
- Response
Headers []HttpTo Add Header Option - Headers to add the response before sending the response back to the client.
- Response
Headers []stringTo Remove - 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 List<HttpTo Add Header Option> - Headers to add to a matching request before forwarding the request to the backendService.
- request
Headers List<String>To Remove - A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
- response
Headers List<HttpTo Add Header Option> - Headers to add the response before sending the response back to the client.
- response
Headers List<String>To Remove - 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 HttpTo Add Header Option[] - Headers to add to a matching request before forwarding the request to the backendService.
- request
Headers string[]To Remove - A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
- response
Headers HttpTo Add Header Option[] - Headers to add the response before sending the response back to the client.
- response
Headers string[]To Remove - 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_ Sequence[Httpto_ add Header Option] - Headers to add to a matching request before forwarding the request to the backendService.
- request_
headers_ Sequence[str]to_ remove - A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
- response_
headers_ Sequence[Httpto_ add Header Option] - Headers to add the response before sending the response back to the client.
- response_
headers_ Sequence[str]to_ remove - 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 List<Property Map>To Add - Headers to add to a matching request before forwarding the request to the backendService.
- request
Headers List<String>To Remove - A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
- response
Headers List<Property Map>To Add - Headers to add the response before sending the response back to the client.
- response
Headers List<String>To Remove - 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
- Request
Headers List<Pulumi.To Add Google Native. Compute. V1. Inputs. Http Header Option Response> - Headers to add to a matching request before forwarding the request to the backendService.
- Request
Headers List<string>To Remove - A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
- Response
Headers List<Pulumi.To Add Google Native. Compute. V1. Inputs. Http Header Option Response> - Headers to add the response before sending the response back to the client.
- Response
Headers List<string>To Remove - 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 []HttpTo Add Header Option Response - Headers to add to a matching request before forwarding the request to the backendService.
- Request
Headers []stringTo Remove - A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
- Response
Headers []HttpTo Add Header Option Response - Headers to add the response before sending the response back to the client.
- Response
Headers []stringTo Remove - 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 List<HttpTo Add Header Option Response> - Headers to add to a matching request before forwarding the request to the backendService.
- request
Headers List<String>To Remove - A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
- response
Headers List<HttpTo Add Header Option Response> - Headers to add the response before sending the response back to the client.
- response
Headers List<String>To Remove - 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 HttpTo Add Header Option Response[] - Headers to add to a matching request before forwarding the request to the backendService.
- request
Headers string[]To Remove - A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
- response
Headers HttpTo Add Header Option Response[] - Headers to add the response before sending the response back to the client.
- response
Headers string[]To Remove - 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_ Sequence[Httpto_ add Header Option Response] - Headers to add to a matching request before forwarding the request to the backendService.
- request_
headers_ Sequence[str]to_ remove - A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
- response_
headers_ Sequence[Httpto_ add Header Option Response] - Headers to add the response before sending the response back to the client.
- response_
headers_ Sequence[str]to_ remove - 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 List<Property Map>To Add - Headers to add to a matching request before forwarding the request to the backendService.
- request
Headers List<String>To Remove - A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
- response
Headers List<Property Map>To Add - Headers to add the response before sending the response back to the client.
- response
Headers List<String>To Remove - 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
- Exact
Match string - The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
- Header
Name 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
andgrpc-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 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.
- 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 Pulumi.Google Native. Compute. V1. Inputs. Int64Range Match - 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 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.
- Suffix
Match 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 string - The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
- Header
Name 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
andgrpc-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 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.
- 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 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.
- Suffix
Match 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 String - The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
- header
Name 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
andgrpc-trace-bin
. - invert
Match 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.
- prefix
Match 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.
- present
Match 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.
- 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 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.
- suffix
Match 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 string - The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
- header
Name 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
andgrpc-trace-bin
. - invert
Match 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.
- prefix
Match 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.
- present
Match 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.
- 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 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.
- suffix
Match 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
andgrpc-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.
- exact
Match String - The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
- header
Name 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
andgrpc-trace-bin
. - invert
Match 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.
- prefix
Match 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.
- present
Match 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.
- range
Match 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.
- regex
Match 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.
- suffix
Match 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
- Exact
Match string - The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
- Header
Name 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
andgrpc-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 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.
- 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 Pulumi.Google Native. Compute. V1. Inputs. Int64Range Match Response - 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 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.
- Suffix
Match 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 string - The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
- Header
Name 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
andgrpc-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 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.
- 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 Response - 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 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.
- Suffix
Match 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 String - The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
- header
Name 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
andgrpc-trace-bin
. - invert
Match 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.
- prefix
Match 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.
- present
Match 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.
- range
Match Int64RangeMatch Response - 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 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.
- suffix
Match 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 string - The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
- header
Name 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
andgrpc-trace-bin
. - invert
Match 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.
- prefix
Match 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.
- present
Match 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.
- range
Match Int64RangeMatch Response - 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 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.
- suffix
Match 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
andgrpc-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 Response - 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.
- exact
Match String - The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
- header
Name 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
andgrpc-trace-bin
. - invert
Match 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.
- prefix
Match 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.
- present
Match 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.
- range
Match 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.
- regex
Match 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.
- suffix
Match 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
- Header
Name string - The name of the header.
- Header
Value 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.
- Header
Name string - The name of the header.
- Header
Value 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.
- header
Name String - The name of the header.
- header
Value 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 string - The name of the header.
- header
Value 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.
- header
Name String - The name of the header.
- header
Value 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
- Header
Name string - The name of the header.
- Header
Value 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.
- Header
Name string - The name of the header.
- Header
Value 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.
- header
Name String - The name of the header.
- header
Value 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 string - The name of the header.
- header
Value 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.
- header
Name String - The name of the header.
- header
Value 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.
HttpQueryParameterMatch, HttpQueryParameterMatchArgs
- Exact
Match 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.
- 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 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 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.
- 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 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 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.
- present
Match 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.
- regex
Match 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 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.
- present
Match 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.
- regex
Match 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.
- exact
Match 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.
- present
Match 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.
- regex
Match 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
- Exact
Match 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.
- 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 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 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.
- 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 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 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.
- present
Match 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.
- regex
Match 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 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.
- present
Match 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.
- regex
Match 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.
- exact
Match 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.
- present
Match 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.
- regex
Match 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
- Host
Redirect 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.
- 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 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.
- Prefix
Redirect 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.
- Redirect
Response Pulumi.Code Google Native. Compute. V1. Http Redirect Action Redirect Response Code - 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.
- Host
Redirect 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.
- 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 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.
- Prefix
Redirect 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.
- Redirect
Response HttpCode Redirect Action Redirect Response Code - 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.
- host
Redirect 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.
- https
Redirect 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.
- path
Redirect 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.
- prefix
Redirect 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.
- redirect
Response HttpCode Redirect Action Redirect Response Code - 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 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 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.
- https
Redirect 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.
- path
Redirect 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.
- prefix
Redirect 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.
- redirect
Response HttpCode Redirect Action Redirect Response Code - 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 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_ Httpcode Redirect Action Redirect Response Code - 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.
- host
Redirect 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.
- https
Redirect 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.
- path
Redirect 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.
- prefix
Redirect 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.
- redirect
Response "FOUND" | "MOVED_PERMANENTLY_DEFAULT" | "PERMANENT_REDIRECT" | "SEE_OTHER" | "TEMPORARY_REDIRECT"Code - 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 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.
- 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.
- Http
Redirect Action Redirect Response Code Found - FOUNDHttp Status Code 302 - Found.
- Http
Redirect Action Redirect Response Code Moved Permanently Default - MOVED_PERMANENTLY_DEFAULTHttp Status Code 301 - Moved Permanently.
- Http
Redirect Action Redirect Response Code Permanent Redirect - PERMANENT_REDIRECTHttp Status Code 308 - Permanent Redirect maintaining HTTP method.
- Http
Redirect Action Redirect Response Code See Other - SEE_OTHERHttp Status Code 303 - See Other.
- Http
Redirect Action Redirect Response Code 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.
- 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.
- "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
- Host
Redirect 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.
- 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 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.
- Prefix
Redirect 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.
- Redirect
Response stringCode - 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.
- Host
Redirect 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.
- 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 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.
- Prefix
Redirect 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.
- Redirect
Response stringCode - 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.
- host
Redirect 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.
- https
Redirect 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.
- path
Redirect 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.
- prefix
Redirect 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.
- redirect
Response StringCode - 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 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 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.
- https
Redirect 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.
- path
Redirect 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.
- prefix
Redirect 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.
- redirect
Response stringCode - 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 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_ strcode - 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.
- host
Redirect 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.
- https
Redirect 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.
- path
Redirect 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.
- prefix
Redirect 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.
- redirect
Response StringCode - 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 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
- Num
Retries int - Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1.
- Per
Try Pulumi.Timeout Google Native. Compute. V1. 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.
- Retry
Conditions 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
- Num
Retries int - Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1.
- Per
Try DurationTimeout - 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 []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 Integer - Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1.
- per
Try DurationTimeout - 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 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
- num
Retries number - Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1.
- per
Try DurationTimeout - 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 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_ Durationtimeout - 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
- num
Retries Number - Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1.
- per
Try Property MapTimeout - 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 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
- Num
Retries int - Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1.
- Per
Try Pulumi.Timeout Google Native. Compute. V1. Inputs. Duration Response - 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 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
- Num
Retries int - Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1.
- Per
Try DurationTimeout Response - 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 []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 Integer - Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1.
- per
Try DurationTimeout Response - 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 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
- num
Retries number - Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1.
- per
Try DurationTimeout Response - 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 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_ Durationtimeout Response - 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
- num
Retries Number - Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1.
- per
Try Property MapTimeout - 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 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
- Cors
Policy Pulumi.Google Native. Compute. V1. Inputs. Cors Policy - 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 Pulumi.Policy Google Native. Compute. V1. Inputs. Http Fault Injection - 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 Pulumi.Duration Google Native. Compute. V1. 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.
- Request
Mirror Pulumi.Policy Google Native. Compute. V1. Inputs. Request Mirror Policy - 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 Pulumi.Google Native. Compute. V1. Inputs. Http Retry Policy - Specifies the retry policy associated with this route.
- Timeout
Pulumi.
Google Native. Compute. V1. 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.
- Url
Rewrite Pulumi.Google Native. Compute. V1. Inputs. Url Rewrite - 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 List<Pulumi.Services Google Native. Compute. V1. Inputs. Weighted Backend Service> - 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 HttpPolicy Fault Injection - 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 DurationDuration - 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 RequestPolicy Mirror Policy - 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 HttpRetry Policy - 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 []WeightedServices Backend Service - 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 HttpPolicy Fault Injection - 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 DurationDuration - 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 RequestPolicy Mirror Policy - 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 HttpRetry Policy - 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 List<WeightedServices Backend Service> - 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 HttpPolicy Fault Injection - 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 DurationDuration - 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 RequestPolicy Mirror Policy - 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 HttpRetry Policy - 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 WeightedServices Backend Service[] - 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_ Httppolicy Fault Injection - 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_ Durationduration - 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_ Requestpolicy Mirror Policy - 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 HttpRetry Policy - 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_ Sequence[Weightedservices Backend Service] - 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 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.
- fault
Injection Property MapPolicy - 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 Property MapDuration - 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 Property MapPolicy - 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 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.
- url
Rewrite 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.
- weighted
Backend List<Property Map>Services - 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
- Cors
Policy Pulumi.Google Native. Compute. V1. Inputs. Cors Policy Response - 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 Pulumi.Policy Google Native. Compute. V1. Inputs. Http Fault Injection Response - 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 Pulumi.Duration Google Native. Compute. V1. Inputs. Duration Response - 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 Pulumi.Policy Google Native. Compute. V1. Inputs. Request Mirror Policy Response - 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 Pulumi.Google Native. Compute. V1. Inputs. Http Retry Policy Response - Specifies the retry policy associated with this route.
- Timeout
Pulumi.
Google Native. Compute. V1. Inputs. Duration Response - 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 Pulumi.Google Native. Compute. V1. Inputs. Url Rewrite Response - 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 List<Pulumi.Services Google Native. Compute. V1. Inputs. Weighted Backend Service Response> - 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 Response - 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 HttpPolicy Fault Injection Response - 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 DurationDuration Response - 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 RequestPolicy Mirror Policy Response - 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 HttpRetry Policy Response - Specifies the retry policy associated with this route.
- Timeout
Duration
Response - 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 Response - 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 []WeightedServices Backend Service Response - 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 Response - 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 HttpPolicy Fault Injection Response - 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 DurationDuration Response - 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 RequestPolicy Mirror Policy Response - 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 HttpRetry Policy Response - Specifies the retry policy associated with this route.
- timeout
Duration
Response - 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 Response - 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 List<WeightedServices Backend Service Response> - 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 Response - 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 HttpPolicy Fault Injection Response - 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 DurationDuration Response - 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 RequestPolicy Mirror Policy Response - 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 HttpRetry Policy Response - Specifies the retry policy associated with this route.
- timeout
Duration
Response - 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 Response - 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 WeightedServices Backend Service Response[] - 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 Response - 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_ Httppolicy Fault Injection Response - 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_ Durationduration Response - 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_ Requestpolicy Mirror Policy Response - 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 HttpRetry Policy Response - Specifies the retry policy associated with this route.
- timeout
Duration
Response - 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 Response - 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_ Sequence[Weightedservices Backend Service Response] - 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 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.
- fault
Injection Property MapPolicy - 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 Property MapDuration - 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 Property MapPolicy - 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 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.
- url
Rewrite 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.
- weighted
Backend List<Property Map>Services - 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
- Description string
- The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
- Header
Action Pulumi.Google Native. Compute. V1. Inputs. Http Header Action - 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.
- Match
Rules List<Pulumi.Google Native. Compute. V1. Inputs. Http Route Rule Match> - 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 Pulumi.Google Native. Compute. V1. Inputs. Http Route Action - 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.
- Url
Redirect Pulumi.Google Native. Compute. V1. Inputs. Http Redirect Action - 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.
- Description string
- The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
- Header
Action HttpHeader Action - 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.
- Match
Rules []HttpRoute Rule Match - 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 HttpRoute Action - 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.
- Url
Redirect HttpRedirect Action - 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.
- description String
- The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
- header
Action HttpHeader Action - 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.
- match
Rules List<HttpRoute Rule Match> - 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.
- route
Action HttpRoute Action - 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.
- url
Redirect HttpRedirect Action - 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.
- description string
- The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
- header
Action HttpHeader Action - 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.
- match
Rules HttpRoute Rule Match[] - 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.
- route
Action HttpRoute Action - 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.
- url
Redirect HttpRedirect Action - 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.
- description str
- The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
- header_
action HttpHeader Action - 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.
- match_
rules Sequence[HttpRoute Rule Match] - 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 HttpRoute Action - 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 HttpRedirect Action - 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.
- description String
- The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
- header
Action 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.
- match
Rules 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.
- route
Action 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.
- url
Redirect 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
- Full
Path stringMatch - 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 List<Pulumi.Google Native. Compute. V1. Inputs. Http Header Match> - 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 List<Pulumi.Google Native. Compute. V1. Inputs. Metadata Filter> - 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 stringMatch - 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 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.
- Query
Parameter List<Pulumi.Matches Google Native. Compute. V1. Inputs. Http Query Parameter Match> - 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 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 stringMatch - 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 []HttpHeader Match - 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 []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 stringMatch - 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 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.
- Query
Parameter []HttpMatches Query Parameter Match - 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 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 StringMatch - 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 List<HttpHeader Match> - Specifies a list of header match criteria, all of which must match corresponding headers in the request.
- ignore
Case 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.
- metadata
Filters 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.
- path
Template StringMatch - 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 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.
- query
Parameter List<HttpMatches Query Parameter Match> - 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 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 stringMatch - 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 HttpHeader Match[] - Specifies a list of header match criteria, all of which must match corresponding headers in the request.
- ignore
Case 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.
- metadata
Filters 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 stringMatch - 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 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.
- query
Parameter HttpMatches Query Parameter Match[] - 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 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_ strmatch - 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[HttpHeader Match] - 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_ strmatch - 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_ Sequence[Httpmatches Query Parameter Match] - 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.
- full
Path StringMatch - 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 List<Property Map> - Specifies a list of header match criteria, all of which must match corresponding headers in the request.
- ignore
Case 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.
- metadata
Filters 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.
- path
Template StringMatch - 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 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.
- query
Parameter List<Property Map>Matches - 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 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
- Full
Path stringMatch - 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 List<Pulumi.Google Native. Compute. V1. Inputs. Http Header Match Response> - 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 List<Pulumi.Google Native. Compute. V1. Inputs. Metadata Filter Response> - 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 stringMatch - 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 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.
- Query
Parameter List<Pulumi.Matches Google Native. Compute. V1. Inputs. Http Query Parameter Match Response> - 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 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 stringMatch - 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 []HttpHeader Match Response - 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 []MetadataFilter Response - 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 stringMatch - 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 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.
- Query
Parameter []HttpMatches Query Parameter Match Response - 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 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 StringMatch - 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 List<HttpHeader Match Response> - Specifies a list of header match criteria, all of which must match corresponding headers in the request.
- ignore
Case 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.
- metadata
Filters List<MetadataFilter Response> - 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 StringMatch - 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 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.
- query
Parameter List<HttpMatches Query Parameter Match Response> - 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 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 stringMatch - 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 HttpHeader Match Response[] - Specifies a list of header match criteria, all of which must match corresponding headers in the request.
- ignore
Case 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.
- metadata
Filters MetadataFilter Response[] - 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 stringMatch - 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 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.
- query
Parameter HttpMatches Query Parameter Match Response[] - 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 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_ strmatch - 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[HttpHeader Match Response] - 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 Response] - 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_ strmatch - 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_ Sequence[Httpmatches Query Parameter Match Response] - 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.
- full
Path StringMatch - 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 List<Property Map> - Specifies a list of header match criteria, all of which must match corresponding headers in the request.
- ignore
Case 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.
- metadata
Filters 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.
- path
Template StringMatch - 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 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.
- query
Parameter List<Property Map>Matches - 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 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
- Description string
- The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
- Header
Action Pulumi.Google Native. Compute. V1. Inputs. Http Header Action Response - 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.
- Match
Rules List<Pulumi.Google Native. Compute. V1. Inputs. Http Route Rule Match Response> - 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 Pulumi.Google Native. Compute. V1. Inputs. Http Route Action Response - 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.
- Url
Redirect Pulumi.Google Native. Compute. V1. Inputs. Http Redirect Action Response - 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.
- Description string
- The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
- Header
Action HttpHeader Action Response - 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.
- Match
Rules []HttpRoute Rule Match Response - 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 HttpRoute Action Response - 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.
- Url
Redirect HttpRedirect Action Response - 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.
- description String
- The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
- header
Action HttpHeader Action Response - 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.
- match
Rules List<HttpRoute Rule Match Response> - 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.
- route
Action HttpRoute Action Response - 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.
- url
Redirect HttpRedirect Action Response - 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.
- description string
- The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
- header
Action HttpHeader Action Response - 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.
- match
Rules HttpRoute Rule Match Response[] - 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.
- route
Action HttpRoute Action Response - 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.
- url
Redirect HttpRedirect Action Response - 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.
- description str
- The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
- header_
action HttpHeader Action Response - 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.
- match_
rules Sequence[HttpRoute Rule Match Response] - 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 HttpRoute Action Response - 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 HttpRedirect Action Response - 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.
- description String
- The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.
- header
Action 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.
- match
Rules 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.
- route
Action 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.
- url
Redirect 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
- Range
End string - The end of the range (exclusive) in signed long integer format.
- Range
Start string - The start of the range (inclusive) in signed long integer format.
- Range
End string - The end of the range (exclusive) in signed long integer format.
- Range
Start string - The start of the range (inclusive) in signed long integer format.
- range
End String - The end of the range (exclusive) in signed long integer format.
- range
Start String - The start of the range (inclusive) in signed long integer format.
- range
End string - The end of the range (exclusive) in signed long integer format.
- range
Start 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.
- range
End String - The end of the range (exclusive) in signed long integer format.
- range
Start String - The start of the range (inclusive) in signed long integer format.
Int64RangeMatchResponse, Int64RangeMatchResponseArgs
- Range
End string - The end of the range (exclusive) in signed long integer format.
- Range
Start string - The start of the range (inclusive) in signed long integer format.
- Range
End string - The end of the range (exclusive) in signed long integer format.
- Range
Start string - The start of the range (inclusive) in signed long integer format.
- range
End String - The end of the range (exclusive) in signed long integer format.
- range
Start String - The start of the range (inclusive) in signed long integer format.
- range
End string - The end of the range (exclusive) in signed long integer format.
- range
Start 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.
- range
End String - The end of the range (exclusive) in signed long integer format.
- range
Start String - The start of the range (inclusive) in signed long integer format.
MetadataFilter, MetadataFilterArgs
- Filter
Labels List<Pulumi.Google Native. Compute. V1. Inputs. Metadata Filter Label Match> - 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 Pulumi.Criteria Google Native. Compute. V1. Metadata Filter Filter Match Criteria - 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 []MetadataFilter Label Match - 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 MetadataCriteria Filter Filter Match Criteria - 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 List<MetadataFilter Label Match> - 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 MetadataCriteria Filter Filter Match Criteria - 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 MetadataFilter Label Match[] - 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 MetadataCriteria Filter Filter Match Criteria - 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[MetadataFilter Label Match] - 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_ Metadatacriteria Filter Filter Match Criteria - 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 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.
- filter
Match "MATCH_ALL" | "MATCH_ANY" | "NOT_SET"Criteria - 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
- 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.
- Metadata
Filter Filter Match Criteria Match All - MATCH_ALLSpecifies that all filterLabels must match for the metadataFilter to be considered a match.
- Metadata
Filter Filter Match Criteria Match Any - MATCH_ANYSpecifies that any filterLabel must match for the metadataFilter to be considered a match.
- Metadata
Filter Filter Match Criteria 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.
- 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.
- "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
MetadataFilterLabelMatchResponse, MetadataFilterLabelMatchResponseArgs
MetadataFilterResponse, MetadataFilterResponseArgs
- Filter
Labels List<Pulumi.Google Native. Compute. V1. Inputs. Metadata Filter Label Match Response> - 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 stringCriteria - 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 []MetadataFilter Label Match Response - 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 stringCriteria - 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 List<MetadataFilter Label Match Response> - 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 StringCriteria - 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 MetadataFilter Label Match Response[] - 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 stringCriteria - 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[MetadataFilter Label Match Response] - 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_ strcriteria - 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 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.
- filter
Match StringCriteria - 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
- Default
Route Pulumi.Action Google Native. Compute. V1. Inputs. Http Route Action - 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 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
- Default
Url Pulumi.Redirect Google Native. Compute. V1. Inputs. Http Redirect Action - 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.
- Header
Action Pulumi.Google Native. Compute. V1. Inputs. Http Header Action - 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.
- Path
Rules List<Pulumi.Google Native. Compute. V1. Inputs. Path Rule> - 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 List<Pulumi.Google Native. Compute. V1. Inputs. Http Route Rule> - 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
Route HttpAction Route Action - 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 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
- Default
Url HttpRedirect Redirect Action - 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.
- Header
Action HttpHeader Action - 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.
- Path
Rules []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 []HttpRoute Rule - 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
Route HttpAction Route Action - 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 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
- default
Url HttpRedirect Redirect Action - 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.
- header
Action HttpHeader Action - 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.
- path
Rules 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.
- route
Rules List<HttpRoute Rule> - 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
Route HttpAction Route Action - 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 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
- default
Url HttpRedirect Redirect Action - 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.
- header
Action HttpHeader Action - 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.
- path
Rules 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 HttpRoute Rule[] - 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_
route_ Httpaction Route Action - 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_ Httpredirect Redirect Action - 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 HttpHeader Action - 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[HttpRoute Rule] - 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
Route Property MapAction - 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 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
- default
Url Property MapRedirect - 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.
- header
Action 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.
- path
Rules 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.
- route
Rules 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
- Default
Route Pulumi.Action Google Native. Compute. V1. Inputs. Http Route Action Response - 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 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
- Default
Url Pulumi.Redirect Google Native. Compute. V1. Inputs. Http Redirect Action Response - 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.
- Header
Action Pulumi.Google Native. Compute. V1. Inputs. Http Header Action Response - 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.
- Path
Rules List<Pulumi.Google Native. Compute. V1. Inputs. Path Rule Response> - 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 List<Pulumi.Google Native. Compute. V1. Inputs. Http Route Rule Response> - 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
Route HttpAction Route Action Response - 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 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
- Default
Url HttpRedirect Redirect Action Response - 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.
- Header
Action HttpHeader Action Response - 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.
- Path
Rules []PathRule Response - 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 []HttpRoute Rule Response - 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
Route HttpAction Route Action Response - 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 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
- default
Url HttpRedirect Redirect Action Response - 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.
- header
Action HttpHeader Action Response - 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.
- path
Rules List<PathRule Response> - 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 List<HttpRoute Rule Response> - 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
Route HttpAction Route Action Response - 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 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
- default
Url HttpRedirect Redirect Action Response - 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.
- header
Action HttpHeader Action Response - 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.
- path
Rules PathRule Response[] - 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 HttpRoute Rule Response[] - 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_
route_ Httpaction Route Action Response - 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_ Httpredirect Redirect Action Response - 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 HttpHeader Action Response - 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 Response] - 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[HttpRoute Rule Response] - 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
Route Property MapAction - 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 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
- default
Url Property MapRedirect - 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.
- header
Action 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.
- path
Rules 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.
- route
Rules 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
- 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.
- Route
Action Pulumi.Google Native. Compute. V1. Inputs. Http Route Action - 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.
- Url
Redirect Pulumi.Google Native. Compute. V1. Inputs. Http Redirect Action - 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.
- 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.
- Route
Action HttpRoute Action - 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.
- Url
Redirect HttpRedirect Action - 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.
- 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.
- route
Action HttpRoute Action - 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.
- url
Redirect HttpRedirect Action - 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.
- 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.
- route
Action HttpRoute Action - 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.
- url
Redirect HttpRedirect Action - 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.
- 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 HttpRoute Action - 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 HttpRedirect Action - 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.
- 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.
- route
Action 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.
- url
Redirect 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
- 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.
- Route
Action Pulumi.Google Native. Compute. V1. Inputs. Http Route Action Response - 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.
- Url
Redirect Pulumi.Google Native. Compute. V1. Inputs. Http Redirect Action Response - 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.
- 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.
- Route
Action HttpRoute Action Response - 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.
- Url
Redirect HttpRedirect Action Response - 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.
- 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.
- route
Action HttpRoute Action Response - 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.
- url
Redirect HttpRedirect Action Response - 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.
- 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.
- route
Action HttpRoute Action Response - 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.
- url
Redirect HttpRedirect Action Response - 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.
- 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 HttpRoute Action Response - 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 HttpRedirect Action Response - 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.
- 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.
- route
Action 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.
- url
Redirect 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
- Backend
Service 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 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 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 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.
- backend
Service 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
- Backend
Service 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 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 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 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.
- backend
Service 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
- Description string
- Description of this test case.
- Expected
Output stringUrl - 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 intResponse Code - 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.
- Headers
List<Pulumi.
Google Native. Compute. V1. Inputs. Url Map Test Header> - 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.
- Description string
- Description of this test case.
- Expected
Output stringUrl - 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 intResponse Code - 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.
- Headers
[]Url
Map Test Header - 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.
- description String
- Description of this test case.
- expected
Output StringUrl - 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 IntegerResponse Code - 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.
- headers
List<Url
Map Test Header> - 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.
- description string
- Description of this test case.
- expected
Output stringUrl - 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 numberResponse Code - 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.
- headers
Url
Map Test Header[] - 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.
- description str
- Description of this test case.
- expected_
output_ strurl - 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_ intresponse_ code - 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.
- headers
Sequence[Url
Map Test Header] - 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.
- description String
- Description of this test case.
- expected
Output StringUrl - 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 NumberResponse Code - 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.
- 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
UrlMapTestHeaderResponse, UrlMapTestHeaderResponseArgs
UrlMapTestResponse, UrlMapTestResponseArgs
- Description string
- Description of this test case.
- Expected
Output stringUrl - 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 intResponse Code - 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.
- Headers
List<Pulumi.
Google Native. Compute. V1. Inputs. Url Map Test Header Response> - 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.
- Description string
- Description of this test case.
- Expected
Output stringUrl - 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 intResponse Code - 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.
- Headers
[]Url
Map Test Header Response - 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.
- description String
- Description of this test case.
- expected
Output StringUrl - 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 IntegerResponse Code - 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.
- headers
List<Url
Map Test Header Response> - 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.
- description string
- Description of this test case.
- expected
Output stringUrl - 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 numberResponse Code - 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.
- headers
Url
Map Test Header Response[] - 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.
- description str
- Description of this test case.
- expected_
output_ strurl - 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_ intresponse_ code - 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.
- headers
Sequence[Url
Map Test Header Response] - 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.
- description String
- Description of this test case.
- expected
Output StringUrl - 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 NumberResponse Code - 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.
- 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.
UrlRewrite, UrlRewriteArgs
- Host
Rewrite 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.
- Path
Prefix stringRewrite - 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 stringRewrite - 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 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.
- Path
Prefix stringRewrite - 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 stringRewrite - 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 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.
- path
Prefix StringRewrite - 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 StringRewrite - 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 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.
- path
Prefix stringRewrite - 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 stringRewrite - 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_ strrewrite - 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_ strrewrite - 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 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.
- path
Prefix StringRewrite - 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 StringRewrite - 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
- Host
Rewrite 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.
- Path
Prefix stringRewrite - 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 stringRewrite - 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 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.
- Path
Prefix stringRewrite - 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 stringRewrite - 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 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.
- path
Prefix StringRewrite - 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 StringRewrite - 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 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.
- path
Prefix stringRewrite - 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 stringRewrite - 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_ strrewrite - 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_ strrewrite - 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 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.
- path
Prefix StringRewrite - 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 StringRewrite - 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
- Backend
Service 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.
- Header
Action Pulumi.Google Native. Compute. V1. Inputs. Http Header Action - 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.
- Backend
Service 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.
- Header
Action HttpHeader Action - 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.
- backend
Service 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.
- header
Action HttpHeader Action - 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.
- backend
Service 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.
- header
Action HttpHeader Action - 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 HttpHeader Action - 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.
- backend
Service 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.
- header
Action 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
- Backend
Service 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.
- Header
Action Pulumi.Google Native. Compute. V1. Inputs. Http Header Action Response - 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.
- Backend
Service 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.
- Header
Action HttpHeader Action Response - 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.
- backend
Service 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.
- header
Action HttpHeader Action Response - 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.
- backend
Service 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.
- header
Action HttpHeader Action Response - 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 HttpHeader Action Response - 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.
- backend
Service 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.
- header
Action 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.
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.