errorResponseRules

@JvmName(name = "qhpkuafdqyekqxnn")
suspend fun errorResponseRules(value: Output<List<URLMapDefaultCustomErrorResponsePolicyErrorResponseRuleArgs>>)

Parameters

value

Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX). If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect. Structure is documented below.


@JvmName(name = "xjpsrgraxymljkcm")
suspend fun errorResponseRules(vararg values: Output<URLMapDefaultCustomErrorResponsePolicyErrorResponseRuleArgs>)


@JvmName(name = "cugufomclfbvtbnl")
suspend fun errorResponseRules(values: List<Output<URLMapDefaultCustomErrorResponsePolicyErrorResponseRuleArgs>>)
@JvmName(name = "jiykjqxiotkftdwk")
suspend fun errorResponseRules(vararg values: URLMapDefaultCustomErrorResponsePolicyErrorResponseRuleArgs)

Parameters

values

Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX). If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect. Structure is documented below.


@JvmName(name = "mhieqcvtkqdwokak")
suspend fun errorResponseRules(argument: List<suspend URLMapDefaultCustomErrorResponsePolicyErrorResponseRuleArgsBuilder.() -> Unit>)
@JvmName(name = "tcxdoemqslybphbo")
suspend fun errorResponseRules(vararg argument: suspend URLMapDefaultCustomErrorResponsePolicyErrorResponseRuleArgsBuilder.() -> Unit)
@JvmName(name = "ulyrdimhyxcxacoc")
suspend fun errorResponseRules(argument: suspend URLMapDefaultCustomErrorResponsePolicyErrorResponseRuleArgsBuilder.() -> Unit)

Parameters

argument

Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX). If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect. Structure is documented below.