{
"rules": [
{
"rule_number": 1,
"protocol": "All",
"port": "All",
"type": "All",
"traffic_action": "Allow",
"source_cidr": "0.0.0.0/0"
}
]
}
curl --location --request PUT '/api/v2/vmware/vpc//hpc/network-acls//firewall-policies//firewall-rules' \
--header 'Content-Type: application/json' \
--data-raw '{
"rules": [
{
"rule_number": 1,
"protocol": "All",
"port": "All",
"type": "All",
"traffic_action": "Allow",
"source_cidr": "0.0.0.0/0"
}
]
}'
{
"data": [
{
"id": "b45468c2-8dae-4775-80a1-09660f3937ac",
"firewall_policy_id": "f828d29c-8207-4dbe-bd49-f2469785ed6f",
"firewall_group_id": "6cf4d02c-dbe9-4586-879a-1297772b2968",
"osp_firewall_rule_id": null,
"protocol": "All",
"port": "All",
"source_cidr": "0.0.0.0/0",
"destination_cidr": null,
"traffic_action": "Allow",
"rule_number": 1,
"is_default": null,
"status": "Creating",
"type": "All",
"created_at": "2025-06-06T02:19:31.573417+00:00",
"updated_at": "2025-06-06T02:19:31.573422+00:00"
}
],
"total": 1
}