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