Provide support for automatically discovering Azure subscriptions
See original GitHub issueProposal
Hello,
As of today, the list of subscriptions has to be set to resource-discovery-declaration.yaml in the azureLandscape key.
I would like the resource-discovery component to automatically discover this list of subscriptions so that when a new one is created in the tenant, the resources of that subscriptions are automatically scraped by the scraper (thanks to the already available “monitor multiple subscriptions” feature on the scraper.
use case
I want to monitor all cpu of any VM of any subscription:
- resource-discovery -> give tenantId and create a landscape for the VirtualMachines of every subscriptions
- scraper -> create metrics regarding the CPU for all subscriptions given by the discovery component.
That would make it completely automatic regardless of subscriptions creation/deletion.
technical input
I have thought of using this API to do so: https://docs.microsoft.com/en-us/rest/api/resources/subscriptions/list
but this is part of resource management and not graph.
Thank you for consideration
Component
Resource Discovery
Contact Details
alban.hurtaud@amadeus.com
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:7 (5 by maintainers)

Top Related StackOverflow Question
It’s coming in v0.1.0 and will most likely be split indeed, but this will definitely be added.
POCed it and should be feasible.