[{"label":"Latest (v37.0)","version":"latest"},{"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

Description

Retrieves the current state of DFW along with all the DFW security policies for a given networking and security domain.

Request

Request

URL

URL


get
https://{api_host}/cloudapi/1.0.0/vdcGroups/{vdcGroupId}/dfwPolicies
Copy

Path Parameters

Path Parameters

string
vdcGroupId Required

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns DfwPolicies of type(s) application/json;version=37.0
{
	"defaultPolicy": {
		"description": "string",
		"enabled": false,
		"id": "string",
		"name": "string",
		"version": {
			"version": 0
		}
	},
	"enabled": false
}
defaultPolicy Optional

The default DFW security policy for the security domain.


boolean
enabled Optional

A flag indicating whether DFW configuration is enabled or not.

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl https://{api_host}/cloudapi/1.0.0/vdcGroups/{vdcGroupId}/dfwPolicies


[{"label":"Latest (v37.0)","version":"latest"},{"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
Feedback

Was this page helpful?