Skip to content

[devcenter] Add breaking change deprecation messages for 2025-04-01-preview API #28080

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

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
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
26 changes: 26 additions & 0 deletions src/DevCenter/DevCenter.AutoRest/Properties/AssemblyInfo.cs
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 - DevCenter")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.0.1")]
[assembly: System.Reflection.AssemblyVersionAttribute("2.0.1")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]
129 changes: 129 additions & 0 deletions src/DevCenter/DevCenter.AutoRest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,135 @@ directive:
subject: OperationStatuses
set:
subject: OperationStatus
#Breaking changes
- where:
subject: ^Plan$|^PlanMember$
set:
breaking-change:
change-description: The Plan and PlanMember resources will be removed.
deprecated-by-version: 3.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/18
- where:
verb: Connect
subject: ^Catalog$|^ProjectCatalog$
set:
breaking-change:
replacement-cmdlet: $.replace("DevCenter", "AzDevCenterAdmin")
change-description: PlanName and MemberName will be removed from the InputObject parameter.
deprecated-by-version: 3.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/18
- where:
verb: Get|Update|New|Remove
subject: DevCenter
set:
breaking-change:
replacement-cmdlet: $.replace("DevCenter", "AzDevCenterAdminDevCenter")
change-description: PlanName and MemberName will be removed from the InputObject parameter.
deprecated-by-version: 3.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/18
- where:
subject: DevCenter
set:
breaking-change:
replacement-cmdlet: $.replace("DevCenter", "AzDevCenterAdminDevCenter")
deprecated-cmdlet-output-type: DevCenter
deprecated-output-properties:
- PlanId
change-description: PlanId will be removed from the DevCenter output.
deprecated-by-version: 3.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/18
- where:
verb: Get
subject: ^AttachedNetwork$|^Catalog$|^CatalogSyncErrorDetail$|^CustomizationTask$|^CustomizationTaskErrorDetail$|^DevBoxDefinition$|^EnvironmentDefinition$|^EnvironmentDefinitionErrorDetail$|^EnvironmentType$|^Gallery$|^Image$|^ImageVersion$|^NetworkConnection$|^NetworkConnectionHealthDetail$|^OperationStatus$|^Pool$|^Project$|^ProjectAllowedEnvironmentType$|^ProjectCatalog$|^ProjectCatalogSyncErrorDetail$|^ProjectEnvironmentDefinition$|^ProjectEnvironmentType$|^ProjectInheritedSetting$|^ProjectEnvironmentDefinitionErrorDetail$|^Schedule$
set:
breaking-change:
replacement-cmdlet: $.replace("DevCenter", "AzDevCenterAdmin")
change-description: PlanName and MemberName will be removed from the InputObject parameter.
deprecated-by-version: 3.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/18
- where:
verb: Get
subject: ImageVersion
variant: List
set:
breaking-change:
change-description: The default parameter set will change from list dev center image versions to list project image versions.
deprecated-by-version: 3.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/18
- where:
parameter-name: PlanId
set:
breaking-change:
change-description: PlanId parameter will be removed.
deprecated-by-version: 3.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/18
- where:
verb: Invoke
subject: ^ExecuteCheckNameAvailability$|^ExecuteCheckScopedNameAvailability$
set:
breaking-change:
replacement-cmdlet: $.replace("DevCenter", "AzDevCenterAdmin")
change-description: PlanName and MemberName will be removed from the InputObject parameter.
deprecated-by-version: 3.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/18
- where:
verb: New
subject: ^AttachedNetwork$|^Catalog$|^DevBoxDefinition$|^EnvironmentType$|^Gallery$|^NetworkConnection$|^Pool$|^Project$|^ProjectCatalog$|^ProjectEnvironmentType$|^Schedule$
set:
breaking-change:
replacement-cmdlet: $.replace("DevCenter", "AzDevCenterAdmin")
change-description: PlanName and MemberName will be removed from the InputObject parameter.
deprecated-by-version: 3.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/18
- where:
verb: Remove
subject: ^AttachedNetwork$|^Catalog$|^DevBoxDefinition$|^EnvironmentType$|^Gallery$|^NetworkConnection$|^Pool$|^Project$|^ProjectCatalog$|^ProjectEnvironmentType$|^Schedule$
set:
breaking-change:
replacement-cmdlet: $.replace("DevCenter", "AzDevCenterAdmin")
change-description: PlanName and MemberName will be removed from the InputObject parameter.
deprecated-by-version: 3.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/18
- where:
verb: Start
subject: ^NetworkConnectionHealthCheck$|^PoolHealthCheck$
set:
breaking-change:
replacement-cmdlet: $.replace("DevCenter", "AzDevCenterAdmin")
change-description: PlanName and MemberName will be removed from the InputObject parameter.
deprecated-by-version: 3.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/18
- where:
verb: Sync
subject: ^Catalog$|^ProjectCatalog$
set:
breaking-change:
replacement-cmdlet: $.replace("DevCenter", "AzDevCenterAdmin")
change-description: PlanName and MemberName will be removed from the InputObject parameter.
deprecated-by-version: 3.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/18
- where:
verb: Update
subject: ^Catalog$|^DevBoxDefinition$|^EnvironmentType$|^NetworkConnection$|^Pool$|^Project$|^ProjectCatalog$|^ProjectEnvironmentType$|^Schedule$
set:
breaking-change:
replacement-cmdlet: $.replace("DevCenter", "AzDevCenterAdmin")
change-description: PlanName and MemberName will be removed from the InputObject parameter.
deprecated-by-version: 3.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/18
- where:
subject: ^(.*)
set:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# region Generated
# Load the private module dll
$null = Import-Module -PassThru -Name (Join-Path $PSScriptRoot '..\bin\Az.DevCenter.private.dll')
$null = Import-Module -PassThru -Name (Join-Path $PSScriptRoot '../bin/Az.DevCenter.private.dll')

