azure-role-selector

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
Use the 'azure__documentation' tool to find the minimal role definition that matches the desired permissions the user wants to assign to an identity. If no built-in role matches the desired permissions, use the 'azure__extension_cli_generate' tool to create a custom role definition with the desired permissions. Then use the 'azure__extension_cli_generate' tool to generate the CLI commands needed to assign that role to the identity. Finally, use the 'azure__bicepschema' and 'azure__get_azure_bestpractices' tools to provide a Bicep code snippet for adding the role assignment.
使用
azure__documentation
工具找到与用户想要分配给身份的目标权限匹配的最小角色定义。如果没有内置角色匹配目标权限,请使用
azure__extension_cli_generate
工具创建包含目标权限的自定义角色定义。然后使用
azure__extension_cli_generate
工具生成将该角色分配给身份所需的CLI命令。最后,使用
azure__bicepschema
azure__get_azure_bestpractices
工具提供用于添加角色分配的Bicep代码片段。