
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
1.1 KiB
1.1 KiB
vim.host.Ruleset.Rule
This data object type describes a port (or range of ports), identified by port number(s), direction and protocol. It is used as a convenient way for users to express what ports they want to permit through the firewall.
- extends
- Attributes:
-
port (int):
The port number.
endPort (int, optional):
For a port range, the ending port number.
direction (vim.host.Ruleset.Rule.Direction):
The port direction.
portType (vim.host.Ruleset.Rule.PortType, optional):
The port type.
protocol (str):
The port protocol. Valid values are defined by the HostFirewallRuleProtocol enumeration.