Cost report using TAGS assigned only on resource group level

%3CLINGO-SUB%20id%3D%22lingo-sub-253876%22%20slang%3D%22en-US%22%3ECost%20report%20using%20TAGS%20assigned%20only%20on%20resource%20group%20level%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-253876%22%20slang%3D%22en-US%22%3E%3CP%3EHello%3C%2FP%3E%3CP%3EI%20have%20many%20resources%20groups.%20I%20have%20assigned%20special%20tags%20on%20these%20groups.%20I%20would%20like%20to%20have%20cost%20report%26nbsp%3B%20like%26nbsp%3B%20how%20many%20cost%20was%20spent%20in%20some%20month%20for%20all%20resources%20located%20in%20some%20groups%20with%20specific%20tags%2C%20e.g%20system%3Dapp1%3Bworkload%20%3D%20prod.%20So%20using%20tags%20like%20filter.%3C%2FP%3E%3CP%3EAny%20ideas%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%2F%2FAlexander%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-253876%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ECost%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-254127%22%20slang%3D%22en-US%22%3ERe%3A%20Cost%20report%20using%20TAGS%20assigned%20only%20on%20resource%20group%20level%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-254127%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Alexander%2C%3C%2FP%3E%3CP%3EAs%20you%20probably%20know%2C%20tags%20applied%20on%20Resource%20Groups%20are%20not%20automatically%20propagated%20down%20(nested)%20to%20underlying%20resources.%20In%20addition%2C%20if%20you%20access%20your%20Azure%20spend%20data%20using%20Cost%20Management%20APIs%2C%20they%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fblog%2Fannouncing-the-support-for-tags-in-cost-management-apis%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Esupport%20%3C%2FA%3Etags%20(announced%20in%20March).%3C%2FP%3E%3CP%3EThe%20problem%20is%20the%20fact%20that%20you%20need%20to%20implement%20a%20mechanism%20for%20applying%20tags%20(those%20specific%20to%20cost%20management)%20from%20RGs%20to%20resources.%20One%20way%20is%20utilizing%20Azure%20Automation%20that%20will%20execute%20a%20runbook%20(schedule-based%20execution)%20that%20can%20do%20it%20for%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

Hello

I have many resources groups. I have assigned special tags on these groups. I would like to have cost report  like  how many cost was spent in some month for all resources located in some groups with specific tags, e.g system=app1;workload = prod. So using tags like filter.

Any ideas?

 

//Alexander

1 Reply
Highlighted

Hi Alexander,

As you probably know, tags applied on Resource Groups are not automatically propagated down (nested) to underlying resources. In addition, if you access your Azure spend data using Cost Management APIs, they support tags (announced in March).

The problem is the fact that you need to implement a mechanism for applying tags (those specific to cost management) from RGs to resources. One way is utilizing Azure Automation that will execute a runbook (schedule-based execution) that can do it for you.