Get Dfw Policy

Get Dfw Policy

Retrieves a specific DFW security policy.

Request
URI
GET
https://{api_host}/cloudapi/1.0.0/vdcGroups/{vdcGroupId}/dfwPolicies/{policyId}
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 DfwPolicy of type(s) application/json;version=37.2
{
    "id": "string",
    "name": "string",
    "description": "string",
    "enabled": false,
    "version": {
        "version": 0
    }
}
string
id
Optional

The unique id of this security policy. On updates, the id is required for the policy, while for create a new id will be generated. This id is not a VCD URN.

string
name
Required

Name for the security policy.

string
description
Optional

Description for the security policy.

boolean
enabled
Optional

Whether this security policy is enabled.

version
Optional

version


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