Attach a firewall to a machine
attach_firewallFrom now on the machine refuses inbound traffic no rule of its firewalls opens; enforced within about ten seconds of the call. Up to 5 firewalls per machine, rules add up. Refused for a machine with no public address. Attaching again is harmless. Scope: network.write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | Machine id, as returned by list_vms or create_vm. | |
| firewall | Yes | Firewall id, as returned by list_firewalls or create_firewall. |