[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Get DFW Policies
DescriptionRetrieves the current state of DFW along with all the DFW security policies for a given networking and security domain.
Request
URLURL
https://{api_host}/cloudapi/1.0.0/vdcGroups/{vdcGroupId}/dfwPolicies
Path Parameters
Path Parameters
string
vdcGroupId
Required
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
DfwPolicies
of type(s) application/json;version=36.3
{
"defaultPolicy": {
"description": "string",
"enabled": false,
"id": "string",
"name": "string",
"version": {
"version": 0
}
},
"enabled": false
}
boolean
enabled
Optional
A flag indicating whether DFW configuration is enabled or not.
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl https://{api_host}/cloudapi/1.0.0/vdcGroups/{vdcGroupId}/dfwPolicies
[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Availability
Added in 35.0
DFW Policies Operations
get