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=39.0
{
    "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

This property describes the current version of the entity. To prevent clients from overwriting each other's changes, update operations must include the version which can be obtained by issuing a GET operation. If the version number on an update call is missing, the operation will be rejected. This is only needed on update calls.


404

The specified resource was not found

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

minorErrorCode

string
message
Required

message

string
stackTrace
Optional

stackTrace