CloudSketch is a CLI tool for turning Azure subscriptions into DrawIO diagrams.
Ensure the executable has been added to your PATH, and run it with the ID of the subscription you want to draw.
cloudsketch <subscription_id>
To remove unwanted resources from the final diagram, it is possible to provide a configuration file that must be placed in the same directory as the Cloudsketch executable. This configuration file must be called .cloudsketch.json and should be structured as follows, replacing unwanted resources as appropriate:
{
"blacklist": [
"APPLICATION_SECURITY_GROUP"
]
}In the blacklist property it is possible to specify resources that should not be included in the final diagram. Accepted values can be found here