From a67dfc92963d116dcda299f5559f936b044d5a28 Mon Sep 17 00:00:00 2001 From: Yash Date: Wed, 23 Apr 2025 16:27:48 +1000 Subject: [PATCH 1/7] Update message to include module name --- powershell/resources/psruntime/MessageAttribute.cs | 11 +++++++---- .../resources/psruntime/Properties/Resources.resx | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/powershell/resources/psruntime/MessageAttribute.cs b/powershell/resources/psruntime/MessageAttribute.cs index 16a5ffafe7a..dbe14836474 100644 --- a/powershell/resources/psruntime/MessageAttribute.cs +++ b/powershell/resources/psruntime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Message.ClientRuntime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/powershell/resources/psruntime/Properties/Resources.resx b/powershell/resources/psruntime/Properties/Resources.resx index a08a2e50172..4ef90b70573 100644 --- a/powershell/resources/psruntime/Properties/Resources.resx +++ b/powershell/resources/psruntime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell From 211713849fb7685a8f1eaf2dfa745da47ac73555 Mon Sep 17 00:00:00 2001 From: Yash Date: Wed, 7 May 2025 14:05:41 +1000 Subject: [PATCH 2/7] Added changes to Test Emitter --- powershell/resources/psruntime/MessageAttribute.cs | 2 +- .../target/generated/runtime/MessageAttribute.cs | 11 +++++++---- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 11 +++++++---- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 11 +++++++---- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 11 +++++++---- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 11 +++++++---- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 11 +++++++---- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 11 +++++++---- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 11 +++++++---- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 11 +++++++---- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 11 +++++++---- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 11 +++++++---- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 11 +++++++---- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 11 +++++++---- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 11 +++++++---- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 11 +++++++---- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 11 +++++++---- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 11 +++++++---- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 11 +++++++---- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 11 +++++++---- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 11 +++++++---- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 11 +++++++---- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 11 +++++++---- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 11 +++++++---- .../generated/runtime/Properties/Resources.resx | 2 +- 47 files changed, 185 insertions(+), 116 deletions(-) diff --git a/powershell/resources/psruntime/MessageAttribute.cs b/powershell/resources/psruntime/MessageAttribute.cs index dbe14836474..15ddb8e41d7 100644 --- a/powershell/resources/psruntime/MessageAttribute.cs +++ b/powershell/resources/psruntime/MessageAttribute.cs @@ -76,7 +76,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) if (!string.IsNullOrWhiteSpace(ChangeDescription)) { - writeOutput(string.Format(Resources.BreakingChangesAttributesChangeDescriptionMessage, this.ChangeDescription)); + writeOutput(string.Format(Resources.BreakingChangesAttributesChangeDescraiptionMessage, this.ChangeDescription)); } if (ChangeInEfectByDateSet) diff --git a/tests-upgrade/tests-emitter/AppComplianceAutomation.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/AppComplianceAutomation.Management/target/generated/runtime/MessageAttribute.cs index 407c9d92b23..27826e1b4f2 100644 --- a/tests-upgrade/tests-emitter/AppComplianceAutomation.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/AppComplianceAutomation.Management/target/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.AppComplianceAutomation.Runtime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/tests-upgrade/tests-emitter/AppComplianceAutomation.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/AppComplianceAutomation.Management/target/generated/runtime/Properties/Resources.resx index a08a2e50172..deea88d5936 100644 --- a/tests-upgrade/tests-emitter/AppComplianceAutomation.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/AppComplianceAutomation.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}'' ```powershell diff --git a/tests-upgrade/tests-emitter/Astronomer.Astro.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Astronomer.Astro.Management/target/generated/runtime/MessageAttribute.cs index 7f0b66e32e0..090bafbc62b 100644 --- a/tests-upgrade/tests-emitter/Astronomer.Astro.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Astronomer.Astro.Management/target/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/tests-upgrade/tests-emitter/Astronomer.Astro.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/Astronomer.Astro.Management/target/generated/runtime/Properties/Resources.resx index a08a2e50172..deea88d5936 100644 --- a/tests-upgrade/tests-emitter/Astronomer.Astro.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/Astronomer.Astro.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}'' ```powershell diff --git a/tests-upgrade/tests-emitter/AzureAI.Assets/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/AzureAI.Assets/target/generated/runtime/MessageAttribute.cs index 7a2379a1e82..8ae7c03906b 100644 --- a/tests-upgrade/tests-emitter/AzureAI.Assets/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/AzureAI.Assets/target/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/tests-upgrade/tests-emitter/AzureAI.Assets/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/AzureAI.Assets/target/generated/runtime/Properties/Resources.resx index a08a2e50172..deea88d5936 100644 --- a/tests-upgrade/tests-emitter/AzureAI.Assets/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/AzureAI.Assets/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}'' ```powershell diff --git a/tests-upgrade/tests-emitter/AzureFleet.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/AzureFleet.Management/target/generated/runtime/MessageAttribute.cs index af7faa3fbb5..c3df7ba07ef 100644 --- a/tests-upgrade/tests-emitter/AzureFleet.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/AzureFleet.Management/target/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ComputeFleet.Runtime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/tests-upgrade/tests-emitter/AzureFleet.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/AzureFleet.Management/target/generated/runtime/Properties/Resources.resx index a08a2e50172..deea88d5936 100644 --- a/tests-upgrade/tests-emitter/AzureFleet.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/AzureFleet.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}'' ```powershell diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/runtime/MessageAttribute.cs index 7fd03d46f17..08c61389a66 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/runtime/Properties/Resources.resx index a08a2e50172..deea88d5936 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}'' ```powershell diff --git a/tests-upgrade/tests-emitter/CodeSigning.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/CodeSigning.Management/target/generated/runtime/MessageAttribute.cs index fe4c1321d15..975de6ba959 100644 --- a/tests-upgrade/tests-emitter/CodeSigning.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/CodeSigning.Management/target/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.CodeSigning.Runtime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/tests-upgrade/tests-emitter/CodeSigning.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/CodeSigning.Management/target/generated/runtime/Properties/Resources.resx index a08a2e50172..deea88d5936 100644 --- a/tests-upgrade/tests-emitter/CodeSigning.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/CodeSigning.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}'' ```powershell diff --git a/tests-upgrade/tests-emitter/ComputeSchedule.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/ComputeSchedule.Management/target/generated/runtime/MessageAttribute.cs index 49afef19ac1..b3e999e8f5b 100644 --- a/tests-upgrade/tests-emitter/ComputeSchedule.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/ComputeSchedule.Management/target/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ComputeSchedule.Runtime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/tests-upgrade/tests-emitter/ComputeSchedule.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/ComputeSchedule.Management/target/generated/runtime/Properties/Resources.resx index a08a2e50172..deea88d5936 100644 --- a/tests-upgrade/tests-emitter/ComputeSchedule.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/ComputeSchedule.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}'' ```powershell diff --git a/tests-upgrade/tests-emitter/DeviceRegistry.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/DeviceRegistry.Management/target/generated/runtime/MessageAttribute.cs index 4e7ded438ba..0e307bae7eb 100644 --- a/tests-upgrade/tests-emitter/DeviceRegistry.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/DeviceRegistry.Management/target/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DeviceRegistry.Runtime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/tests-upgrade/tests-emitter/DeviceRegistry.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/DeviceRegistry.Management/target/generated/runtime/Properties/Resources.resx index a08a2e50172..deea88d5936 100644 --- a/tests-upgrade/tests-emitter/DeviceRegistry.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/DeviceRegistry.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}'' ```powershell diff --git a/tests-upgrade/tests-emitter/DocumentDB.MongoCluster.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/DocumentDB.MongoCluster.Management/target/generated/runtime/MessageAttribute.cs index 302be892e34..46ea1ba89e4 100644 --- a/tests-upgrade/tests-emitter/DocumentDB.MongoCluster.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/DocumentDB.MongoCluster.Management/target/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.MongoCluster.Runtime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/tests-upgrade/tests-emitter/DocumentDB.MongoCluster.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/DocumentDB.MongoCluster.Management/target/generated/runtime/Properties/Resources.resx index a08a2e50172..deea88d5936 100644 --- a/tests-upgrade/tests-emitter/DocumentDB.MongoCluster.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/DocumentDB.MongoCluster.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}'' ```powershell diff --git a/tests-upgrade/tests-emitter/EdgeZones.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/EdgeZones.Management/target/generated/runtime/MessageAttribute.cs index 50dfe11e350..9feaa2ac32e 100644 --- a/tests-upgrade/tests-emitter/EdgeZones.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/EdgeZones.Management/target/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.EdgeZones.Runtime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/tests-upgrade/tests-emitter/EdgeZones.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/EdgeZones.Management/target/generated/runtime/Properties/Resources.resx index a08a2e50172..deea88d5936 100644 --- a/tests-upgrade/tests-emitter/EdgeZones.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/EdgeZones.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}'' ```powershell diff --git a/tests-upgrade/tests-emitter/HealthDataAIServices.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/HealthDataAIServices.Management/target/generated/runtime/MessageAttribute.cs index c033fa0d572..c3dd85bd324 100644 --- a/tests-upgrade/tests-emitter/HealthDataAIServices.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/HealthDataAIServices.Management/target/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HealthDataAIServices.Runtime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/tests-upgrade/tests-emitter/HealthDataAIServices.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/HealthDataAIServices.Management/target/generated/runtime/Properties/Resources.resx index a08a2e50172..deea88d5936 100644 --- a/tests-upgrade/tests-emitter/HealthDataAIServices.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/HealthDataAIServices.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}'' ```powershell diff --git a/tests-upgrade/tests-emitter/Informatica.DataManagement.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Informatica.DataManagement.Management/target/generated/runtime/MessageAttribute.cs index 2f45091783b..1897b1853de 100644 --- a/tests-upgrade/tests-emitter/Informatica.DataManagement.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Informatica.DataManagement.Management/target/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Informatica.Runtime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/tests-upgrade/tests-emitter/Informatica.DataManagement.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/Informatica.DataManagement.Management/target/generated/runtime/Properties/Resources.resx index a08a2e50172..deea88d5936 100644 --- a/tests-upgrade/tests-emitter/Informatica.DataManagement.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/Informatica.DataManagement.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}'' ```powershell diff --git a/tests-upgrade/tests-emitter/KubernetesRuntime.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/KubernetesRuntime.Management/target/generated/runtime/MessageAttribute.cs index 9f46aada5e3..7e0be75b284 100644 --- a/tests-upgrade/tests-emitter/KubernetesRuntime.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/KubernetesRuntime.Management/target/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ContainerOrchestratorRuntime.Runtim public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/tests-upgrade/tests-emitter/KubernetesRuntime.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/KubernetesRuntime.Management/target/generated/runtime/Properties/Resources.resx index a08a2e50172..deea88d5936 100644 --- a/tests-upgrade/tests-emitter/KubernetesRuntime.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/KubernetesRuntime.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}'' ```powershell diff --git a/tests-upgrade/tests-emitter/LambdaTest.HyperExecute.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/LambdaTest.HyperExecute.Management/target/generated/runtime/MessageAttribute.cs index e06b2283e22..4a8f6d085a7 100644 --- a/tests-upgrade/tests-emitter/LambdaTest.HyperExecute.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/LambdaTest.HyperExecute.Management/target/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.LambdaTest.Runtime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/tests-upgrade/tests-emitter/LambdaTest.HyperExecute.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/LambdaTest.HyperExecute.Management/target/generated/runtime/Properties/Resources.resx index a08a2e50172..deea88d5936 100644 --- a/tests-upgrade/tests-emitter/LambdaTest.HyperExecute.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/LambdaTest.HyperExecute.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}'' ```powershell diff --git a/tests-upgrade/tests-emitter/Liftr.WeightsAndBiases.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Liftr.WeightsAndBiases.Management/target/generated/runtime/MessageAttribute.cs index aabad4547a9..b2df4701d2b 100644 --- a/tests-upgrade/tests-emitter/Liftr.WeightsAndBiases.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Liftr.WeightsAndBiases.Management/target/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.WeightsBiases.Runtime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/tests-upgrade/tests-emitter/Liftr.WeightsAndBiases.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/Liftr.WeightsAndBiases.Management/target/generated/runtime/Properties/Resources.resx index a08a2e50172..deea88d5936 100644 --- a/tests-upgrade/tests-emitter/Liftr.WeightsAndBiases.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/Liftr.WeightsAndBiases.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}'' ```powershell diff --git a/tests-upgrade/tests-emitter/Microsoft.DevOpsInfrastructure.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Microsoft.DevOpsInfrastructure.Management/target/generated/runtime/MessageAttribute.cs index b399c1cc634..796c409a25b 100644 --- a/tests-upgrade/tests-emitter/Microsoft.DevOpsInfrastructure.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Microsoft.DevOpsInfrastructure.Management/target/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DevOpsInfrastructure.Runtime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/tests-upgrade/tests-emitter/Microsoft.DevOpsInfrastructure.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/Microsoft.DevOpsInfrastructure.Management/target/generated/runtime/Properties/Resources.resx index a08a2e50172..deea88d5936 100644 --- a/tests-upgrade/tests-emitter/Microsoft.DevOpsInfrastructure.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/Microsoft.DevOpsInfrastructure.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}'' ```powershell diff --git a/tests-upgrade/tests-emitter/Neon.Postgres.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Neon.Postgres.Management/target/generated/runtime/MessageAttribute.cs index d8e693b7c64..233b0fe45fb 100644 --- a/tests-upgrade/tests-emitter/Neon.Postgres.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Neon.Postgres.Management/target/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.NeonPostgres.Runtime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/tests-upgrade/tests-emitter/Neon.Postgres.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/Neon.Postgres.Management/target/generated/runtime/Properties/Resources.resx index a08a2e50172..deea88d5936 100644 --- a/tests-upgrade/tests-emitter/Neon.Postgres.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/Neon.Postgres.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}'' ```powershell diff --git a/tests-upgrade/tests-emitter/NetworkAnalytics.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/NetworkAnalytics.Management/target/generated/runtime/MessageAttribute.cs index d634de95d05..d8742ce5729 100644 --- a/tests-upgrade/tests-emitter/NetworkAnalytics.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/NetworkAnalytics.Management/target/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.NetworkAnalytics.Runtime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/tests-upgrade/tests-emitter/NetworkAnalytics.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/NetworkAnalytics.Management/target/generated/runtime/Properties/Resources.resx index a08a2e50172..deea88d5936 100644 --- a/tests-upgrade/tests-emitter/NetworkAnalytics.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/NetworkAnalytics.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}'' ```powershell diff --git a/tests-upgrade/tests-emitter/Pinecone.VectorDb.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Pinecone.VectorDb.Management/target/generated/runtime/MessageAttribute.cs index 70e3f2a5140..f3cd81c313e 100644 --- a/tests-upgrade/tests-emitter/Pinecone.VectorDb.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Pinecone.VectorDb.Management/target/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Pinecone.Runtime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/tests-upgrade/tests-emitter/Pinecone.VectorDb.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/Pinecone.VectorDb.Management/target/generated/runtime/Properties/Resources.resx index a08a2e50172..deea88d5936 100644 --- a/tests-upgrade/tests-emitter/Pinecone.VectorDb.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/Pinecone.VectorDb.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}'' ```powershell diff --git a/tests-upgrade/tests-emitter/Qumulo.Storage.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Qumulo.Storage.Management/target/generated/runtime/MessageAttribute.cs index 2d90694bdc9..34437986012 100644 --- a/tests-upgrade/tests-emitter/Qumulo.Storage.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Qumulo.Storage.Management/target/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Runtime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/tests-upgrade/tests-emitter/Qumulo.Storage.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/Qumulo.Storage.Management/target/generated/runtime/Properties/Resources.resx index a08a2e50172..deea88d5936 100644 --- a/tests-upgrade/tests-emitter/Qumulo.Storage.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/Qumulo.Storage.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}'' ```powershell diff --git a/tests-upgrade/tests-emitter/Sphere.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Sphere.Management/target/generated/runtime/MessageAttribute.cs index 0aea2cb4f32..fcc6b39d778 100644 --- a/tests-upgrade/tests-emitter/Sphere.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Sphere.Management/target/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Sphere.Runtime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/tests-upgrade/tests-emitter/Sphere.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/Sphere.Management/target/generated/runtime/Properties/Resources.resx index a08a2e50172..deea88d5936 100644 --- a/tests-upgrade/tests-emitter/Sphere.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/Sphere.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}'' ```powershell diff --git a/tests-upgrade/tests-emitter/StandbyPool.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/StandbyPool.Management/target/generated/runtime/MessageAttribute.cs index 9e032a1765c..29753163f6f 100644 --- a/tests-upgrade/tests-emitter/StandbyPool.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/StandbyPool.Management/target/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StandbyPool.Runtime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/tests-upgrade/tests-emitter/StandbyPool.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/StandbyPool.Management/target/generated/runtime/Properties/Resources.resx index a08a2e50172..deea88d5936 100644 --- a/tests-upgrade/tests-emitter/StandbyPool.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/StandbyPool.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}'' ```powershell diff --git a/tests-upgrade/tests-emitter/Workloads.SAPVirtualInstance.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Workloads.SAPVirtualInstance.Management/target/generated/runtime/MessageAttribute.cs index 5b9e390fc54..0015cc73473 100644 --- a/tests-upgrade/tests-emitter/Workloads.SAPVirtualInstance.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Workloads.SAPVirtualInstance.Management/target/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.SAPVirtualInstance.Runtime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/tests-upgrade/tests-emitter/Workloads.SAPVirtualInstance.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/Workloads.SAPVirtualInstance.Management/target/generated/runtime/Properties/Resources.resx index a08a2e50172..deea88d5936 100644 --- a/tests-upgrade/tests-emitter/Workloads.SAPVirtualInstance.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/Workloads.SAPVirtualInstance.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}'' ```powershell From 37811949f1c7305c6bba27dd28fe65302e6b5d04 Mon Sep 17 00:00:00 2001 From: Yash Date: Wed, 7 May 2025 14:48:45 +1000 Subject: [PATCH 3/7] Corrected Variable --- powershell/resources/psruntime/MessageAttribute.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powershell/resources/psruntime/MessageAttribute.cs b/powershell/resources/psruntime/MessageAttribute.cs index 15ddb8e41d7..dbe14836474 100644 --- a/powershell/resources/psruntime/MessageAttribute.cs +++ b/powershell/resources/psruntime/MessageAttribute.cs @@ -76,7 +76,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) if (!string.IsNullOrWhiteSpace(ChangeDescription)) { - writeOutput(string.Format(Resources.BreakingChangesAttributesChangeDescraiptionMessage, this.ChangeDescription)); + writeOutput(string.Format(Resources.BreakingChangesAttributesChangeDescriptionMessage, this.ChangeDescription)); } if (ChangeInEfectByDateSet) From 6ece73dc14d920667eb86a4dc9375fe7c01d561f Mon Sep 17 00:00:00 2001 From: Yash Date: Wed, 7 May 2025 15:55:38 +1000 Subject: [PATCH 4/7] Updated project.moduleName variable name --- powershell/resources/psruntime/MessageAttribute.cs | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../AzureAI.Assets/target/generated/runtime/MessageAttribute.cs | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/powershell/resources/psruntime/MessageAttribute.cs b/powershell/resources/psruntime/MessageAttribute.cs index dbe14836474..e48d2538e92 100644 --- a/powershell/resources/psruntime/MessageAttribute.cs +++ b/powershell/resources/psruntime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/AppComplianceAutomation.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/AppComplianceAutomation.Management/target/generated/runtime/MessageAttribute.cs index 27826e1b4f2..7f8786035bc 100644 --- a/tests-upgrade/tests-emitter/AppComplianceAutomation.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/AppComplianceAutomation.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/Astronomer.Astro.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Astronomer.Astro.Management/target/generated/runtime/MessageAttribute.cs index 090bafbc62b..607c15176f1 100644 --- a/tests-upgrade/tests-emitter/Astronomer.Astro.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Astronomer.Astro.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/AzureAI.Assets/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/AzureAI.Assets/target/generated/runtime/MessageAttribute.cs index 8ae7c03906b..9baf9974a31 100644 --- a/tests-upgrade/tests-emitter/AzureAI.Assets/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/AzureAI.Assets/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/AzureFleet.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/AzureFleet.Management/target/generated/runtime/MessageAttribute.cs index c3df7ba07ef..69c41ba4847 100644 --- a/tests-upgrade/tests-emitter/AzureFleet.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/AzureFleet.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/runtime/MessageAttribute.cs index 08c61389a66..1d153dc45cd 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/CodeSigning.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/CodeSigning.Management/target/generated/runtime/MessageAttribute.cs index 975de6ba959..029c95a2d5e 100644 --- a/tests-upgrade/tests-emitter/CodeSigning.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/CodeSigning.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/ComputeSchedule.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/ComputeSchedule.Management/target/generated/runtime/MessageAttribute.cs index b3e999e8f5b..6487fd253cc 100644 --- a/tests-upgrade/tests-emitter/ComputeSchedule.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/ComputeSchedule.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/DeviceRegistry.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/DeviceRegistry.Management/target/generated/runtime/MessageAttribute.cs index 0e307bae7eb..58456e9a616 100644 --- a/tests-upgrade/tests-emitter/DeviceRegistry.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/DeviceRegistry.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/DocumentDB.MongoCluster.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/DocumentDB.MongoCluster.Management/target/generated/runtime/MessageAttribute.cs index 46ea1ba89e4..6cec45de6dd 100644 --- a/tests-upgrade/tests-emitter/DocumentDB.MongoCluster.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/DocumentDB.MongoCluster.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/EdgeZones.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/EdgeZones.Management/target/generated/runtime/MessageAttribute.cs index 9feaa2ac32e..16d78f086f1 100644 --- a/tests-upgrade/tests-emitter/EdgeZones.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/EdgeZones.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/HealthDataAIServices.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/HealthDataAIServices.Management/target/generated/runtime/MessageAttribute.cs index c3dd85bd324..756757d5937 100644 --- a/tests-upgrade/tests-emitter/HealthDataAIServices.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/HealthDataAIServices.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/Informatica.DataManagement.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Informatica.DataManagement.Management/target/generated/runtime/MessageAttribute.cs index 1897b1853de..de0b60645d9 100644 --- a/tests-upgrade/tests-emitter/Informatica.DataManagement.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Informatica.DataManagement.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/KubernetesRuntime.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/KubernetesRuntime.Management/target/generated/runtime/MessageAttribute.cs index 7e0be75b284..00329a46f4e 100644 --- a/tests-upgrade/tests-emitter/KubernetesRuntime.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/KubernetesRuntime.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/LambdaTest.HyperExecute.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/LambdaTest.HyperExecute.Management/target/generated/runtime/MessageAttribute.cs index 4a8f6d085a7..f4862781782 100644 --- a/tests-upgrade/tests-emitter/LambdaTest.HyperExecute.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/LambdaTest.HyperExecute.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/Liftr.WeightsAndBiases.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Liftr.WeightsAndBiases.Management/target/generated/runtime/MessageAttribute.cs index b2df4701d2b..f5bf2f8f837 100644 --- a/tests-upgrade/tests-emitter/Liftr.WeightsAndBiases.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Liftr.WeightsAndBiases.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/Microsoft.DevOpsInfrastructure.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Microsoft.DevOpsInfrastructure.Management/target/generated/runtime/MessageAttribute.cs index 796c409a25b..d80b142c803 100644 --- a/tests-upgrade/tests-emitter/Microsoft.DevOpsInfrastructure.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Microsoft.DevOpsInfrastructure.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/Neon.Postgres.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Neon.Postgres.Management/target/generated/runtime/MessageAttribute.cs index 233b0fe45fb..31795e760fd 100644 --- a/tests-upgrade/tests-emitter/Neon.Postgres.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Neon.Postgres.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/NetworkAnalytics.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/NetworkAnalytics.Management/target/generated/runtime/MessageAttribute.cs index d8742ce5729..820257b377b 100644 --- a/tests-upgrade/tests-emitter/NetworkAnalytics.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/NetworkAnalytics.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/Pinecone.VectorDb.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Pinecone.VectorDb.Management/target/generated/runtime/MessageAttribute.cs index f3cd81c313e..14ad79b1f33 100644 --- a/tests-upgrade/tests-emitter/Pinecone.VectorDb.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Pinecone.VectorDb.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/Qumulo.Storage.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Qumulo.Storage.Management/target/generated/runtime/MessageAttribute.cs index 34437986012..11aff90f47e 100644 --- a/tests-upgrade/tests-emitter/Qumulo.Storage.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Qumulo.Storage.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/Sphere.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Sphere.Management/target/generated/runtime/MessageAttribute.cs index fcc6b39d778..c35cf03c2d8 100644 --- a/tests-upgrade/tests-emitter/Sphere.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Sphere.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/StandbyPool.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/StandbyPool.Management/target/generated/runtime/MessageAttribute.cs index 29753163f6f..48c9fd1262e 100644 --- a/tests-upgrade/tests-emitter/StandbyPool.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/StandbyPool.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/Workloads.SAPVirtualInstance.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Workloads.SAPVirtualInstance.Management/target/generated/runtime/MessageAttribute.cs index 0015cc73473..c5ddd4472fe 100644 --- a/tests-upgrade/tests-emitter/Workloads.SAPVirtualInstance.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Workloads.SAPVirtualInstance.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.ModuleName}" : "${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } From 75b89d053a9c5c8fb822b60e9de5839c572744c0 Mon Sep 17 00:00:00 2001 From: Yash Date: Fri, 30 May 2025 14:31:48 +1000 Subject: [PATCH 5/7] Updated tests, fixed double quotes --- packages/typespec-powershell/package.json | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../generated/runtime/Properties/Resources.resx | 2 +- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../generated/runtime/Properties/Resources.resx | 2 +- .../target/generated/runtime/MessageAttribute.cs | 2 +- .../generated/runtime/Properties/Resources.resx | 2 +- tests-upgrade/tests-emitter/configuration.json | 12 ++++++++++-- 47 files changed, 56 insertions(+), 48 deletions(-) diff --git a/packages/typespec-powershell/package.json b/packages/typespec-powershell/package.json index 7e82dc1d342..84bb2a5b24d 100644 --- a/packages/typespec-powershell/package.json +++ b/packages/typespec-powershell/package.json @@ -15,7 +15,7 @@ } }, "dependencies": { - "@autorest/powershell": "~4.0.731", + "@autorest/powershell": "~4.0.0", "@autorest/codemodel": "~4.19.3", "@autorest/extension-base": "~3.5.2", "@azure-tools/async-io": "~3.0.0", diff --git a/tests-upgrade/tests-emitter/AppComplianceAutomation.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/AppComplianceAutomation.Management/target/generated/runtime/MessageAttribute.cs index 7f8786035bc..2d7e01c5164 100644 --- a/tests-upgrade/tests-emitter/AppComplianceAutomation.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/AppComplianceAutomation.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.AppComplianceAutomation" : @""; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/AppComplianceAutomation.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/AppComplianceAutomation.Management/target/generated/runtime/Properties/Resources.resx index deea88d5936..4ef90b70573 100644 --- a/tests-upgrade/tests-emitter/AppComplianceAutomation.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/AppComplianceAutomation.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect in '{0}' from version : '{1}'' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/tests-upgrade/tests-emitter/Astronomer.Astro.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Astronomer.Astro.Management/target/generated/runtime/MessageAttribute.cs index 607c15176f1..fcacbaf807d 100644 --- a/tests-upgrade/tests-emitter/Astronomer.Astro.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Astronomer.Astro.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.Astro" : @""; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/Astronomer.Astro.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/Astronomer.Astro.Management/target/generated/runtime/Properties/Resources.resx index deea88d5936..4ef90b70573 100644 --- a/tests-upgrade/tests-emitter/Astronomer.Astro.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/Astronomer.Astro.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect in '{0}' from version : '{1}'' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/tests-upgrade/tests-emitter/AzureAI.Assets/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/AzureAI.Assets/target/generated/runtime/Properties/Resources.resx index deea88d5936..4ef90b70573 100644 --- a/tests-upgrade/tests-emitter/AzureAI.Assets/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/AzureAI.Assets/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect in '{0}' from version : '{1}'' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/tests-upgrade/tests-emitter/AzureFleet.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/AzureFleet.Management/target/generated/runtime/MessageAttribute.cs index 69c41ba4847..98e2c69925f 100644 --- a/tests-upgrade/tests-emitter/AzureFleet.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/AzureFleet.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.ComputeFleet" : @""; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/AzureFleet.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/AzureFleet.Management/target/generated/runtime/Properties/Resources.resx index deea88d5936..4ef90b70573 100644 --- a/tests-upgrade/tests-emitter/AzureFleet.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/AzureFleet.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect in '{0}' from version : '{1}'' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/runtime/MessageAttribute.cs index 1d153dc45cd..69ecb44dec8 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.AzureLargeInstance" : @""; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/runtime/Properties/Resources.resx index deea88d5936..4ef90b70573 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect in '{0}' from version : '{1}'' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/tests-upgrade/tests-emitter/CodeSigning.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/CodeSigning.Management/target/generated/runtime/MessageAttribute.cs index 029c95a2d5e..cf368d94e5c 100644 --- a/tests-upgrade/tests-emitter/CodeSigning.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/CodeSigning.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.CodeSigning" : @""; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/CodeSigning.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/CodeSigning.Management/target/generated/runtime/Properties/Resources.resx index deea88d5936..4ef90b70573 100644 --- a/tests-upgrade/tests-emitter/CodeSigning.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/CodeSigning.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect in '{0}' from version : '{1}'' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/tests-upgrade/tests-emitter/ComputeSchedule.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/ComputeSchedule.Management/target/generated/runtime/MessageAttribute.cs index 6487fd253cc..7853d5de57a 100644 --- a/tests-upgrade/tests-emitter/ComputeSchedule.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/ComputeSchedule.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.ComputeSchedule" : @""; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/ComputeSchedule.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/ComputeSchedule.Management/target/generated/runtime/Properties/Resources.resx index deea88d5936..4ef90b70573 100644 --- a/tests-upgrade/tests-emitter/ComputeSchedule.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/ComputeSchedule.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect in '{0}' from version : '{1}'' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/tests-upgrade/tests-emitter/DeviceRegistry.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/DeviceRegistry.Management/target/generated/runtime/MessageAttribute.cs index 58456e9a616..b21d00799e8 100644 --- a/tests-upgrade/tests-emitter/DeviceRegistry.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/DeviceRegistry.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.DeviceRegistry" : @""; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/DeviceRegistry.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/DeviceRegistry.Management/target/generated/runtime/Properties/Resources.resx index deea88d5936..4ef90b70573 100644 --- a/tests-upgrade/tests-emitter/DeviceRegistry.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/DeviceRegistry.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect in '{0}' from version : '{1}'' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/tests-upgrade/tests-emitter/DocumentDB.MongoCluster.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/DocumentDB.MongoCluster.Management/target/generated/runtime/MessageAttribute.cs index 6cec45de6dd..0087b26ba86 100644 --- a/tests-upgrade/tests-emitter/DocumentDB.MongoCluster.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/DocumentDB.MongoCluster.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.MongoCluster" : @""; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/DocumentDB.MongoCluster.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/DocumentDB.MongoCluster.Management/target/generated/runtime/Properties/Resources.resx index deea88d5936..4ef90b70573 100644 --- a/tests-upgrade/tests-emitter/DocumentDB.MongoCluster.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/DocumentDB.MongoCluster.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect in '{0}' from version : '{1}'' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/tests-upgrade/tests-emitter/EdgeZones.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/EdgeZones.Management/target/generated/runtime/MessageAttribute.cs index 16d78f086f1..6c54b801544 100644 --- a/tests-upgrade/tests-emitter/EdgeZones.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/EdgeZones.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.EdgeZones" : @""; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/EdgeZones.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/EdgeZones.Management/target/generated/runtime/Properties/Resources.resx index deea88d5936..4ef90b70573 100644 --- a/tests-upgrade/tests-emitter/EdgeZones.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/EdgeZones.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect in '{0}' from version : '{1}'' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/tests-upgrade/tests-emitter/HealthDataAIServices.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/HealthDataAIServices.Management/target/generated/runtime/MessageAttribute.cs index 756757d5937..8c4ef487e50 100644 --- a/tests-upgrade/tests-emitter/HealthDataAIServices.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/HealthDataAIServices.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.HealthDataAIServices" : @""; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/HealthDataAIServices.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/HealthDataAIServices.Management/target/generated/runtime/Properties/Resources.resx index deea88d5936..4ef90b70573 100644 --- a/tests-upgrade/tests-emitter/HealthDataAIServices.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/HealthDataAIServices.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect in '{0}' from version : '{1}'' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/tests-upgrade/tests-emitter/Informatica.DataManagement.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Informatica.DataManagement.Management/target/generated/runtime/MessageAttribute.cs index de0b60645d9..6b6c905272e 100644 --- a/tests-upgrade/tests-emitter/Informatica.DataManagement.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Informatica.DataManagement.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.Informatica" : @""; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/Informatica.DataManagement.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/Informatica.DataManagement.Management/target/generated/runtime/Properties/Resources.resx index deea88d5936..4ef90b70573 100644 --- a/tests-upgrade/tests-emitter/Informatica.DataManagement.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/Informatica.DataManagement.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect in '{0}' from version : '{1}'' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/tests-upgrade/tests-emitter/KubernetesRuntime.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/KubernetesRuntime.Management/target/generated/runtime/MessageAttribute.cs index 00329a46f4e..bb8762b5cac 100644 --- a/tests-upgrade/tests-emitter/KubernetesRuntime.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/KubernetesRuntime.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.ContainerOrchestratorRuntime" : @""; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/KubernetesRuntime.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/KubernetesRuntime.Management/target/generated/runtime/Properties/Resources.resx index deea88d5936..4ef90b70573 100644 --- a/tests-upgrade/tests-emitter/KubernetesRuntime.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/KubernetesRuntime.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect in '{0}' from version : '{1}'' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/tests-upgrade/tests-emitter/LambdaTest.HyperExecute.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/LambdaTest.HyperExecute.Management/target/generated/runtime/MessageAttribute.cs index f4862781782..c04b4895758 100644 --- a/tests-upgrade/tests-emitter/LambdaTest.HyperExecute.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/LambdaTest.HyperExecute.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.LambdaTest" : @""; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/LambdaTest.HyperExecute.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/LambdaTest.HyperExecute.Management/target/generated/runtime/Properties/Resources.resx index deea88d5936..4ef90b70573 100644 --- a/tests-upgrade/tests-emitter/LambdaTest.HyperExecute.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/LambdaTest.HyperExecute.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect in '{0}' from version : '{1}'' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/tests-upgrade/tests-emitter/Liftr.WeightsAndBiases.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Liftr.WeightsAndBiases.Management/target/generated/runtime/MessageAttribute.cs index f5bf2f8f837..5901fa03474 100644 --- a/tests-upgrade/tests-emitter/Liftr.WeightsAndBiases.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Liftr.WeightsAndBiases.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.WeightsBiases" : @""; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/Liftr.WeightsAndBiases.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/Liftr.WeightsAndBiases.Management/target/generated/runtime/Properties/Resources.resx index deea88d5936..4ef90b70573 100644 --- a/tests-upgrade/tests-emitter/Liftr.WeightsAndBiases.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/Liftr.WeightsAndBiases.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect in '{0}' from version : '{1}'' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/tests-upgrade/tests-emitter/Microsoft.DevOpsInfrastructure.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Microsoft.DevOpsInfrastructure.Management/target/generated/runtime/MessageAttribute.cs index d80b142c803..d861b83e3e4 100644 --- a/tests-upgrade/tests-emitter/Microsoft.DevOpsInfrastructure.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Microsoft.DevOpsInfrastructure.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.DevOpsInfrastructure" : @""; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/Microsoft.DevOpsInfrastructure.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/Microsoft.DevOpsInfrastructure.Management/target/generated/runtime/Properties/Resources.resx index deea88d5936..4ef90b70573 100644 --- a/tests-upgrade/tests-emitter/Microsoft.DevOpsInfrastructure.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/Microsoft.DevOpsInfrastructure.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect in '{0}' from version : '{1}'' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/tests-upgrade/tests-emitter/Neon.Postgres.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Neon.Postgres.Management/target/generated/runtime/MessageAttribute.cs index 31795e760fd..4a110b44399 100644 --- a/tests-upgrade/tests-emitter/Neon.Postgres.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Neon.Postgres.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.NeonPostgres" : @""; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/Neon.Postgres.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/Neon.Postgres.Management/target/generated/runtime/Properties/Resources.resx index deea88d5936..4ef90b70573 100644 --- a/tests-upgrade/tests-emitter/Neon.Postgres.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/Neon.Postgres.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect in '{0}' from version : '{1}'' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/tests-upgrade/tests-emitter/NetworkAnalytics.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/NetworkAnalytics.Management/target/generated/runtime/MessageAttribute.cs index 820257b377b..601ab29ac40 100644 --- a/tests-upgrade/tests-emitter/NetworkAnalytics.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/NetworkAnalytics.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.NetworkAnalytics" : @""; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/NetworkAnalytics.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/NetworkAnalytics.Management/target/generated/runtime/Properties/Resources.resx index deea88d5936..4ef90b70573 100644 --- a/tests-upgrade/tests-emitter/NetworkAnalytics.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/NetworkAnalytics.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect in '{0}' from version : '{1}'' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/tests-upgrade/tests-emitter/Pinecone.VectorDb.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Pinecone.VectorDb.Management/target/generated/runtime/MessageAttribute.cs index 14ad79b1f33..b949f83f9d0 100644 --- a/tests-upgrade/tests-emitter/Pinecone.VectorDb.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Pinecone.VectorDb.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.Pinecone" : @""; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/Pinecone.VectorDb.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/Pinecone.VectorDb.Management/target/generated/runtime/Properties/Resources.resx index deea88d5936..4ef90b70573 100644 --- a/tests-upgrade/tests-emitter/Pinecone.VectorDb.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/Pinecone.VectorDb.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect in '{0}' from version : '{1}'' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/tests-upgrade/tests-emitter/Qumulo.Storage.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Qumulo.Storage.Management/target/generated/runtime/MessageAttribute.cs index 11aff90f47e..381e929f586 100644 --- a/tests-upgrade/tests-emitter/Qumulo.Storage.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Qumulo.Storage.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.Qumulo" : @""; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/Qumulo.Storage.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/Qumulo.Storage.Management/target/generated/runtime/Properties/Resources.resx index deea88d5936..4ef90b70573 100644 --- a/tests-upgrade/tests-emitter/Qumulo.Storage.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/Qumulo.Storage.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect in '{0}' from version : '{1}'' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/tests-upgrade/tests-emitter/Sphere.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Sphere.Management/target/generated/runtime/MessageAttribute.cs index c35cf03c2d8..82f7e250401 100644 --- a/tests-upgrade/tests-emitter/Sphere.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Sphere.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.Sphere" : @""; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/Sphere.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/Sphere.Management/target/generated/runtime/Properties/Resources.resx index deea88d5936..4ef90b70573 100644 --- a/tests-upgrade/tests-emitter/Sphere.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/Sphere.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect in '{0}' from version : '{1}'' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/tests-upgrade/tests-emitter/StandbyPool.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/StandbyPool.Management/target/generated/runtime/MessageAttribute.cs index 48c9fd1262e..fd09df125b6 100644 --- a/tests-upgrade/tests-emitter/StandbyPool.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/StandbyPool.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.StandbyPool" : @""; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/StandbyPool.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/StandbyPool.Management/target/generated/runtime/Properties/Resources.resx index deea88d5936..4ef90b70573 100644 --- a/tests-upgrade/tests-emitter/StandbyPool.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/StandbyPool.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect in '{0}' from version : '{1}'' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/tests-upgrade/tests-emitter/Workloads.SAPVirtualInstance.Management/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/Workloads.SAPVirtualInstance.Management/target/generated/runtime/MessageAttribute.cs index c5ddd4472fe..6683d83ffc0 100644 --- a/tests-upgrade/tests-emitter/Workloads.SAPVirtualInstance.Management/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/Workloads.SAPVirtualInstance.Management/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.SAPVirtualInstance" : @""; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } diff --git a/tests-upgrade/tests-emitter/Workloads.SAPVirtualInstance.Management/target/generated/runtime/Properties/Resources.resx b/tests-upgrade/tests-emitter/Workloads.SAPVirtualInstance.Management/target/generated/runtime/Properties/Resources.resx index deea88d5936..4ef90b70573 100644 --- a/tests-upgrade/tests-emitter/Workloads.SAPVirtualInstance.Management/target/generated/runtime/Properties/Resources.resx +++ b/tests-upgrade/tests-emitter/Workloads.SAPVirtualInstance.Management/target/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect in '{0}' from version : '{1}'' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/tests-upgrade/tests-emitter/configuration.json b/tests-upgrade/tests-emitter/configuration.json index 5012fd65279..6736260ed8d 100644 --- a/tests-upgrade/tests-emitter/configuration.json +++ b/tests-upgrade/tests-emitter/configuration.json @@ -51,6 +51,14 @@ "Workloads.SAPVirtualInstance.Management" ], "blackTestList": [], - "ignoreFolder": ["examples", "CompareResult"], - "ignoreCompareFile": ["generated\\modules", "Properties\\AssemblyInfo.cs"] + "ignoreFolder": [ + "examples", + "CompareResult" + ], + "ignoreCompareFile": [ + "generated\\modules", + "Properties\\AssemblyInfo.cs", + "generated/modules", + "Properties/AssemblyInfo.cs" + ] } \ No newline at end of file From 1823a23c458a8db085462408c1f8327e47f21488 Mon Sep 17 00:00:00 2001 From: Yash Date: Fri, 30 May 2025 14:56:06 +1000 Subject: [PATCH 6/7] Updated AzureAI tests --- .../AzureAI.Assets/target/generated/runtime/MessageAttribute.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests-upgrade/tests-emitter/AzureAI.Assets/target/generated/runtime/MessageAttribute.cs b/tests-upgrade/tests-emitter/AzureAI.Assets/target/generated/runtime/MessageAttribute.cs index 9baf9974a31..3a8e2423847 100644 --- a/tests-upgrade/tests-emitter/AzureAI.Assets/target/generated/runtime/MessageAttribute.cs +++ b/tests-upgrade/tests-emitter/AzureAI.Assets/target/generated/runtime/MessageAttribute.cs @@ -20,7 +20,7 @@ public class GenericBreakingChangeAttribute : Attribute public string ChangeDescription { get; set; } = null; //Name of the module that is being deprecated - public string moduleName { get; set; } = String.IsNullOrEmpty(@"${$project.rootModuleName}") ? @"${$project.moduleName}" : @"${$project.rootModuleName}"; + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.MachineLearningServices" : @""; //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } From 1bc41f464ce57ea203e19f5566e3b6267493bc4e Mon Sep 17 00:00:00 2001 From: Xiaogang Date: Wed, 11 Jun 2025 12:50:29 +0800 Subject: [PATCH 7/7] Revert change in package.json --- packages/typespec-powershell/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/typespec-powershell/package.json b/packages/typespec-powershell/package.json index 84bb2a5b24d..07d65f3d9e7 100644 --- a/packages/typespec-powershell/package.json +++ b/packages/typespec-powershell/package.json @@ -15,7 +15,7 @@ } }, "dependencies": { - "@autorest/powershell": "~4.0.0", + "@autorest/powershell": "~4.0.731", "@autorest/codemodel": "~4.19.3", "@autorest/extension-base": "~3.5.2", "@azure-tools/async-io": "~3.0.0", @@ -77,4 +77,4 @@ "PowerShell", "Cmdlet" ] -} \ No newline at end of file +}