Skip to content

[Az.ChangeAnalysis] Update generation tool version: autorest.powershell v3 -> v4 #27547

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the ""License"");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an ""AS IS"" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
// is regenerated.

using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - ChangeAnalysis")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.2")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.2")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]
7 changes: 0 additions & 7 deletions src/ChangeAnalysis/ChangeAnalysis.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@ 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
Expand All @@ -70,5 +64,4 @@ directive:
where: $.paths["/subscriptions/{subscriptionId}/providers/Microsoft.ChangeAnalysis/changes"].get.operationId
transform: >-
return "ChangeAnalysis_ListBySubscription"

```
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Module Name: Az.ChangeAnalysis
Module Guid: 435d96dc-827b-4220-a093-565c12c95e4a
Module Guid: 5dc9f3b4-16dc-477e-a1aa-973625cda463
Download Help Link: https://learn.microsoft.com/powershell/module/az.changeanalysis
Help Version: 1.0.0.0
Locale: en-US
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.Api20210401.IChange
### Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IChange

## NOTES

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"generate_Id": "2d249f46-6ff8-4899-93e3-9c38eb7d4408"
"generate_Id": "52f711d3-1e7f-4991-8033-3185b833637c"
}
11 changes: 11 additions & 0 deletions src/ChangeAnalysis/ChangeAnalysis.Autorest/resources/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Resources
This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder.

## Info
- Modifiable: yes
- Generated: no
- Committed: yes
- Packaged: no

## Purpose
Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact.
89 changes: 80 additions & 9 deletions src/ChangeAnalysis/ChangeAnalysis.sln
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
Expand All @@ -19,49 +19,119 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accoun
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChangeAnalysis", "ChangeAnalysis\ChangeAnalysis.csproj", "{E8DA7678-FDD4-4537-B579-B86D8947C619}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ChangeAnalysis", "..\..\generated\ChangeAnalysis\ChangeAnalysis.Autorest\Az.ChangeAnalysis.csproj", "{C8ED87FC-A0AB-46CF-93B6-81A8206CBE07}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ChangeAnalysis.Autorest", "ChangeAnalysis.Autorest", "{08052BF0-5CC4-1F1B-A4E6-F9D9E13F8EA2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ChangeAnalysis", "..\..\generated\ChangeAnalysis\ChangeAnalysis.Autorest\Az.ChangeAnalysis.csproj", "{6D62273E-131F-45E3-AF5C-20804461BC22}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{48CE3491-2C44-4F6A-AF79-7DEF88C77C3D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{48CE3491-2C44-4F6A-AF79-7DEF88C77C3D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{48CE3491-2C44-4F6A-AF79-7DEF88C77C3D}.Debug|x64.ActiveCfg = Debug|Any CPU
{48CE3491-2C44-4F6A-AF79-7DEF88C77C3D}.Debug|x64.Build.0 = Debug|Any CPU
{48CE3491-2C44-4F6A-AF79-7DEF88C77C3D}.Debug|x86.ActiveCfg = Debug|Any CPU
{48CE3491-2C44-4F6A-AF79-7DEF88C77C3D}.Debug|x86.Build.0 = Debug|Any CPU
{48CE3491-2C44-4F6A-AF79-7DEF88C77C3D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{48CE3491-2C44-4F6A-AF79-7DEF88C77C3D}.Release|Any CPU.Build.0 = Release|Any CPU
{48CE3491-2C44-4F6A-AF79-7DEF88C77C3D}.Release|x64.ActiveCfg = Release|Any CPU
{48CE3491-2C44-4F6A-AF79-7DEF88C77C3D}.Release|x64.Build.0 = Release|Any CPU
{48CE3491-2C44-4F6A-AF79-7DEF88C77C3D}.Release|x86.ActiveCfg = Release|Any CPU
{48CE3491-2C44-4F6A-AF79-7DEF88C77C3D}.Release|x86.Build.0 = Release|Any CPU
{51E1593E-69BD-4DD4-A1E2-3004A70B4448}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{51E1593E-69BD-4DD4-A1E2-3004A70B4448}.Debug|Any CPU.Build.0 = Debug|Any CPU
{51E1593E-69BD-4DD4-A1E2-3004A70B4448}.Debug|x64.ActiveCfg = Debug|Any CPU
{51E1593E-69BD-4DD4-A1E2-3004A70B4448}.Debug|x64.Build.0 = Debug|Any CPU
{51E1593E-69BD-4DD4-A1E2-3004A70B4448}.Debug|x86.ActiveCfg = Debug|Any CPU
{51E1593E-69BD-4DD4-A1E2-3004A70B4448}.Debug|x86.Build.0 = Debug|Any CPU
{51E1593E-69BD-4DD4-A1E2-3004A70B4448}.Release|Any CPU.ActiveCfg = Release|Any CPU
{51E1593E-69BD-4DD4-A1E2-3004A70B4448}.Release|Any CPU.Build.0 = Release|Any CPU
{51E1593E-69BD-4DD4-A1E2-3004A70B4448}.Release|x64.ActiveCfg = Release|Any CPU
{51E1593E-69BD-4DD4-A1E2-3004A70B4448}.Release|x64.Build.0 = Release|Any CPU
{51E1593E-69BD-4DD4-A1E2-3004A70B4448}.Release|x86.ActiveCfg = Release|Any CPU
{51E1593E-69BD-4DD4-A1E2-3004A70B4448}.Release|x86.Build.0 = Release|Any CPU
{74A551B4-0194-4266-9A25-0114CC8CB29D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{74A551B4-0194-4266-9A25-0114CC8CB29D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{74A551B4-0194-4266-9A25-0114CC8CB29D}.Debug|x64.ActiveCfg = Debug|Any CPU
{74A551B4-0194-4266-9A25-0114CC8CB29D}.Debug|x64.Build.0 = Debug|Any CPU
{74A551B4-0194-4266-9A25-0114CC8CB29D}.Debug|x86.ActiveCfg = Debug|Any CPU
{74A551B4-0194-4266-9A25-0114CC8CB29D}.Debug|x86.Build.0 = Debug|Any CPU
{74A551B4-0194-4266-9A25-0114CC8CB29D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{74A551B4-0194-4266-9A25-0114CC8CB29D}.Release|Any CPU.Build.0 = Release|Any CPU
{74A551B4-0194-4266-9A25-0114CC8CB29D}.Release|x64.ActiveCfg = Release|Any CPU
{74A551B4-0194-4266-9A25-0114CC8CB29D}.Release|x64.Build.0 = Release|Any CPU
{74A551B4-0194-4266-9A25-0114CC8CB29D}.Release|x86.ActiveCfg = Release|Any CPU
{74A551B4-0194-4266-9A25-0114CC8CB29D}.Release|x86.Build.0 = Release|Any CPU
{E436F692-EEA4-4C0C-867A-E3F160FBA845}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E436F692-EEA4-4C0C-867A-E3F160FBA845}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E436F692-EEA4-4C0C-867A-E3F160FBA845}.Debug|x64.ActiveCfg = Debug|Any CPU
{E436F692-EEA4-4C0C-867A-E3F160FBA845}.Debug|x64.Build.0 = Debug|Any CPU
{E436F692-EEA4-4C0C-867A-E3F160FBA845}.Debug|x86.ActiveCfg = Debug|Any CPU
{E436F692-EEA4-4C0C-867A-E3F160FBA845}.Debug|x86.Build.0 = Debug|Any CPU
{E436F692-EEA4-4C0C-867A-E3F160FBA845}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E436F692-EEA4-4C0C-867A-E3F160FBA845}.Release|Any CPU.Build.0 = Release|Any CPU
{E436F692-EEA4-4C0C-867A-E3F160FBA845}.Release|x64.ActiveCfg = Release|Any CPU
{E436F692-EEA4-4C0C-867A-E3F160FBA845}.Release|x64.Build.0 = Release|Any CPU
{E436F692-EEA4-4C0C-867A-E3F160FBA845}.Release|x86.ActiveCfg = Release|Any CPU
{E436F692-EEA4-4C0C-867A-E3F160FBA845}.Release|x86.Build.0 = Release|Any CPU
{14FE7B37-6C71-45C8-9635-150719B2EF97}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{14FE7B37-6C71-45C8-9635-150719B2EF97}.Debug|Any CPU.Build.0 = Debug|Any CPU
{14FE7B37-6C71-45C8-9635-150719B2EF97}.Debug|x64.ActiveCfg = Debug|Any CPU
{14FE7B37-6C71-45C8-9635-150719B2EF97}.Debug|x64.Build.0 = Debug|Any CPU
{14FE7B37-6C71-45C8-9635-150719B2EF97}.Debug|x86.ActiveCfg = Debug|Any CPU
{14FE7B37-6C71-45C8-9635-150719B2EF97}.Debug|x86.Build.0 = Debug|Any CPU
{14FE7B37-6C71-45C8-9635-150719B2EF97}.Release|Any CPU.ActiveCfg = Release|Any CPU
{14FE7B37-6C71-45C8-9635-150719B2EF97}.Release|Any CPU.Build.0 = Release|Any CPU
{14FE7B37-6C71-45C8-9635-150719B2EF97}.Release|x64.ActiveCfg = Release|Any CPU
{14FE7B37-6C71-45C8-9635-150719B2EF97}.Release|x64.Build.0 = Release|Any CPU
{14FE7B37-6C71-45C8-9635-150719B2EF97}.Release|x86.ActiveCfg = Release|Any CPU
{14FE7B37-6C71-45C8-9635-150719B2EF97}.Release|x86.Build.0 = Release|Any CPU
{F96748C3-9714-4EC5-AB74-8D6CEBBAF01B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F96748C3-9714-4EC5-AB74-8D6CEBBAF01B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F96748C3-9714-4EC5-AB74-8D6CEBBAF01B}.Debug|x64.ActiveCfg = Debug|Any CPU
{F96748C3-9714-4EC5-AB74-8D6CEBBAF01B}.Debug|x64.Build.0 = Debug|Any CPU
{F96748C3-9714-4EC5-AB74-8D6CEBBAF01B}.Debug|x86.ActiveCfg = Debug|Any CPU
{F96748C3-9714-4EC5-AB74-8D6CEBBAF01B}.Debug|x86.Build.0 = Debug|Any CPU
{F96748C3-9714-4EC5-AB74-8D6CEBBAF01B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F96748C3-9714-4EC5-AB74-8D6CEBBAF01B}.Release|Any CPU.Build.0 = Release|Any CPU
{F96748C3-9714-4EC5-AB74-8D6CEBBAF01B}.Release|x64.ActiveCfg = Release|Any CPU
{F96748C3-9714-4EC5-AB74-8D6CEBBAF01B}.Release|x64.Build.0 = Release|Any CPU
{F96748C3-9714-4EC5-AB74-8D6CEBBAF01B}.Release|x86.ActiveCfg = Release|Any CPU
{F96748C3-9714-4EC5-AB74-8D6CEBBAF01B}.Release|x86.Build.0 = Release|Any CPU
{E8DA7678-FDD4-4537-B579-B86D8947C619}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E8DA7678-FDD4-4537-B579-B86D8947C619}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E8DA7678-FDD4-4537-B579-B86D8947C619}.Debug|x64.ActiveCfg = Debug|Any CPU
{E8DA7678-FDD4-4537-B579-B86D8947C619}.Debug|x64.Build.0 = Debug|Any CPU
{E8DA7678-FDD4-4537-B579-B86D8947C619}.Debug|x86.ActiveCfg = Debug|Any CPU
{E8DA7678-FDD4-4537-B579-B86D8947C619}.Debug|x86.Build.0 = Debug|Any CPU
{E8DA7678-FDD4-4537-B579-B86D8947C619}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E8DA7678-FDD4-4537-B579-B86D8947C619}.Release|Any CPU.Build.0 = Release|Any CPU
{C8ED87FC-A0AB-46CF-93B6-81A8206CBE07}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C8ED87FC-A0AB-46CF-93B6-81A8206CBE07}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C8ED87FC-A0AB-46CF-93B6-81A8206CBE07}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C8ED87FC-A0AB-46CF-93B6-81A8206CBE07}.Release|Any CPU.Build.0 = Release|Any CPU
{E8DA7678-FDD4-4537-B579-B86D8947C619}.Release|x64.ActiveCfg = Release|Any CPU
{E8DA7678-FDD4-4537-B579-B86D8947C619}.Release|x64.Build.0 = Release|Any CPU
{E8DA7678-FDD4-4537-B579-B86D8947C619}.Release|x86.ActiveCfg = Release|Any CPU
{E8DA7678-FDD4-4537-B579-B86D8947C619}.Release|x86.Build.0 = Release|Any CPU
{6D62273E-131F-45E3-AF5C-20804461BC22}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6D62273E-131F-45E3-AF5C-20804461BC22}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6D62273E-131F-45E3-AF5C-20804461BC22}.Debug|x64.ActiveCfg = Debug|Any CPU
{6D62273E-131F-45E3-AF5C-20804461BC22}.Debug|x64.Build.0 = Debug|Any CPU
{6D62273E-131F-45E3-AF5C-20804461BC22}.Debug|x86.ActiveCfg = Debug|Any CPU
{6D62273E-131F-45E3-AF5C-20804461BC22}.Debug|x86.Build.0 = Debug|Any CPU
{6D62273E-131F-45E3-AF5C-20804461BC22}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6D62273E-131F-45E3-AF5C-20804461BC22}.Release|Any CPU.Build.0 = Release|Any CPU
{6D62273E-131F-45E3-AF5C-20804461BC22}.Release|x64.ActiveCfg = Release|Any CPU
{6D62273E-131F-45E3-AF5C-20804461BC22}.Release|x64.Build.0 = Release|Any CPU
{6D62273E-131F-45E3-AF5C-20804461BC22}.Release|x86.ActiveCfg = Release|Any CPU
{6D62273E-131F-45E3-AF5C-20804461BC22}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{48CE3491-2C44-4F6A-AF79-7DEF88C77C3D} = {73F93B10-E32F-4ACE-A88B-05CE1BAD1985}
Expand All @@ -70,5 +140,6 @@ Global
{E436F692-EEA4-4C0C-867A-E3F160FBA845} = {73F93B10-E32F-4ACE-A88B-05CE1BAD1985}
{14FE7B37-6C71-45C8-9635-150719B2EF97} = {73F93B10-E32F-4ACE-A88B-05CE1BAD1985}
{F96748C3-9714-4EC5-AB74-8D6CEBBAF01B} = {73F93B10-E32F-4ACE-A88B-05CE1BAD1985}
{6D62273E-131F-45E3-AF5C-20804461BC22} = {08052BF0-5CC4-1F1B-A4E6-F9D9E13F8EA2}
EndGlobalSection
EndGlobal
14 changes: 7 additions & 7 deletions src/ChangeAnalysis/ChangeAnalysis/Az.ChangeAnalysis.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 1/9/2025
# Generated on: 2025-04-11
#

@{
Expand Down Expand Up @@ -51,19 +51,19 @@ DotNetFrameworkVersion = '4.7.2'
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.0.1'; })
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.1.0'; })

# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = 'ChangeAnalysis.Autorest/bin/Az.ChangeAnalysis.private.dll'

# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @()
ScriptsToProcess = @()

# Type files (.ps1xml) to be loaded when importing this module
# TypesToProcess = @()
TypesToProcess = @()

# Format files (.ps1xml) to be loaded when importing this module
FormatsToProcess = 'ChangeAnalysis.Autorest\Az.ChangeAnalysis.format.ps1xml'
FormatsToProcess = 'ChangeAnalysis.Autorest/Az.ChangeAnalysis.format.ps1xml'

# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
NestedModules = @('ChangeAnalysis.Autorest/Az.ChangeAnalysis.psm1')
Expand Down Expand Up @@ -95,7 +95,7 @@ PrivateData = @{
PSData = @{

# Tags applied to this module. These help with module discovery in online galleries.
Tags = 'Azure','ResourceManager','ARM','PSModule','ChangeAnalysis'
Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'ChangeAnalysis'

# A URL to the license for this module.
LicenseUri = 'https://aka.ms/azps-license'
Expand All @@ -120,7 +120,7 @@ PrivateData = @{

} # End of PSData hashtable

} # End of PrivateData hashtable
} # End of PrivateData hashtable

# HelpInfo URI of this module
# HelpInfoURI = ''
Expand Down
1 change: 1 addition & 0 deletions src/ChangeAnalysis/ChangeAnalysis/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
-->

## Upcoming Release
* Introduced various new features by upgrading code generator. Please see detail [here](https://github.com/Azure/azure-powershell/blob/main/documentation/Autorest-powershell-v4-new-features.md).

## Version 0.1.2
* Upgraded nuget package to signed package.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.Api20210401.IChange
### Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.IChange

## NOTES

Expand Down