
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
42 lines
1.5 KiB
ReStructuredText
42 lines
1.5 KiB
ReStructuredText
.. _str: https://docs.python.org/2/library/stdtypes.html
|
|
|
|
.. _policy: ../../../vim/profile/ApplyProfile.rst#policy
|
|
|
|
.. _property: ../../../vim/profile/ApplyProfile.rst#property
|
|
|
|
.. _vSphere API 4.0: ../../../vim/version.rst#vimversionversion5
|
|
|
|
.. _VirtualSwitchProfile: ../../../vim/profile/host/VirtualSwitchProfile.rst
|
|
|
|
.. _vim.profile.ApplyProfile: ../../../vim/profile/ApplyProfile.rst
|
|
|
|
.. _vim.profile.host.NetworkPolicyProfile: ../../../vim/profile/host/NetworkPolicyProfile.rst
|
|
|
|
.. _vim.profile.host.VirtualSwitchProfile.LinkProfile: ../../../vim/profile/host/VirtualSwitchProfile/LinkProfile.rst
|
|
|
|
.. _vim.profile.host.VirtualSwitchProfile.NumPortsProfile: ../../../vim/profile/host/VirtualSwitchProfile/NumPortsProfile.rst
|
|
|
|
|
|
vim.profile.host.VirtualSwitchProfile
|
|
=====================================
|
|
The `VirtualSwitchProfile`_ data object represents a subprofile for a virtual switch. If a profile plug-in defines policies or subprofiles, use the `policy`_ or `property`_ list to access the additional configuration data.
|
|
:extends: vim.profile.ApplyProfile_
|
|
:since: `vSphere API 4.0`_
|
|
|
|
Attributes:
|
|
key (`str`_):
|
|
|
|
Linkable identifier.
|
|
name (`str`_):
|
|
|
|
Name of the virtual switch.
|
|
link (`vim.profile.host.VirtualSwitchProfile.LinkProfile`_):
|
|
|
|
Links that are connected to the virtual switch.
|
|
numPorts (`vim.profile.host.VirtualSwitchProfile.NumPortsProfile`_):
|
|
|
|
Number of ports on the virtual switch.
|
|
networkPolicy (`vim.profile.host.NetworkPolicyProfile`_):
|
|
|
|
Network policy for the virtual switch.
|