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
Responses
200
OK
Returns DfwPolicy of type(s) application/json;version=38.1
{
"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.
404
The specified resource was not found
Returns Error of type(s) application/json;version=38.1
{
"minorErrorCode": "string",
"message": "string",
"stackTrace": "string"
}
string
minorErrorCode
Required
minorErrorCode
string
message
Required
message
string
stackTrace
Optional
stackTrace
Availability
Added in 35.0
Dfw Policy Operations
POST
Create Dfw Rule
DELETE
Delete Dfw Policy
DELETE
Delete Dfw Rule
GET
Get Dfw Policy
GET
Get Dfw Rule
GET
Get Dfw Rules
PUT
Update Dfw Policy
PUT
Update Dfw Rule
PUT
Update Dfw Rules