I am exploring Azure REST APIs to collect some information for Role Assignments. I created a Custom Role and added permissions to it. When permissions are being added to storage accounts, there are two types of actions - Actions and Data Actions.
When I tried to retrieve the Role Definition through Role Definitions - Get API explained here: https://docs.microsoft.com/en-us/rest/api/authorization/roledefinitions/get
It only returns Actions and not Data Actions.