This directory contains the PowerShell module for the ChangeAnalysis service.
- Modifiable: yes
- Generated: all
- Committed: yes
- Packaged: yes
This module was primarily generated via AutoRest using the PowerShell extension.
- Az.Accounts module, version 2.2.3 or greater
AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent.
For information on how to develop for Az.ChangeAnalysis
, see how-to.md.
In this directory, run AutoRest:
autorest
# lock the commit
commit: 4b131739f528aea3da3ee4f6874da20602629432
require:
- $(this-folder)/../../readme.azure.noprofile.md
input-file:
- $(repo)/specification/changeanalysis/resource-manager/Microsoft.ChangeAnalysis/stable/2021-04-01/changeanalysis.json
title: ChangeAnalysis
module-version: 0.1.0
subject-prefix: $(service-name)
identity-correction-for-post: true
# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option
use-extension:
"@autorest/powershell": "3.x"
directive:
- from: swagger-document
where: $.paths["/{resourceId}/providers/Microsoft.ChangeAnalysis/resourceChanges"].post.summary
transform: >-
return "Customer data is always masked if query at subscription or resource group level. For query on a single resource, customer data is masked if the user doesn’t have access."
# Merged cmdlet because the response of two get-* cmdlet are same.
- from: swagger-document
where: $.paths["/{resourceId}/providers/Microsoft.ChangeAnalysis/resourceChanges"].post.operationId
transform: >-
return "ChangeAnalysis_ListByResourceId"
- from: swagger-document
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ChangeAnalysis/changes"].get.operationId
transform: >-
return "ChangeAnalysis_ListByResourceGroup"
- from: swagger-document
where: $.paths["/subscriptions/{subscriptionId}/providers/Microsoft.ChangeAnalysis/changes"].get.operationId
transform: >-
return "ChangeAnalysis_ListBySubscription"