Azure Lei Zhang的博客

weibo: LeiZhang的微博/QQ: 185165016/QQ群:319036205/邮箱:leizhang1984@outlook.com/TeL:139-161-22926

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  489 随笔 :: 0 文章 :: 417 评论 :: 70万 阅读
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

  《Windows Azure Platform 系列文章目录

 

  用户这里有个新的需求,自定义Role,只能创建MySQL Flexible Server资源和Private DNS Zone,不能创建资源资源。

  可以使用下面的Custom Role

复制代码
{
    "properties": {
        "roleName": "mysqlcontributor",
        "description": "",
        "assignableScopes": [
            "/subscriptions/[这里输入你的订阅ID]"
        ],
        "permissions": [
            {
                "actions": [
                    "Microsoft.Authorization/*/read",
                    "Microsoft.ResourceHealth/availabilityStatuses/read",
                    "Microsoft.Resources/deployments/*",
                    "Microsoft.Resources/subscriptions/resourceGroups/read",
                    "Microsoft.DBforMySQL/*",
                    "Microsoft.Support/*",
                    "Microsoft.Network/virtualNetworks/read",
                    "Microsoft.Network/virtualNetworks/subnets/read",
                    "Microsoft.Network/virtualNetworks/subnets/join/action",
                    "Microsoft.Network/privateDnsZones/*",
                    "Microsoft.Insights/alertRules/*",
                    "Microsoft.Insights/metrics/read",
                    "Microsoft.Insights/metricDefinitions/read",
                    "*/register/action"
                ],
                "notActions": [],
                "dataActions": [],
                "notDataActions": []
            }
        ]
    }
}
复制代码

 

posted on   Lei Zhang的博客  阅读(27)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构
历史上的今天:
2012-01-18 Windows Azure Cloud Service (4) Windows Azure 平台高可用性的实现
2012-01-18 Windows Azure Cloud Service (3) 把本地的Azure Project部署到云端服务器上
2012-01-18 Windows Azure Cloud Service (2) 开发一个简单的Hello World
2012-01-18 Windows Azure Cloud Service (1) 用户管理界面
2012-01-18 Windows Azure Storage (1) Windows Azure Storage Service存储服务
点击右上角即可分享
微信分享提示