URLMapDefaultRouteAction constructor

const URLMapDefaultRouteAction({
  1. Input<URLMapDefaultRouteActionCachePolicy?>? cachePolicy,
  2. Input<URLMapDefaultRouteActionCorsPolicy?>? corsPolicy,
  3. Input<URLMapDefaultRouteActionFaultInjectionPolicy?>? faultInjectionPolicy,
  4. Input<URLMapDefaultRouteActionMaxStreamDuration?>? maxStreamDuration,
  5. Input<URLMapDefaultRouteActionRequestMirrorPolicy?>? requestMirrorPolicy,
  6. Input<URLMapDefaultRouteActionRetryPolicy?>? retryPolicy,
  7. Input<URLMapDefaultRouteActionTimeout?>? timeout,
  8. Input<URLMapDefaultRouteActionUrlRewrite?>? urlRewrite,
  9. Input<List<URLMapDefaultRouteActionWeightedBackendService>?>? weightedBackendServices,
})

Creates a new URLMapDefaultRouteAction. cachePolicy Specifies the cache policy configuration for matched traffic. Available corsPolicy The specification for allowing client side cross-origin requests. Please see faultInjectionPolicy The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. maxStreamDuration Specifies the maximum duration (timeout) for streams on the selected route. requestMirrorPolicy Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. retryPolicy Specifies the retry policy associated with this route. timeout Specifies the timeout for the selected route. Timeout is computed from the time the request has been urlRewrite The spec to modify the URL of the request, prior to forwarding the request to the matched service. weightedBackendServices A list of weighted backend services to send traffic to when a route match occurs.

Implementation

const URLMapDefaultRouteAction({
  this.cachePolicy,
  this.corsPolicy,
  this.faultInjectionPolicy,
  this.maxStreamDuration,
  this.requestMirrorPolicy,
  this.retryPolicy,
  this.timeout,
  this.urlRewrite,
  this.weightedBackendServices,
});