Update Dfw Policies

Update Dfw Policies

Updates the DFW security policies for a given networking and security domain. A default security policy will be created when DFW is enabled. Removing a security policy will result in removal of the policy and all of its associated firewall rules.

Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/vdcGroups/{vdcGroupId}/dfwPolicies
COPY
Path Parameters
string
vdcGroupId
Required

vdcGroupId

string
vdcGroupId
Required

vdcGroupId


Request Body
DfwPolicies of type(s) application/json
Required
{
    "enabled": false,
    "defaultPolicy": {
        "id": "string",
        "name": "string",
        "description": "string",
        "enabled": false,
        "version": {
            "version": 0
        }
    }
}
boolean
enabled
Optional

A flag indicating whether DFW configuration is enabled or not.

defaultPolicy
Optional

defaultPolicy

Authentication
This operation uses the following authentication methods.
Responses
202

The request have been accepted and the task to monitor the request is in the Location header.

Operation doesn't return any data structure

400

Invalid configuration.

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

minorErrorCode

string
message
Required

message

string
stackTrace
Optional

stackTrace


404

The specified resource was not found

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

minorErrorCode

string
message
Required

message

string
stackTrace
Optional

stackTrace