diff --git a/src/Network/Network/SecurityPartnerProvider/RemoveAzureSecurityPartnerProviderCommand.cs b/src/Network/Network/SecurityPartnerProvider/RemoveAzureSecurityPartnerProviderCommand.cs index a72b894811d7..4d526adffa4a 100644 --- a/src/Network/Network/SecurityPartnerProvider/RemoveAzureSecurityPartnerProviderCommand.cs +++ b/src/Network/Network/SecurityPartnerProvider/RemoveAzureSecurityPartnerProviderCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "SecurityPartnerProvider", SupportsShouldProcess = true), OutputType(typeof(bool))] + [Cmdlet(VerbsCommon.Remove, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "SecurityPartnerProvider", DefaultParameterSetName= SecurityPartnerProviderParameterSetName.ByName, SupportsShouldProcess = true), OutputType(typeof(bool))] public class RemoveAzureSecurityPartnerProviderCommand : SecurityPartnerProviderBaseCmdlet { [Alias("ResourceName")] diff --git a/tools/StaticAnalysis/Exceptions/Az.Network/SignatureIssues.csv b/tools/StaticAnalysis/Exceptions/Az.Network/SignatureIssues.csv index a6be58ba03c0..90649fba137b 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Network/SignatureIssues.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Network/SignatureIssues.csv @@ -338,4 +338,3 @@ "Microsoft.Azure.PowerShell.Cmdlets.Network.dll","Microsoft.Azure.Commands.Network.SetAzureVirtualNetworkGatewayCommand","Set-AzVirtualNetworkGateway","1","8410","Parameter IpConfigurationBgpPeeringAddresses of cmdlet Set-AzVirtualNetworkGateway does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name." "Microsoft.Azure.PowerShell.Cmdlets.Network.dll","Microsoft.Azure.Commands.Network.NetworkWatcher.NewNetworkWatcherConnectionMonitorProtocolConfigurationObject","New-AzNetworkWatcherConnectionMonitorProtocolConfigurationObject","1","8100","New-AzNetworkWatcherConnectionMonitorProtocolConfigurationObject Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" "Microsoft.Azure.PowerShell.Cmdlets.Network.dll","Microsoft.Azure.Commands.Network.NetworkWatcher.NewNetworkWatcherConnectionMonitorProtocolConfigurationObject","New-AzNetworkWatcherConnectionMonitorProtocolConfigurationObject","1","8510","Cmdlet 'New-AzNetworkWatcherConnectionMonitorProtocolConfigurationObject' has multiple parameter sets, but no defined default parameter set.","Define a default parameter set in the cmdlet attribute." -"Microsoft.Azure.PowerShell.Cmdlets.Network.dll","Microsoft.Azure.Commands.Network.RemoveAzureSecurityPartnerProviderCommand","Remove-AzSecurityPartnerProvider","1","8510","Cmdlet 'Remove-AzSecurityPartnerProvider' has multiple parameter sets, but no defined default parameter set.","Define a default parameter set in the cmdlet attribute." \ No newline at end of file