Update Dfw Policy

Update Dfw Policy

Updates a specific DFW security policy.

Request
URI
PUT
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


Request Body
DfwPolicy of type(s) application/json
Required
{
    "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

version

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=38.0
{
    "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=38.0
{
    "minorErrorCode": "string",
    "message": "string",
    "stackTrace": "string"
}
string
minorErrorCode
Required

minorErrorCode

string
message
Required

message

string
stackTrace
Optional

stackTrace