Skip to content

Commit 4a1c605

Browse files
author
Alfredo Santamaria Gomez
committed
marking add app cert to be deprecated
1 parent 374f33e commit 4a1c605

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@
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("This command will be deprecated. Please use Add-AzVmssSecret to add application certificates going forward.")]
2729
[Cmdlet("Add", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ServiceFabricApplicationCertificate", SupportsShouldProcess = true), OutputType(typeof(PSKeyVault))]
2830
public class AddAzureRmServiceFabricApplicationCertificate : ServiceFabricClusterCertificateCmdlet
2931
{

0 commit comments

Comments
 (0)