首页 > 解决方案 > Azure RBAC 中的多个通配符

问题描述

我在文档中看到了这一点:

您还可以在一个字符串中包含多个通配符。例如,以下字符串表示 Cost Management 的所有查询权限。

Microsoft.CostManagement/*/query/*

查询前的第一个通配符是什么意思?

标签: azureazure-rbac

解决方案


它表示资源提供者下的资源,Microsoft.CostManagement例如。externalBillingAccountsexternalSubscriptions

有了action权限Microsoft.CostManagement/*/query/*,你就可以查询下的使用数据Microsoft.CostManagement,可以了解你拥有的权限之Microsoft.CostManagement/externalBillingAccounts/query/*Microsoft.CostManagement/externalSubscriptions/query/*等等。

参考 - https://docs.microsoft.com/en-us/azure/role-based-access-control/resource-provider-operations#microsoftcostmanagement


推荐阅读