Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.networkservices/v1.getHttpRoute
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets details of a single HttpRoute.
Using getHttpRoute
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getHttpRoute(args: GetHttpRouteArgs, opts?: InvokeOptions): Promise<GetHttpRouteResult>
function getHttpRouteOutput(args: GetHttpRouteOutputArgs, opts?: InvokeOptions): Output<GetHttpRouteResult>
def get_http_route(http_route_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetHttpRouteResult
def get_http_route_output(http_route_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetHttpRouteResult]
func LookupHttpRoute(ctx *Context, args *LookupHttpRouteArgs, opts ...InvokeOption) (*LookupHttpRouteResult, error)
func LookupHttpRouteOutput(ctx *Context, args *LookupHttpRouteOutputArgs, opts ...InvokeOption) LookupHttpRouteResultOutput
> Note: This function is named LookupHttpRoute
in the Go SDK.
public static class GetHttpRoute
{
public static Task<GetHttpRouteResult> InvokeAsync(GetHttpRouteArgs args, InvokeOptions? opts = null)
public static Output<GetHttpRouteResult> Invoke(GetHttpRouteInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetHttpRouteResult> getHttpRoute(GetHttpRouteArgs args, InvokeOptions options)
public static Output<GetHttpRouteResult> getHttpRoute(GetHttpRouteArgs args, InvokeOptions options)
fn::invoke:
function: google-native:networkservices/v1:getHttpRoute
arguments:
# arguments dictionary
The following arguments are supported:
- Http
Route Id This property is required. string - Location
This property is required. string - Project string
- Http
Route Id This property is required. string - Location
This property is required. string - Project string
- http
Route Id This property is required. String - location
This property is required. String - project String
- http
Route Id This property is required. string - location
This property is required. string - project string
- http_
route_ id This property is required. str - location
This property is required. str - project str
- http
Route Id This property is required. String - location
This property is required. String - project String
getHttpRoute Result
The following output properties are available:
- Create
Time string - The timestamp when the resource was created.
- 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/
- 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
. - Labels Dictionary<string, string>
- Optional. Set of label tags associated with the HttpRoute resource.
- 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>
. - Rules
List<Pulumi.
Google Native. Network Services. V1. Outputs. Http Route Route Rule Response> - Rules that define how traffic is routed and handled. Rules will be matched sequentially based on the RouteMatch specified for the rule.
- 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.
- 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/
- 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
. - Labels map[string]string
- Optional. Set of label tags associated with the HttpRoute resource.
- 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>
. - Rules
[]Http
Route Route Rule Response - Rules that define how traffic is routed and handled. Rules will be matched sequentially based on the RouteMatch specified for the rule.
- 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.
- 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/
- 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
. - labels Map<String,String>
- Optional. Set of label tags associated with the HttpRoute resource.
- 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>
. - rules
List<Http
Route Route Rule Response> - Rules that define how traffic is routed and handled. Rules will be matched sequentially based on the RouteMatch specified for the rule.
- 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.
- 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/
- 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
. - labels {[key: string]: string}
- Optional. Set of label tags associated with the HttpRoute resource.
- 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>
. - rules
Http
Route Route Rule Response[] - Rules that define how traffic is routed and handled. Rules will be matched sequentially based on the RouteMatch specified for the rule.
- 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.
- 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/
- 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
. - labels Mapping[str, str]
- Optional. Set of label tags associated with the HttpRoute resource.
- 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>
. - rules
Sequence[Http
Route Route Rule Response] - Rules that define how traffic is routed and handled. Rules will be matched sequentially based on the RouteMatch specified for the rule.
- 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.
- 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/
- 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
. - labels Map<String>
- Optional. Set of label tags associated with the HttpRoute resource.
- 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>
. - 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.
- self
Link String - Server-defined URL of this resource
- update
Time String - The timestamp when the resource was updated.
Supporting Types
HttpRouteCorsPolicyResponse
- Allow
Credentials This property is required. bool - In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
- Allow
Headers This property is required. List<string> - Specifies the content for Access-Control-Allow-Headers header.
- Allow
Methods This property is required. List<string> - Specifies the content for Access-Control-Allow-Methods header.
- Allow
Origin Regexes This property is required. List<string> - Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
- Allow
Origins This property is required. List<string> - Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
- Disabled
This property is required. bool - If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
- Expose
Headers This property is required. List<string> - Specifies the content for Access-Control-Expose-Headers header.
- Max
Age This property is required. string - Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
- Allow
Credentials This property is required. bool - In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
- Allow
Headers This property is required. []string - Specifies the content for Access-Control-Allow-Headers header.
- Allow
Methods This property is required. []string - Specifies the content for Access-Control-Allow-Methods header.
- Allow
Origin Regexes This property is required. []string - Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
- Allow
Origins This property is required. []string - Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
- Disabled
This property is required. bool - If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
- Expose
Headers This property is required. []string - Specifies the content for Access-Control-Expose-Headers header.
- Max
Age This property is required. string - Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
- allow
Credentials This property is required. 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 This property is required. List<String> - Specifies the content for Access-Control-Allow-Headers header.
- allow
Methods This property is required. List<String> - Specifies the content for Access-Control-Allow-Methods header.
- allow
Origin Regexes This property is required. List<String> - Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
- allow
Origins This property is required. List<String> - Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
- disabled
This property is required. Boolean - If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
- expose
Headers This property is required. List<String> - Specifies the content for Access-Control-Expose-Headers header.
- max
Age This property is required. String - Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
- allow
Credentials This property is required. 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 This property is required. string[] - Specifies the content for Access-Control-Allow-Headers header.
- allow
Methods This property is required. string[] - Specifies the content for Access-Control-Allow-Methods header.
- allow
Origin Regexes This property is required. string[] - Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
- allow
Origins This property is required. string[] - Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
- disabled
This property is required. boolean - If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
- expose
Headers This property is required. string[] - Specifies the content for Access-Control-Expose-Headers header.
- max
Age This property is required. string - Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
- allow_
credentials This property is required. bool - In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
- allow_
headers This property is required. Sequence[str] - Specifies the content for Access-Control-Allow-Headers header.
- allow_
methods This property is required. Sequence[str] - Specifies the content for Access-Control-Allow-Methods header.
- allow_
origin_ regexes This property is required. Sequence[str] - Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
- allow_
origins This property is required. Sequence[str] - Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
- disabled
This property is required. bool - If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
- expose_
headers This property is required. Sequence[str] - Specifies the content for Access-Control-Expose-Headers header.
- max_
age This property is required. str - Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
- allow
Credentials This property is required. Boolean - In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.
- allow
Headers This property is required. List<String> - Specifies the content for Access-Control-Allow-Headers header.
- allow
Methods This property is required. List<String> - Specifies the content for Access-Control-Allow-Methods header.
- allow
Origin Regexes This property is required. List<String> - Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.
- allow
Origins This property is required. List<String> - Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allow_origins or an item in allow_origin_regexes.
- disabled
This property is required. Boolean - If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect.
- expose
Headers This property is required. List<String> - Specifies the content for Access-Control-Expose-Headers header.
- max
Age This property is required. String - Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.
HttpRouteDestinationResponse
- Service
Name This property is required. string - The URL of a BackendService to route traffic to.
- Weight
This property is required. int - Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
- Service
Name This property is required. string - The URL of a BackendService to route traffic to.
- Weight
This property is required. int - Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
- service
Name This property is required. String - The URL of a BackendService to route traffic to.
- weight
This property is required. Integer - Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
- service
Name This property is required. string - The URL of a BackendService to route traffic to.
- weight
This property is required. number - Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
- service_
name This property is required. str - The URL of a BackendService to route traffic to.
- weight
This property is required. int - Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
- service
Name This property is required. String - The URL of a BackendService to route traffic to.
- weight
This property is required. Number - Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
HttpRouteFaultInjectionPolicyAbortResponse
- Http
Status This property is required. int - The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
- Percentage
This property is required. int - The percentage of traffic which will be aborted. The value must be between [0, 100]
- Http
Status This property is required. int - The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
- Percentage
This property is required. int - The percentage of traffic which will be aborted. The value must be between [0, 100]
- http
Status This property is required. Integer - The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
- percentage
This property is required. Integer - The percentage of traffic which will be aborted. The value must be between [0, 100]
- http
Status This property is required. number - The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
- percentage
This property is required. number - The percentage of traffic which will be aborted. The value must be between [0, 100]
- http_
status This property is required. int - The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
- percentage
This property is required. int - The percentage of traffic which will be aborted. The value must be between [0, 100]
- http
Status This property is required. Number - The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
- percentage
This property is required. Number - The percentage of traffic which will be aborted. The value must be between [0, 100]
HttpRouteFaultInjectionPolicyDelayResponse
- Fixed
Delay This property is required. string - Specify a fixed delay before forwarding the request.
- Percentage
This property is required. int - The percentage of traffic on which delay will be injected. The value must be between [0, 100]
- Fixed
Delay This property is required. string - Specify a fixed delay before forwarding the request.
- Percentage
This property is required. int - The percentage of traffic on which delay will be injected. The value must be between [0, 100]
- fixed
Delay This property is required. String - Specify a fixed delay before forwarding the request.
- percentage
This property is required. Integer - The percentage of traffic on which delay will be injected. The value must be between [0, 100]
- fixed
Delay This property is required. string - Specify a fixed delay before forwarding the request.
- percentage
This property is required. number - The percentage of traffic on which delay will be injected. The value must be between [0, 100]
- fixed_
delay This property is required. str - Specify a fixed delay before forwarding the request.
- percentage
This property is required. int - The percentage of traffic on which delay will be injected. The value must be between [0, 100]
- fixed
Delay This property is required. String - Specify a fixed delay before forwarding the request.
- percentage
This property is required. Number - The percentage of traffic on which delay will be injected. The value must be between [0, 100]
HttpRouteFaultInjectionPolicyResponse
- Abort
This property is required. Pulumi.Google Native. Network Services. V1. Inputs. Http Route Fault Injection Policy Abort Response - The specification for aborting to client requests.
- Delay
This property is required. Pulumi.Google Native. Network Services. V1. Inputs. Http Route Fault Injection Policy Delay Response - The specification for injecting delay to client requests.
- Abort
This property is required. HttpRoute Fault Injection Policy Abort Response - The specification for aborting to client requests.
- Delay
This property is required. HttpRoute Fault Injection Policy Delay Response - The specification for injecting delay to client requests.
- abort
This property is required. HttpRoute Fault Injection Policy Abort Response - The specification for aborting to client requests.
- delay
This property is required. HttpRoute Fault Injection Policy Delay Response - The specification for injecting delay to client requests.
- abort
This property is required. HttpRoute Fault Injection Policy Abort Response - The specification for aborting to client requests.
- delay
This property is required. HttpRoute Fault Injection Policy Delay Response - The specification for injecting delay to client requests.
- abort
This property is required. HttpRoute Fault Injection Policy Abort Response - The specification for aborting to client requests.
- delay
This property is required. HttpRoute Fault Injection Policy Delay Response - The specification for injecting delay to client requests.
- abort
This property is required. Property Map - The specification for aborting to client requests.
- delay
This property is required. Property Map - The specification for injecting delay to client requests.
HttpRouteHeaderMatchIntegerRangeResponse
HttpRouteHeaderMatchResponse
- Exact
Match This property is required. string - The value of the header should match exactly the content of exact_match.
- Header
This property is required. string - The name of the HTTP header to match against.
- Invert
Match This property is required. bool - If specified, the match result will be inverted before checking. Default value is set to false.
- Prefix
Match This property is required. string - The value of the header must start with the contents of prefix_match.
- Present
Match This property is required. bool - A header with header_name must exist. The match takes place whether or not the header has a value.
- Range
Match This property is required. Pulumi.Google Native. Network Services. V1. 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 This property is required. string - The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
- Suffix
Match This property is required. string - The value of the header must end with the contents of suffix_match.
- Exact
Match This property is required. string - The value of the header should match exactly the content of exact_match.
- Header
This property is required. string - The name of the HTTP header to match against.
- Invert
Match This property is required. bool - If specified, the match result will be inverted before checking. Default value is set to false.
- Prefix
Match This property is required. string - The value of the header must start with the contents of prefix_match.
- Present
Match This property is required. bool - A header with header_name must exist. The match takes place whether or not the header has a value.
- Range
Match This property is required. HttpRoute Header Match Integer Range Response - If specified, the rule will match if the request header value is within the range.
- Regex
Match This property is required. string - The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
- Suffix
Match This property is required. string - The value of the header must end with the contents of suffix_match.
- exact
Match This property is required. String - The value of the header should match exactly the content of exact_match.
- header
This property is required. String - The name of the HTTP header to match against.
- invert
Match This property is required. Boolean - If specified, the match result will be inverted before checking. Default value is set to false.
- prefix
Match This property is required. String - The value of the header must start with the contents of prefix_match.
- present
Match This property is required. Boolean - A header with header_name must exist. The match takes place whether or not the header has a value.
- range
Match This property is required. HttpRoute Header Match Integer Range Response - If specified, the rule will match if the request header value is within the range.
- regex
Match This property is required. String - The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
- suffix
Match This property is required. String - The value of the header must end with the contents of suffix_match.
- exact
Match This property is required. string - The value of the header should match exactly the content of exact_match.
- header
This property is required. string - The name of the HTTP header to match against.
- invert
Match This property is required. boolean - If specified, the match result will be inverted before checking. Default value is set to false.
- prefix
Match This property is required. string - The value of the header must start with the contents of prefix_match.
- present
Match This property is required. boolean - A header with header_name must exist. The match takes place whether or not the header has a value.
- range
Match This property is required. HttpRoute Header Match Integer Range Response - If specified, the rule will match if the request header value is within the range.
- regex
Match This property is required. string - The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
- suffix
Match This property is required. string - The value of the header must end with the contents of suffix_match.
- exact_
match This property is required. str - The value of the header should match exactly the content of exact_match.
- header
This property is required. str - The name of the HTTP header to match against.
- invert_
match This property is required. bool - If specified, the match result will be inverted before checking. Default value is set to false.
- prefix_
match This property is required. str - The value of the header must start with the contents of prefix_match.
- present_
match This property is required. bool - A header with header_name must exist. The match takes place whether or not the header has a value.
- range_
match This property is required. HttpRoute Header Match Integer Range Response - If specified, the rule will match if the request header value is within the range.
- regex_
match This property is required. str - The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
- suffix_
match This property is required. str - The value of the header must end with the contents of suffix_match.
- exact
Match This property is required. String - The value of the header should match exactly the content of exact_match.
- header
This property is required. String - The name of the HTTP header to match against.
- invert
Match This property is required. Boolean - If specified, the match result will be inverted before checking. Default value is set to false.
- prefix
Match This property is required. String - The value of the header must start with the contents of prefix_match.
- present
Match This property is required. Boolean - A header with header_name must exist. The match takes place whether or not the header has a value.
- range
Match This property is required. Property Map - If specified, the rule will match if the request header value is within the range.
- regex
Match This property is required. String - The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
- suffix
Match This property is required. String - The value of the header must end with the contents of suffix_match.
HttpRouteHeaderModifierResponse
- Add
This property is required. Dictionary<string, string> - Add the headers with given map where key is the name of the header, value is the value of the header.
- Remove
This property is required. List<string> - Remove headers (matching by header names) specified in the list.
- Set
This property is required. Dictionary<string, string> - Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
- Add
This property is required. map[string]string - Add the headers with given map where key is the name of the header, value is the value of the header.
- Remove
This property is required. []string - Remove headers (matching by header names) specified in the list.
- Set
This property is required. map[string]string - Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
- add
This property is required. Map<String,String> - Add the headers with given map where key is the name of the header, value is the value of the header.
- remove
This property is required. List<String> - Remove headers (matching by header names) specified in the list.
- set
This property is required. Map<String,String> - Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
- add
This property is required. {[key: string]: string} - Add the headers with given map where key is the name of the header, value is the value of the header.
- remove
This property is required. string[] - Remove headers (matching by header names) specified in the list.
- set
This property is required. {[key: string]: string} - Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
- add
This property is required. Mapping[str, str] - Add the headers with given map where key is the name of the header, value is the value of the header.
- remove
This property is required. Sequence[str] - Remove headers (matching by header names) specified in the list.
- set
This property is required. Mapping[str, str] - Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
- add
This property is required. Map<String> - Add the headers with given map where key is the name of the header, value is the value of the header.
- remove
This property is required. List<String> - Remove headers (matching by header names) specified in the list.
- set
This property is required. Map<String> - Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.
HttpRouteQueryParameterMatchResponse
- Exact
Match This property is required. string - The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
- Present
Match This property is required. bool - Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
- Query
Parameter This property is required. string - The name of the query parameter to match.
- Regex
Match This property is required. string - The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
- Exact
Match This property is required. 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 This property is required. bool - Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
- Query
Parameter This property is required. string - The name of the query parameter to match.
- Regex
Match This property is required. string - The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
- exact
Match This property is required. 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 This property is required. Boolean - Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
- query
Parameter This property is required. String - The name of the query parameter to match.
- regex
Match This property is required. String - The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
- exact
Match This property is required. 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 This property is required. boolean - Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
- query
Parameter This property is required. string - The name of the query parameter to match.
- regex
Match This property is required. string - The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
- exact_
match This property is required. str - The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
- present_
match This property is required. bool - Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
- query_
parameter This property is required. str - The name of the query parameter to match.
- regex_
match This property is required. str - The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
- exact
Match This property is required. String - The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
- present
Match This property is required. Boolean - Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
- query
Parameter This property is required. String - The name of the query parameter to match.
- regex
Match This property is required. String - The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
HttpRouteRedirectResponse
- Host
Redirect This property is required. string - The host that will be used in the redirect response instead of the one that was supplied in the request.
- Https
Redirect This property is required. bool - If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.
- Path
Redirect This property is required. 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 This property is required. int - The port that will be used in the redirected request instead of the one that was supplied in the request.
- Prefix
Rewrite This property is required. 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 This property is required. string - The HTTP Status code to use for the redirect.
- Strip
Query This property is required. bool - if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
- Host
Redirect This property is required. string - The host that will be used in the redirect response instead of the one that was supplied in the request.
- Https
Redirect This property is required. bool - If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.
- Path
Redirect This property is required. 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 This property is required. int - The port that will be used in the redirected request instead of the one that was supplied in the request.
- Prefix
Rewrite This property is required. 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 This property is required. string - The HTTP Status code to use for the redirect.
- Strip
Query This property is required. bool - if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
- host
Redirect This property is required. String - The host that will be used in the redirect response instead of the one that was supplied in the request.
- https
Redirect This property is required. Boolean - If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.
- path
Redirect This property is required. String - The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
- port
Redirect This property is required. Integer - The port that will be used in the redirected request instead of the one that was supplied in the request.
- prefix
Rewrite This property is required. String - Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
- response
Code This property is required. String - The HTTP Status code to use for the redirect.
- strip
Query This property is required. Boolean - if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
- host
Redirect This property is required. string - The host that will be used in the redirect response instead of the one that was supplied in the request.
- https
Redirect This property is required. 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 This property is required. string - The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
- port
Redirect This property is required. number - The port that will be used in the redirected request instead of the one that was supplied in the request.
- prefix
Rewrite This property is required. string - Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
- response
Code This property is required. string - The HTTP Status code to use for the redirect.
- strip
Query This property is required. boolean - if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
- host_
redirect This property is required. str - The host that will be used in the redirect response instead of the one that was supplied in the request.
- https_
redirect This property is required. bool - If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.
- path_
redirect This property is required. str - The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
- port_
redirect This property is required. int - The port that will be used in the redirected request instead of the one that was supplied in the request.
- prefix_
rewrite This property is required. str - Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
- response_
code This property is required. str - The HTTP Status code to use for the redirect.
- strip_
query This property is required. bool - if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
- host
Redirect This property is required. String - The host that will be used in the redirect response instead of the one that was supplied in the request.
- https
Redirect This property is required. Boolean - If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.
- path
Redirect This property is required. String - The path that will be used in the redirect response instead of the one that was supplied in the request. path_redirect can not be supplied together with prefix_redirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
- port
Redirect This property is required. Number - The port that will be used in the redirected request instead of the one that was supplied in the request.
- prefix
Rewrite This property is required. String - Indicates that during redirection, the matched prefix (or path) should be swapped with this value. This option allows URLs be dynamically created based on the request.
- response
Code This property is required. String - The HTTP Status code to use for the redirect.
- strip
Query This property is required. Boolean - if set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false.
HttpRouteRequestMirrorPolicyResponse
- Destination
This property is required. Pulumi.Google Native. Network Services. V1. Inputs. Http Route Destination Response - The destination the requests will be mirrored to. The weight of the destination will be ignored.
- Destination
This property is required. HttpRoute Destination Response - The destination the requests will be mirrored to. The weight of the destination will be ignored.
- destination
This property is required. HttpRoute Destination Response - The destination the requests will be mirrored to. The weight of the destination will be ignored.
- destination
This property is required. HttpRoute Destination Response - The destination the requests will be mirrored to. The weight of the destination will be ignored.
- destination
This property is required. HttpRoute Destination Response - The destination the requests will be mirrored to. The weight of the destination will be ignored.
- destination
This property is required. Property Map - The destination the requests will be mirrored to. The weight of the destination will be ignored.
HttpRouteRetryPolicyResponse
- Num
Retries This property is required. int - Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
- Per
Try Timeout This property is required. string - Specifies a non-zero timeout per retry attempt.
- Retry
Conditions This property is required. List<string> - Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
- Num
Retries This property is required. int - Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
- Per
Try Timeout This property is required. string - Specifies a non-zero timeout per retry attempt.
- Retry
Conditions This property is required. []string - Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
- num
Retries This property is required. Integer - Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
- per
Try Timeout This property is required. String - Specifies a non-zero timeout per retry attempt.
- retry
Conditions This property is required. List<String> - Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
- num
Retries This property is required. number - Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
- per
Try Timeout This property is required. string - Specifies a non-zero timeout per retry attempt.
- retry
Conditions This property is required. string[] - Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
- num_
retries This property is required. int - Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
- per_
try_ timeout This property is required. str - Specifies a non-zero timeout per retry attempt.
- retry_
conditions This property is required. Sequence[str] - Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
- num
Retries This property is required. Number - Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.
- per
Try Timeout This property is required. String - Specifies a non-zero timeout per retry attempt.
- retry
Conditions This property is required. List<String> - Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy will attempt a retry if the destination service responds with any 5xx response code, of if the destination service does not respond at all, example: disconnect, reset, read timeout, connection failure and refused streams. gateway-error: Similar to 5xx, but only applies to response codes 502, 503, 504. reset: Proxy will attempt a retry if the destination service does not respond at all (disconnect/reset/read timeout) connect-failure: Proxy will retry on failures connecting to destination for example due to connection timeouts. retriable-4xx: Proxy will retry fro retriable 4xx response codes. Currently the only retriable error supported is 409. refused-stream: Proxy will retry if the destination resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry.
HttpRouteRouteActionResponse
- Cors
Policy This property is required. Pulumi.Google Native. Network Services. V1. Inputs. Http Route Cors Policy Response - The specification for allowing client side cross-origin requests.
- Destinations
This property is required. List<Pulumi.Google Native. Network Services. V1. Inputs. Http Route Destination Response> - The destination to which traffic should be forwarded.
- Fault
Injection Policy This property is required. Pulumi.Google Native. Network Services. V1. 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
This property is required. Pulumi.Google Native. Network Services. V1. Inputs. Http Route Redirect Response - If set, the request is directed as configured by this field.
- Request
Header Modifier This property is required. Pulumi.Google Native. Network Services. V1. 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 Policy This property is required. Pulumi.Google Native. Network Services. V1. 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 Modifier This property is required. Pulumi.Google Native. Network Services. V1. 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 This property is required. Pulumi.Google Native. Network Services. V1. Inputs. Http Route Retry Policy Response - Specifies the retry policy associated with this route.
- Stateful
Session Affinity This property is required. Pulumi.Google Native. Network Services. V1. Inputs. Http Route Stateful Session Affinity Policy Response - Optional. Specifies cookie-based stateful session affinity.
- Timeout
This property is required. string - Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
- Url
Rewrite This property is required. Pulumi.Google Native. Network Services. V1. Inputs. Http Route URLRewrite Response - The specification for rewrite URL before forwarding requests to the destination.
- Cors
Policy This property is required. HttpRoute Cors Policy Response - The specification for allowing client side cross-origin requests.
- Destinations
This property is required. []HttpRoute Destination Response - The destination to which traffic should be forwarded.
- Fault
Injection Policy This property is required. HttpRoute 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
This property is required. HttpRoute Redirect Response - If set, the request is directed as configured by this field.
- Request
Header Modifier This property is required. HttpRoute 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 Policy This property is required. HttpRoute 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 Modifier This property is required. HttpRoute 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 This property is required. HttpRoute Retry Policy Response - Specifies the retry policy associated with this route.
- Stateful
Session Affinity This property is required. HttpRoute Stateful Session Affinity Policy Response - Optional. Specifies cookie-based stateful session affinity.
- Timeout
This property is required. string - Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
- Url
Rewrite This property is required. HttpRoute URLRewrite Response - The specification for rewrite URL before forwarding requests to the destination.
- cors
Policy This property is required. HttpRoute Cors Policy Response - The specification for allowing client side cross-origin requests.
- destinations
This property is required. List<HttpRoute Destination Response> - The destination to which traffic should be forwarded.
- fault
Injection Policy This property is required. HttpRoute 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
This property is required. HttpRoute Redirect Response - If set, the request is directed as configured by this field.
- request
Header Modifier This property is required. HttpRoute 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 Policy This property is required. HttpRoute 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 Modifier This property is required. HttpRoute 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 This property is required. HttpRoute Retry Policy Response - Specifies the retry policy associated with this route.
- stateful
Session Affinity This property is required. HttpRoute Stateful Session Affinity Policy Response - Optional. Specifies cookie-based stateful session affinity.
- timeout
This property is required. String - Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
- url
Rewrite This property is required. HttpRoute URLRewrite Response - The specification for rewrite URL before forwarding requests to the destination.
- cors
Policy This property is required. HttpRoute Cors Policy Response - The specification for allowing client side cross-origin requests.
- destinations
This property is required. HttpRoute Destination Response[] - The destination to which traffic should be forwarded.
- fault
Injection Policy This property is required. HttpRoute 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
This property is required. HttpRoute Redirect Response - If set, the request is directed as configured by this field.
- request
Header Modifier This property is required. HttpRoute 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 Policy This property is required. HttpRoute 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 Modifier This property is required. HttpRoute 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 This property is required. HttpRoute Retry Policy Response - Specifies the retry policy associated with this route.
- stateful
Session Affinity This property is required. HttpRoute Stateful Session Affinity Policy Response - Optional. Specifies cookie-based stateful session affinity.
- timeout
This property is required. string - Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
- url
Rewrite This property is required. HttpRoute URLRewrite Response - The specification for rewrite URL before forwarding requests to the destination.
- cors_
policy This property is required. HttpRoute Cors Policy Response - The specification for allowing client side cross-origin requests.
- destinations
This property is required. Sequence[HttpRoute Destination Response] - The destination to which traffic should be forwarded.
- fault_
injection_ policy This property is required. HttpRoute 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
This property is required. HttpRoute Redirect Response - If set, the request is directed as configured by this field.
- request_
header_ modifier This property is required. HttpRoute 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_ policy This property is required. HttpRoute 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_ modifier This property is required. HttpRoute 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 This property is required. HttpRoute Retry Policy Response - Specifies the retry policy associated with this route.
- stateful_
session_ affinity This property is required. HttpRoute Stateful Session Affinity Policy Response - Optional. Specifies cookie-based stateful session affinity.
- timeout
This property is required. str - Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
- url_
rewrite This property is required. HttpRoute URLRewrite Response - The specification for rewrite URL before forwarding requests to the destination.
- cors
Policy This property is required. Property Map - The specification for allowing client side cross-origin requests.
- destinations
This property is required. List<Property Map> - The destination to which traffic should be forwarded.
- fault
Injection Policy This property is required. Property Map - The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
- redirect
This property is required. Property Map - If set, the request is directed as configured by this field.
- request
Header Modifier This property is required. Property Map - The specification for modifying the headers of a matching request prior to delivery of the request to the destination. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- request
Mirror Policy This property is required. Property Map - Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Proxy will not wait for the shadow destination to respond before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
- response
Header Modifier This property is required. Property Map - The specification for modifying the headers of a response prior to sending the response back to the client. If HeaderModifiers are set on both the Destination and the RouteAction, they will be merged. Conflicts between the two will not be resolved on the configuration.
- retry
Policy This property is required. Property Map - Specifies the retry policy associated with this route.
- stateful
Session Affinity This property is required. Property Map - Optional. Specifies cookie-based stateful session affinity.
- timeout
This property is required. String - Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.
- url
Rewrite This property is required. Property Map - The specification for rewrite URL before forwarding requests to the destination.
HttpRouteRouteMatchResponse
- Full
Path Match This property is required. string - The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
- Headers
This property is required. List<Pulumi.Google Native. Network Services. V1. 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 This property is required. bool - Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
- Prefix
Match This property is required. 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 This property is required. List<Pulumi.Google Native. Network Services. V1. 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 This property is required. string - The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
- Full
Path Match This property is required. string - The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
- Headers
This property is required. []HttpRoute Header Match Response - Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
- Ignore
Case This property is required. bool - Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
- Prefix
Match This property is required. 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 This property is required. []HttpRoute Query Parameter Match Response - Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
- Regex
Match This property is required. string - The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
- full
Path Match This property is required. String - The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
- headers
This property is required. List<HttpRoute Header Match Response> - Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
- ignore
Case This property is required. Boolean - Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
- prefix
Match This property is required. String - The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
- query
Parameters This property is required. 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 This property is required. String - The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
- full
Path Match This property is required. string - The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
- headers
This property is required. HttpRoute Header Match Response[] - Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
- ignore
Case This property is required. boolean - Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
- prefix
Match This property is required. string - The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
- query
Parameters This property is required. HttpRoute Query Parameter Match Response[] - Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
- regex
Match This property is required. string - The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
- full_
path_ match This property is required. str - The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
- headers
This property is required. Sequence[HttpRoute Header Match Response] - Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
- ignore_
case This property is required. bool - Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
- prefix_
match This property is required. str - The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
- query_
parameters This property is required. Sequence[HttpRoute Query Parameter Match Response] - Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
- regex_
match This property is required. str - The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
- full
Path Match This property is required. String - The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
- headers
This property is required. List<Property Map> - Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
- ignore
Case This property is required. Boolean - Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
- prefix
Match This property is required. String - The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
- query
Parameters This property is required. List<Property Map> - Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
- regex
Match This property is required. String - The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
HttpRouteRouteRuleResponse
- Action
This property is required. Pulumi.Google Native. Network Services. V1. Inputs. Http Route Route Action Response - The detailed rule defining how to route matched traffic.
- Matches
This property is required. List<Pulumi.Google Native. Network Services. V1. 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
This property is required. HttpRoute Route Action Response - The detailed rule defining how to route matched traffic.
- Matches
This property is required. []HttpRoute 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
This property is required. HttpRoute Route Action Response - The detailed rule defining how to route matched traffic.
- matches
This property is required. List<HttpRoute 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
This property is required. HttpRoute Route Action Response - The detailed rule defining how to route matched traffic.
- matches
This property is required. HttpRoute 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
This property is required. HttpRoute Route Action Response - The detailed rule defining how to route matched traffic.
- matches
This property is required. Sequence[HttpRoute 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
This property is required. Property Map - The detailed rule defining how to route matched traffic.
- matches
This property is required. List<Property Map> - A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
HttpRouteStatefulSessionAffinityPolicyResponse
This property is required. string- The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
This property is required. string- The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
This property is required. String- The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
This property is required. string- The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
This property is required. str- The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
This property is required. String- The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
HttpRouteURLRewriteResponse
- Host
Rewrite This property is required. string - Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
- Path
Prefix Rewrite This property is required. string - Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
- Host
Rewrite This property is required. string - Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
- Path
Prefix Rewrite This property is required. string - Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
- host
Rewrite This property is required. String - Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
- path
Prefix Rewrite This property is required. String - Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
- host
Rewrite This property is required. string - Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
- path
Prefix Rewrite This property is required. string - Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
- host_
rewrite This property is required. str - Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
- path_
prefix_ rewrite This property is required. str - Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
- host
Rewrite This property is required. String - Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
- path
Prefix Rewrite This property is required. String - Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi