Lines Matching refs:firewall

3firewall configuration and query functions for applications. You can configure firewall policies t…
19 Sets a firewall policy.
64 console.info("set firewall policy success.");
66 console.error("set firewall policy failed: " + JSON.stringify(error));
74 Obtains a firewall policy.
92 …ewallPolicy](#netfirewallpolicy)> | Promise used to return the result, which is a firewall policy.|
114 console.info('firewall policy: ', JSON.stringify(result));
116 console.error('get firewall policy failed: ', JSON.stringify(reason));
124 Adds a firewall rule.
142 | Promise\<number> | Promise used to return the result, which is the firewall rule ID auto…
155 | 29400001 | The number of firewall rules exceeds the maximum. |
156 | 29400002 | The number of IP address rules in the firewall rule exceeds the maximum. |
157 | 29400003 | The number of port rules in the firewall rule exceeds the maximum. |
158 | 29400004 | The number of domain rules in the firewall rule exceeds the maximum. |
219 console.error('add firewall rule failed: ', JSON.stringify(reason));
243 console.error('add firewall rule failed: ', JSON.stringify(reason));
261 console.error('add firewall rule failed: ', JSON.stringify(reason));
269 Updates a firewall rule.
300 | 29400002 | The number of IP address rules in the firewall rule exceeds the maximum. |
301 | 29400003 | The number of port rules in the firewall rule exceeds the maximum. |
302 | 29400004 | The number of domain rules in the firewall rule exceeds the maximum. |
337 console.info('update firewall rule success.');
339 console.error('update firewall rule failed: ', JSON.stringify(reason));
347 Removes a firewall rule.
361 | ruleId | number | Yes | ID of the firewall rule. …
389 console.info("delete firewall rule success.");
391 console.error("delete firewall rule failed: " + JSON.stringify(error));
399 Obtains firewall rules by user ID. You need to specify the pagination query parameter when calling …
418 …Page](#firewallrulepage)> | Promise used to return the result, which is list of firewall rules. |
447 console.error("get firewall rules failed: " + JSON.stringify(error));
455 Obtains a firewall rule based on the specified user ID and rule ID.
468 | ruleId | number | Yes | ID of the firewall rule. …
474 …le](#netfirewallrule)> | Promise used to return the result, which is a firewall rule. |
498 console.error(" get firewall rules failed: " + JSON.stringify(error));
560 Enumerates interception directions for firewall rules.
573 Enumerates actions for firewall rules.
586 Enumerates firewall rule types.
594 | RULE_IP | 1 | IP address-based firewall rule. |
596 | RULE_DNS | 3 | DNS-based firewall rule. |
600 Enumerates firewall rule sorting types.
608 | ORDER_BY_RULE_NAME | 1 | Sorting of firewall rules by name.|
609 | ORDER_BY_RECORD_TIME | 100 | Sorting of firewall rules by time. |
613 Enumerates firewall rule sorting orders.
626 Defines a firewall policy.
634 … | boolean | Yes | Whether to enable or disable the firewall.|
640 Defines the IP address information of a firewall rule.
657 Defines the port parameters of a firewall rule.
670 Defines the domain information of a firewall rule.
683 Defines the DNS information of a firewall rule.
697 Defines a firewall rule.
710 … | Yes| Whether to enable the firewall rule. …
758 Defines the pagination structure for firewall rules.