Skip to content

Conversation

@Pan-Qi
Copy link
Contributor

@Pan-Qi Pan-Qi commented Jan 17, 2026

Description

Autorest Upgrade - 4.0.752 to populate autorest bug fix Azure/autorest.powershell#1540

Modules: App, PaloAltoNetworks, DynatraceObservability, EdgeAction

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

Copilot AI review requested due to automatic review settings January 17, 2026 14:59
@azure-client-tools-bot-prd
Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades AutoRest to version 4.0.752 and applies the changes to four Azure PowerShell modules: App, PaloAltoNetworks, DynatraceObservability, and EdgeAction. The upgrade adds a ModelCmdletAttribute decorator to auto-generated model cmdlet functions and introduces a new AssemblyInfo.cs file.

Changes:

  • Added [Microsoft.Azure.PowerShell.Cmdlets.App.ModelCmdletAttribute()] attribute to 22 model cmdlet functions in the App module
  • Introduced a new AssemblyInfo.cs file with assembly metadata for the App.Autorest project

Reviewed changes

Copilot reviewed 23 out of 352 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
New-AzContainerAppWorkloadProfileObject.ps1 Added ModelCmdletAttribute to function declaration
New-AzContainerAppVolumeObject.ps1 Added ModelCmdletAttribute to function declaration
New-AzContainerAppVolumeMountObject.ps1 Added ModelCmdletAttribute to function declaration
New-AzContainerAppTrafficWeightObject.ps1 Added ModelCmdletAttribute to function declaration
New-AzContainerAppTemplateObject.ps1 Added ModelCmdletAttribute to function declaration
New-AzContainerAppServiceBindObject.ps1 Added ModelCmdletAttribute to function declaration
New-AzContainerAppSecretVolumeItemObject.ps1 Added ModelCmdletAttribute to function declaration
New-AzContainerAppSecretObject.ps1 Added ModelCmdletAttribute to function declaration
New-AzContainerAppScaleRuleObject.ps1 Added ModelCmdletAttribute to function declaration
New-AzContainerAppScaleRuleAuthObject.ps1 Added ModelCmdletAttribute to function declaration
New-AzContainerAppRegistryCredentialObject.ps1 Added ModelCmdletAttribute to function declaration
New-AzContainerAppProbeObject.ps1 Added ModelCmdletAttribute to function declaration
New-AzContainerAppProbeHeaderObject.ps1 Added ModelCmdletAttribute to function declaration
New-AzContainerAppJobScaleRuleObject.ps1 Added ModelCmdletAttribute to function declaration
New-AzContainerAppJobExecutionContainerObject.ps1 Added ModelCmdletAttribute to function declaration
New-AzContainerAppInitContainerTemplateObject.ps1 Added ModelCmdletAttribute to function declaration
New-AzContainerAppIdentityProviderObject.ps1 Added ModelCmdletAttribute to function declaration
New-AzContainerAppIPSecurityRestrictionRuleObject.ps1 Added ModelCmdletAttribute to function declaration
New-AzContainerAppEnvironmentVarObject.ps1 Added ModelCmdletAttribute to function declaration
New-AzContainerAppDaprMetadataObject.ps1 Added ModelCmdletAttribute to function declaration
New-AzContainerAppCustomDomainObject.ps1 Added ModelCmdletAttribute to function declaration
New-AzContainerAppConfigurationObject.ps1 Added ModelCmdletAttribute to function declaration
AssemblyInfo.cs New file with assembly metadata and version information

// 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
Copy link

Copilot AI Jan 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing space after period. Should be 'Code Generator. Changes' instead of 'Code Generator.Changes'.

Suggested change
// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
// Code generated by Microsoft (R) AutoRest Code Generator. Changes may cause incorrect behavior and will be lost if the code

Copilot uses AI. Check for mistakes.
Copilot AI review requested due to automatic review settings January 18, 2026 12:28
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 23 out of 358 changed files in this pull request and generated 2 comments.

Comment on lines +2 to +7
// 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,
Copy link

Copilot AI Jan 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected escaped double quotes in license header comment from ""License"" to "License".

Suggested change
// 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,
// 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,

Copilot uses AI. Check for mistakes.
@@ -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.
Copy link

Copilot AI Jan 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected capitalization of 'License' to maintain consistency with standard Apache 2.0 license text.

Suggested change
// you may not use this file except in compliance with the License.
// You may not use this file except in compliance with the License.

Copilot uses AI. Check for mistakes.
@Pan-Qi Pan-Qi marked this pull request as ready for review January 18, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants