File: Ruleset.rst

package info (click to toggle)
python-pyvmomi 6.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 14,980 kB
  • sloc: python: 9,206; xml: 77; makefile: 9
file content (42 lines) | stat: -rw-r--r-- 1,350 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
.. _str: https://docs.python.org/2/library/stdtypes.html

.. _bool: https://docs.python.org/2/library/stdtypes.html

.. _service: ../../vim/host/ServiceInfo.rst#service

.. _vmodl.DynamicData: ../../vmodl/DynamicData.rst

.. _HostFirewallSystem: ../../vim/host/FirewallSystem.rst

.. _vim.host.Ruleset.Rule: ../../vim/host/Ruleset/Rule.rst

.. _vim.host.Ruleset.IpList: ../../vim/host/Ruleset/IpList.rst


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