
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
33 lines
1.2 KiB
ReStructuredText
33 lines
1.2 KiB
ReStructuredText
.. _int: https://docs.python.org/2/library/stdtypes.html
|
|
|
|
.. _str: https://docs.python.org/2/library/stdtypes.html
|
|
|
|
.. _bool: https://docs.python.org/2/library/stdtypes.html
|
|
|
|
.. _vmodl.DynamicData: ../../vmodl/DynamicData.rst
|
|
|
|
.. _vim.ManagedEntity: ../../vim/ManagedEntity.rst
|
|
|
|
|
|
vim.AuthorizationManager.Permission
|
|
===================================
|
|
This data object type provides assignment of some role access to a principal on a specific entity. A ManagedEntity is limited to one permission per principal.
|
|
:extends: vmodl.DynamicData_
|
|
|
|
Attributes:
|
|
entity (`vim.ManagedEntity`_, optional):
|
|
|
|
Managed entity the permission is defined on. Left unset when calling setPermissions or resetPermissions, but present for the results of permission queries.
|
|
principal (`str`_):
|
|
|
|
User or group receiving access in the form of "login" for local or "DOMAIN\login" for users in a Windows domain.
|
|
group (`bool`_):
|
|
|
|
Whether principal refers to a user or a group. True for a group and false for a user.
|
|
roleId (`int`_):
|
|
|
|
Reference to the role providing the access.
|
|
propagate (`bool`_):
|
|
|
|
Whether or not this permission propagates down the hierarchy to sub-entities.
|