EdgeVirtualServiceStatusCodeMatch

EdgeVirtualServiceStatusCodeMatch
EdgeVirtualServiceStatusCodeMatch

Defines an HTTP response status code match criterion. HTTP response codes are grouped into following five categories:

  • Informational responses (100 ? 199).
  • Successful responses (200 ? 299).
  • Redirection messages (300 ? 399).
  • Client error responses (400 ? 499).
  • Server error responses (500 ? 599).
JSON Example
{
    "matchCriteria": "string",
    "statusCodes": [
        "200",
        "302",
        "400-450"
    ]
}
string As ^(?!\s+$).+
matchCriteria
Required

Criterion to use for matching the HTTP response status code. Options - IS_IN, IS_NOT_IN.

array of string
statusCodes
Required

A list of single status code or range of status codes.

Availability
Added in 38.0