用于成本管理的Azure策略 [英] Azure Polices for Cost Management

查看:70
本文介绍了用于成本管理的Azure策略的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我们使用多种策略来控制人员部署和审核用户能够执行的操作。 Azure策略适用于此,但是一个好的策略是阻止用户部署昂贵资源的策略,或者我们可以应用于Azure订阅的策略,以便在超过阈值时创建审核事件。

We use a number of policies to control what people deploy and audit actions which users are able to do. Azure Policies work well with this however one policy that would be good is one that prevent users from deploying expensive resources or a policy that we could apply to Azure subscriptions to create Audit events when exceeding a threshold.

我试过通过powershell看看我是否能找到任何与成本相关的字段但是我似乎找不到任何东西。 

I have tried via powershell to see if I can find any fields relating to cost however I dont seem to be able to find anything. 

 是吗?是否可以使用Azure策略来控制成本? 

 Is it possible to use Azure Policies to control cost? 

推荐答案

使用Azure
自定义策略
您应该能够定义限制用户创建特定资源的策略。将资源分类为昂贵并在策略中定义规则是您需要处理的事情。在给定链接中,策略定义为基于SKU的
,用于创建小于G系列的VM。您可能想尝试类似的东西以符合您的要求。 
By using Azure custom policy you should be able to define the policy to restrict users from creating specific resources. Categorizing resources as expensive and defining the rule in the policy is something that you need to work on. In the given link policy is defined based on SKUs for creating VMs smaller than the G series. You may want to try something similar to match your requirement. 


这篇关于用于成本管理的Azure策略的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