Actions34
- LAN Actions
- NIC Actions
- Firewall Rule Actions
- IP Block Actions
- NAT Gateway Actions
- NAT Gateway Rule Actions
- Flow Log Actions
NIC → Update
AI-generatedSummary
Update a NIC's configuration
Inputs
- datacenterId (required) — The ID of the datacenter containing the NIC.
- serverId (required) — The ID of the server to which the NIC belongs.
- nicId (required) — The ID of the NIC to update.
- additionalFields — Optional fields such as DHCP, firewall settings, and IP assignments.
Output shape
a single updated NIC object
The response contains the updated NIC resource; optional fields may be omitted; errors are propagated unless continueOnFail is enabled.
Examples
Example 1: Modify NIC firewall type and enable DHCP
datacenterId: '12345', serverId: '67890', nicId: 'nic-abc', additionalFields: {dhcp: true, firewallType: 'BIDIRECTIONAL'}