EdgeVirtualServiceHttpResponseMatchCriteria

EdgeVirtualServiceHttpResponseMatchCriteria
EdgeVirtualServiceHttpResponseMatchCriteria

Defines a response match criteria. If multiple matches are configured, it is treated as logically AND operation. All match types must be true for the response match criteria to be satisfied.

JSON Example
{
    "clientIpMatch": {
        "matchCriteria": "string",
        "addresses": [
            "string"
        ]
    },
    "servicePortMatch": {
        "matchCriteria": "string",
        "ports": [
            0
        ]
    },
    "methodMatch": {
        "matchCriteria": "string",
        "methods": [
            "string"
        ]
    },
    "protocol": "string",
    "pathMatch": {
        "matchCriteria": "string",
        "matchStrings": [
            "string"
        ]
    },
    "queryMatch": [
        "string"
    ],
    "cookieMatch": {
        "matchCriteria": "string",
        "key": "string",
        "value": "string"
    },
    "locationHeaderMatch": {
        "matchCriteria": "string",
        "value": [
            "string"
        ]
    },
    "requestHeaderMatch": [
        {
            "matchCriteria": "string",
            "value": [
                "string"
            ],
            "key": "string"
        }
    ],
    "responseHeaderMatch": [
        {
            "matchCriteria": "string",
            "value": [
                "string"
            ],
            "key": "string"
        }
    ],
    "statusCodeMatch": {
        "matchCriteria": "string",
        "statusCodes": [
            "200",
            "302",
            "400-450"
        ]
    }
}
clientIpMatch
Optional

clientIpMatch

servicePortMatch
Optional

servicePortMatch

methodMatch
Optional

methodMatch

string As ^(?!\s+$).+
protocol
Optional

Defines match criteria based on HTTP or HTTPS protocol.

pathMatch
Optional

pathMatch

array of string
queryMatch
Optional

Defines match criteria based on query strings which are in key=value format.

cookieMatch
Optional

cookieMatch

locationHeaderMatch
Optional

locationHeaderMatch

requestHeaderMatch
Optional

Defines match criteria based on the request headers.

responseHeaderMatch
Optional

Defines match criteria based on the response headers.

statusCodeMatch
Optional

statusCodeMatch

Availability
Added in 38.0