roleassignment#
- async idem_vra.exec.vra.rbac.roleassignment.get_grouped_role_assignments_using_get(hub, ctx, **kwargs)[source]#
Get grouped role assignments Get roles assignments grouped by principal. Performs GET /rbac-service/api/grouped-role-assignments
- Parameters:
apiVersion (string) – (optional in query)
- async idem_vra.exec.vra.rbac.roleassignment.get_role_assignments_using_get(hub, ctx, **kwargs)[source]#
Get role assignments Performs GET /rbac-service/api/role-assignments
- Parameters:
apiVersion (string) – (optional in query)
orgId (string) – (optional in query) orgId
principalId (string) – (optional in query) principalId
projectId (string) – (optional in query) projectId
roleId (string) – (optional in query) roleId
- async idem_vra.exec.vra.rbac.roleassignment.update_role_assignments_using_put(hub, ctx, **kwargs)[source]#
Modify role assignments for a given principalId, orgId and projectId. Performs PUT /rbac-service/api/role-assignments
- Parameters:
apiVersion (string) – (optional in query)
orgId (string) – (optional in body) The id of the org this role assignment belongs to
principalId (string) – (optional in body) The id of the principal this role assignment will be applicable for
principalType (string) – (optional in body) Principal type (user/group)
projectId (string) – (optional in body) The id of the project this role assignment belongs to
rolesToAdd (array) – (optional in body) Ids of roles to add
rolesToRemove (array) – (optional in body) Ids of roles to remove