-
Notifications
You must be signed in to change notification settings - Fork 4k
[Az.Attestation] The code base is going to be refactored, the following cmdlet adds a BreakingChange announcement #28278
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
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, | ||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The license comment has incorrect escaping of quotes. It should be 'distributed under the License is distributed on an "AS IS" BASIS,' without the double quotes.
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||||||||||||
// 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 - Attestation")] | ||||||||||||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.1.0")] | ||||||||||||||||
[assembly: System.Reflection.AssemblyVersionAttribute("2.1.0")] | ||||||||||||||||
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] | ||||||||||||||||
[assembly: System.CLSCompliantAttribute(false)] |
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -54,6 +54,7 @@ https://learn.microsoft.com/powershell/module/az.attestation/new-azattestationpr | |||||||||||||||||||||
#> | ||||||||||||||||||||||
function New-AzAttestationProvider { | ||||||||||||||||||||||
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.Api20201001.IAttestationProvider])] | ||||||||||||||||||||||
[Microsoft.Azure.PowerShell.Cmdlets.Attestation.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.Api20201001.IAttestationProvider", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.IAttestationProvider", DeprecatedOutputProperties = ("PrivateEndpointConnection Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.IPrivateEndpointConnection"), NewOutputProperties = ("PrivateEndpointConnection System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.IPrivateEndpointConnection]"))] | ||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [nitpick] This breaking change attribute is extremely long and difficult to read. Consider splitting it across multiple lines or using variables to improve readability.
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||||||||||||||||||
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] | ||||||||||||||||||||||
param( | ||||||||||||||||||||||
[Parameter(Mandatory)] | ||||||||||||||||||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"generate_Id": "5e8ddaa3-8fba-4e97-8810-64ed6c716d18" | ||
"generate_Id": "245b047d-86c0-4a5a-ad56-55708ae366c2" | ||
} |
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The license comment has incorrect escaping of quotes. It should be 'Licensed under the Apache License, Version 2.0 (the "License");' without the double quotes.
Copilot uses AI. Check for mistakes.