Creating and replacing firewall rules
Lock the network container by sending a POST /csm/networkcontainer/<guid>/acquireLock request.
The response to this request includes a lock identifier that you must include in subsequent requests.- Send a request to replace the firewall rules on the firewall network interface.
The specific request that you send depends on whether you want to replace inbound or outbound firewall rules:To replace inbound firewall rules, send a POST /csm/firewallnetworkinterface/<guid>/replaceInboundRules request.
To replace outbound firewall rules, send a POST /csm/firewallnetworkinterface/<guid>/replaceOutboundRules request.
Unlock the network container by sending a POST /csm/networkcontainer/<guid>/releaseLockrequest.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*