az change-analysis
Note
This reference is part of the change-analysis extension for the Azure CLI (version 2.37.0 or higher). The extension will automatically install the first time you run an az change-analysis command. Learn more about extensions.
List changes for resources.
Commands
Name | Description | Type | Status |
---|---|---|---|
az change-analysis list |
List the changes of resources in the subscription within the specified time range. Customer data will always be masked. |
Extension | Preview |
az change-analysis list-by-resource |
List the changes of a resource within the specified time range. Customer data will be masked if the user doesn't have access. |
Extension | Preview |
az change-analysis list
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List the changes of resources in the subscription within the specified time range. Customer data will always be masked.
az change-analysis list --end-time
--start-time
[--resource-group]
[--skip-token]
Examples
List the changes of a subscription within the specific time range
az change-analysis list --start-time '05/24/2022 8:43:36' --end-time '05/25/2022 9:46:36'
List the changes of a resource group within the specific time range
az change-analysis list -g [ResourceGroup] --start-time '05/24/2022 8:43:36' --end-time '05/25/2022 9:46:36'
Required Parameters
Specifies the end time of the changes request.
Specifies the start time of the changes request.
Optional Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az change-analysis list-by-resource
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List the changes of a resource within the specified time range. Customer data will be masked if the user doesn't have access.
az change-analysis list-by-resource --end-time
--resource
--start-time
[--skip-token]
Examples
List the changes of a resource within the specified time range
az change-analysis list-by-resource -r [ResourceId] --start-time '05/24/2022 8:43:36' --end-time '05/25/2022 9:46:36'
Required Parameters
Specifies the end time of the changes request.
The identifier of the resource.
Specifies the start time of the changes request.
Optional Parameters
A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI