Get Http Security Rules

Get Http Security Rules

Retrieves HTTP security rules of a Virtual Service.

Request
URI
GET
https://{api_host}/cloudapi/1.0.0/loadBalancer/virtualServices/{virtualServiceId}/httpPolicy/securityRules
COPY
Path Parameters
string
virtualServiceId
Required

virtualServiceId

string
virtualServiceId
Required

virtualServiceId


Authentication
This operation uses the following authentication methods.
Responses
200
Returns EdgeVirtualServiceHttpSecurityRules of type(s) application/json;version=39.0
{
    "values": [
        {
            "name": "string",
            "active": false,
            "logging": false,
            "matchCriteria": {
                "clientIpMatch": {
                    "matchCriteria": "string",
                    "addresses": [
                        "string"
                    ]
                },
                "servicePortMatch": {
                    "matchCriteria": "string",
                    "ports": [
                        0
                    ]
                },
                "methodMatch": {
                    "matchCriteria": "string",
                    "methods": [
                        "string"
                    ]
                },
                "protocol": "string",
                "pathMatch": {
                    "matchCriteria": "string",
                    "matchStrings": [
                        "string"
                    ]
                },
                "queryMatch": [
                    "string"
                ],
                "headerMatch": [
                    {
                        "matchCriteria": "string",
                        "value": [
                            "string"
                        ],
                        "key": "string"
                    }
                ],
                "cookieMatch": {
                    "matchCriteria": "string",
                    "key": "string",
                    "value": "string"
                }
            },
            "allowOrCloseConnectionAction": "string",
            "rateLimitAction": {
                "count": 0,
                "period": 0,
                "closeConnectionAction": "string",
                "redirectAction": {
                    "statusCode": 0
                },
                "localResponseAction": {
                    "statusCode": 0,
                    "contentType": "string",
                    "content": "string"
                }
            },
            "redirectToHttpsAction": {
                "port": 0
            },
            "localResponseAction": {
                "statusCode": 0,
                "contentType": "string",
                "content": "string"
            }
        }
    ]
}
values
Optional

values