Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.networkservices/v1beta1.HttpRoute
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new HttpRoute in a given project and location.
Create HttpRoute Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HttpRoute(name: string, args: HttpRouteArgs, opts?: CustomResourceOptions);
@overload
def HttpRoute(resource_name: str,
args: HttpRouteArgs,
opts: Optional[ResourceOptions] = None)
@overload
def HttpRoute(resource_name: str,
opts: Optional[ResourceOptions] = None,
hostnames: Optional[Sequence[str]] = None,
http_route_id: Optional[str] = None,
rules: Optional[Sequence[HttpRouteRouteRuleArgs]] = None,
description: Optional[str] = None,
gateways: Optional[Sequence[str]] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
meshes: Optional[Sequence[str]] = None,
name: Optional[str] = None,
project: Optional[str] = None)
func NewHttpRoute(ctx *Context, name string, args HttpRouteArgs, opts ...ResourceOption) (*HttpRoute, error)
public HttpRoute(string name, HttpRouteArgs args, CustomResourceOptions? opts = null)
public HttpRoute(String name, HttpRouteArgs args)
public HttpRoute(String name, HttpRouteArgs args, CustomResourceOptions options)
type: google-native:networkservices/v1beta1:HttpRoute
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args HttpRouteArgs
- 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 HttpRouteArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args HttpRouteArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HttpRouteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HttpRouteArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var google_nativeHttpRouteResource = new GoogleNative.NetworkServices.V1Beta1.HttpRoute("google-nativeHttpRouteResource", new()
{
Hostnames = new[]
{
"string",
},
HttpRouteId = "string",
Rules = new[]
{
new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRouteRuleArgs
{
Action = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRouteActionArgs
{
CorsPolicy = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteCorsPolicyArgs
{
AllowCredentials = false,
AllowHeaders = new[]
{
"string",
},
AllowMethods = new[]
{
"string",
},
AllowOriginRegexes = new[]
{
"string",
},
AllowOrigins = new[]
{
"string",
},
Disabled = false,
ExposeHeaders = new[]
{
"string",
},
MaxAge = "string",
},
Destinations = new[]
{
new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteDestinationArgs
{
ServiceName = "string",
Weight = 0,
},
},
FaultInjectionPolicy = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteFaultInjectionPolicyArgs
{
Abort = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteFaultInjectionPolicyAbortArgs
{
HttpStatus = 0,
Percentage = 0,
},
Delay = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteFaultInjectionPolicyDelayArgs
{
FixedDelay = "string",
Percentage = 0,
},
},
Redirect = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRedirectArgs
{
HostRedirect = "string",
HttpsRedirect = false,
PathRedirect = "string",
PortRedirect = 0,
PrefixRewrite = "string",
ResponseCode = GoogleNative.NetworkServices.V1Beta1.HttpRouteRedirectResponseCode.ResponseCodeUnspecified,
StripQuery = false,
},
RequestHeaderModifier = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteHeaderModifierArgs
{
Add =
{
{ "string", "string" },
},
Remove = new[]
{
"string",
},
Set =
{
{ "string", "string" },
},
},
RequestMirrorPolicy = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRequestMirrorPolicyArgs
{
Destination = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteDestinationArgs
{
ServiceName = "string",
Weight = 0,
},
},
ResponseHeaderModifier = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteHeaderModifierArgs
{
Add =
{
{ "string", "string" },
},
Remove = new[]
{
"string",
},
Set =
{
{ "string", "string" },
},
},
RetryPolicy = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRetryPolicyArgs
{
NumRetries = 0,
PerTryTimeout = "string",
RetryConditions = new[]
{
"string",
},
},
StatefulSessionAffinity = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteStatefulSessionAffinityPolicyArgs
{
CookieTtl = "string",
},
Timeout = "string",
UrlRewrite = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteURLRewriteArgs
{
HostRewrite = "string",
PathPrefixRewrite = "string",
},
},
Matches = new[]
{
new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRouteMatchArgs
{
FullPathMatch = "string",
Headers = new[]
{
new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteHeaderMatchArgs
{
ExactMatch = "string",
Header = "string",
InvertMatch = false,
PrefixMatch = "string",
PresentMatch = false,
RangeMatch = new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteHeaderMatchIntegerRangeArgs
{
End = 0,
Start = 0,
},
RegexMatch = "string",
SuffixMatch = "string",
},
},
IgnoreCase = false,
PrefixMatch = "string",
QueryParameters = new[]
{
new GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteQueryParameterMatchArgs
{
ExactMatch = "string",
PresentMatch = false,
QueryParameter = "string",
RegexMatch = "string",
},
},
RegexMatch = "string",
},
},
},
},
Description = "string",
Gateways = new[]
{
"string",
},
Labels =
{
{ "string", "string" },
},
Location = "string",
Meshes = new[]
{
"string",
},
Name = "string",
Project = "string",
});
example, err := networkservicesv1beta1.NewHttpRoute(ctx, "google-nativeHttpRouteResource", &networkservicesv1beta1.HttpRouteArgs{
Hostnames: pulumi.StringArray{
pulumi.String("string"),
},
HttpRouteId: pulumi.String("string"),
Rules: networkservices.HttpRouteRouteRuleArray{
&networkservices.HttpRouteRouteRuleArgs{
Action: &networkservices.HttpRouteRouteActionArgs{
CorsPolicy: &networkservices.HttpRouteCorsPolicyArgs{
AllowCredentials: pulumi.Bool(false),
AllowHeaders: pulumi.StringArray{
pulumi.String("string"),
},
AllowMethods: pulumi.StringArray{
pulumi.String("string"),
},
AllowOriginRegexes: pulumi.StringArray{
pulumi.String("string"),
},
AllowOrigins: pulumi.StringArray{
pulumi.String("string"),
},
Disabled: pulumi.Bool(false),
ExposeHeaders: pulumi.StringArray{
pulumi.String("string"),
},
MaxAge: pulumi.String("string"),
},
Destinations: networkservices.HttpRouteDestinationArray{
&networkservices.HttpRouteDestinationArgs{
ServiceName: pulumi.String("string"),
Weight: pulumi.Int(0),
},
},
FaultInjectionPolicy: &networkservices.HttpRouteFaultInjectionPolicyArgs{
Abort: &networkservices.HttpRouteFaultInjectionPolicyAbortArgs{
HttpStatus: pulumi.Int(0),
Percentage: pulumi.Int(0),
},
Delay: &networkservices.HttpRouteFaultInjectionPolicyDelayArgs{
FixedDelay: pulumi.String("string"),
Percentage: pulumi.Int(0),
},
},
Redirect: &networkservices.HttpRouteRedirectArgs{
HostRedirect: pulumi.String("string"),
HttpsRedirect: pulumi.Bool(false),
PathRedirect: pulumi.String("string"),
PortRedirect: pulumi.Int(0),
PrefixRewrite: pulumi.String("string"),
ResponseCode: networkservicesv1beta1.HttpRouteRedirectResponseCodeResponseCodeUnspecified,
StripQuery: pulumi.Bool(false),
},
RequestHeaderModifier: &networkservices.HttpRouteHeaderModifierArgs{
Add: pulumi.StringMap{
"string": pulumi.String("string"),
},
Remove: pulumi.StringArray{
pulumi.String("string"),
},
Set: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
RequestMirrorPolicy: &networkservices.HttpRouteRequestMirrorPolicyArgs{
Destination: &networkservices.HttpRouteDestinationArgs{
ServiceName: pulumi.String("string"),
Weight: pulumi.Int(0),
},
},
ResponseHeaderModifier: &networkservices.HttpRouteHeaderModifierArgs{
Add: pulumi.StringMap{
"string": pulumi.String("string"),
},
Remove: pulumi.StringArray{
pulumi.String("string"),
},
Set: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
RetryPolicy: &networkservices.HttpRouteRetryPolicyArgs{
NumRetries: pulumi.Int(0),
PerTryTimeout: pulumi.String("string"),
RetryConditions: pulumi.StringArray{
pulumi.String("string"),
},
},
StatefulSessionAffinity: &networkservices.HttpRouteStatefulSessionAffinityPolicyArgs{
CookieTtl: pulumi.String("string"),
},
Timeout: pulumi.String("string"),
UrlRewrite: &networkservices.HttpRouteURLRewriteArgs{
HostRewrite: pulumi.String("string"),
PathPrefixRewrite: pulumi.String("string"),
},
},
Matches: networkservices.HttpRouteRouteMatchArray{
&networkservices.HttpRouteRouteMatchArgs{
FullPathMatch: pulumi.String("string"),
Headers: networkservices.HttpRouteHeaderMatchArray{
&networkservices.HttpRouteHeaderMatchArgs{
ExactMatch: pulumi.String("string"),
Header: pulumi.String("string"),
InvertMatch: pulumi.Bool(false),
PrefixMatch: pulumi.String("string"),
PresentMatch: pulumi.Bool(false),
RangeMatch: &networkservices.HttpRouteHeaderMatchIntegerRangeArgs{
End: pulumi.Int(0),
Start: pulumi.Int(0),
},
RegexMatch: pulumi.String("string"),
SuffixMatch: pulumi.String("string"),
},
},
IgnoreCase: pulumi.Bool(false),
PrefixMatch: pulumi.String("string"),
QueryParameters: networkservices.HttpRouteQueryParameterMatchArray{
&networkservices.HttpRouteQueryParameterMatchArgs{
ExactMatch: pulumi.String("string"),
PresentMatch: pulumi.Bool(false),
QueryParameter: pulumi.String("string"),
RegexMatch: pulumi.String("string"),
},
},
RegexMatch: pulumi.String("string"),
},
},
},
},
Description: pulumi.String("string"),
Gateways: pulumi.StringArray{
pulumi.String("string"),
},
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Location: pulumi.String("string"),
Meshes: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
Project: pulumi.String("string"),
})
var google_nativeHttpRouteResource = new HttpRoute("google-nativeHttpRouteResource", HttpRouteArgs.builder()
.hostnames("string")
.httpRouteId("string")
.rules(HttpRouteRouteRuleArgs.builder()
.action(HttpRouteRouteActionArgs.builder()
.corsPolicy(HttpRouteCorsPolicyArgs.builder()
.allowCredentials(false)
.allowHeaders("string")
.allowMethods("string")
.allowOriginRegexes("string")
.allowOrigins("string")
.disabled(false)
.exposeHeaders("string")
.maxAge("string")
.build())
.destinations(HttpRouteDestinationArgs.builder()
.serviceName("string")
.weight(0)
.build())
.faultInjectionPolicy(HttpRouteFaultInjectionPolicyArgs.builder()
.abort(HttpRouteFaultInjectionPolicyAbortArgs.builder()
.httpStatus(0)
.percentage(0)
.build())
.delay(HttpRouteFaultInjectionPolicyDelayArgs.builder()
.fixedDelay("string")
.percentage(0)
.build())
.build())
.redirect(HttpRouteRedirectArgs.builder()
.hostRedirect("string")
.httpsRedirect(false)
.pathRedirect("string")
.portRedirect(0)
.prefixRewrite("string")
.responseCode("RESPONSE_CODE_UNSPECIFIED")
.stripQuery(false)
.build())
.requestHeaderModifier(HttpRouteHeaderModifierArgs.builder()
.add(Map.of("string", "string"))
.remove("string")
.set(Map.of("string", "string"))
.build())
.requestMirrorPolicy(HttpRouteRequestMirrorPolicyArgs.builder()
.destination(HttpRouteDestinationArgs.builder()
.serviceName("string")
.weight(0)
.build())
.build())
.responseHeaderModifier(HttpRouteHeaderModifierArgs.builder()
.add(Map.of("string", "string"))
.remove("string")
.set(Map.of("string", "string"))
.build())
.retryPolicy(HttpRouteRetryPolicyArgs.builder()
.numRetries(0)
.perTryTimeout("string")
.retryConditions("string")
.build())
.statefulSessionAffinity(HttpRouteStatefulSessionAffinityPolicyArgs.builder()
.cookieTtl("string")
.build())
.timeout("string")
.urlRewrite(HttpRouteURLRewriteArgs.builder()
.hostRewrite("string")
.pathPrefixRewrite("string")
.build())
.build())
.matches(HttpRouteRouteMatchArgs.builder()
.fullPathMatch("string")
.headers(HttpRouteHeaderMatchArgs.builder()
.exactMatch("string")
.header("string")
.invertMatch(false)
.prefixMatch("string")
.presentMatch(false)
.rangeMatch(HttpRouteHeaderMatchIntegerRangeArgs.builder()
.end(0)
.start(0)
.build())
.regexMatch("string")
.suffixMatch("string")
.build())
.ignoreCase(false)
.prefixMatch("string")
.queryParameters(HttpRouteQueryParameterMatchArgs.builder()
.exactMatch("string")
.presentMatch(false)
.queryParameter("string")
.regexMatch("string")
.build())
.regexMatch("string")
.build())
.build())
.description("string")
.gateways("string")
.labels(Map.of("string", "string"))
.location("string")
.meshes("string")
.name("string")
.project("string")
.build());
google_native_http_route_resource = google_native.networkservices.v1beta1.HttpRoute("google-nativeHttpRouteResource",
hostnames=["string"],
http_route_id="string",
rules=[{
"action": {
"cors_policy": {
"allow_credentials": False,
"allow_headers": ["string"],
"allow_methods": ["string"],
"allow_origin_regexes": ["string"],
"allow_origins": ["string"],
"disabled": False,
"expose_headers": ["string"],
"max_age": "string",
},
"destinations": [{
"service_name": "string",
"weight": 0,
}],
"fault_injection_policy": {
"abort": {
"http_status": 0,
"percentage": 0,
},
"delay": {
"fixed_delay": "string",
"percentage": 0,
},
},
"redirect": {
"host_redirect": "string",
"https_redirect": False,
"path_redirect": "string",
"port_redirect": 0,
"prefix_rewrite": "string",
"response_code": google_native.networkservices.v1beta1.HttpRouteRedirectResponseCode.RESPONSE_CODE_UNSPECIFIED,
"strip_query": False,
},
"request_header_modifier": {
"add": {
"string": "string",
},
"remove": ["string"],
"set": {
"string": "string",
},
},
"request_mirror_policy": {
"destination": {
"service_name": "string",
"weight": 0,
},
},
"response_header_modifier": {
"add": {
"string": "string",
},
"remove": ["string"],
"set": {
"string": "string",
},
},
"retry_policy": {
"num_retries": 0,
"per_try_timeout": "string",
"retry_conditions": ["string"],
},
"stateful_session_affinity": {
"cookie_ttl": "string",
},
"timeout": "string",
"url_rewrite": {
"host_rewrite": "string",
"path_prefix_rewrite": "string",
},
},
"matches": [{
"full_path_match": "string",
"headers": [{
"exact_match": "string",
"header": "string",
"invert_match": False,
"prefix_match": "string",
"present_match": False,
"range_match": {
"end": 0,
"start": 0,
},
"regex_match": "string",
"suffix_match": "string",
}],
"ignore_case": False,
"prefix_match": "string",
"query_parameters": [{
"exact_match": "string",
"present_match": False,
"query_parameter": "string",
"regex_match": "string",
}],
"regex_match": "string",
}],
}],
description="string",
gateways=["string"],
labels={
"string": "string",
},
location="string",
meshes=["string"],
name="string",
project="string")
const google_nativeHttpRouteResource = new google_native.networkservices.v1beta1.HttpRoute("google-nativeHttpRouteResource", {
hostnames: ["string"],
httpRouteId: "string",
rules: [{
action: {
corsPolicy: {
allowCredentials: false,
allowHeaders: ["string"],
allowMethods: ["string"],
allowOriginRegexes: ["string"],
allowOrigins: ["string"],
disabled: false,
exposeHeaders: ["string"],
maxAge: "string",
},
destinations: [{
serviceName: "string",
weight: 0,
}],
faultInjectionPolicy: {
abort: {
httpStatus: 0,
percentage: 0,
},
delay: {
fixedDelay: "string",
percentage: 0,
},
},
redirect: {
hostRedirect: "string",
httpsRedirect: false,
pathRedirect: "string",
portRedirect: 0,
prefixRewrite: "string",
responseCode: google_native.networkservices.v1beta1.HttpRouteRedirectResponseCode.ResponseCodeUnspecified,
stripQuery: false,
},
requestHeaderModifier: {
add: {
string: "string",
},
remove: ["string"],
set: {
string: "string",
},
},
requestMirrorPolicy: {
destination: {
serviceName: "string",
weight: 0,
},
},
responseHeaderModifier: {
add: {
string: "string",
},
remove: ["string"],
set: {
string: "string",
},
},
retryPolicy: {
numRetries: 0,
perTryTimeout: "string",
retryConditions: ["string"],
},
statefulSessionAffinity: {
cookieTtl: "string",
},
timeout: "string",
urlRewrite: {
hostRewrite: "string",
pathPrefixRewrite: "string",
},
},
matches: [{
fullPathMatch: "string",
headers: [{
exactMatch: "string",
header: "string",
invertMatch: false,
prefixMatch: "string",
presentMatch: false,
rangeMatch: {
end: 0,
start: 0,
},
regexMatch: "string",
suffixMatch: "string",
}],
ignoreCase: false,
prefixMatch: "string",
queryParameters: [{
exactMatch: "string",
presentMatch: false,
queryParameter: "string",
regexMatch: "string",
}],
regexMatch: "string",
}],
}],
description: "string",
gateways: ["string"],
labels: {
string: "string",
},
location: "string",
meshes: ["string"],
name: "string",
project: "string",
});
type: google-native:networkservices/v1beta1:HttpRoute
properties:
description: string
gateways:
- string
hostnames:
- string
httpRouteId: string
labels:
string: string
location: string
meshes:
- string
name: string
project: string
rules:
- action:
corsPolicy:
allowCredentials: false
allowHeaders:
- string
allowMethods:
- string
allowOriginRegexes:
- string
allowOrigins:
- string
disabled: false
exposeHeaders:
- string
maxAge: string
destinations:
- serviceName: string
weight: 0
faultInjectionPolicy:
abort:
httpStatus: 0
percentage: 0
delay:
fixedDelay: string
percentage: 0
redirect:
hostRedirect: string
httpsRedirect: false
pathRedirect: string
portRedirect: 0
prefixRewrite: string
responseCode: RESPONSE_CODE_UNSPECIFIED
stripQuery: false
requestHeaderModifier:
add:
string: string
remove:
- string
set:
string: string
requestMirrorPolicy:
destination:
serviceName: string
weight: 0
responseHeaderModifier:
add:
string: string
remove:
- string
set:
string: string
retryPolicy:
numRetries: 0
perTryTimeout: string
retryConditions:
- string
statefulSessionAffinity:
cookieTtl: string
timeout: string
urlRewrite:
hostRewrite: string
pathPrefixRewrite: string
matches:
- fullPathMatch: string
headers:
- exactMatch: string
header: string
invertMatch: false
prefixMatch: string
presentMatch: false
rangeMatch:
end: 0
start: 0
regexMatch: string
suffixMatch: string
ignoreCase: false
prefixMatch: string
queryParameters:
- exactMatch: string
presentMatch: false
queryParameter: string
regexMatch: string
regexMatch: string
HttpRoute Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The HttpRoute resource accepts the following input properties:
- Hostnames List<string>
- Hostnames define a set of hosts that should match against the HTTP host header to select a HttpRoute to process the request. Hostname is the fully qualified domain name of a network host, as defined by RFC 1123 with the exception that: - IPs are not allowed. - A hostname may be prefixed with a wildcard label (
*.
). The wildcard label must appear by itself as the first label. Hostname can be "precise" which is a domain name without the terminating dot of a network host (e.g.foo.example.com
) or "wildcard", which is a domain name prefixed with a single wildcard label (e.g.*.example.com
). Note that as per RFC1035 and RFC1123, a label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character. No other punctuation is allowed. The routes associated with a Mesh or Gateways must have unique hostnames. If you attempt to attach multiple routes with conflicting hostnames, the configuration will be rejected. For example, while it is acceptable for routes for the hostnames*.foo.bar.com
and*.bar.com
to be associated with the same Mesh (or Gateways under the same scope), it is not possible to associate two routes both with*.bar.com
or both withbar.com
. - Http
Route stringId - Required. Short name of the HttpRoute resource to be created.
- Rules
List<Pulumi.
Google Native. Network Services. V1Beta1. Inputs. Http Route Route Rule> - Rules that define how traffic is routed and handled. Rules will be matched sequentially based on the RouteMatch specified for the rule.
- Description string
- Optional. A free-text description of the resource. Max length 1024 characters.
- Gateways List<string>
- Optional. Gateways defines a list of gateways this HttpRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern:
projects/*/locations/global/gateways/
- Labels Dictionary<string, string>
- Optional. Set of label tags associated with the HttpRoute resource.
- Location string
- Meshes List<string>
- Optional. Meshes defines a list of meshes this HttpRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern:
projects/*/locations/global/meshes/
The attached Mesh should be of a type SIDECAR - Name string
- Name of the HttpRoute resource. It matches pattern
projects/*/locations/global/httpRoutes/http_route_name>
. - Project string
- Hostnames []string
- Hostnames define a set of hosts that should match against the HTTP host header to select a HttpRoute to process the request. Hostname is the fully qualified domain name of a network host, as defined by RFC 1123 with the exception that: - IPs are not allowed. - A hostname may be prefixed with a wildcard label (
*.
). The wildcard label must appear by itself as the first label. Hostname can be "precise" which is a domain name without the terminating dot of a network host (e.g.foo.example.com
) or "wildcard", which is a domain name prefixed with a single wildcard label (e.g.*.example.com
). Note that as per RFC1035 and RFC1123, a label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character. No other punctuation is allowed. The routes associated with a Mesh or Gateways must have unique hostnames. If you attempt to attach multiple routes with conflicting hostnames, the configuration will be rejected. For example, while it is acceptable for routes for the hostnames*.foo.bar.com
and*.bar.com
to be associated with the same Mesh (or Gateways under the same scope), it is not possible to associate two routes both with*.bar.com
or both withbar.com
. - Http
Route stringId - Required. Short name of the HttpRoute resource to be created.
- Rules
[]Http
Route Route Rule Args - Rules that define how traffic is routed and handled. Rules will be matched sequentially based on the RouteMatch specified for the rule.
- Description string
- Optional. A free-text description of the resource. Max length 1024 characters.
- Gateways []string
- Optional. Gateways defines a list of gateways this HttpRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern:
projects/*/locations/global/gateways/
- Labels map[string]string
- Optional. Set of label tags associated with the HttpRoute resource.
- Location string
- Meshes []string
- Optional. Meshes defines a list of meshes this HttpRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern:
projects/*/locations/global/meshes/
The attached Mesh should be of a type SIDECAR - Name string
- Name of the HttpRoute resource. It matches pattern
projects/*/locations/global/httpRoutes/http_route_name>
. - Project string
- hostnames List<String>
- Hostnames define a set of hosts that should match against the HTTP host header to select a HttpRoute to process the request. Hostname is the fully qualified domain name of a network host, as defined by RFC 1123 with the exception that: - IPs are not allowed. - A hostname may be prefixed with a wildcard label (
*.
). The wildcard label must appear by itself as the first label. Hostname can be "precise" which is a domain name without the terminating dot of a network host (e.g.foo.example.com
) or "wildcard", which is a domain name prefixed with a single wildcard label (e.g.*.example.com
). Note that as per RFC1035 and RFC1123, a label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character. No other punctuation is allowed. The routes associated with a Mesh or Gateways must have unique hostnames. If you attempt to attach multiple routes with conflicting hostnames, the configuration will be rejected. For example, while it is acceptable for routes for the hostnames*.foo.bar.com
and*.bar.com
to be associated with the same Mesh (or Gateways under the same scope), it is not possible to associate two routes both with*.bar.com
or both withbar.com
. - http
Route StringId - Required. Short name of the HttpRoute resource to be created.
- rules
List<Http
Route Route Rule> - Rules that define how traffic is routed and handled. Rules will be matched sequentially based on the RouteMatch specified for the rule.
- description String
- Optional. A free-text description of the resource. Max length 1024 characters.
- gateways List<String>
- Optional. Gateways defines a list of gateways this HttpRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern:
projects/*/locations/global/gateways/
- labels Map<String,String>
- Optional. Set of label tags associated with the HttpRoute resource.
- location String
- meshes List<String>
- Optional. Meshes defines a list of meshes this HttpRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern:
projects/*/locations/global/meshes/
The attached Mesh should be of a type SIDECAR - name String
- Name of the HttpRoute resource. It matches pattern
projects/*/locations/global/httpRoutes/http_route_name>
. - project String
- hostnames string[]
- Hostnames define a set of hosts that should match against the HTTP host header to select a HttpRoute to process the request. Hostname is the fully qualified domain name of a network host, as defined by RFC 1123 with the exception that: - IPs are not allowed. - A hostname may be prefixed with a wildcard label (
*.
). The wildcard label must appear by itself as the first label. Hostname can be "precise" which is a domain name without the terminating dot of a network host (e.g.foo.example.com
) or "wildcard", which is a domain name prefixed with a single wildcard label (e.g.*.example.com
). Note that as per RFC1035 and RFC1123, a label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character. No other punctuation is allowed. The routes associated with a Mesh or Gateways must have unique hostnames. If you attempt to attach multiple routes with conflicting hostnames, the configuration will be rejected. For example, while it is acceptable for routes for the hostnames*.foo.bar.com
and*.bar.com
to be associated with the same Mesh (or Gateways under the same scope), it is not possible to associate two routes both with*.bar.com
or both withbar.com
. - http
Route stringId - Required. Short name of the HttpRoute resource to be created.
- rules
Http
Route Route Rule[] - Rules that define how traffic is routed and handled. Rules will be matched sequentially based on the RouteMatch specified for the rule.
- description string
- Optional. A free-text description of the resource. Max length 1024 characters.
- gateways string[]
- Optional. Gateways defines a list of gateways this HttpRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern:
projects/*/locations/global/gateways/
- labels {[key: string]: string}
- Optional. Set of label tags associated with the HttpRoute resource.
- location string
- meshes string[]
- Optional. Meshes defines a list of meshes this HttpRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern:
projects/*/locations/global/meshes/
The attached Mesh should be of a type SIDECAR - name string
- Name of the HttpRoute resource. It matches pattern
projects/*/locations/global/httpRoutes/http_route_name>
. - project string
- hostnames Sequence[str]
- Hostnames define a set of hosts that should match against the HTTP host header to select a HttpRoute to process the request. Hostname is the fully qualified domain name of a network host, as defined by RFC 1123 with the exception that: - IPs are not allowed. - A hostname may be prefixed with a wildcard label (
*.
). The wildcard label must appear by itself as the first label. Hostname can be "precise" which is a domain name without the terminating dot of a network host (e.g.foo.example.com
) or "wildcard", which is a domain name prefixed with a single wildcard label (e.g.*.example.com
). Note that as per RFC1035 and RFC1123, a label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character. No other punctuation is allowed. The routes associated with a Mesh or Gateways must have unique hostnames. If you attempt to attach multiple routes with conflicting hostnames, the configuration will be rejected. For example, while it is acceptable for routes for the hostnames*.foo.bar.com
and*.bar.com
to be associated with the same Mesh (or Gateways under the same scope), it is not possible to associate two routes both with*.bar.com
or both withbar.com
. - http_
route_ strid - Required. Short name of the HttpRoute resource to be created.
- rules
Sequence[Http
Route Route Rule Args] - Rules that define how traffic is routed and handled. Rules will be matched sequentially based on the RouteMatch specified for the rule.
- description str
- Optional. A free-text description of the resource. Max length 1024 characters.
- gateways Sequence[str]
- Optional. Gateways defines a list of gateways this HttpRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern:
projects/*/locations/global/gateways/
- labels Mapping[str, str]
- Optional. Set of label tags associated with the HttpRoute resource.
- location str
- meshes Sequence[str]
- Optional. Meshes defines a list of meshes this HttpRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern:
projects/*/locations/global/meshes/
The attached Mesh should be of a type SIDECAR - name str
- Name of the HttpRoute resource. It matches pattern
projects/*/locations/global/httpRoutes/http_route_name>
. - project str
- hostnames List<String>
- Hostnames define a set of hosts that should match against the HTTP host header to select a HttpRoute to process the request. Hostname is the fully qualified domain name of a network host, as defined by RFC 1123 with the exception that: - IPs are not allowed. - A hostname may be prefixed with a wildcard label (
*.
). The wildcard label must appear by itself as the first label. Hostname can be "precise" which is a domain name without the terminating dot of a network host (e.g.foo.example.com
) or "wildcard", which is a domain name prefixed with a single wildcard label (e.g.*.example.com
). Note that as per RFC1035 and RFC1123, a label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character. No other punctuation is allowed. The routes associated with a Mesh or Gateways must have unique hostnames. If you attempt to attach multiple routes with conflicting hostnames, the configuration will be rejected. For example, while it is acceptable for routes for the hostnames*.foo.bar.com
and*.bar.com
to be associated with the same Mesh (or Gateways under the same scope), it is not possible to associate two routes both with*.bar.com
or both withbar.com
. - http
Route StringId - Required. Short name of the HttpRoute resource to be created.
- rules List<Property Map>
- Rules that define how traffic is routed and handled. Rules will be matched sequentially based on the RouteMatch specified for the rule.
- description String
- Optional. A free-text description of the resource. Max length 1024 characters.
- gateways List<String>
- Optional. Gateways defines a list of gateways this HttpRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern:
projects/*/locations/global/gateways/
- labels Map<String>
- Optional. Set of label tags associated with the HttpRoute resource.
- location String
- meshes List<String>
- Optional. Meshes defines a list of meshes this HttpRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern:
projects/*/locations/global/meshes/
The attached Mesh should be of a type SIDECAR - name String
- Name of the HttpRoute resource. It matches pattern
projects/*/locations/global/httpRoutes/http_route_name>
. - project String
Outputs
All input properties are implicitly available as output properties. Additionally, the HttpRoute resource produces the following output properties:
- Create
Time string - The timestamp when the resource was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Self
Link string - Server-defined URL of this resource
- Update
Time string - The timestamp when the resource was updated.
- Create
Time string - The timestamp when the resource was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Self
Link string - Server-defined URL of this resource
- Update
Time string - The timestamp when the resource was updated.
- create
Time String - The timestamp when the resource was created.
- id String
- The provider-assigned unique ID for this managed resource.
- self
Link String - Server-defined URL of this resource
- update
Time String - The timestamp when the resource was updated.
- create
Time string - The timestamp when the resource was created.
- id string
- The provider-assigned unique ID for this managed resource.
- self
Link string - Server-defined URL of this resource
- update
Time string - The timestamp when the resource was updated.
- create_
time str - The timestamp when the resource was created.
- id str
- The provider-assigned unique ID for this managed resource.
- self_
link str - Server-defined URL of this resource
- update_
time str - The timestamp when the resource was updated.
- create
Time String - The timestamp when the resource was created.
- id String
- The provider-assigned unique ID for this managed resource.
- self
Link String - Server-defined URL of this resource
- update
Time String - The timestamp when the resource was updated.
Supporting Types
HttpRouteCorsPolicy, HttpRouteCorsPolicyArgs
- Allow
Credentials bool - In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
- Allow
Headers List<string> - Specifies the content for Access-Control-Allow-Headers header.
- Allow
Methods List<string> - Specifies the content for Access-Control-Allow-Methods header.
- Allow
Origin List<string>Regexes - Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
- Allow
Origins List<string> - Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
- Disabled bool
- If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
- Expose
Headers List<string> - Specifies the content for Access-Control-Expose-Headers header.
- Max
Age string - Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
- Allow
Credentials bool - In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
- Allow
Headers []string - Specifies the content for Access-Control-Allow-Headers header.
- Allow
Methods []string - Specifies the content for Access-Control-Allow-Methods header.
- Allow
Origin []stringRegexes - Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
- Allow
Origins []string - Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
- Disabled bool
- If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
- Expose
Headers []string - Specifies the content for Access-Control-Expose-Headers header.
- Max
Age string - Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
- allow
Credentials Boolean - In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
- allow
Headers List<String> - Specifies the content for Access-Control-Allow-Headers header.
- allow
Methods List<String> - Specifies the content for Access-Control-Allow-Methods header.
- allow
Origin List<String>Regexes - Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
- allow
Origins List<String> - Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
- disabled Boolean
- If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
- expose
Headers List<String> - Specifies the content for Access-Control-Expose-Headers header.
- max
Age String - Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
- allow
Credentials boolean - In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
- allow
Headers string[] - Specifies the content for Access-Control-Allow-Headers header.
- allow
Methods string[] - Specifies the content for Access-Control-Allow-Methods header.
- allow
Origin string[]Regexes - Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
- allow
Origins string[] - Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
- disabled boolean
- If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
- expose
Headers string[] - Specifies the content for Access-Control-Expose-Headers header.
- max
Age string - Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
- allow_
credentials bool - In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
- allow_
headers Sequence[str] - Specifies the content for Access-Control-Allow-Headers header.
- allow_
methods Sequence[str] - Specifies the content for Access-Control-Allow-Methods header.
- allow_
origin_ Sequence[str]regexes - Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
- allow_
origins Sequence[str] - Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
- disabled bool
- If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
- expose_
headers Sequence[str] - Specifies the content for Access-Control-Expose-Headers header.
- max_
age str - Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
- allow
Credentials Boolean - In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
- allow
Headers List<String> - Specifies the content for Access-Control-Allow-Headers header.
- allow
Methods List<String> - Specifies the content for Access-Control-Allow-Methods header.
- allow
Origin List<String>Regexes - Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
- allow
Origins List<String> - Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
- disabled Boolean
- If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
- expose
Headers List<String> - Specifies the content for Access-Control-Expose-Headers header.
- max
Age String - Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
HttpRouteCorsPolicyResponse, HttpRouteCorsPolicyResponseArgs
- Allow
Credentials bool - In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
- Allow
Headers List<string> - Specifies the content for Access-Control-Allow-Headers header.
- Allow
Methods List<string> - Specifies the content for Access-Control-Allow-Methods header.
- Allow
Origin List<string>Regexes - Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
- Allow
Origins List<string> - Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
- Disabled bool
- If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
- Expose
Headers List<string> - Specifies the content for Access-Control-Expose-Headers header.
- Max
Age string - Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
- Allow
Credentials bool - In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
- Allow
Headers []string - Specifies the content for Access-Control-Allow-Headers header.
- Allow
Methods []string - Specifies the content for Access-Control-Allow-Methods header.
- Allow
Origin []stringRegexes - Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
- Allow
Origins []string - Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
- Disabled bool
- If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
- Expose
Headers []string - Specifies the content for Access-Control-Expose-Headers header.
- Max
Age string - Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
- allow
Credentials Boolean - In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
- allow
Headers List<String> - Specifies the content for Access-Control-Allow-Headers header.
- allow
Methods List<String> - Specifies the content for Access-Control-Allow-Methods header.
- allow
Origin List<String>Regexes - Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
- allow
Origins List<String> - Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
- disabled Boolean
- If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
- expose
Headers List<String> - Specifies the content for Access-Control-Expose-Headers header.
- max
Age String - Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
- allow
Credentials boolean - In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
- allow
Headers string[] - Specifies the content for Access-Control-Allow-Headers header.
- allow
Methods string[] - Specifies the content for Access-Control-Allow-Methods header.
- allow
Origin string[]Regexes - Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
- allow
Origins string[] - Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
- disabled boolean
- If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
- expose
Headers string[] - Specifies the content for Access-Control-Expose-Headers header.
- max
Age string - Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
- allow_
credentials bool - In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
- allow_
headers Sequence[str] - Specifies the content for Access-Control-Allow-Headers header.
- allow_
methods Sequence[str] - Specifies the content for Access-Control-Allow-Methods header.
- allow_
origin_ Sequence[str]regexes - Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
- allow_
origins Sequence[str] - Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
- disabled bool
- If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
- expose_
headers Sequence[str] - Specifies the content for Access-Control-Expose-Headers header.
- max_
age str - Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
- allow
Credentials Boolean - In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
- allow
Headers List<String> - Specifies the content for Access-Control-Allow-Headers header.
- allow
Methods List<String> - Specifies the content for Access-Control-Allow-Methods header.
- allow
Origin List<String>Regexes - Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
- allow
Origins List<String> - Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
- disabled Boolean
- If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
- expose
Headers List<String> - Specifies the content for Access-Control-Expose-Headers header.
- max
Age String - Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
HttpRouteDestination, HttpRouteDestinationArgs
- Service
Name string - The URL of a BackendService to route traffic to.
- Weight int
- Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
- Service
Name string - The URL of a BackendService to route traffic to.
- Weight int
- Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
- service
Name String - The URL of a BackendService to route traffic to.
- weight Integer
- Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
- service
Name string - The URL of a BackendService to route traffic to.
- weight number
- Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
- service_
name str - The URL of a BackendService to route traffic to.
- weight int
- Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
- service
Name String - The URL of a BackendService to route traffic to.
- weight Number
- Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
HttpRouteDestinationResponse, HttpRouteDestinationResponseArgs
- Service
Name string - The URL of a BackendService to route traffic to.
- Weight int
- Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
- Service
Name string - The URL of a BackendService to route traffic to.
- Weight int
- Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
- service
Name String - The URL of a BackendService to route traffic to.
- weight Integer
- Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
- service
Name string - The URL of a BackendService to route traffic to.
- weight number
- Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
- service_
name str - The URL of a BackendService to route traffic to.
- weight int
- Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
- service
Name String - The URL of a BackendService to route traffic to.
- weight Number
- Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
HttpRouteFaultInjectionPolicy, HttpRouteFaultInjectionPolicyArgs
- Abort
Pulumi.
Google Native. Network Services. V1Beta1. Inputs. Http Route Fault Injection Policy Abort - The specification for aborting to client requests.
- Delay
Pulumi.
Google Native. Network Services. V1Beta1. Inputs. Http Route Fault Injection Policy Delay - The specification for injecting delay to client requests.
- Abort
Http
Route Fault Injection Policy Abort - The specification for aborting to client requests.
- Delay
Http
Route Fault Injection Policy Delay - The specification for injecting delay to client requests.
- abort
Http
Route Fault Injection Policy Abort - The specification for aborting to client requests.
- delay
Http
Route Fault Injection Policy Delay - The specification for injecting delay to client requests.
- abort
Http
Route Fault Injection Policy Abort - The specification for aborting to client requests.
- delay
Http
Route Fault Injection Policy Delay - The specification for injecting delay to client requests.
- abort
Http
Route Fault Injection Policy Abort - The specification for aborting to client requests.
- delay
Http
Route Fault Injection Policy Delay - The specification for injecting delay to client requests.
- abort Property Map
- The specification for aborting to client requests.
- delay Property Map
- The specification for injecting delay to client requests.
HttpRouteFaultInjectionPolicyAbort, HttpRouteFaultInjectionPolicyAbortArgs
- Http
Status int - The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
- Percentage int
- The percentage of traffic which will be aborted. The value must be between [0, 100]
- Http
Status int - The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
- Percentage int
- The percentage of traffic which will be aborted. The value must be between [0, 100]
- http
Status Integer - The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
- percentage Integer
- The percentage of traffic which will be aborted. The value must be between [0, 100]
- http
Status number - The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
- percentage number
- The percentage of traffic which will be aborted. The value must be between [0, 100]
- http_
status int - The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
- percentage int
- The percentage of traffic which will be aborted. The value must be between [0, 100]
- http
Status Number - The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
- percentage Number
- The percentage of traffic which will be aborted. The value must be between [0, 100]
HttpRouteFaultInjectionPolicyAbortResponse, HttpRouteFaultInjectionPolicyAbortResponseArgs
- Http
Status int - The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
- Percentage int
- The percentage of traffic which will be aborted. The value must be between [0, 100]
- Http
Status int - The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
- Percentage int
- The percentage of traffic which will be aborted. The value must be between [0, 100]
- http
Status Integer - The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
- percentage Integer
- The percentage of traffic which will be aborted. The value must be between [0, 100]
- http
Status number - The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
- percentage number
- The percentage of traffic which will be aborted. The value must be between [0, 100]
- http_
status int - The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
- percentage int
- The percentage of traffic which will be aborted. The value must be between [0, 100]
- http
Status Number - The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
- percentage Number
- The percentage of traffic which will be aborted. The value must be between [0, 100]
HttpRouteFaultInjectionPolicyDelay, HttpRouteFaultInjectionPolicyDelayArgs
- Fixed
Delay string - Specify a fixed delay before forwarding the request.
- Percentage int
- The percentage of traffic on which delay will be injected. The value must be between [0, 100]
- Fixed
Delay string - Specify a fixed delay before forwarding the request.
- Percentage int
- The percentage of traffic on which delay will be injected. The value must be between [0, 100]
- fixed
Delay String - Specify a fixed delay before forwarding the request.
- percentage Integer
- The percentage of traffic on which delay will be injected. The value must be between [0, 100]
- fixed
Delay string - Specify a fixed delay before forwarding the request.
- percentage number
- The percentage of traffic on which delay will be injected. The value must be between [0, 100]
- fixed_
delay str - Specify a fixed delay before forwarding the request.
- percentage int
- The percentage of traffic on which delay will be injected. The value must be between [0, 100]
- fixed
Delay String - Specify a fixed delay before forwarding the request.
- percentage Number
- The percentage of traffic on which delay will be injected. The value must be between [0, 100]
HttpRouteFaultInjectionPolicyDelayResponse, HttpRouteFaultInjectionPolicyDelayResponseArgs
- Fixed
Delay string - Specify a fixed delay before forwarding the request.
- Percentage int
- The percentage of traffic on which delay will be injected. The value must be between [0, 100]
- Fixed
Delay string - Specify a fixed delay before forwarding the request.
- Percentage int
- The percentage of traffic on which delay will be injected. The value must be between [0, 100]
- fixed
Delay String - Specify a fixed delay before forwarding the request.
- percentage Integer
- The percentage of traffic on which delay will be injected. The value must be between [0, 100]
- fixed
Delay string - Specify a fixed delay before forwarding the request.
- percentage number
- The percentage of traffic on which delay will be injected. The value must be between [0, 100]
- fixed_
delay str - Specify a fixed delay before forwarding the request.
- percentage int
- The percentage of traffic on which delay will be injected. The value must be between [0, 100]
- fixed
Delay String - Specify a fixed delay before forwarding the request.
- percentage Number
- The percentage of traffic on which delay will be injected. The value must be between [0, 100]
HttpRouteFaultInjectionPolicyResponse, HttpRouteFaultInjectionPolicyResponseArgs
- Abort
Pulumi.
Google Native. Network Services. V1Beta1. Inputs. Http Route Fault Injection Policy Abort Response - The specification for aborting to client requests.
- Delay
Pulumi.
Google Native. Network Services. V1Beta1. Inputs. Http Route Fault Injection Policy Delay Response - The specification for injecting delay to client requests.
- Abort
Http
Route Fault Injection Policy Abort Response - The specification for aborting to client requests.
- Delay
Http
Route Fault Injection Policy Delay Response - The specification for injecting delay to client requests.
- abort
Http
Route Fault Injection Policy Abort Response - The specification for aborting to client requests.
- delay
Http
Route Fault Injection Policy Delay Response - The specification for injecting delay to client requests.
- abort
Http
Route Fault Injection Policy Abort Response - The specification for aborting to client requests.
- delay
Http
Route Fault Injection Policy Delay Response - The specification for injecting delay to client requests.
- abort
Http
Route Fault Injection Policy Abort Response - The specification for aborting to client requests.
- delay
Http
Route Fault Injection Policy Delay Response - The specification for injecting delay to client requests.
- abort Property Map
- The specification for aborting to client requests.
- delay Property Map
- The specification for injecting delay to client requests.
HttpRouteHeaderMatch, HttpRouteHeaderMatchArgs
- Exact
Match string - The value of the header should match exactly the content of exact_match.
- Header string
- The name of the HTTP header to match against.
- Invert
Match bool - If specified, the match result will be inverted before checking. Default value is set to false.
- Prefix
Match string - The value of the header must start with the contents of prefix_match.
- Present
Match bool - A header with header_name must exist. The match takes place whether or not the header has a value.
- Range
Match Pulumi.Google Native. Network Services. V1Beta1. Inputs. Http Route Header Match Integer Range - If specified, the rule will match if the request header value is within the range.
- Regex
Match string - The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
- Suffix
Match string - The value of the header must end with the contents of suffix_match.
- Exact
Match string - The value of the header should match exactly the content of exact_match.
- Header string
- The name of the HTTP header to match against.
- Invert
Match bool - If specified, the match result will be inverted before checking. Default value is set to false.
- Prefix
Match string - The value of the header must start with the contents of prefix_match.
- Present
Match bool - A header with header_name must exist. The match takes place whether or not the header has a value.
- Range
Match HttpRoute Header Match Integer Range - If specified, the rule will match if the request header value is within the range.
- Regex
Match string - The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
- Suffix
Match string - The value of the header must end with the contents of suffix_match.
- exact
Match String - The value of the header should match exactly the content of exact_match.
- header String
- The name of the HTTP header to match against.
- invert
Match Boolean - If specified, the match result will be inverted before checking. Default value is set to false.
- prefix
Match String - The value of the header must start with the contents of prefix_match.
- present
Match Boolean - A header with header_name must exist. The match takes place whether or not the header has a value.
- range
Match HttpRoute Header Match Integer Range - If specified, the rule will match if the request header value is within the range.
- regex
Match String - The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
- suffix
Match String - The value of the header must end with the contents of suffix_match.
- exact
Match string - The value of the header should match exactly the content of exact_match.
- header string
- The name of the HTTP header to match against.
- invert
Match boolean - If specified, the match result will be inverted before checking. Default value is set to false.
- prefix
Match string - The value of the header must start with the contents of prefix_match.
- present
Match boolean - A header with header_name must exist. The match takes place whether or not the header has a value.
- range
Match HttpRoute Header Match Integer Range - If specified, the rule will match if the request header value is within the range.
- regex
Match string - The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
- suffix
Match string - The value of the header must end with the contents of suffix_match.
- exact_
match str - The value of the header should match exactly the content of exact_match.
- header str
- The name of the HTTP header to match against.
- invert_
match bool - If specified, the match result will be inverted before checking. Default value is set to false.
- prefix_
match str - The value of the header must start with the contents of prefix_match.
- present_
match bool - A header with header_name must exist. The match takes place whether or not the header has a value.
- range_
match HttpRoute Header Match Integer Range - If specified, the rule will match if the request header value is within the range.
- regex_
match str - The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
- suffix_
match str - The value of the header must end with the contents of suffix_match.
- exact
Match String - The value of the header should match exactly the content of exact_match.
- header String
- The name of the HTTP header to match against.
- invert
Match Boolean - If specified, the match result will be inverted before checking. Default value is set to false.
- prefix
Match String - The value of the header must start with the contents of prefix_match.
- present
Match Boolean - A header with header_name must exist. The match takes place whether or not the header has a value.
- range
Match Property Map - If specified, the rule will match if the request header value is within the range.
- regex
Match String - The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
- suffix
Match String - The value of the header must end with the contents of suffix_match.
HttpRouteHeaderMatchIntegerRange, HttpRouteHeaderMatchIntegerRangeArgs
HttpRouteHeaderMatchIntegerRangeResponse, HttpRouteHeaderMatchIntegerRangeResponseArgs
HttpRouteHeaderMatchResponse, HttpRouteHeaderMatchResponseArgs
- Exact
Match string - The value of the header should match exactly the content of exact_match.
- Header string
- The name of the HTTP header to match against.
- Invert
Match bool - If specified, the match result will be inverted before checking. Default value is set to false.
- Prefix
Match string - The value of the header must start with the contents of prefix_match.
- Present
Match bool - A header with header_name must exist. The match takes place whether or not the header has a value.
- Range
Match Pulumi.Google Native. Network Services. V1Beta1. Inputs. Http Route Header Match Integer Range Response - If specified, the rule will match if the request header value is within the range.
- Regex
Match string - The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
- Suffix
Match string - The value of the header must end with the contents of suffix_match.
- Exact
Match string - The value of the header should match exactly the content of exact_match.
- Header string
- The name of the HTTP header to match against.
- Invert
Match bool - If specified, the match result will be inverted before checking. Default value is set to false.
- Prefix
Match string - The value of the header must start with the contents of prefix_match.
- Present
Match bool - A header with header_name must exist. The match takes place whether or not the header has a value.
- Range
Match HttpRoute Header Match Integer Range Response - If specified, the rule will match if the request header value is within the range.
- Regex
Match string - The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
- Suffix
Match string - The value of the header must end with the contents of suffix_match.
- exact
Match String - The value of the header should match exactly the content of exact_match.
- header String
- The name of the HTTP header to match against.
- invert
Match Boolean - If specified, the match result will be inverted before checking. Default value is set to false.
- prefix
Match String - The value of the header must start with the contents of prefix_match.
- present
Match Boolean - A header with header_name must exist. The match takes place whether or not the header has a value.
- range
Match HttpRoute Header Match Integer Range Response - If specified, the rule will match if the request header value is within the range.
- regex
Match String - The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
- suffix
Match String - The value of the header must end with the contents of suffix_match.
- exact
Match string - The value of the header should match exactly the content of exact_match.
- header string
- The name of the HTTP header to match against.
- invert
Match boolean - If specified, the match result will be inverted before checking. Default value is set to false.
- prefix
Match string - The value of the header must start with the contents of prefix_match.
- present
Match boolean - A header with header_name must exist. The match takes place whether or not the header has a value.
- range
Match HttpRoute Header Match Integer Range Response - If specified, the rule will match if the request header value is within the range.
- regex
Match string - The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
- suffix
Match string - The value of the header must end with the contents of suffix_match.
- exact_
match str - The value of the header should match exactly the content of exact_match.
- header str
- The name of the HTTP header to match against.
- invert_
match bool - If specified, the match result will be inverted before checking. Default value is set to false.
- prefix_
match str - The value of the header must start with the contents of prefix_match.
- present_
match bool - A header with header_name must exist. The match takes place whether or not the header has a value.
- range_
match HttpRoute Header Match Integer Range Response - If specified, the rule will match if the request header value is within the range.
- regex_
match str - The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
- suffix_
match str - The value of the header must end with the contents of suffix_match.
- exact
Match String - The value of the header should match exactly the content of exact_match.
- header String
- The name of the HTTP header to match against.
- invert
Match Boolean - If specified, the match result will be inverted before checking. Default value is set to false.
- prefix
Match String - The value of the header must start with the contents of prefix_match.
- present
Match Boolean - A header with header_name must exist. The match takes place whether or not the header has a value.
- range
Match Property Map - If specified, the rule will match if the request header value is within the range.
- regex
Match String - The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
- suffix
Match String - The value of the header must end with the contents of suffix_match.
HttpRouteHeaderModifier, HttpRouteHeaderModifierArgs
- Add Dictionary<string, string>
- Add the headers with given map where key is the name of the header, value is the value of the header.
- Remove List<string>
- Remove headers (matching by header names) specified in the list.
- Set Dictionary<string, string>
- Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
- Add map[string]string
- Add the headers with given map where key is the name of the header, value is the value of the header.
- Remove []string
- Remove headers (matching by header names) specified in the list.
- Set map[string]string
- Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
- add Map<String,String>
- Add the headers with given map where key is the name of the header, value is the value of the header.
- remove List<String>
- Remove headers (matching by header names) specified in the list.
- set Map<String,String>
- Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
- add {[key: string]: string}
- Add the headers with given map where key is the name of the header, value is the value of the header.
- remove string[]
- Remove headers (matching by header names) specified in the list.
- set {[key: string]: string}
- Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
- add Mapping[str, str]
- Add the headers with given map where key is the name of the header, value is the value of the header.
- remove Sequence[str]
- Remove headers (matching by header names) specified in the list.
- set Mapping[str, str]
- Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
- add Map<String>
- Add the headers with given map where key is the name of the header, value is the value of the header.
- remove List<String>
- Remove headers (matching by header names) specified in the list.
- set Map<String>
- Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
HttpRouteHeaderModifierResponse, HttpRouteHeaderModifierResponseArgs
- Add Dictionary<string, string>
- Add the headers with given map where key is the name of the header, value is the value of the header.
- Remove List<string>
- Remove headers (matching by header names) specified in the list.
- Set Dictionary<string, string>
- Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
- Add map[string]string
- Add the headers with given map where key is the name of the header, value is the value of the header.
- Remove []string
- Remove headers (matching by header names) specified in the list.
- Set map[string]string
- Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
- add Map<String,String>
- Add the headers with given map where key is the name of the header, value is the value of the header.
- remove List<String>
- Remove headers (matching by header names) specified in the list.
- set Map<String,String>
- Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
- add {[key: string]: string}
- Add the headers with given map where key is the name of the header, value is the value of the header.
- remove string[]
- Remove headers (matching by header names) specified in the list.
- set {[key: string]: string}
- Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
- add Mapping[str, str]
- Add the headers with given map where key is the name of the header, value is the value of the header.
- remove Sequence[str]
- Remove headers (matching by header names) specified in the list.
- set Mapping[str, str]
- Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
- add Map<String>
- Add the headers with given map where key is the name of the header, value is the value of the header.
- remove List<String>
- Remove headers (matching by header names) specified in the list.
- set Map<String>
- Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
HttpRouteQueryParameterMatch, HttpRouteQueryParameterMatchArgs
- Exact
Match string - The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
- Present
Match bool - Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
- Query
Parameter string - The name of the query parameter to match.
- Regex
Match string - The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
- Exact
Match string - The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
- Present
Match bool - Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
- Query
Parameter string - The name of the query parameter to match.
- Regex
Match string - The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
- exact
Match String - The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
- present
Match Boolean - Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
- query
Parameter String - The name of the query parameter to match.
- regex
Match String - The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
- exact
Match string - The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
- present
Match boolean - Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
- query
Parameter string - The name of the query parameter to match.
- regex
Match string - The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
- exact_
match str - The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
- present_
match bool - Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
- query_
parameter str - The name of the query parameter to match.
- regex_
match str - The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
- exact
Match String - The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
- present
Match Boolean - Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
- query
Parameter String - The name of the query parameter to match.
- regex
Match String - The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
HttpRouteQueryParameterMatchResponse, HttpRouteQueryParameterMatchResponseArgs
- Exact
Match string - The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
- Present
Match bool - Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
- Query
Parameter string - The name of the query parameter to match.
- Regex
Match string - The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
- Exact
Match string - The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
- Present
Match bool - Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
- Query
Parameter string - The name of the query parameter to match.
- Regex
Match string - The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
- exact
Match String - The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
- present
Match Boolean - Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
- query
Parameter String - The name of the query parameter to match.
- regex
Match String - The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
- exact
Match string - The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
- present
Match boolean - Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
- query
Parameter string - The name of the query parameter to match.
- regex
Match string - The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
- exact_
match str - The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
- present_
match bool - Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
- query_
parameter str - The name of the query parameter to match.
- regex_
match str - The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
- exact
Match String - The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
- present
Match Boolean - Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
- query
Parameter String - The name of the query parameter to match.
- regex
Match String - The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
HttpRouteRedirect, HttpRouteRedirectArgs
- Host
Redirect string - The host that will be used in the redirect response instead of the one that was supplied in the request.
- Https
Redirect bool - If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.
- Path
Redirect string - The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
- Port
Redirect int - The port that will be used in the redirected request instead of the one that was supplied in the request.
- Prefix
Rewrite string - Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
- Response
Code Pulumi.Google Native. Network Services. V1Beta1. Http Route Redirect Response Code - The HTTP Status code to use for the redirect.
- Strip
Query bool - if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
- Host
Redirect string - The host that will be used in the redirect response instead of the one that was supplied in the request.
- Https
Redirect bool - If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.
- Path
Redirect string - The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
- Port
Redirect int - The port that will be used in the redirected request instead of the one that was supplied in the request.
- Prefix
Rewrite string - Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
- Response
Code HttpRoute Redirect Response Code - The HTTP Status code to use for the redirect.
- Strip
Query bool - if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
- host
Redirect String - The host that will be used in the redirect response instead of the one that was supplied in the request.
- 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 will remain the same as that of the request. The default is set to false.
- path
Redirect String - The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
- port
Redirect Integer - The port that will be used in the redirected request instead of the one that was supplied in the request.
- prefix
Rewrite String - Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
- response
Code HttpRoute Redirect Response Code - The HTTP Status code to use for the redirect.
- strip
Query Boolean - if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
- host
Redirect string - The host that will be used in the redirect response instead of the one that was supplied in the request.
- 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 will remain the same as that of the request. The default is set to false.
- path
Redirect string - The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
- port
Redirect number - The port that will be used in the redirected request instead of the one that was supplied in the request.
- prefix
Rewrite string - Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
- response
Code HttpRoute Redirect Response Code - The HTTP Status code to use for the redirect.
- strip
Query boolean - if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
- host_
redirect str - The host that will be used in the redirect response instead of the one that was supplied in the request.
- https_
redirect bool - If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.
- path_
redirect str - The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
- port_
redirect int - The port that will be used in the redirected request instead of the one that was supplied in the request.
- prefix_
rewrite str - Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
- response_
code HttpRoute Redirect Response Code - The HTTP Status code to use for the redirect.
- strip_
query bool - if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
- host
Redirect String - The host that will be used in the redirect response instead of the one that was supplied in the request.
- 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 will remain the same as that of the request. The default is set to false.
- path
Redirect String - The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
- port
Redirect Number - The port that will be used in the redirected request instead of the one that was supplied in the request.
- prefix
Rewrite String - Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
- response
Code "RESPONSE_CODE_UNSPECIFIED" | "MOVED_PERMANENTLY_DEFAULT" | "FOUND" | "SEE_OTHER" | "TEMPORARY_REDIRECT" | "PERMANENT_REDIRECT" - The HTTP Status code to use for the redirect.
- strip
Query Boolean - if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
HttpRouteRedirectResponse, HttpRouteRedirectResponseArgs
- Host
Redirect string - The host that will be used in the redirect response instead of the one that was supplied in the request.
- Https
Redirect bool - If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.
- Path
Redirect string - The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
- Port
Redirect int - The port that will be used in the redirected request instead of the one that was supplied in the request.
- Prefix
Rewrite string - Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
- Response
Code string - The HTTP Status code to use for the redirect.
- Strip
Query bool - if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
- Host
Redirect string - The host that will be used in the redirect response instead of the one that was supplied in the request.
- Https
Redirect bool - If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.
- Path
Redirect string - The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
- Port
Redirect int - The port that will be used in the redirected request instead of the one that was supplied in the request.
- Prefix
Rewrite string - Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
- Response
Code string - The HTTP Status code to use for the redirect.
- Strip
Query bool - if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
- host
Redirect String - The host that will be used in the redirect response instead of the one that was supplied in the request.
- 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 will remain the same as that of the request. The default is set to false.
- path
Redirect String - The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
- port
Redirect Integer - The port that will be used in the redirected request instead of the one that was supplied in the request.
- prefix
Rewrite String - Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
- response
Code String - The HTTP Status code to use for the redirect.
- strip
Query Boolean - if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
- host
Redirect string - The host that will be used in the redirect response instead of the one that was supplied in the request.
- 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 will remain the same as that of the request. The default is set to false.
- path
Redirect string - The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
- port
Redirect number - The port that will be used in the redirected request instead of the one that was supplied in the request.
- prefix
Rewrite string - Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
- response
Code string - The HTTP Status code to use for the redirect.
- strip
Query boolean - if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
- host_
redirect str - The host that will be used in the redirect response instead of the one that was supplied in the request.
- https_
redirect bool - If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.
- path_
redirect str - The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
- port_
redirect int - The port that will be used in the redirected request instead of the one that was supplied in the request.
- prefix_
rewrite str - Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
- response_
code str - The HTTP Status code to use for the redirect.
- strip_
query bool - if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
- host
Redirect String - The host that will be used in the redirect response instead of the one that was supplied in the request.
- 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 will remain the same as that of the request. The default is set to false.
- path
Redirect String - The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
- port
Redirect Number - The port that will be used in the redirected request instead of the one that was supplied in the request.
- prefix
Rewrite String - Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
- response
Code String - The HTTP Status code to use for the redirect.
- strip
Query Boolean - if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
HttpRouteRedirectResponseCode, HttpRouteRedirectResponseCodeArgs
- Response
Code Unspecified - RESPONSE_CODE_UNSPECIFIEDDefault value
- Moved
Permanently Default - MOVED_PERMANENTLY_DEFAULTCorresponds to 301.
- Found
- FOUNDCorresponds to 302.
- See
Other - SEE_OTHERCorresponds to 303.
- Temporary
Redirect - TEMPORARY_REDIRECTCorresponds to 307. In this case, the request method will be retained.
- Permanent
Redirect - PERMANENT_REDIRECTCorresponds to 308. In this case, the request method will be retained.
- Http
Route Redirect Response Code Response Code Unspecified - RESPONSE_CODE_UNSPECIFIEDDefault value
- Http
Route Redirect Response Code Moved Permanently Default - MOVED_PERMANENTLY_DEFAULTCorresponds to 301.
- Http
Route Redirect Response Code Found - FOUNDCorresponds to 302.
- Http
Route Redirect Response Code See Other - SEE_OTHERCorresponds to 303.
- Http
Route Redirect Response Code Temporary Redirect - TEMPORARY_REDIRECTCorresponds to 307. In this case, the request method will be retained.
- Http
Route Redirect Response Code Permanent Redirect - PERMANENT_REDIRECTCorresponds to 308. In this case, the request method will be retained.
- Response
Code Unspecified - RESPONSE_CODE_UNSPECIFIEDDefault value
- Moved
Permanently Default - MOVED_PERMANENTLY_DEFAULTCorresponds to 301.
- Found
- FOUNDCorresponds to 302.
- See
Other - SEE_OTHERCorresponds to 303.
- Temporary
Redirect - TEMPORARY_REDIRECTCorresponds to 307. In this case, the request method will be retained.
- Permanent
Redirect - PERMANENT_REDIRECTCorresponds to 308. In this case, the request method will be retained.
- Response
Code Unspecified - RESPONSE_CODE_UNSPECIFIEDDefault value
- Moved
Permanently Default - MOVED_PERMANENTLY_DEFAULTCorresponds to 301.
- Found
- FOUNDCorresponds to 302.
- See
Other - SEE_OTHERCorresponds to 303.
- Temporary
Redirect - TEMPORARY_REDIRECTCorresponds to 307. In this case, the request method will be retained.
- Permanent
Redirect - PERMANENT_REDIRECTCorresponds to 308. In this case, the request method will be retained.
- RESPONSE_CODE_UNSPECIFIED
- RESPONSE_CODE_UNSPECIFIEDDefault value
- MOVED_PERMANENTLY_DEFAULT
- MOVED_PERMANENTLY_DEFAULTCorresponds to 301.
- FOUND
- FOUNDCorresponds to 302.
- SEE_OTHER
- SEE_OTHERCorresponds to 303.
- TEMPORARY_REDIRECT
- TEMPORARY_REDIRECTCorresponds to 307. In this case, the request method will be retained.
- PERMANENT_REDIRECT
- PERMANENT_REDIRECTCorresponds to 308. In this case, the request method will be retained.
- "RESPONSE_CODE_UNSPECIFIED"
- RESPONSE_CODE_UNSPECIFIEDDefault value
- "MOVED_PERMANENTLY_DEFAULT"
- MOVED_PERMANENTLY_DEFAULTCorresponds to 301.
- "FOUND"
- FOUNDCorresponds to 302.
- "SEE_OTHER"
- SEE_OTHERCorresponds to 303.
- "TEMPORARY_REDIRECT"
- TEMPORARY_REDIRECTCorresponds to 307. In this case, the request method will be retained.
- "PERMANENT_REDIRECT"
- PERMANENT_REDIRECTCorresponds to 308. In this case, the request method will be retained.
HttpRouteRequestMirrorPolicy, HttpRouteRequestMirrorPolicyArgs
- Destination
Pulumi.
Google Native. Network Services. V1Beta1. Inputs. Http Route Destination - The destination the requests will be mirrored to. The weight of the destination will be ignored.
- Destination
Http
Route Destination - The destination the requests will be mirrored to. The weight of the destination will be ignored.
- destination
Http
Route Destination - The destination the requests will be mirrored to. The weight of the destination will be ignored.
- destination
Http
Route Destination - The destination the requests will be mirrored to. The weight of the destination will be ignored.
- destination
Http
Route Destination - The destination the requests will be mirrored to. The weight of the destination will be ignored.
- destination Property Map
- The destination the requests will be mirrored to. The weight of the destination will be ignored.
HttpRouteRequestMirrorPolicyResponse, HttpRouteRequestMirrorPolicyResponseArgs
- Destination
Pulumi.
Google Native. Network Services. V1Beta1. Inputs. Http Route Destination Response - The destination the requests will be mirrored to. The weight of the destination will be ignored.
- Destination
Http
Route Destination Response - The destination the requests will be mirrored to. The weight of the destination will be ignored.
- destination
Http
Route Destination Response - The destination the requests will be mirrored to. The weight of the destination will be ignored.
- destination
Http
Route Destination Response - The destination the requests will be mirrored to. The weight of the destination will be ignored.
- destination
Http
Route Destination Response - The destination the requests will be mirrored to. The weight of the destination will be ignored.
- destination Property Map
- The destination the requests will be mirrored to. The weight of the destination will be ignored.
HttpRouteRetryPolicy, HttpRouteRetryPolicyArgs
- Num
Retries int - Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
- Per
Try stringTimeout - Specifies a non-zero timeout per retry attempt.
- Retry
Conditions List<string> - Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
- Num
Retries int - Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
- Per
Try stringTimeout - Specifies a non-zero timeout per retry attempt.
- Retry
Conditions []string - Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
- num
Retries Integer - Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
- per
Try StringTimeout - Specifies a non-zero timeout per retry attempt.
- retry
Conditions List<String> - Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
- num
Retries number - Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
- per
Try stringTimeout - Specifies a non-zero timeout per retry attempt.
- retry
Conditions string[] - Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
- num_
retries int - Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
- per_
try_ strtimeout - Specifies a non-zero timeout per retry attempt.
- retry_
conditions Sequence[str] - Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
- num
Retries Number - Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
- per
Try StringTimeout - Specifies a non-zero timeout per retry attempt.
- retry
Conditions List<String> - Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
HttpRouteRetryPolicyResponse, HttpRouteRetryPolicyResponseArgs
- Num
Retries int - Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
- Per
Try stringTimeout - Specifies a non-zero timeout per retry attempt.
- Retry
Conditions List<string> - Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
- Num
Retries int - Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
- Per
Try stringTimeout - Specifies a non-zero timeout per retry attempt.
- Retry
Conditions []string - Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
- num
Retries Integer - Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
- per
Try StringTimeout - Specifies a non-zero timeout per retry attempt.
- retry
Conditions List<String> - Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
- num
Retries number - Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
- per
Try stringTimeout - Specifies a non-zero timeout per retry attempt.
- retry
Conditions string[] - Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
- num_
retries int - Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
- per_
try_ strtimeout - Specifies a non-zero timeout per retry attempt.
- retry_
conditions Sequence[str] - Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
- num
Retries Number - Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
- per
Try StringTimeout - Specifies a non-zero timeout per retry attempt.
- retry
Conditions List<String> - Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
HttpRouteRouteAction, HttpRouteRouteActionArgs
- Cors
Policy Pulumi.Google Native. Network Services. V1Beta1. Inputs. Http Route Cors Policy - The specification for allowing client side cross-origin requests.
- Destinations
List<Pulumi.
Google Native. Network Services. V1Beta1. Inputs. Http Route Destination> - The destination to which traffic should be forwarded.
- Fault
Injection Pulumi.Policy Google Native. Network Services. V1Beta1. Inputs. Http Route Fault Injection Policy - The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
- Redirect
Pulumi.
Google Native. Network Services. V1Beta1. Inputs. Http Route Redirect - If set, the request is directed as configured by this field.
- Request
Header Pulumi.Modifier Google Native. Network Services. V1Beta1. Inputs. Http Route Header Modifier - The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- Request
Mirror Pulumi.Policy Google Native. Network Services. V1Beta1. Inputs. Http Route Request Mirror Policy - Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
- Response
Header Pulumi.Modifier Google Native. Network Services. V1Beta1. Inputs. Http Route Header Modifier - The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- Retry
Policy Pulumi.Google Native. Network Services. V1Beta1. Inputs. Http Route Retry Policy - Specifies the retry policy associated with this route.
- Stateful
Session Pulumi.Affinity Google Native. Network Services. V1Beta1. Inputs. Http Route Stateful Session Affinity Policy - Optional. Specifies cookie-based stateful session affinity.
- Timeout string
- Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
- Url
Rewrite Pulumi.Google Native. Network Services. V1Beta1. Inputs. Http Route URLRewrite - The specification for rewrite URL before forwarding requests to the destination.
- Cors
Policy HttpRoute Cors Policy - The specification for allowing client side cross-origin requests.
- Destinations
[]Http
Route Destination - The destination to which traffic should be forwarded.
- Fault
Injection HttpPolicy Route Fault Injection Policy - The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
- Redirect
Http
Route Redirect - If set, the request is directed as configured by this field.
- Request
Header HttpModifier Route Header Modifier - The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- Request
Mirror HttpPolicy Route Request Mirror Policy - Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
- Response
Header HttpModifier Route Header Modifier - The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- Retry
Policy HttpRoute Retry Policy - Specifies the retry policy associated with this route.
- Stateful
Session HttpAffinity Route Stateful Session Affinity Policy - Optional. Specifies cookie-based stateful session affinity.
- Timeout string
- Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
- Url
Rewrite HttpRoute URLRewrite - The specification for rewrite URL before forwarding requests to the destination.
- cors
Policy HttpRoute Cors Policy - The specification for allowing client side cross-origin requests.
- destinations
List<Http
Route Destination> - The destination to which traffic should be forwarded.
- fault
Injection HttpPolicy Route Fault Injection Policy - The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
- redirect
Http
Route Redirect - If set, the request is directed as configured by this field.
- request
Header HttpModifier Route Header Modifier - The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- request
Mirror HttpPolicy Route Request Mirror Policy - Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
- response
Header HttpModifier Route Header Modifier - The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- retry
Policy HttpRoute Retry Policy - Specifies the retry policy associated with this route.
- stateful
Session HttpAffinity Route Stateful Session Affinity Policy - Optional. Specifies cookie-based stateful session affinity.
- timeout String
- Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
- url
Rewrite HttpRoute URLRewrite - The specification for rewrite URL before forwarding requests to the destination.
- cors
Policy HttpRoute Cors Policy - The specification for allowing client side cross-origin requests.
- destinations
Http
Route Destination[] - The destination to which traffic should be forwarded.
- fault
Injection HttpPolicy Route Fault Injection Policy - The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
- redirect
Http
Route Redirect - If set, the request is directed as configured by this field.
- request
Header HttpModifier Route Header Modifier - The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- request
Mirror HttpPolicy Route Request Mirror Policy - Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
- response
Header HttpModifier Route Header Modifier - The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- retry
Policy HttpRoute Retry Policy - Specifies the retry policy associated with this route.
- stateful
Session HttpAffinity Route Stateful Session Affinity Policy - Optional. Specifies cookie-based stateful session affinity.
- timeout string
- Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
- url
Rewrite HttpRoute URLRewrite - The specification for rewrite URL before forwarding requests to the destination.
- cors_
policy HttpRoute Cors Policy - The specification for allowing client side cross-origin requests.
- destinations
Sequence[Http
Route Destination] - The destination to which traffic should be forwarded.
- fault_
injection_ Httppolicy Route Fault Injection Policy - The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
- redirect
Http
Route Redirect - If set, the request is directed as configured by this field.
- request_
header_ Httpmodifier Route Header Modifier - The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- request_
mirror_ Httppolicy Route Request Mirror Policy - Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
- response_
header_ Httpmodifier Route Header Modifier - The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- retry_
policy HttpRoute Retry Policy - Specifies the retry policy associated with this route.
- stateful_
session_ Httpaffinity Route Stateful Session Affinity Policy - Optional. Specifies cookie-based stateful session affinity.
- timeout str
- Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
- url_
rewrite HttpRoute URLRewrite - The specification for rewrite URL before forwarding requests to the destination.
- cors
Policy Property Map - The specification for allowing client side cross-origin requests.
- destinations List<Property Map>
- The destination to which traffic should be forwarded.
- 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 on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
- redirect Property Map
- If set, the request is directed as configured by this field.
- request
Header Property MapModifier - The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- request
Mirror Property MapPolicy - Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
- response
Header Property MapModifier - The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- retry
Policy Property Map - Specifies the retry policy associated with this route.
- stateful
Session Property MapAffinity - Optional. Specifies cookie-based stateful session affinity.
- timeout String
- Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
- url
Rewrite Property Map - The specification for rewrite URL before forwarding requests to the destination.
HttpRouteRouteActionResponse, HttpRouteRouteActionResponseArgs
- Cors
Policy Pulumi.Google Native. Network Services. V1Beta1. Inputs. Http Route Cors Policy Response - The specification for allowing client side cross-origin requests.
- Destinations
List<Pulumi.
Google Native. Network Services. V1Beta1. Inputs. Http Route Destination Response> - The destination to which traffic should be forwarded.
- Fault
Injection Pulumi.Policy Google Native. Network Services. V1Beta1. Inputs. Http Route Fault Injection Policy 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 on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
- Redirect
Pulumi.
Google Native. Network Services. V1Beta1. Inputs. Http Route Redirect Response - If set, the request is directed as configured by this field.
- Request
Header Pulumi.Modifier Google Native. Network Services. V1Beta1. Inputs. Http Route Header Modifier Response - The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- Request
Mirror Pulumi.Policy Google Native. Network Services. V1Beta1. Inputs. Http Route Request Mirror Policy Response - Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
- Response
Header Pulumi.Modifier Google Native. Network Services. V1Beta1. Inputs. Http Route Header Modifier Response - The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- Retry
Policy Pulumi.Google Native. Network Services. V1Beta1. Inputs. Http Route Retry Policy Response - Specifies the retry policy associated with this route.
- Stateful
Session Pulumi.Affinity Google Native. Network Services. V1Beta1. Inputs. Http Route Stateful Session Affinity Policy Response - Optional. Specifies cookie-based stateful session affinity.
- Timeout string
- Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
- Url
Rewrite Pulumi.Google Native. Network Services. V1Beta1. Inputs. Http Route URLRewrite Response - The specification for rewrite URL before forwarding requests to the destination.
- Cors
Policy HttpRoute Cors Policy Response - The specification for allowing client side cross-origin requests.
- Destinations
[]Http
Route Destination Response - The destination to which traffic should be forwarded.
- Fault
Injection HttpPolicy Route Fault Injection Policy 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 on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
- Redirect
Http
Route Redirect Response - If set, the request is directed as configured by this field.
- Request
Header HttpModifier Route Header Modifier Response - The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- Request
Mirror HttpPolicy Route Request Mirror Policy Response - Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
- Response
Header HttpModifier Route Header Modifier Response - The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- Retry
Policy HttpRoute Retry Policy Response - Specifies the retry policy associated with this route.
- Stateful
Session HttpAffinity Route Stateful Session Affinity Policy Response - Optional. Specifies cookie-based stateful session affinity.
- Timeout string
- Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
- Url
Rewrite HttpRoute URLRewrite Response - The specification for rewrite URL before forwarding requests to the destination.
- cors
Policy HttpRoute Cors Policy Response - The specification for allowing client side cross-origin requests.
- destinations
List<Http
Route Destination Response> - The destination to which traffic should be forwarded.
- fault
Injection HttpPolicy Route Fault Injection Policy 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 on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
- redirect
Http
Route Redirect Response - If set, the request is directed as configured by this field.
- request
Header HttpModifier Route Header Modifier Response - The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- request
Mirror HttpPolicy Route Request Mirror Policy Response - Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
- response
Header HttpModifier Route Header Modifier Response - The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- retry
Policy HttpRoute Retry Policy Response - Specifies the retry policy associated with this route.
- stateful
Session HttpAffinity Route Stateful Session Affinity Policy Response - Optional. Specifies cookie-based stateful session affinity.
- timeout String
- Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
- url
Rewrite HttpRoute URLRewrite Response - The specification for rewrite URL before forwarding requests to the destination.
- cors
Policy HttpRoute Cors Policy Response - The specification for allowing client side cross-origin requests.
- destinations
Http
Route Destination Response[] - The destination to which traffic should be forwarded.
- fault
Injection HttpPolicy Route Fault Injection Policy 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 on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
- redirect
Http
Route Redirect Response - If set, the request is directed as configured by this field.
- request
Header HttpModifier Route Header Modifier Response - The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- request
Mirror HttpPolicy Route Request Mirror Policy Response - Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
- response
Header HttpModifier Route Header Modifier Response - The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- retry
Policy HttpRoute Retry Policy Response - Specifies the retry policy associated with this route.
- stateful
Session HttpAffinity Route Stateful Session Affinity Policy Response - Optional. Specifies cookie-based stateful session affinity.
- timeout string
- Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
- url
Rewrite HttpRoute URLRewrite Response - The specification for rewrite URL before forwarding requests to the destination.
- cors_
policy HttpRoute Cors Policy Response - The specification for allowing client side cross-origin requests.
- destinations
Sequence[Http
Route Destination Response] - The destination to which traffic should be forwarded.
- fault_
injection_ Httppolicy Route Fault Injection Policy 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 on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
- redirect
Http
Route Redirect Response - If set, the request is directed as configured by this field.
- request_
header_ Httpmodifier Route Header Modifier Response - The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- request_
mirror_ Httppolicy Route Request Mirror Policy Response - Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
- response_
header_ Httpmodifier Route Header Modifier Response - The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- retry_
policy HttpRoute Retry Policy Response - Specifies the retry policy associated with this route.
- stateful_
session_ Httpaffinity Route Stateful Session Affinity Policy Response - Optional. Specifies cookie-based stateful session affinity.
- timeout str
- Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
- url_
rewrite HttpRoute URLRewrite Response - The specification for rewrite URL before forwarding requests to the destination.
- cors
Policy Property Map - The specification for allowing client side cross-origin requests.
- destinations List<Property Map>
- The destination to which traffic should be forwarded.
- 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 on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
- redirect Property Map
- If set, the request is directed as configured by this field.
- request
Header Property MapModifier - The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- request
Mirror Property MapPolicy - Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
- response
Header Property MapModifier - The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- retry
Policy Property Map - Specifies the retry policy associated with this route.
- stateful
Session Property MapAffinity - Optional. Specifies cookie-based stateful session affinity.
- timeout String
- Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
- url
Rewrite Property Map - The specification for rewrite URL before forwarding requests to the destination.
HttpRouteRouteMatch, HttpRouteRouteMatchArgs
- Full
Path stringMatch - The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
- Headers
List<Pulumi.
Google Native. Network Services. V1Beta1. Inputs. Http Route Header Match> - Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
- Ignore
Case bool - Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
- Prefix
Match string - The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
- Query
Parameters List<Pulumi.Google Native. Network Services. V1Beta1. Inputs. Http Route Query Parameter Match> - Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
- Regex
Match string - The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
- Full
Path stringMatch - The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
- Headers
[]Http
Route Header Match - Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
- Ignore
Case bool - Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
- Prefix
Match string - The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
- Query
Parameters []HttpRoute Query Parameter Match - Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
- Regex
Match string - The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
- full
Path StringMatch - The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
- headers
List<Http
Route Header Match> - Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
- ignore
Case Boolean - Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
- prefix
Match String - The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
- query
Parameters List<HttpRoute Query Parameter Match> - Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
- regex
Match String - The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
- full
Path stringMatch - The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
- headers
Http
Route Header Match[] - Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
- ignore
Case boolean - Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
- prefix
Match string - The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
- query
Parameters HttpRoute Query Parameter Match[] - Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
- regex
Match string - The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
- full_
path_ strmatch - The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
- headers
Sequence[Http
Route Header Match] - Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
- ignore_
case bool - Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
- prefix_
match str - The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
- query_
parameters Sequence[HttpRoute Query Parameter Match] - Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
- regex_
match str - The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
- full
Path StringMatch - The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
- headers List<Property Map>
- Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
- ignore
Case Boolean - Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
- prefix
Match String - The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
- query
Parameters List<Property Map> - Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
- regex
Match String - The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
HttpRouteRouteMatchResponse, HttpRouteRouteMatchResponseArgs
- Full
Path stringMatch - The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
- Headers
List<Pulumi.
Google Native. Network Services. V1Beta1. Inputs. Http Route Header Match Response> - Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
- Ignore
Case bool - Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
- Prefix
Match string - The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
- Query
Parameters List<Pulumi.Google Native. Network Services. V1Beta1. Inputs. Http Route Query Parameter Match Response> - Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
- Regex
Match string - The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
- Full
Path stringMatch - The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
- Headers
[]Http
Route Header Match Response - Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
- Ignore
Case bool - Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
- Prefix
Match string - The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
- Query
Parameters []HttpRoute Query Parameter Match Response - Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
- Regex
Match string - The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
- full
Path StringMatch - The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
- headers
List<Http
Route Header Match Response> - Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
- ignore
Case Boolean - Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
- prefix
Match String - The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
- query
Parameters List<HttpRoute Query Parameter Match Response> - Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
- regex
Match String - The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
- full
Path stringMatch - The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
- headers
Http
Route Header Match Response[] - Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
- ignore
Case boolean - Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
- prefix
Match string - The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
- query
Parameters HttpRoute Query Parameter Match Response[] - Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
- regex
Match string - The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
- full_
path_ strmatch - The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
- headers
Sequence[Http
Route Header Match Response] - Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
- ignore_
case bool - Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
- prefix_
match str - The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
- query_
parameters Sequence[HttpRoute Query Parameter Match Response] - Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
- regex_
match str - The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
- full
Path StringMatch - The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
- headers List<Property Map>
- Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
- ignore
Case Boolean - Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
- prefix
Match String - The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
- query
Parameters List<Property Map> - Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
- regex
Match String - The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
HttpRouteRouteRule, HttpRouteRouteRuleArgs
- Action
Pulumi.
Google Native. Network Services. V1Beta1. Inputs. Http Route Route Action - The detailed rule defining how to route matched traffic.
- Matches
List<Pulumi.
Google Native. Network Services. V1Beta1. Inputs. Http Route Route Match> - A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
- Action
Http
Route Route Action - The detailed rule defining how to route matched traffic.
- Matches
[]Http
Route Route Match - A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
- action
Http
Route Route Action - The detailed rule defining how to route matched traffic.
- matches
List<Http
Route Route Match> - A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
- action
Http
Route Route Action - The detailed rule defining how to route matched traffic.
- matches
Http
Route Route Match[] - A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
- action
Http
Route Route Action - The detailed rule defining how to route matched traffic.
- matches
Sequence[Http
Route Route Match] - A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
- action Property Map
- The detailed rule defining how to route matched traffic.
- matches List<Property Map>
- A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
HttpRouteRouteRuleResponse, HttpRouteRouteRuleResponseArgs
- Action
Pulumi.
Google Native. Network Services. V1Beta1. Inputs. Http Route Route Action Response - The detailed rule defining how to route matched traffic.
- Matches
List<Pulumi.
Google Native. Network Services. V1Beta1. Inputs. Http Route Route Match Response> - A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
- Action
Http
Route Route Action Response - The detailed rule defining how to route matched traffic.
- Matches
[]Http
Route Route Match Response - A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
- action
Http
Route Route Action Response - The detailed rule defining how to route matched traffic.
- matches
List<Http
Route Route Match Response> - A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
- action
Http
Route Route Action Response - The detailed rule defining how to route matched traffic.
- matches
Http
Route Route Match Response[] - A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
- action
Http
Route Route Action Response - The detailed rule defining how to route matched traffic.
- matches
Sequence[Http
Route Route Match Response] - A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
- action Property Map
- The detailed rule defining how to route matched traffic.
- matches List<Property Map>
- A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
HttpRouteStatefulSessionAffinityPolicy, HttpRouteStatefulSessionAffinityPolicyArgs
- string
- The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
- string
- The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
- String
- The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
- string
- The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
- str
- The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
- String
- The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
HttpRouteStatefulSessionAffinityPolicyResponse, HttpRouteStatefulSessionAffinityPolicyResponseArgs
- string
- The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
- string
- The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
- String
- The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
- string
- The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
- str
- The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
- String
- The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
HttpRouteURLRewrite, HttpRouteURLRewriteArgs
- Host
Rewrite string - Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
- Path
Prefix stringRewrite - Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
- Host
Rewrite string - Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
- Path
Prefix stringRewrite - Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
- host
Rewrite String - Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
- path
Prefix StringRewrite - Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
- host
Rewrite string - Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
- path
Prefix stringRewrite - Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
- host_
rewrite str - Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
- path_
prefix_ strrewrite - Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
- host
Rewrite String - Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
- path
Prefix StringRewrite - Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
HttpRouteURLRewriteResponse, HttpRouteURLRewriteResponseArgs
- Host
Rewrite string - Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
- Path
Prefix stringRewrite - Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
- Host
Rewrite string - Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
- Path
Prefix stringRewrite - Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
- host
Rewrite String - Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
- path
Prefix StringRewrite - Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
- host
Rewrite string - Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
- path
Prefix stringRewrite - Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
- host_
rewrite str - Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
- path_
prefix_ strrewrite - Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
- host
Rewrite String - Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
- path
Prefix StringRewrite - Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.