1. Packages
  2. Google Cloud Native
  3. API Docs
  4. networkservices
  5. networkservices/v1beta1
  6. getHttpRoute

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi

google-native.networkservices/v1beta1.getHttpRoute

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.31.1 published on Thursday, Jul 20, 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:

    HttpRouteId string
    Location string
    Project string
    HttpRouteId string
    Location string
    Project string
    httpRouteId String
    location String
    project String
    httpRouteId string
    location string
    project string
    httpRouteId String
    location String
    project String

    getHttpRoute Result

    The following output properties are available:

    CreateTime 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 with bar.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.GoogleNative.NetworkServices.V1Beta1.Outputs.HttpRouteRouteRuleResponse>

    Rules that define how traffic is routed and handled. Rules will be matched sequentially based on the RouteMatch specified for the rule.

    SelfLink string

    Server-defined URL of this resource

    UpdateTime string

    The timestamp when the resource was updated.

    CreateTime 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 with bar.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 []HttpRouteRouteRuleResponse

    Rules that define how traffic is routed and handled. Rules will be matched sequentially based on the RouteMatch specified for the rule.

    SelfLink string

    Server-defined URL of this resource

    UpdateTime string

    The timestamp when the resource was updated.

    createTime 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 with bar.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<HttpRouteRouteRuleResponse>

    Rules that define how traffic is routed and handled. Rules will be matched sequentially based on the RouteMatch specified for the rule.

    selfLink String

    Server-defined URL of this resource

    updateTime String

    The timestamp when the resource was updated.

    createTime 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 with bar.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 HttpRouteRouteRuleResponse[]

    Rules that define how traffic is routed and handled. Rules will be matched sequentially based on the RouteMatch specified for the rule.

    selfLink string

    Server-defined URL of this resource

    updateTime 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 with bar.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[HttpRouteRouteRuleResponse]

    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.

    createTime 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 with bar.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.

    selfLink String

    Server-defined URL of this resource

    updateTime String

    The timestamp when the resource was updated.

    Supporting Types

    HttpRouteCorsPolicyResponse

    AllowCredentials 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.

    AllowHeaders List<string>

    Specifies the content for Access-Control-Allow-Headers header.

    AllowMethods List<string>

    Specifies the content for Access-Control-Allow-Methods header.

    AllowOriginRegexes List<string>

    Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.

    AllowOrigins 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.

    ExposeHeaders List<string>

    Specifies the content for Access-Control-Expose-Headers header.

    MaxAge string

    Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.

    AllowCredentials bool

    In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.

    AllowHeaders []string

    Specifies the content for Access-Control-Allow-Headers header.

    AllowMethods []string

    Specifies the content for Access-Control-Allow-Methods header.

    AllowOriginRegexes []string

    Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.

    AllowOrigins []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.

    ExposeHeaders []string

    Specifies the content for Access-Control-Expose-Headers header.

    MaxAge string

    Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.

    allowCredentials Boolean

    In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.

    allowHeaders List<String>

    Specifies the content for Access-Control-Allow-Headers header.

    allowMethods List<String>

    Specifies the content for Access-Control-Allow-Methods header.

    allowOriginRegexes List<String>

    Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.

    allowOrigins 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.

    exposeHeaders List<String>

    Specifies the content for Access-Control-Expose-Headers header.

    maxAge String

    Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.

    allowCredentials boolean

    In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false.

    allowHeaders string[]

    Specifies the content for Access-Control-Allow-Headers header.

    allowMethods string[]

    Specifies the content for Access-Control-Allow-Methods header.

    allowOriginRegexes string[]

    Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.

    allowOrigins 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.

    exposeHeaders string[]

    Specifies the content for Access-Control-Expose-Headers header.

    maxAge 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_regexes 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 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.

    allowCredentials 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.

    allowHeaders List<String>

    Specifies the content for Access-Control-Allow-Headers header.

    allowMethods List<String>

    Specifies the content for Access-Control-Allow-Methods header.

    allowOriginRegexes List<String>

    Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax.

    allowOrigins 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.

    exposeHeaders List<String>

    Specifies the content for Access-Control-Expose-Headers header.

    maxAge String

    Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header.

    HttpRouteDestinationResponse

    ServiceName 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.

    ServiceName 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.

    serviceName 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.

    serviceName 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.

    serviceName 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

    HttpStatus 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]

    HttpStatus 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]

    httpStatus 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]

    httpStatus 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]

    httpStatus 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

    FixedDelay 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]

    FixedDelay 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]

    fixedDelay 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]

    fixedDelay 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]

    fixedDelay 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 HttpRouteFaultInjectionPolicyAbortResponse

    The specification for aborting to client requests.

    Delay HttpRouteFaultInjectionPolicyDelayResponse

    The specification for injecting delay to client requests.

    abort HttpRouteFaultInjectionPolicyAbortResponse

    The specification for aborting to client requests.

    delay HttpRouteFaultInjectionPolicyDelayResponse

    The specification for injecting delay to client requests.

    abort HttpRouteFaultInjectionPolicyAbortResponse

    The specification for aborting to client requests.

    delay HttpRouteFaultInjectionPolicyDelayResponse

    The specification for injecting delay to client requests.

    abort HttpRouteFaultInjectionPolicyAbortResponse

    The specification for aborting to client requests.

    delay HttpRouteFaultInjectionPolicyDelayResponse

    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

    End int

    End of the range (exclusive)

    Start int

    Start of the range (inclusive)

    End int

    End of the range (exclusive)

    Start int

    Start of the range (inclusive)

    end Integer

    End of the range (exclusive)

    start Integer

    Start of the range (inclusive)

    end number

    End of the range (exclusive)

    start number

    Start of the range (inclusive)

    end int

    End of the range (exclusive)

    start int

    Start of the range (inclusive)

    end Number

    End of the range (exclusive)

    start Number

    Start of the range (inclusive)

    HttpRouteHeaderMatchResponse

    ExactMatch 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.

    InvertMatch bool

    If specified, the match result will be inverted before checking. Default value is set to false.

    PrefixMatch string

    The value of the header must start with the contents of prefix_match.

    PresentMatch bool

    A header with header_name must exist. The match takes place whether or not the header has a value.

    RangeMatch Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteHeaderMatchIntegerRangeResponse

    If specified, the rule will match if the request header value is within the range.

    RegexMatch 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

    SuffixMatch string

    The value of the header must end with the contents of suffix_match.

    ExactMatch 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.

    InvertMatch bool

    If specified, the match result will be inverted before checking. Default value is set to false.

    PrefixMatch string

    The value of the header must start with the contents of prefix_match.

    PresentMatch bool

    A header with header_name must exist. The match takes place whether or not the header has a value.

    RangeMatch HttpRouteHeaderMatchIntegerRangeResponse

    If specified, the rule will match if the request header value is within the range.

    RegexMatch 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

    SuffixMatch string

    The value of the header must end with the contents of suffix_match.

    exactMatch 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.

    invertMatch Boolean

    If specified, the match result will be inverted before checking. Default value is set to false.

    prefixMatch String

    The value of the header must start with the contents of prefix_match.

    presentMatch Boolean

    A header with header_name must exist. The match takes place whether or not the header has a value.

    rangeMatch HttpRouteHeaderMatchIntegerRangeResponse

    If specified, the rule will match if the request header value is within the range.

    regexMatch 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

    suffixMatch String

    The value of the header must end with the contents of suffix_match.

    exactMatch 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.

    invertMatch boolean

    If specified, the match result will be inverted before checking. Default value is set to false.

    prefixMatch string

    The value of the header must start with the contents of prefix_match.

    presentMatch boolean

    A header with header_name must exist. The match takes place whether or not the header has a value.

    rangeMatch HttpRouteHeaderMatchIntegerRangeResponse

    If specified, the rule will match if the request header value is within the range.

    regexMatch 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

    suffixMatch 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 HttpRouteHeaderMatchIntegerRangeResponse

    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.

    exactMatch 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.

    invertMatch Boolean

    If specified, the match result will be inverted before checking. Default value is set to false.

    prefixMatch String

    The value of the header must start with the contents of prefix_match.

    presentMatch Boolean

    A header with header_name must exist. The match takes place whether or not the header has a value.

    rangeMatch Property Map

    If specified, the rule will match if the request header value is within the range.

    regexMatch 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

    suffixMatch 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

    ExactMatch 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.

    PresentMatch 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.

    QueryParameter string

    The name of the query parameter to match.

    RegexMatch 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.

    ExactMatch 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.

    PresentMatch 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.

    QueryParameter string

    The name of the query parameter to match.

    RegexMatch 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.

    exactMatch 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.

    presentMatch 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.

    queryParameter String

    The name of the query parameter to match.

    regexMatch 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.

    exactMatch 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.

    presentMatch 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.

    queryParameter string

    The name of the query parameter to match.

    regexMatch 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.

    exactMatch 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.

    presentMatch 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.

    queryParameter String

    The name of the query parameter to match.

    regexMatch 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

    HostRedirect string

    The host that will be used in the redirect response instead of the one that was supplied in the request.

    HttpsRedirect bool

    If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.

    PathRedirect 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.

    PortRedirect int

    The port that will be used in the redirected request instead of the one that was supplied in the request.

    PrefixRewrite 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.

    ResponseCode string

    The HTTP Status code to use for the redirect.

    StripQuery 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.

    HostRedirect string

    The host that will be used in the redirect response instead of the one that was supplied in the request.

    HttpsRedirect bool

    If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.

    PathRedirect 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.

    PortRedirect int

    The port that will be used in the redirected request instead of the one that was supplied in the request.

    PrefixRewrite 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.

    ResponseCode string

    The HTTP Status code to use for the redirect.

    StripQuery 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.

    hostRedirect String

    The host that will be used in the redirect response instead of the one that was supplied in the request.

    httpsRedirect Boolean

    If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.

    pathRedirect 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.

    portRedirect Integer

    The port that will be used in the redirected request instead of the one that was supplied in the request.

    prefixRewrite 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.

    responseCode String

    The HTTP Status code to use for the redirect.

    stripQuery 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.

    hostRedirect string

    The host that will be used in the redirect response instead of the one that was supplied in the request.

    httpsRedirect boolean

    If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.

    pathRedirect 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.

    portRedirect number

    The port that will be used in the redirected request instead of the one that was supplied in the request.

    prefixRewrite 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.

    responseCode string

    The HTTP Status code to use for the redirect.

    stripQuery 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.

    hostRedirect String

    The host that will be used in the redirect response instead of the one that was supplied in the request.

    httpsRedirect Boolean

    If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request. The default is set to false.

    pathRedirect 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.

    portRedirect Number

    The port that will be used in the redirected request instead of the one that was supplied in the request.

    prefixRewrite 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.

    responseCode String

    The HTTP Status code to use for the redirect.

    stripQuery 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.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteDestinationResponse

    The destination the requests will be mirrored to. The weight of the destination will be ignored.

    Destination HttpRouteDestinationResponse

    The destination the requests will be mirrored to. The weight of the destination will be ignored.

    destination HttpRouteDestinationResponse

    The destination the requests will be mirrored to. The weight of the destination will be ignored.

    destination HttpRouteDestinationResponse

    The destination the requests will be mirrored to. The weight of the destination will be ignored.

    destination HttpRouteDestinationResponse

    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

    NumRetries int

    Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.

    PerTryTimeout string

    Specifies a non-zero timeout per retry attempt.

    RetryConditions 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.

    NumRetries int

    Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.

    PerTryTimeout string

    Specifies a non-zero timeout per retry attempt.

    RetryConditions []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.

    numRetries Integer

    Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.

    perTryTimeout String

    Specifies a non-zero timeout per retry attempt.

    retryConditions 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.

    numRetries number

    Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.

    perTryTimeout string

    Specifies a non-zero timeout per retry attempt.

    retryConditions 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_timeout str

    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.

    numRetries Number

    Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1.

    perTryTimeout String

    Specifies a non-zero timeout per retry attempt.

    retryConditions 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

    CorsPolicy Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteCorsPolicyResponse

    The specification for allowing client side cross-origin requests.

    Destinations List<Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteDestinationResponse>

    The destination to which traffic should be forwarded.

    FaultInjectionPolicy Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteFaultInjectionPolicyResponse

    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.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRedirectResponse

    If set, the request is directed as configured by this field.

    RequestHeaderModifier Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteHeaderModifierResponse

    The specification for modifying the headers of a matching request prior to delivery of the request to the destination.

    RequestMirrorPolicy Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRequestMirrorPolicyResponse

    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.

    ResponseHeaderModifier Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteHeaderModifierResponse

    The specification for modifying the headers of a response prior to sending the response back to the client.

    RetryPolicy Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRetryPolicyResponse

    Specifies the retry policy associated with this route.

    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.

    UrlRewrite Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteURLRewriteResponse

    The specification for rewrite URL before forwarding requests to the destination.

    CorsPolicy HttpRouteCorsPolicyResponse

    The specification for allowing client side cross-origin requests.

    Destinations []HttpRouteDestinationResponse

    The destination to which traffic should be forwarded.

    FaultInjectionPolicy HttpRouteFaultInjectionPolicyResponse

    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 HttpRouteRedirectResponse

    If set, the request is directed as configured by this field.

    RequestHeaderModifier HttpRouteHeaderModifierResponse

    The specification for modifying the headers of a matching request prior to delivery of the request to the destination.

    RequestMirrorPolicy HttpRouteRequestMirrorPolicyResponse

    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.

    ResponseHeaderModifier HttpRouteHeaderModifierResponse

    The specification for modifying the headers of a response prior to sending the response back to the client.

    RetryPolicy HttpRouteRetryPolicyResponse

    Specifies the retry policy associated with this route.

    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.

    UrlRewrite HttpRouteURLRewriteResponse

    The specification for rewrite URL before forwarding requests to the destination.

    corsPolicy HttpRouteCorsPolicyResponse

    The specification for allowing client side cross-origin requests.

    destinations List<HttpRouteDestinationResponse>

    The destination to which traffic should be forwarded.

    faultInjectionPolicy HttpRouteFaultInjectionPolicyResponse

    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 HttpRouteRedirectResponse

    If set, the request is directed as configured by this field.

    requestHeaderModifier HttpRouteHeaderModifierResponse

    The specification for modifying the headers of a matching request prior to delivery of the request to the destination.

    requestMirrorPolicy HttpRouteRequestMirrorPolicyResponse

    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.

    responseHeaderModifier HttpRouteHeaderModifierResponse

    The specification for modifying the headers of a response prior to sending the response back to the client.

    retryPolicy HttpRouteRetryPolicyResponse

    Specifies the retry policy associated with this route.

    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.

    urlRewrite HttpRouteURLRewriteResponse

    The specification for rewrite URL before forwarding requests to the destination.

    corsPolicy HttpRouteCorsPolicyResponse

    The specification for allowing client side cross-origin requests.

    destinations HttpRouteDestinationResponse[]

    The destination to which traffic should be forwarded.

    faultInjectionPolicy HttpRouteFaultInjectionPolicyResponse

    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 HttpRouteRedirectResponse

    If set, the request is directed as configured by this field.

    requestHeaderModifier HttpRouteHeaderModifierResponse

    The specification for modifying the headers of a matching request prior to delivery of the request to the destination.

    requestMirrorPolicy HttpRouteRequestMirrorPolicyResponse

    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.

    responseHeaderModifier HttpRouteHeaderModifierResponse

    The specification for modifying the headers of a response prior to sending the response back to the client.

    retryPolicy HttpRouteRetryPolicyResponse

    Specifies the retry policy associated with this route.

    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.

    urlRewrite HttpRouteURLRewriteResponse

    The specification for rewrite URL before forwarding requests to the destination.

    cors_policy HttpRouteCorsPolicyResponse

    The specification for allowing client side cross-origin requests.

    destinations Sequence[HttpRouteDestinationResponse]

    The destination to which traffic should be forwarded.

    fault_injection_policy HttpRouteFaultInjectionPolicyResponse

    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 HttpRouteRedirectResponse

    If set, the request is directed as configured by this field.

    request_header_modifier HttpRouteHeaderModifierResponse

    The specification for modifying the headers of a matching request prior to delivery of the request to the destination.

    request_mirror_policy HttpRouteRequestMirrorPolicyResponse

    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 HttpRouteHeaderModifierResponse

    The specification for modifying the headers of a response prior to sending the response back to the client.

    retry_policy HttpRouteRetryPolicyResponse

    Specifies the retry policy associated with this route.

    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 HttpRouteURLRewriteResponse

    The specification for rewrite URL before forwarding requests to the destination.

    corsPolicy Property Map

    The specification for allowing client side cross-origin requests.

    destinations List<Property Map>

    The destination to which traffic should be forwarded.

    faultInjectionPolicy Property Map

    The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced 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.

    requestHeaderModifier Property Map

    The specification for modifying the headers of a matching request prior to delivery of the request to the destination.

    requestMirrorPolicy 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.

    responseHeaderModifier Property Map

    The specification for modifying the headers of a response prior to sending the response back to the client.

    retryPolicy Property Map

    Specifies the retry policy associated with this route.

    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.

    urlRewrite Property Map

    The specification for rewrite URL before forwarding requests to the destination.

    HttpRouteRouteMatchResponse

    FullPathMatch 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 List<Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteHeaderMatchResponse>

    Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.

    IgnoreCase bool

    Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.

    PrefixMatch 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.

    QueryParameters List<Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteQueryParameterMatchResponse>

    Specifies a list of query parameters to match against. ALL of the query parameters must be matched.

    RegexMatch 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.

    FullPathMatch 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 []HttpRouteHeaderMatchResponse

    Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.

    IgnoreCase bool

    Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.

    PrefixMatch 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.

    QueryParameters []HttpRouteQueryParameterMatchResponse

    Specifies a list of query parameters to match against. ALL of the query parameters must be matched.

    RegexMatch 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.

    fullPathMatch 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 List<HttpRouteHeaderMatchResponse>

    Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.

    ignoreCase Boolean

    Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.

    prefixMatch 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.

    queryParameters List<HttpRouteQueryParameterMatchResponse>

    Specifies a list of query parameters to match against. ALL of the query parameters must be matched.

    regexMatch 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.

    fullPathMatch 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 HttpRouteHeaderMatchResponse[]

    Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.

    ignoreCase boolean

    Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.

    prefixMatch 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.

    queryParameters HttpRouteQueryParameterMatchResponse[]

    Specifies a list of query parameters to match against. ALL of the query parameters must be matched.

    regexMatch 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 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 Sequence[HttpRouteHeaderMatchResponse]

    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[HttpRouteQueryParameterMatchResponse]

    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.

    fullPathMatch 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 List<Property Map>

    Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.

    ignoreCase Boolean

    Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.

    prefixMatch 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.

    queryParameters List<Property Map>

    Specifies a list of query parameters to match against. ALL of the query parameters must be matched.

    regexMatch 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.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRouteActionResponse

    The detailed rule defining how to route matched traffic.

    Matches List<Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.HttpRouteRouteMatchResponse>

    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 HttpRouteRouteActionResponse

    The detailed rule defining how to route matched traffic.

    Matches []HttpRouteRouteMatchResponse

    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 HttpRouteRouteActionResponse

    The detailed rule defining how to route matched traffic.

    matches List<HttpRouteRouteMatchResponse>

    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 HttpRouteRouteActionResponse

    The detailed rule defining how to route matched traffic.

    matches HttpRouteRouteMatchResponse[]

    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 HttpRouteRouteActionResponse

    The detailed rule defining how to route matched traffic.

    matches Sequence[HttpRouteRouteMatchResponse]

    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.

    HttpRouteURLRewriteResponse

    HostRewrite string

    Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.

    PathPrefixRewrite string

    Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.

    HostRewrite string

    Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.

    PathPrefixRewrite string

    Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.

    hostRewrite String

    Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.

    pathPrefixRewrite String

    Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.

    hostRewrite string

    Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.

    pathPrefixRewrite string

    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_rewrite str

    Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.

    hostRewrite String

    Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.

    pathPrefixRewrite 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-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi