Get Dfw Rules

Get Dfw Rules

Retrieves all firewall rules for a given DFW security policy. The rules are returned in the order of precedence.

Request
URI
GET
https://{api_host}/cloudapi/1.0.0/vdcGroups/{vdcGroupId}/dfwPolicies/{policyId}/rules
COPY
Path Parameters
string
vdcGroupId
Required

vdcGroupId

string
policyId
Required

policyId

string
vdcGroupId
Required

vdcGroupId

string
policyId
Required

policyId


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns DfwRules of type(s) application/json;version=37.2
{
    "values": [
        {
            "id": "string",
            "name": "string",
            "description": "string",
            "sourceFirewallGroups": [
                {
                    "name": "string",
                    "id": "string"
                }
            ],
            "destinationFirewallGroups": [
                {
                    "name": "string",
                    "id": "string"
                }
            ],
            "applicationPortProfiles": [
                {
                    "name": "string",
                    "id": "string"
                }
            ],
            "actionValue": "string",
            "logging": false,
            "networkContextProfiles": [
                {
                    "name": "string",
                    "id": "string"
                }
            ],
            "enabled": false,
            "version": {
                "version": 0
            },
            "comments": "string",
            "appliedTo": {
                "name": "string",
                "id": "string"
            },
            "sourceGroupsExcluded": false,
            "destinationGroupsExcluded": false
        }
    ]
}
array of DfwRule
values
Optional

The ordered list of DFW rules.


404

The specified resource was not found

Returns Error of type(s) application/json;version=37.2
{
    "minorErrorCode": "string",
    "message": "string",
    "stackTrace": "string"
}
string
minorErrorCode
Required

minorErrorCode

string
message
Required

message

string
stackTrace
Optional

stackTrace