Skip to content

Commit 3c16c1d

Browse files
authored
Merge pull request Azure#9825 from a-santamaria/sf-deprecate-add-appcert
Deprecating Add-AzServiceFabricApplicationCertificate cmdlet
2 parents 4674d4b + af83656 commit 3c16c1d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/ServiceFabric/ServiceFabric/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
* Fix add node type cmdlet bugs:
2222
- NullReferenceException bug when resource group had other vmss not related to the service fabric cluster. Fixes issue: https://github.com/Azure/azure-powershell/issues/8681
2323
- Fix bug where cmdlet failed if virtualNetwork was in a different resource group that the cluster. fixes issue: https://github.com/Azure/azure-powershell/issues/8407
24+
- Deprecating Add-AzServiceFabricApplicationCertificate cmdlet
2425

2526
## Version 1.1.1
2627
* Fix add certificate ByExistingKeyVault getting the wrong thumbprint in some cases

src/ServiceFabric/ServiceFabric/Commands/AddAzureRmServiceFabricApplicationCertificate.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,14 @@
2121
using Microsoft.Azure.Commands.ServiceFabric.Models;
2222
using ServiceFabricProperties = Microsoft.Azure.Commands.ServiceFabric.Properties;
2323
using Microsoft.Azure.Commands.Common.Compute.Version_2018_04;
24+
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
2425

2526
namespace Microsoft.Azure.Commands.ServiceFabric.Commands
2627
{
28+
[CmdletDeprecation(ReplacementCmdletName = VerbsCommon.Add +
29+
"-" +
30+
ResourceManager.Common.AzureRMConstants.AzureRMPrefix +
31+
"VmssSecret")]
2732
[Cmdlet("Add", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ServiceFabricApplicationCertificate", SupportsShouldProcess = true), OutputType(typeof(PSKeyVault))]
2833
public class AddAzureRmServiceFabricApplicationCertificate : ServiceFabricClusterCertificateCmdlet
2934
{

0 commit comments

Comments
 (0)