role#
- async idem_vra.states.vra.rbac.role.present(hub, ctx, name: str, permissions: Any, **kwargs)[source]#
- Parameters:
name (string) – (required in body) Name of the role.
permissions (array) – (required in body) List of permissions that the role has.
apiVersion (string) – (optional in query)
description (string) – (optional in body) A human-friendly description.
hidden (boolean) – (optional in body) Specifies whether the role should be hidden (true) in the UI or not (false). The flag is used mainly for development purposes.
id (string) – (optional in body)
orgId (string) – (optional in body) The id of the org this role belongs to
projectScope (boolean) – (optional in body) Specifies whether the role is organization level role or it is project level.
- async idem_vra.states.vra.rbac.role.absent(hub, ctx, name: str, **kwargs)[source]#
- Parameters:
p_id (string) – (required in path) id
apiVersion (string) – (optional in query)
- idem_vra.states.vra.rbac.role.is_pending(hub, ret: dict, state: str = None, **pending_kwargs)[source]#