diff --git a/Commands/change-analysis/_list-by-resource.md b/Commands/change-analysis/_list-by-resource.md new file mode 100644 index 00000000000..55ccbc5fb0b --- /dev/null +++ b/Commands/change-analysis/_list-by-resource.md @@ -0,0 +1,16 @@ +# [Command] _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. + +## Versions + +### [2021-04-01](/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LmNoYW5nZWFuYWx5c2lzL3Jlc291cmNlY2hhbmdlcw==/2021-04-01.xml) **Preview** + + + +#### examples + +- List the changes of a resource within the specified time range + ```bash + change-analysis list-by-resource -r [ResourceId] --start-time '05/24/2022 8:43:36' --end-time '05/25/2022 9:46:36' + ``` diff --git a/Commands/change-analysis/_list.md b/Commands/change-analysis/_list.md new file mode 100644 index 00000000000..965d35b27de --- /dev/null +++ b/Commands/change-analysis/_list.md @@ -0,0 +1,22 @@ +# [Command] _change-analysis list_ + +List the changes of resources in the subscription within the specified time range. Customer data will always be masked. + +## Versions + +### [2021-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFuZ2VhbmFseXNpcy9jaGFuZ2Vz/2021-04-01.xml) **Preview** + + + + +#### examples + +- List the changes of a subscription within the specific time range + ```bash + 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 + ```bash + change-analysis list -g [ResourceGroup] --start-time '05/24/2022 8:43:36' --end-time '05/25/2022 9:46:36' + ``` diff --git a/Commands/change-analysis/readme.md b/Commands/change-analysis/readme.md new file mode 100644 index 00000000000..dcf981d6647 --- /dev/null +++ b/Commands/change-analysis/readme.md @@ -0,0 +1,11 @@ +# [Group] _change-analysis_ + +List changes for resources + +## Commands + +- [list](/Commands/change-analysis/_list.md) +: List the changes of resources in the subscription within the specified time range. Customer data will always be masked. + +- [list-by-resource](/Commands/change-analysis/_list-by-resource.md) +: List the changes of a resource within the specified time range. Customer data will be masked if the user doesn't have access. diff --git a/Commands/readme.md b/Commands/readme.md new file mode 100644 index 00000000000..c2635e48537 --- /dev/null +++ b/Commands/readme.md @@ -0,0 +1,6 @@ +# Atomic Azure CLI Commands + +## Groups + +- [change-analysis](/Commands/change-analysis/readme.md) +: List changes for resources diff --git a/Commands/tree.json b/Commands/tree.json new file mode 100644 index 00000000000..c7a7363bb9b --- /dev/null +++ b/Commands/tree.json @@ -0,0 +1,90 @@ +{ + "root": { + "commandGroups": { + "change-analysis": { + "commands": { + "list": { + "help": { + "short": "List the changes of resources in the subscription within the specified time range. Customer data will always be masked." + }, + "names": [ + "change-analysis", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "change-analysis list --start-time '05/24/2022 8:43:36' --end-time '05/25/2022 9:46:36'" + ], + "name": "List the changes of a subscription within the specific time range" + }, + { + "commands": [ + "change-analysis list -g [ResourceGroup] --start-time '05/24/2022 8:43:36' --end-time '05/25/2022 9:46:36'" + ], + "name": "List the changes of a resource group within the specific time range" + } + ], + "name": "2021-04-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.changeanalysis/changes", + "plane": "mgmt-plane", + "version": "2021-04-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.changeanalysis/changes", + "plane": "mgmt-plane", + "version": "2021-04-01" + } + ], + "stage": "Preview" + } + ] + }, + "list-by-resource": { + "help": { + "short": "List the changes of a resource within the specified time range. Customer data will be masked if the user doesn't have access." + }, + "names": [ + "change-analysis", + "list-by-resource" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "change-analysis list-by-resource -r [ResourceId] --start-time '05/24/2022 8:43:36' --end-time '05/25/2022 9:46:36'" + ], + "name": "List the changes of a resource within the specified time range" + } + ], + "name": "2021-04-01", + "resources": [ + { + "id": "/{resourceid}/providers/microsoft.changeanalysis/resourcechanges", + "plane": "mgmt-plane", + "version": "2021-04-01" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "List changes for resources" + }, + "names": [ + "change-analysis" + ] + } + }, + "names": [ + "aaz" + ] + } +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFuZ2VhbmFseXNpcy9jaGFuZ2Vz/2021-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFuZ2VhbmFseXNpcy9jaGFuZ2Vz/2021-04-01.xml new file mode 100644 index 00000000000..1e4e9027fb6 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFuZ2VhbmFseXNpcy9jaGFuZ2Vz/2021-04-01.xml @@ -0,0 +1,220 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFuZ2VhbmFseXNpcy9jaGFuZ2Vz/2021-04-01.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFuZ2VhbmFseXNpcy9jaGFuZ2Vz/2021-04-01.md new file mode 100644 index 00000000000..c8de6c6fee9 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFuZ2VhbmFseXNpcy9jaGFuZ2Vz/2021-04-01.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.changeanalysis/changes 2021-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFuZ2VhbmFseXNpcy9jaGFuZ2Vz/2021-04-01.xml) diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LmNoYW5nZWFuYWx5c2lzL3Jlc291cmNlY2hhbmdlcw==/2021-04-01.xml b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LmNoYW5nZWFuYWx5c2lzL3Jlc291cmNlY2hhbmdlcw==/2021-04-01.xml new file mode 100644 index 00000000000..d881821becb --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LmNoYW5nZWFuYWx5c2lzL3Jlc291cmNlY2hhbmdlcw==/2021-04-01.xml @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +