Join Slack
Powered by
This message was deleted.
# azure
s
sparse-intern-71089
05/09/2022, 5:56 AM
This message was deleted.
c
clean-truck-93285
05/09/2022, 2:55 PM
Never tried it but appears Pulumi has a built in function.
https://www.pulumi.com/registry/packages/azure-native/api-docs/authorization/getroledefinition/
The thing I don't like about the API is defining a scope. With CLI or PowerShell I can do a generic list and get all the roles. I can then write my own filter.
https://docs.microsoft.com/en-us/azure/role-based-access-control/role-definitions-list#rest-api
4
Views
Open in Slack
Previous
Next