Skip to content

Commit 85fbbf1

Browse files
committed
add announce for deprecation of SparkConfigFilePath
1 parent c885305 commit 85fbbf1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Synapse/Synapse/Commands/ManagementCommands/SparkPool/UpdateAzureSynapseSparkPool.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
using Microsoft.Azure.Commands.Synapse.Properties;
2222
using Microsoft.Azure.Management.Internal.Resources.Utilities.Models;
2323
using Microsoft.Azure.Management.Synapse.Models;
24+
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
2425
using Microsoft.WindowsAzure.Commands.Utilities.Common;
2526
using System;
2627
using System.Collections;
@@ -138,6 +139,7 @@ public class UpdateAzureSynapseSparkPool : SynapseManagementCmdletBase
138139
HelpMessage = HelpMessages.LibraryRequirementsFilePath)]
139140
public string LibraryRequirementsFilePath { get; set; }
140141

142+
[CmdletParameterBreakingChange("SparkConfigFilePath", ReplaceMentCmdletParameterName = "SparkConfiguration")]
141143
[Parameter(ValueFromPipelineByPropertyName = false, Mandatory = false,
142144
HelpMessage = HelpMessages.SparkConfigPropertiesFilePath)]
143145
public string SparkConfigFilePath { get; set; }

0 commit comments

Comments
 (0)