Files
deb-python-pyvmomi/docs/vim/host/Ruleset.rst
Shawn Hartsock 15f7be9a52 pyVmomi reStructured Text Documentation
This external documentation for pyVmomi was generated using Googly Docs
(aka Google Standard Documentation) which renders very cleanly in
GitHub. Internal documentation for a class should be done in Sphinx
format because tools like pyCharm and Eclipse can use that documentation
as a hint for code completion.

Note: External docs as Googly Docs, internal docs as Sphinx.

Closes bug#15
2014-06-17 14:07:42 -04:00

1.3 KiB

vim.host.Ruleset

Data object that describes a single network ruleset that can be allowed or blocked by the firewall using the HostFirewallSystem object.

extends

vmodl.DynamicData

Attributes:

key (str):

Brief identifier for the ruleset.

label (str):

Display label for the ruleset.

required (bool):

Flag indicating whether the ruleset is required and cannot be disabled.

rule (vim.host.Ruleset.Rule):

List of rules within the ruleset.

service (str, optional):

Managed service (if any) that uses this ruleset. Must be one of the services listed in service .

enabled (bool):

Flag indicating whether the ruleset is enabled. If the ruleset is enabled, all ports specified in the ruleset are opened by the firewall.

allowedHosts (vim.host.Ruleset.IpList, optional):

List of ipaddress to allow access to the service