Resource Center/Network Service/Network Service Operations/VPC Firewall Operations
PUTVPC Firewall OperationsSince 3.6.0SynchronousAuth Required
UpdateVpcFirewall
UpdateVpcFirewall
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
uuidStringRequiredThe resource UUID.
Body Fields
updatevpcfirewallObjectRequiredupdatevpcfirewall request body object.
descriptionStringOptional. The detailed description of the resource.
nameStringOptional. The resource name.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
PUT/zstack/v1/vpcfirewalls/{uuid}/actions
/zstack/v1/vpcfirewalls/{uuid}/actions
Request Example
curl -X PUT 'http://{host}/zstack/v1/vpcfirewalls/{uuid}/actions' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"updatevpcfirewall":{"description":"<description>","name":"<name>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "name": "example-name", "refs": [ { "id": 1.0, "ruleSetUuid": "b3074e9040ef3a2ea30d5843a85b3cdb", "l3NetworkUuid": "a53439b32bc133b2a95bd09c9a8c5b67", "packetsForwardType": "in", "createDate": "Nov 14, 2017 10:20:57 PM", "lastOpDate": "Nov 14, 2017 10:20:57 PM" } ], "description": "example-des" } }Change History
This API has no change history records yet.
