I have two resources of the same kind and want to find a easy way to compare their configuration to find differences.
In my project I have several resources of the same kind but with slightly different configuration. I want to make a list of the configuration differences and want to find a easy way to do so.
I'm quite new to azure but I know there is a Resource explorer who shows me configuration in JSON format, but I'm not sure if this shows me the whole configuration or just a part of it and I don't know how to access it / download this configuration via CLI for comparison.
The resources are of different kind e.g. comsos db, key vault, data lake etc.
Whats the best way to do this task?
As I know, the Azure Storage Explorer will inculde the whole(or close to whole, this depends on specific case) configuration.
If you want to use CLI, you could use this command - az resource show
, it shows the details of the resources, just specify the --resource-type
with what resource you want.
az resource show [--api-version]
[--ids]
[--include-response-body {false, true}]
[--name]
[--namespace]
[--parent]
[--resource-group]
[--resource-type]
[--subscription]