Skip to content

Files

Latest commit

88aa1be · Dec 5, 2023

History

History

ChangeAnalysis.Autorest

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023
Dec 5, 2023
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023

README.md

Az.ChangeAnalysis

This directory contains the PowerShell module for the ChangeAnalysis service.


Status

Az.ChangeAnalysis

Info

  • Modifiable: yes
  • Generated: all
  • Committed: yes
  • Packaged: yes

Detail

This module was primarily generated via AutoRest using the PowerShell extension.

Module Requirements

Authentication

AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent.

Development

For information on how to develop for Az.ChangeAnalysis, see how-to.md.

Run Generation

In this directory, run AutoRest:

autorest


AutoRest Configuration

see https://aka.ms/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"