Skip to content

Commit 1c1bd55

Browse files
committed
create New-AzFirewallThreatIntelWhitelist cmdlet
1 parent 47d194e commit 1c1bd55

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

src/Accounts/Accounts/AzureRmAlias/Mappings.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@
12621262
"Set-AzApplicationGatewayAutoscaleConfiguration": "Set-AzureRmApplicationGatewayAutoscaleConfiguration",
12631263
"Set-AzApplicationGatewayAuthenticationCertificate": "Set-AzureRmApplicationGatewayAuthenticationCertificate",
12641264
"Get-AzApplicationGatewayAvailableWafRuleSets": "Get-AzureRmApplicationGatewayAvailableWafRuleSets",
1265-
"Get-AzApplicationGatewayAvailableServerVariableAndHeader": "Get-AzureRmApplicationGatewayAvailableServerVariableAndHeader",
1265+
"Get-AzApplicationGatewayAvailableServerVariableAndHeader": "Get-AzureRmApplicationGatewayAvailableServerVariableAndHeader",
12661266
"Get-AzApplicationGatewayAvailableSslOptions": "Get-AzureRmApplicationGatewayAvailableSslOptions",
12671267
"Add-AzApplicationGatewayBackendAddressPool": "Add-AzureRmApplicationGatewayBackendAddressPool",
12681268
"Get-AzApplicationGatewayBackendAddressPool": "Get-AzureRmApplicationGatewayBackendAddressPool",
@@ -1632,6 +1632,7 @@
16321632
"New-AzFirewallNatRule": "New-AzureRmFirewallNatRule",
16331633
"New-AzFirewallNetworkRuleCollection": "New-AzureRmFirewallNetworkRuleCollection",
16341634
"New-AzFirewallNetworkRule": "New-AzureRmFirewallNetworkRule",
1635+
"New-AzFirewallThreatIntelWhitelist": "New-AzureRmFirewallThreatIntelWhitelist",
16351636
"Get-AzFirewallFqdnTag": "Get-AzureRmFirewallFqdnTag",
16361637
"Add-AzNetworkInterfaceTapConfig": "Add-AzureRmNetworkInterfaceTapConfig",
16371638
"Get-AzNetworkInterfaceTapConfig": "Get-AzureRmNetworkInterfaceTapConfig",
@@ -2519,4 +2520,4 @@
25192520
"New-AzWebAppAzureStoragePath": "New-AzureRmWebAppAzureStoragePath",
25202521
"Swap-AzWebAppSlot": "Swap-AzureRmWebAppSlot"
25212522
}
2522-
}
2523+
}

src/Network/Network/Az.Network.psd1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,8 @@ CmdletsToExport = 'Add-AzApplicationGatewayAuthenticationCertificate',
383383
'New-AzFirewallApplicationRuleCollection',
384384
'New-AzFirewallApplicationRule', 'New-AzFirewallNatRuleCollection',
385385
'New-AzFirewallNatRule', 'New-AzFirewallNetworkRuleCollection',
386-
'New-AzFirewallNetworkRule', 'Get-AzFirewallFqdnTag',
386+
'New-AzFirewallNetworkRule', 'New-AzFirewallThreatIntelWhitelist',
387+
'Get-AzFirewallFqdnTag',
387388
'Get-AzNetworkProfile', 'New-AzNetworkProfile',
388389
'Remove-AzNetworkProfile', 'Set-AzNetworkProfile',
389390
'New-AzContainerNicConfig', 'New-AzContainerNicConfigIpConfig',

src/Network/Network/AzureFirewall/ThreatIntelWhitelist/NewAzureFirewallThreatIntelWhitelistCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
using System.Management.Automation;
1919
using Microsoft.Azure.Commands.Network.Models;
2020

21-
namespace Microsoft.Azure.Commands.Network.AzureFirewall.ThreatIntelWhitelist
21+
namespace Microsoft.Azure.Commands.Network
2222
{
2323
[Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "FirewallThreatIntelWhitelist", SupportsShouldProcess = true), OutputType(typeof(PSAzureFirewallThreatIntelWhitelist))]
2424
class NewAzureFirewallThreatIntelWhitelistCommand : AzureFirewallBaseCmdlet

src/Network/Network/Models/AzureFirewall/PSAzureFirewallThreatIntelWhitelist.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,7 @@
1515

1616
namespace Microsoft.Azure.Commands.Network.Models
1717
{
18-
<<<<<<< Updated upstream
19-
class PSAzureFirewallThreatIntelWhitelist
20-
=======
2118
public class PSAzureFirewallThreatIntelWhitelist
22-
>>>>>>> Stashed changes
2319
{
2420
public string FQDNs { get; set; }
2521

0 commit comments

Comments
 (0)