# Load the internal module
$internalModulePath = Join-Path $PSScriptRoot '..\internal\Az.DevCenter.internal.psm1'
$internalModulePath = Join-Path $PSScriptRoot '../internal/Az.DevCenter.internal.psm1'
if(Test-Path $internalModulePath) {
$null = Import-Module -Name $internalModulePath
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ https://learn.microsoft.com/powershell/module/az.devcenter/get-azdevcenteradmins
function Get-AzDevCenterAdminSchedule {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20240501Preview.ISchedule])]
[CmdletBinding(DefaultParameterSetName = 'GetWithDefault', PositionalBinding = $false)]
[Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Runtime.GenericBreakingChangeAttribute("MemberName and PlanName will be removed from InputObject", "15.0.0", "3.0.0", "2025/11/18")]
param(
[Parameter(ParameterSetName = 'GetWithDefault', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Category('Path')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ https://learn.microsoft.com/powershell/module/az.devcenter/new-azdevcenteradmina
function New-AzDevCenterAdminAttachedNetwork {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20240501Preview.IAttachedNetworkConnection])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Runtime.GenericBreakingChangeAttribute("MemberName and PlanName will be removed from InputObject", "15.0.0", "3.0.0", "2025/11/18")]
param(
[Parameter(ParameterSetName='CreateExpanded', Mandatory)]
[Alias('AttachedNetworkConnectionName')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ https://learn.microsoft.com/powershell/module/az.devcenter/new-azdevcenteradminc
function New-AzDevCenterAdminCatalog {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20240501Preview.ICatalog])]
[CmdletBinding(DefaultParameterSetName='CreateExpandedAdo', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Runtime.GenericBreakingChangeAttribute("MemberName and PlanName will be removed from InputObject", "15.0.0", "3.0.0", "2025/11/18")]
param(
[Parameter(ParameterSetName='CreateExpandedAdo', Mandatory)]
[Parameter(ParameterSetName='CreateExpandedGitHub', Mandatory)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ https://learn.microsoft.com/powershell/module/az.devcenter/new-azdevcenteradmind
function New-AzDevCenterAdminDevBoxDefinition {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20240501Preview.IDevBoxDefinition])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Runtime.GenericBreakingChangeAttribute("MemberName and PlanName will be removed from InputObject", "15.0.0", "3.0.0", "2025/11/18")]
param(
[Parameter(ParameterSetName='CreateExpanded', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Category('Path')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ https://learn.microsoft.com/powershell/module/az.devcenter/new-azdevcenteradming
function New-AzDevCenterAdminGallery {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20240501Preview.IGallery])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Runtime.GenericBreakingChangeAttribute("MemberName and PlanName will be removed from InputObject", "15.0.0", "3.0.0", "2025/11/18")]
param(
[Parameter(ParameterSetName='CreateExpanded', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Category('Path')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ https://learn.microsoft.com/powershell/module/az.devcenter/new-azdevcenteradminn
function New-AzDevCenterAdminNetworkConnection {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20240501Preview.INetworkConnection])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Runtime.GenericBreakingChangeAttribute("MemberName and PlanName will be removed from InputObject", "15.0.0", "3.0.0", "2025/11/18")]
param(
[Parameter(ParameterSetName='CreateExpanded', Mandatory)]
[Alias('NetworkConnectionName')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ https://learn.microsoft.com/powershell/module/az.devcenter/new-azdevcenteradminp
function New-AzDevCenterAdminPlan {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20240501Preview.IDevCenterPlan])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Runtime.GenericBreakingChangeAttribute("The Plan resource will be deprecated", "15.0.0", "3.0.0", "2025/11/18")]
param(
[Parameter(ParameterSetName='CreateExpanded', Mandatory)]
[Alias('PlanName')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ https://learn.microsoft.com/powershell/module/az.devcenter/new-azdevcenteradminp
function New-AzDevCenterAdminPlanMember {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20240501Preview.IDevCenterPlanMember])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Runtime.GenericBreakingChangeAttribute("The PlanMember resource will be deprecated", "15.0.0", "3.0.0", "2025/11/18")]
param(
[Parameter(ParameterSetName='CreateExpanded', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Category('Path')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ https://learn.microsoft.com/powershell/module/az.devcenter/new-azdevcenteradminp
function New-AzDevCenterAdminPool {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20240501Preview.IPool])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Runtime.GenericBreakingChangeAttribute("MemberName and PlanName will be removed from InputObject", "15.0.0", "3.0.0", "2025/11/18")]
param(
[Parameter(ParameterSetName='CreateExpanded', Mandatory)]
[Alias('PoolName')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ https://learn.microsoft.com/powershell/module/az.devcenter/new-azdevcenteradminp
function New-AzDevCenterAdminProject {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20240501Preview.IProject])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Runtime.GenericBreakingChangeAttribute("MemberName and PlanName will be removed from InputObject", "15.0.0", "3.0.0", "2025/11/18")]
param(
[Parameter(ParameterSetName='CreateExpanded', Mandatory)]
[Alias('ProjectName')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ https://learn.microsoft.com/powershell/module/az.devcenter/new-azdevcenteradminp
function New-AzDevCenterAdminProjectCatalog {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20240501Preview.ICatalog])]
[CmdletBinding(DefaultParameterSetName='CreateExpandedAdo', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Runtime.GenericBreakingChangeAttribute("MemberName and PlanName will be removed from InputObject", "15.0.0", "3.0.0", "2025/11/18")]
param(
[Parameter(ParameterSetName='CreateExpandedAdo', Mandatory)]
[Parameter(ParameterSetName='CreateExpandedGitHub', Mandatory)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ https://learn.microsoft.com/powershell/module/az.devcenter/new-azdevcenteradminp
function New-AzDevCenterAdminProjectEnvironmentType {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20240501Preview.IProjectEnvironmentType])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Runtime.GenericBreakingChangeAttribute("MemberName and PlanName will be removed from InputObject", "15.0.0", "3.0.0", "2025/11/18")]
param(
[Parameter(ParameterSetName='CreateExpanded', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Category('Path')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ https://learn.microsoft.com/powershell/module/az.devcenter/new-azdevcenteradmins
function New-AzDevCenterAdminSchedule {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20240501Preview.ISchedule])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
[Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Runtime.GenericBreakingChangeAttribute("MemberName and PlanName will be removed from InputObject", "15.0.0", "3.0.0", "2025/11/18")]
param(
[Parameter(ParameterSetName='CreateExpanded', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Category('Path')]
Expand Down
Loading