az role definition
Manage role definitions. Azure CLI reference
5 commands 2 options Its page in the Azure CLI reference
Commands
Options
--custom-role-onlycustom roles only(vs. build-in ones)--role-definitionjson formatted content which defines the new role.