
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.6 KiB
vim.host.PortGroup
This data object type is used to describe port groups. Port groups are used to group virtual network adapters on a virtual switch, associating them with networks and network policies.
- extends
- Attributes:
-
key (str, optional):
The linkable identifier.
port (vim.host.PortGroup.Port, optional):
The ports that currently exist and are used on this port group.
vswitch (vim.host.VirtualSwitch, optional):
The virtual switch that contains this port group.
computedPolicy (vim.host.NetworkPolicy):
Computed network policies that are applicable for a port group. The inheritance scheme for PortGroup requires knowledge about the NetworkPolicy for a port group and its parent virtual switch as well as the logic for computing the results. This information is provided as a convenience so that callers need not duplicate the inheritance logic to determine the proper values for a network policy.See the description of the NetworkPolicy data object type for more information.
spec (vim.host.PortGroup.Specification):
The specification of a port group.