az group export
Captures a resource group as a template. Azure CLI reference
3 options Its page in the Azure CLI reference
Options
--export-formatThe format of the exported template.--include-parameter-default-value, --skip-resource-name-params, --include-comments, --skip-all-params--resource-idsspace-separated resource ids to filter the export by.