diff --git a/src/Network/Network.Test/ScenarioTests/AzureFirewallPolicyTests.cs b/src/Network/Network.Test/ScenarioTests/AzureFirewallPolicyTests.cs index 9e1a884136d4..8de85f6cc5dd 100644 --- a/src/Network/Network.Test/ScenarioTests/AzureFirewallPolicyTests.cs +++ b/src/Network/Network.Test/ScenarioTests/AzureFirewallPolicyTests.cs @@ -73,5 +73,13 @@ public void TestAzureFirewallPolicyCRUDWithNatRuleTranslatedFQDN() { TestRunner.RunTestScript("Test-AzureFirewallPolicyCRUDWithNatRuleTranslatedFQDN"); } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + [Trait(Category.Owner, NrpTeamAlias.azurefirewall)] + public void TestAzureFirewallPolicyWithWebCategories() + { + TestRunner.RunTestScript("Test-AzureFirewallPolicyWithWebCategories"); + } } } diff --git a/src/Network/Network.Test/ScenarioTests/AzureFirewallPolicyTests.ps1 b/src/Network/Network.Test/ScenarioTests/AzureFirewallPolicyTests.ps1 index a9399ab6f3c8..2c54c47911a4 100644 --- a/src/Network/Network.Test/ScenarioTests/AzureFirewallPolicyTests.ps1 +++ b/src/Network/Network.Test/ScenarioTests/AzureFirewallPolicyTests.ps1 @@ -859,6 +859,121 @@ function Test-AzureFirewallPolicyCRUDWithNatRuleTranslatedFQDN { Assert-AreEqual $natRule1TranslatedFqdn $natRule.TranslatedFqdn Assert-AreEqual $natRule1TranslatedPort $natRule.TranslatedPort + $testPipelineRg = Get-AzFirewallPolicyRuleCollectionGroup -Name $ruleGroupName -AzureFirewallPolicyName $getAzureFirewallPolicy.Name -ResourceGroupName $rgname + $testPipelineRg|Set-AzFirewallPolicyRuleCollectionGroup -Priority $pipelineRcPriority + $testPipelineRg = Get-AzFirewallPolicyRuleCollectionGroup -Name $ruleGroupName -AzureFirewallPolicyName $getAzureFirewallPolicy.Name -ResourceGroupName $rgname + Assert-AreEqual $pipelineRcPriority $testPipelineRg.properties.Priority + + $azureFirewallPolicyAsJob = New-AzFirewallPolicy -Name $azureFirewallPolicyAsJobName -ResourceGroupName $rgname -Location $location -AsJob + $result = $azureFirewallPolicyAsJob | Wait-Job + Assert-AreEqual "Completed" $result.State + } + finally { + # Cleanup + Clean-ResourceGroup $rgname + } +} + +<# +.SYNOPSIS +Tests AzureFirewallPolicyWithWebCategories. +#> +function Test-AzureFirewallPolicyWithWebCategories { + # Setup + $rgname = Get-ResourceGroupName + $azureFirewallPolicyName = Get-ResourceName + $azureFirewallPolicyAsJobName = Get-ResourceName + $resourceTypeParent = "Microsoft.Network/FirewallPolicies" + $location = "westus2" + + $ruleGroupName = Get-ResourceName + + # AzureFirewallPolicyApplicationRuleCollection + $appRcName = "appRc" + $appRcPriority = 400 + $appRcActionType = "Allow" + + $pipelineRcPriority = 154 + + # AzureFirewallPolicyApplicationRule 1 + $appRule1Name = "appRule" + $appRule1Desc = "desc1" + $appRule1WC1 = "DatingAndPersonals" + $appRule1WC2 = "Tasteless" + $appRule1Protocol1 = "http:80" + $appRule1Port1 = 80 + $appRule1ProtocolType1 = "http" + $appRule1Protocol2 = "https:443" + $appRule1Port2 = 443 + $appRule1ProtocolType2 = "https" + $appRule1SourceAddress1 = "192.168.0.0/16" + + try { + # Create the resource group + $resourceGroup = New-AzResourceGroup -Name $rgname -Location $location -Tags @{ testtag = "testval" } + + # Create AzureFirewallPolicy (with no rules, ThreatIntel is in Alert mode by default) + $azureFirewallPolicy = New-AzFirewallPolicy -Name $azureFirewallPolicyName -ResourceGroupName $rgname -Location $location + + # Get AzureFirewallPolicy + $getAzureFirewallPolicy = Get-AzFirewallPolicy -Name $azureFirewallPolicyName -ResourceGroupName $rgname + + #verification + Assert-AreEqual $rgName $getAzureFirewallPolicy.ResourceGroupName + Assert-AreEqual $azureFirewallPolicyName $getAzureFirewallPolicy.Name + Assert-NotNull $getAzureFirewallPolicy.Location + Assert-AreEqual (Normalize-Location $location) $getAzureFirewallPolicy.Location + + + #Create Application Rules + $appRule = New-AzFirewallPolicyApplicationRule -Name $appRule1Name -Description $appRule1Desc -Protocol $appRule1Protocol1, $appRule1Protocol2 -WebCategory $appRule1WC1, $appRule1WC2 -SourceAddress $appRule1SourceAddress1 + + # Create Filter Rule with 2 application rules + $appRc = New-AzFirewallPolicyFilterRuleCollection -Name $appRcName -Priority $appRcPriority -Rule $appRule -ActionType $appRcActionType + + New-AzFirewallPolicyRuleCollectionGroup -Name $ruleGroupName -Priority 100 -RuleCollection $appRc -FirewallPolicyObject $azureFirewallPolicy + + # Get AzureFirewallPolicy + $getAzureFirewallPolicy = Get-AzFirewallPolicy -Name $azureFirewallPolicyName -ResourceGroupName $rgName + + # verification + Assert-AreEqual $rgName $getAzureFirewallPolicy.ResourceGroupName + Assert-AreEqual $azureFirewallPolicyName $getAzureFirewallPolicy.Name + Assert-NotNull $getAzureFirewallPolicy.Location + Assert-AreEqual $location $getAzureFirewallPolicy.Location + + # Check rule groups count + Assert-AreEqual 1 @($getAzureFirewallPolicy.RuleCollectionGroups).Count + + $getRg = Get-AzFirewallPolicyRuleCollectionGroup -Name $ruleGroupName -AzureFirewallPolicy $getAzureFirewallPolicy + + Assert-AreEqual 1 @($getRg.properties.ruleCollection).Count + + $filterRuleCollection1 = $getRg.Properties.GetRuleCollectionByName($appRcName) + + # Verify Filter Rule Collection1 + Assert-AreEqual $appRcName $filterRuleCollection1.Name + Assert-AreEqual $appRcPriority $filterRuleCollection1.Priority + Assert-AreEqual $appRcActionType $filterRuleCollection1.Action.Type + Assert-AreEqual 1 $filterRuleCollection1.Rules.Count + + $appRule = $filterRuleCollection1.GetRuleByName($appRule1Name) + # Verify application rule 1 + Assert-AreEqual $appRule1Name $appRule.Name + + Assert-AreEqual 1 $appRule.SourceAddresses.Count + Assert-AreEqual $appRule1SourceAddress1 $appRule.SourceAddresses[0] + + Assert-AreEqual 2 $appRule.Protocols.Count + Assert-AreEqual $appRule1ProtocolType1 $appRule.Protocols[0].ProtocolType + Assert-AreEqual $appRule1ProtocolType2 $appRule.Protocols[1].ProtocolType + Assert-AreEqual $appRule1Port1 $appRule.Protocols[0].Port + Assert-AreEqual $appRule1Port2 $appRule.Protocols[1].Port + + Assert-AreEqual 2 $appRule.WebCategories.Count + Assert-AreEqual $appRule1WC1 $appRule.WebCategories[0] + Assert-AreEqual $appRule1WC2 $appRule.WebCategories[1] + $testPipelineRg = Get-AzFirewallPolicyRuleCollectionGroup -Name $ruleGroupName -AzureFirewallPolicyName $getAzureFirewallPolicy.Name -ResourceGroupName $rgname $testPipelineRg|Set-AzFirewallPolicyRuleCollectionGroup -Priority $pipelineRcPriority diff --git a/src/Network/Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.AzureFirewallPolicyTests/TestAzureFirewallPolicyWithWebCategories.json b/src/Network/Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.AzureFirewallPolicyTests/TestAzureFirewallPolicyWithWebCategories.json new file mode 100644 index 000000000000..9c5d42ca5dce --- /dev/null +++ b/src/Network/Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.AzureFirewallPolicyTests/TestAzureFirewallPolicyWithWebCategories.json @@ -0,0 +1,1905 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourcegroups/ps9005?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL3Jlc291cmNlZ3JvdXBzL3BzOTAwNT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"westus2\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fcda5504-ceaa-40b7-bfea-522a691f7065" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.29" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "29" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "d7f3f08f-9e1f-4790-b24e-75b76cf97a3c" + ], + "x-ms-correlation-request-id": [ + "d7f3f08f-9e1f-4790-b24e-75b76cf97a3c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013219Z:d7f3f08f-9e1f-4790-b24e-75b76cf97a3c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:32:19 GMT" + ], + "Content-Length": [ + "314" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005\",\r\n \"name\": \"ps9005\",\r\n \"location\": \"westus2\",\r\n \"tags\": {\r\n \"AdminEmail\": \"lihamilt@microsoft.com\",\r\n \"AlertDaysBeforeDeletion\": \"5\",\r\n \"CreationDate\": \"2020-12-08T01:32:19.2255912Z\",\r\n \"DaysUntilDeletion\": \"30\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101?api-version=2020-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL3Jlc291cmNlR3JvdXBzL3BzOTAwNS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvZmlyZXdhbGxQb2xpY2llcy9wczYxMDE/YXBpLXZlcnNpb249MjAyMC0wNy0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5d1f2cb4-aaf7-4476-b675-468943665092" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.2.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "e68ae21c-e526-44a9-879d-7ca69d6eccd0" + ], + "x-ms-correlation-request-id": [ + "e68ae21c-e526-44a9-879d-7ca69d6eccd0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013220Z:e68ae21c-e526-44a9-879d-7ca69d6eccd0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:32:20 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "219" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Network/firewallPolicies/ps6101' under resource group 'ps9005' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101?api-version=2020-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL3Jlc291cmNlR3JvdXBzL3BzOTAwNS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvZmlyZXdhbGxQb2xpY2llcy9wczYxMDE/YXBpLXZlcnNpb249MjAyMC0wNy0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.2.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "4434e380-12ea-4759-9971-c58e52aaef56" + ], + "x-ms-correlation-request-id": [ + "4434e380-12ea-4759-9971-c58e52aaef56" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013235Z:4434e380-12ea-4759-9971-c58e52aaef56" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:32:35 GMT" + ], + "Content-Length": [ + "513" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": \"Alert\",\r\n \"childPolicies\": [],\r\n \"ruleCollectionGroups\": [],\r\n \"firewalls\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101\",\r\n \"name\": \"ps6101\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n \"etag\": \"b98a1fbf-d513-4b15-ace3-253219757750\",\r\n \"location\": \"westus2\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101?api-version=2020-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL3Jlc291cmNlR3JvdXBzL3BzOTAwNS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvZmlyZXdhbGxQb2xpY2llcy9wczYxMDE/YXBpLXZlcnNpb249MjAyMC0wNy0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cd9ebcc3-8588-4b40-a718-fe2397b210c3" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.2.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "18b7c19c-da34-454b-a0d8-97275d7377c4" + ], + "x-ms-correlation-request-id": [ + "18b7c19c-da34-454b-a0d8-97275d7377c4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013235Z:18b7c19c-da34-454b-a0d8-97275d7377c4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:32:35 GMT" + ], + "Content-Length": [ + "513" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": \"Alert\",\r\n \"childPolicies\": [],\r\n \"ruleCollectionGroups\": [],\r\n \"firewalls\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101\",\r\n \"name\": \"ps6101\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n \"etag\": \"b98a1fbf-d513-4b15-ace3-253219757750\",\r\n \"location\": \"westus2\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101?api-version=2020-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL3Jlc291cmNlR3JvdXBzL3BzOTAwNS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvZmlyZXdhbGxQb2xpY2llcy9wczYxMDE/YXBpLXZlcnNpb249MjAyMC0wNy0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d7e1e3c1-ab11-4cf5-a00a-d57a2afcf77f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.2.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "7a40b08f-abaa-4968-ada4-862b6c23fe56" + ], + "x-ms-correlation-request-id": [ + "7a40b08f-abaa-4968-ada4-862b6c23fe56" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013235Z:7a40b08f-abaa-4968-ada4-862b6c23fe56" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:32:35 GMT" + ], + "Content-Length": [ + "513" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": \"Alert\",\r\n \"childPolicies\": [],\r\n \"ruleCollectionGroups\": [],\r\n \"firewalls\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101\",\r\n \"name\": \"ps6101\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n \"etag\": \"b98a1fbf-d513-4b15-ace3-253219757750\",\r\n \"location\": \"westus2\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101?api-version=2020-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL3Jlc291cmNlR3JvdXBzL3BzOTAwNS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvZmlyZXdhbGxQb2xpY2llcy9wczYxMDE/YXBpLXZlcnNpb249MjAyMC0wNy0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "44c4cd3b-bdd4-4ce1-80d9-184b1fe65d01" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.2.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "e7cfcabc-86df-4b4e-8b10-177e664621a3" + ], + "x-ms-correlation-request-id": [ + "e7cfcabc-86df-4b4e-8b10-177e664621a3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013247Z:e7cfcabc-86df-4b4e-8b10-177e664621a3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:32:47 GMT" + ], + "Content-Length": [ + "708" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": \"Alert\",\r\n \"childPolicies\": [],\r\n \"ruleCollectionGroups\": [\r\n {\r\n \"id\": \"/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101/ruleCollectionGroups/ps5713\"\r\n }\r\n ],\r\n \"firewalls\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101\",\r\n \"name\": \"ps6101\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n \"etag\": \"1d631022-249a-4eb0-a15f-f224c99329a9\",\r\n \"location\": \"westus2\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101?api-version=2020-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL3Jlc291cmNlR3JvdXBzL3BzOTAwNS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvZmlyZXdhbGxQb2xpY2llcy9wczYxMDE/YXBpLXZlcnNpb249MjAyMC0wNy0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"threatIntelMode\": \"Alert\"\r\n },\r\n \"location\": \"westus2\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ab7603f4-1eea-4a68-a65c-6d0979d9b091" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.2.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "86" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "10" + ], + "x-ms-request-id": [ + "d6d14b9e-1650-4ea3-87d8-8ba4edf3a51d" + ], + "x-ms-correlation-request-id": [ + "6f1476c3-a9c7-48c4-bafd-df3e3b01619a" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/providers/Microsoft.Network/locations/westus2/nfvOperations/d6d14b9e-1650-4ea3-87d8-8ba4edf3a51d?api-version=2020-07-01" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013225Z:6f1476c3-a9c7-48c4-bafd-df3e3b01619a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:32:25 GMT" + ], + "Content-Length": [ + "512" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": \"Alert\",\r\n \"childPolicies\": [],\r\n \"ruleCollectionGroups\": [],\r\n \"firewalls\": [],\r\n \"provisioningState\": \"Updating\"\r\n },\r\n \"id\": \"/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101\",\r\n \"name\": \"ps6101\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n \"etag\": \"b98a1fbf-d513-4b15-ace3-253219757750\",\r\n \"location\": \"westus2\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/providers/Microsoft.Network/locations/westus2/nfvOperations/d6d14b9e-1650-4ea3-87d8-8ba4edf3a51d?api-version=2020-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9sb2NhdGlvbnMvd2VzdHVzMi9uZnZPcGVyYXRpb25zL2Q2ZDE0YjllLTE2NTAtNGVhMy04N2Q4LThiYTRlZGYzYTUxZD9hcGktdmVyc2lvbj0yMDIwLTA3LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.2.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "f8ba91f1-758e-4da1-9af1-ea07096907ac" + ], + "x-ms-correlation-request-id": [ + "b63f5c3b-0bac-437c-a7b0-cc30f35d3639" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013235Z:b63f5c3b-0bac-437c-a7b0-cc30f35d3639" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:32:35 GMT" + ], + "Content-Length": [ + "29" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101/ruleCollectionGroups/ps5713?api-version=2020-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL3Jlc291cmNlR3JvdXBzL3BzOTAwNS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvZmlyZXdhbGxQb2xpY2llcy9wczYxMDEvcnVsZUNvbGxlY3Rpb25Hcm91cHMvcHM1NzEzP2FwaS12ZXJzaW9uPTIwMjAtMDctMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"priority\": 100,\r\n \"ruleCollections\": [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": [\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n \"sourceAddresses\": [\r\n \"192.168.0.0/16\"\r\n ],\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 80\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 443\r\n }\r\n ],\r\n \"webCategories\": [\r\n \"DatingAndPersonals\",\r\n \"Tasteless\"\r\n ],\r\n \"name\": \"appRule\"\r\n }\r\n ],\r\n \"name\": \"appRc\",\r\n \"priority\": 400\r\n }\r\n ]\r\n },\r\n \"name\": \"ps5713\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2f43276d-5fb8-4c15-b7b4-dd71ede3985c" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.2.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "882" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "10" + ], + "x-ms-request-id": [ + "67e99de8-c116-4070-92a8-d6b86fbd476a" + ], + "x-ms-correlation-request-id": [ + "99c26a75-b50e-4c63-b25c-a64dde6cb86c" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/providers/Microsoft.Network/locations/westus2/nfvOperations/67e99de8-c116-4070-92a8-d6b86fbd476a?api-version=2020-07-01" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013237Z:99c26a75-b50e-4c63-b25c-a64dde6cb86c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:32:37 GMT" + ], + "Content-Length": [ + "1437" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"priority\": 100,\r\n \"ruleCollections\": [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": [\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n \"name\": \"appRule\",\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 80\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 443\r\n }\r\n ],\r\n \"fqdnTags\": [],\r\n \"webCategories\": [\r\n \"DatingAndPersonals\",\r\n \"Tasteless\"\r\n ],\r\n \"targetFqdns\": [],\r\n \"targetUrls\": [],\r\n \"terminateTLS\": false,\r\n \"sourceAddresses\": [\r\n \"192.168.0.0/16\"\r\n ],\r\n \"destinationAddresses\": [],\r\n \"sourceIpGroups\": []\r\n }\r\n ],\r\n \"name\": \"appRc\",\r\n \"priority\": 400\r\n }\r\n ],\r\n \"provisioningState\": \"Updating\"\r\n },\r\n \"id\": \"/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101/ruleCollectionGroups/ps5713\",\r\n \"name\": \"ps5713\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies/RuleCollectionGroups\",\r\n \"etag\": \"3776f153-6a96-4161-a23f-1d9312417bb9\",\r\n \"location\": \"westus2\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101/ruleCollectionGroups/ps5713?api-version=2020-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL3Jlc291cmNlR3JvdXBzL3BzOTAwNS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvZmlyZXdhbGxQb2xpY2llcy9wczYxMDEvcnVsZUNvbGxlY3Rpb25Hcm91cHMvcHM1NzEzP2FwaS12ZXJzaW9uPTIwMjAtMDctMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"priority\": 154,\r\n \"ruleCollections\": [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": [\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n \"sourceAddresses\": [\r\n \"192.168.0.0/16\"\r\n ],\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 80\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 443\r\n }\r\n ],\r\n \"targetFqdns\": [],\r\n \"fqdnTags\": [],\r\n \"sourceIpGroups\": [],\r\n \"webCategories\": [\r\n \"DatingAndPersonals\",\r\n \"Tasteless\"\r\n ],\r\n \"name\": \"appRule\"\r\n }\r\n ],\r\n \"name\": \"appRc\",\r\n \"priority\": 400\r\n }\r\n ]\r\n },\r\n \"name\": \"ps5713\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9bcdc9cf-6a9d-4568-a441-6ba2977c34ff" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.2.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "978" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "10" + ], + "x-ms-request-id": [ + "e8faa7fe-00b1-4b5d-8639-4c0dd8898646" + ], + "x-ms-correlation-request-id": [ + "bde0260c-4420-49a2-994a-d861d3039330" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/providers/Microsoft.Network/locations/westus2/nfvOperations/e8faa7fe-00b1-4b5d-8639-4c0dd8898646?api-version=2020-07-01" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013249Z:bde0260c-4420-49a2-994a-d861d3039330" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:32:49 GMT" + ], + "Content-Length": [ + "1437" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"priority\": 154,\r\n \"ruleCollections\": [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": [\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n \"name\": \"appRule\",\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 80\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 443\r\n }\r\n ],\r\n \"fqdnTags\": [],\r\n \"webCategories\": [\r\n \"DatingAndPersonals\",\r\n \"Tasteless\"\r\n ],\r\n \"targetFqdns\": [],\r\n \"targetUrls\": [],\r\n \"terminateTLS\": false,\r\n \"sourceAddresses\": [\r\n \"192.168.0.0/16\"\r\n ],\r\n \"destinationAddresses\": [],\r\n \"sourceIpGroups\": []\r\n }\r\n ],\r\n \"name\": \"appRc\",\r\n \"priority\": 400\r\n }\r\n ],\r\n \"provisioningState\": \"Updating\"\r\n },\r\n \"id\": \"/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101/ruleCollectionGroups/ps5713\",\r\n \"name\": \"ps5713\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies/RuleCollectionGroups\",\r\n \"etag\": \"c26d1838-fed2-4829-bb53-51ed7b54880c\",\r\n \"location\": \"westus2\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/providers/Microsoft.Network/locations/westus2/nfvOperations/67e99de8-c116-4070-92a8-d6b86fbd476a?api-version=2020-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9sb2NhdGlvbnMvd2VzdHVzMi9uZnZPcGVyYXRpb25zLzY3ZTk5ZGU4LWMxMTYtNDA3MC05MmE4LWQ2Yjg2ZmJkNDc2YT9hcGktdmVyc2lvbj0yMDIwLTA3LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.2.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7290c228-751f-48c0-bb14-8105306a720c" + ], + "x-ms-correlation-request-id": [ + "d6d7288f-8fd2-4732-a195-ac598503f4e7" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013247Z:d6d7288f-8fd2-4732-a195-ac598503f4e7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:32:47 GMT" + ], + "Content-Length": [ + "29" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101/ruleCollectionGroups/ps5713?api-version=2020-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL3Jlc291cmNlR3JvdXBzL3BzOTAwNS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvZmlyZXdhbGxQb2xpY2llcy9wczYxMDEvcnVsZUNvbGxlY3Rpb25Hcm91cHMvcHM1NzEzP2FwaS12ZXJzaW9uPTIwMjAtMDctMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.2.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "894604db-1e10-4102-82c8-5a9fd485c087" + ], + "x-ms-correlation-request-id": [ + "894604db-1e10-4102-82c8-5a9fd485c087" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013247Z:894604db-1e10-4102-82c8-5a9fd485c087" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:32:47 GMT" + ], + "Content-Length": [ + "1438" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"priority\": 100,\r\n \"ruleCollections\": [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": [\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n \"name\": \"appRule\",\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 80\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 443\r\n }\r\n ],\r\n \"fqdnTags\": [],\r\n \"webCategories\": [\r\n \"DatingAndPersonals\",\r\n \"Tasteless\"\r\n ],\r\n \"targetFqdns\": [],\r\n \"targetUrls\": [],\r\n \"terminateTLS\": false,\r\n \"sourceAddresses\": [\r\n \"192.168.0.0/16\"\r\n ],\r\n \"destinationAddresses\": [],\r\n \"sourceIpGroups\": []\r\n }\r\n ],\r\n \"name\": \"appRc\",\r\n \"priority\": 400\r\n }\r\n ],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101/ruleCollectionGroups/ps5713\",\r\n \"name\": \"ps5713\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies/RuleCollectionGroups\",\r\n \"etag\": \"3776f153-6a96-4161-a23f-1d9312417bb9\",\r\n \"location\": \"westus2\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101/ruleCollectionGroups/ps5713?api-version=2020-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL3Jlc291cmNlR3JvdXBzL3BzOTAwNS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvZmlyZXdhbGxQb2xpY2llcy9wczYxMDEvcnVsZUNvbGxlY3Rpb25Hcm91cHMvcHM1NzEzP2FwaS12ZXJzaW9uPTIwMjAtMDctMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "759fc3b5-367c-494c-b084-17f218f6f31f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.2.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "472f249b-47ae-42b4-94cd-9e7ece04eb13" + ], + "x-ms-correlation-request-id": [ + "472f249b-47ae-42b4-94cd-9e7ece04eb13" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013248Z:472f249b-47ae-42b4-94cd-9e7ece04eb13" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:32:47 GMT" + ], + "Content-Length": [ + "1438" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"priority\": 100,\r\n \"ruleCollections\": [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": [\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n \"name\": \"appRule\",\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 80\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 443\r\n }\r\n ],\r\n \"fqdnTags\": [],\r\n \"webCategories\": [\r\n \"DatingAndPersonals\",\r\n \"Tasteless\"\r\n ],\r\n \"targetFqdns\": [],\r\n \"targetUrls\": [],\r\n \"terminateTLS\": false,\r\n \"sourceAddresses\": [\r\n \"192.168.0.0/16\"\r\n ],\r\n \"destinationAddresses\": [],\r\n \"sourceIpGroups\": []\r\n }\r\n ],\r\n \"name\": \"appRc\",\r\n \"priority\": 400\r\n }\r\n ],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101/ruleCollectionGroups/ps5713\",\r\n \"name\": \"ps5713\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies/RuleCollectionGroups\",\r\n \"etag\": \"3776f153-6a96-4161-a23f-1d9312417bb9\",\r\n \"location\": \"westus2\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101/ruleCollectionGroups/ps5713?api-version=2020-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL3Jlc291cmNlR3JvdXBzL3BzOTAwNS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvZmlyZXdhbGxQb2xpY2llcy9wczYxMDEvcnVsZUNvbGxlY3Rpb25Hcm91cHMvcHM1NzEzP2FwaS12ZXJzaW9uPTIwMjAtMDctMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c7fa6670-224f-433b-acde-fa786b800088" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.2.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-request-id": [ + "63bc7e62-a97e-4aec-8ba1-5369a146444d" + ], + "x-ms-correlation-request-id": [ + "63bc7e62-a97e-4aec-8ba1-5369a146444d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013248Z:63bc7e62-a97e-4aec-8ba1-5369a146444d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:32:47 GMT" + ], + "Content-Length": [ + "1438" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"priority\": 100,\r\n \"ruleCollections\": [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": [\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n \"name\": \"appRule\",\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 80\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 443\r\n }\r\n ],\r\n \"fqdnTags\": [],\r\n \"webCategories\": [\r\n \"DatingAndPersonals\",\r\n \"Tasteless\"\r\n ],\r\n \"targetFqdns\": [],\r\n \"targetUrls\": [],\r\n \"terminateTLS\": false,\r\n \"sourceAddresses\": [\r\n \"192.168.0.0/16\"\r\n ],\r\n \"destinationAddresses\": [],\r\n \"sourceIpGroups\": []\r\n }\r\n ],\r\n \"name\": \"appRc\",\r\n \"priority\": 400\r\n }\r\n ],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101/ruleCollectionGroups/ps5713\",\r\n \"name\": \"ps5713\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies/RuleCollectionGroups\",\r\n \"etag\": \"3776f153-6a96-4161-a23f-1d9312417bb9\",\r\n \"location\": \"westus2\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101/ruleCollectionGroups/ps5713?api-version=2020-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL3Jlc291cmNlR3JvdXBzL3BzOTAwNS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvZmlyZXdhbGxQb2xpY2llcy9wczYxMDEvcnVsZUNvbGxlY3Rpb25Hcm91cHMvcHM1NzEzP2FwaS12ZXJzaW9uPTIwMjAtMDctMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.2.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-request-id": [ + "47f13e04-b86d-4d25-bc25-ed42039154a1" + ], + "x-ms-correlation-request-id": [ + "47f13e04-b86d-4d25-bc25-ed42039154a1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013259Z:47f13e04-b86d-4d25-bc25-ed42039154a1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:32:59 GMT" + ], + "Content-Length": [ + "1438" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"priority\": 154,\r\n \"ruleCollections\": [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": [\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n \"name\": \"appRule\",\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 80\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 443\r\n }\r\n ],\r\n \"fqdnTags\": [],\r\n \"webCategories\": [\r\n \"DatingAndPersonals\",\r\n \"Tasteless\"\r\n ],\r\n \"targetFqdns\": [],\r\n \"targetUrls\": [],\r\n \"terminateTLS\": false,\r\n \"sourceAddresses\": [\r\n \"192.168.0.0/16\"\r\n ],\r\n \"destinationAddresses\": [],\r\n \"sourceIpGroups\": []\r\n }\r\n ],\r\n \"name\": \"appRc\",\r\n \"priority\": 400\r\n }\r\n ],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101/ruleCollectionGroups/ps5713\",\r\n \"name\": \"ps5713\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies/RuleCollectionGroups\",\r\n \"etag\": \"c26d1838-fed2-4829-bb53-51ed7b54880c\",\r\n \"location\": \"westus2\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101/ruleCollectionGroups/ps5713?api-version=2020-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL3Jlc291cmNlR3JvdXBzL3BzOTAwNS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvZmlyZXdhbGxQb2xpY2llcy9wczYxMDEvcnVsZUNvbGxlY3Rpb25Hcm91cHMvcHM1NzEzP2FwaS12ZXJzaW9uPTIwMjAtMDctMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "235a5043-308e-4ebe-b6ab-b716d0001504" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.2.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-request-id": [ + "c283bdfb-eddc-4458-8b4f-46d78b5a1c86" + ], + "x-ms-correlation-request-id": [ + "c283bdfb-eddc-4458-8b4f-46d78b5a1c86" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013259Z:c283bdfb-eddc-4458-8b4f-46d78b5a1c86" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:32:59 GMT" + ], + "Content-Length": [ + "1438" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"priority\": 154,\r\n \"ruleCollections\": [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": [\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n \"name\": \"appRule\",\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 80\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 443\r\n }\r\n ],\r\n \"fqdnTags\": [],\r\n \"webCategories\": [\r\n \"DatingAndPersonals\",\r\n \"Tasteless\"\r\n ],\r\n \"targetFqdns\": [],\r\n \"targetUrls\": [],\r\n \"terminateTLS\": false,\r\n \"sourceAddresses\": [\r\n \"192.168.0.0/16\"\r\n ],\r\n \"destinationAddresses\": [],\r\n \"sourceIpGroups\": []\r\n }\r\n ],\r\n \"name\": \"appRc\",\r\n \"priority\": 400\r\n }\r\n ],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps6101/ruleCollectionGroups/ps5713\",\r\n \"name\": \"ps5713\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies/RuleCollectionGroups\",\r\n \"etag\": \"c26d1838-fed2-4829-bb53-51ed7b54880c\",\r\n \"location\": \"westus2\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/providers/Microsoft.Network/locations/westus2/nfvOperations/e8faa7fe-00b1-4b5d-8639-4c0dd8898646?api-version=2020-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9sb2NhdGlvbnMvd2VzdHVzMi9uZnZPcGVyYXRpb25zL2U4ZmFhN2ZlLTAwYjEtNGI1ZC04NjM5LTRjMGRkODg5ODY0Nj9hcGktdmVyc2lvbj0yMDIwLTA3LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.2.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "27da4072-67ae-4106-bdba-0d6c58cdb0e3" + ], + "x-ms-correlation-request-id": [ + "f1df9f55-bca2-4e83-95e1-0bcb6ebb9e9b" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013259Z:f1df9f55-bca2-4e83-95e1-0bcb6ebb9e9b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:32:59 GMT" + ], + "Content-Length": [ + "29" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps3706?api-version=2020-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL3Jlc291cmNlR3JvdXBzL3BzOTAwNS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvZmlyZXdhbGxQb2xpY2llcy9wczM3MDY/YXBpLXZlcnNpb249MjAyMC0wNy0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bf7615db-6a58-4e44-bbe4-2007fd460c2d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.2.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "05f1490f-b015-44d2-8de9-e5521dc35ffd" + ], + "x-ms-correlation-request-id": [ + "05f1490f-b015-44d2-8de9-e5521dc35ffd" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013300Z:05f1490f-b015-44d2-8de9-e5521dc35ffd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:32:59 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "219" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Network/firewallPolicies/ps3706' under resource group 'ps9005' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps3706?api-version=2020-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL3Jlc291cmNlR3JvdXBzL3BzOTAwNS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvZmlyZXdhbGxQb2xpY2llcy9wczM3MDY/YXBpLXZlcnNpb249MjAyMC0wNy0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.2.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-request-id": [ + "ec5e7b24-1c71-472b-b7d0-66778706b570" + ], + "x-ms-correlation-request-id": [ + "ec5e7b24-1c71-472b-b7d0-66778706b570" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013311Z:ec5e7b24-1c71-472b-b7d0-66778706b570" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:33:11 GMT" + ], + "Content-Length": [ + "513" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": \"Alert\",\r\n \"childPolicies\": [],\r\n \"ruleCollectionGroups\": [],\r\n \"firewalls\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps3706\",\r\n \"name\": \"ps3706\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n \"etag\": \"3a044a7d-02fd-4c0e-b5f0-a3715c766331\",\r\n \"location\": \"westus2\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps3706?api-version=2020-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL3Jlc291cmNlR3JvdXBzL3BzOTAwNS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvZmlyZXdhbGxQb2xpY2llcy9wczM3MDY/YXBpLXZlcnNpb249MjAyMC0wNy0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9af7f8b5-b324-43a8-8659-1ceeecb935d5" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.2.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-request-id": [ + "4d2e8087-b9b3-40e0-91de-ecde0f227167" + ], + "x-ms-correlation-request-id": [ + "4d2e8087-b9b3-40e0-91de-ecde0f227167" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013311Z:4d2e8087-b9b3-40e0-91de-ecde0f227167" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:33:11 GMT" + ], + "Content-Length": [ + "513" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": \"Alert\",\r\n \"childPolicies\": [],\r\n \"ruleCollectionGroups\": [],\r\n \"firewalls\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps3706\",\r\n \"name\": \"ps3706\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n \"etag\": \"3a044a7d-02fd-4c0e-b5f0-a3715c766331\",\r\n \"location\": \"westus2\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps3706?api-version=2020-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL3Jlc291cmNlR3JvdXBzL3BzOTAwNS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvZmlyZXdhbGxQb2xpY2llcy9wczM3MDY/YXBpLXZlcnNpb249MjAyMC0wNy0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"threatIntelMode\": \"Alert\"\r\n },\r\n \"location\": \"westus2\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ed02a291-d5f4-468d-8bef-de38271b5390" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.2.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "86" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "10" + ], + "x-ms-request-id": [ + "925cede4-e1bd-4ef7-97b0-9a3a9b578946" + ], + "x-ms-correlation-request-id": [ + "72631884-51ed-489b-8bcd-9e25d762216a" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/providers/Microsoft.Network/locations/westus2/nfvOperations/925cede4-e1bd-4ef7-97b0-9a3a9b578946?api-version=2020-07-01" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013301Z:72631884-51ed-489b-8bcd-9e25d762216a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:33:01 GMT" + ], + "Content-Length": [ + "512" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": \"Alert\",\r\n \"childPolicies\": [],\r\n \"ruleCollectionGroups\": [],\r\n \"firewalls\": [],\r\n \"provisioningState\": \"Updating\"\r\n },\r\n \"id\": \"/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourceGroups/ps9005/providers/Microsoft.Network/firewallPolicies/ps3706\",\r\n \"name\": \"ps3706\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n \"etag\": \"3a044a7d-02fd-4c0e-b5f0-a3715c766331\",\r\n \"location\": \"westus2\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/providers/Microsoft.Network/locations/westus2/nfvOperations/925cede4-e1bd-4ef7-97b0-9a3a9b578946?api-version=2020-07-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9sb2NhdGlvbnMvd2VzdHVzMi9uZnZPcGVyYXRpb25zLzkyNWNlZGU0LWUxYmQtNGVmNy05N2IwLTlhM2E5YjU3ODk0Nj9hcGktdmVyc2lvbj0yMDIwLTA3LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/20.2.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "af79928c-344e-42fd-a19c-f0e31c5f5c27" + ], + "x-ms-correlation-request-id": [ + "ea5c8152-ad84-4cd8-be34-791ac1aedd0e" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013311Z:ea5c8152-ad84-4cd8-be34-791ac1aedd0e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:33:11 GMT" + ], + "Content-Length": [ + "29" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/resourcegroups/ps9005?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL3Jlc291cmNlZ3JvdXBzL3BzOTAwNT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b21add07-99fb-410d-8e87-5d4cadca9a0f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.29" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzkwMDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "ff9d1e7e-dbf3-479f-be35-79bc2ae8f0b7" + ], + "x-ms-correlation-request-id": [ + "ff9d1e7e-dbf3-479f-be35-79bc2ae8f0b7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013312Z:ff9d1e7e-dbf3-479f-be35-79bc2ae8f0b7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:33:11 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzkwMDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprd01EVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.29" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzkwMDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "f7267336-4b29-4001-a7b3-3e39b33f8583" + ], + "x-ms-correlation-request-id": [ + "f7267336-4b29-4001-a7b3-3e39b33f8583" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013327Z:f7267336-4b29-4001-a7b3-3e39b33f8583" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:33:26 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzkwMDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprd01EVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.29" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzkwMDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "4fd02a5c-5773-4abc-81b5-5c47f73760f0" + ], + "x-ms-correlation-request-id": [ + "4fd02a5c-5773-4abc-81b5-5c47f73760f0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013342Z:4fd02a5c-5773-4abc-81b5-5c47f73760f0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:33:41 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzkwMDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprd01EVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.29" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzkwMDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "4d6c35b7-4aa7-4050-8fbd-a639275e8cdb" + ], + "x-ms-correlation-request-id": [ + "4d6c35b7-4aa7-4050-8fbd-a639275e8cdb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013357Z:4d6c35b7-4aa7-4050-8fbd-a639275e8cdb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:33:57 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzkwMDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprd01EVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.29" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzkwMDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "8f0b0cd9-fe3d-488f-809e-0114a2d86d52" + ], + "x-ms-correlation-request-id": [ + "8f0b0cd9-fe3d-488f-809e-0114a2d86d52" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013412Z:8f0b0cd9-fe3d-488f-809e-0114a2d86d52" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:34:12 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzkwMDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprd01EVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.29" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzkwMDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "8d3b2c3e-c4e9-440a-891d-ee53e14eb99d" + ], + "x-ms-correlation-request-id": [ + "8d3b2c3e-c4e9-440a-891d-ee53e14eb99d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013428Z:8d3b2c3e-c4e9-440a-891d-ee53e14eb99d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:34:27 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzkwMDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprd01EVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.29" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzkwMDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "373b52d1-c536-4a91-9d9d-df619df8acd9" + ], + "x-ms-correlation-request-id": [ + "373b52d1-c536-4a91-9d9d-df619df8acd9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013443Z:373b52d1-c536-4a91-9d9d-df619df8acd9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:34:42 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzkwMDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprd01EVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.29" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "b34606fe-9380-44d3-8edc-b388ad837d10" + ], + "x-ms-correlation-request-id": [ + "b34606fe-9380-44d3-8edc-b388ad837d10" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013458Z:b34606fe-9380-44d3-8edc-b388ad837d10" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:34:57 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/aeb5b02a-0f18-45a4-86d6-81808115cacf/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzkwMDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWViNWIwMmEtMGYxOC00NWE0LTg2ZDYtODE4MDgxMTVjYWNmL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprd01EVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.29" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "bbcc7ddb-2706-45be-b4bc-e9bf2fcdd311" + ], + "x-ms-correlation-request-id": [ + "bbcc7ddb-2706-45be-b4bc-e9bf2fcdd311" + ], + "x-ms-routing-request-id": [ + "WESTUS:20201208T013458Z:bbcc7ddb-2706-45be-b4bc-e9bf2fcdd311" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 08 Dec 2020 01:34:57 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Test-AzureFirewallPolicyWithWebCategories": [ + "ps9005", + "ps6101", + "ps3706", + "ps5713" + ] + }, + "Variables": { + "SubscriptionId": "aeb5b02a-0f18-45a4-86d6-81808115cacf" + } +} \ No newline at end of file diff --git a/src/Network/Network/AzureFirewallPolicy/ApplicationRuleCondition/AzureFirewallPolicyApplicationRuleParameterSets.cs b/src/Network/Network/AzureFirewallPolicy/ApplicationRuleCondition/AzureFirewallPolicyApplicationRuleParameterSets.cs index c9ec00152b68..2b46665947b4 100644 --- a/src/Network/Network/AzureFirewallPolicy/ApplicationRuleCondition/AzureFirewallPolicyApplicationRuleParameterSets.cs +++ b/src/Network/Network/AzureFirewallPolicy/ApplicationRuleCondition/AzureFirewallPolicyApplicationRuleParameterSets.cs @@ -23,5 +23,9 @@ public static class AzureFirewallPolicyApplicationRuleParameterSets public const string SourceIpGroupAndTargetFqdn = @"SourceIpGroupAndTargetFqdn"; public const string SourceIpGroupAndFqdnTag = @"SourceIpGroupAndFqdnTag"; + + public const string SourceAddressAndWebCategory = @"SourceAddressAndWebCategory"; + + public const string SourceIpGroupAndWebCategory = @"SourceIpGroupAndWebCategory"; } } diff --git a/src/Network/Network/AzureFirewallPolicy/ApplicationRuleCondition/NewAzureFirewallPolicyApplicationRuleCommand.cs b/src/Network/Network/AzureFirewallPolicy/ApplicationRuleCondition/NewAzureFirewallPolicyApplicationRuleCommand.cs index 56e4c8dc5ea9..d422172227da 100644 --- a/src/Network/Network/AzureFirewallPolicy/ApplicationRuleCondition/NewAzureFirewallPolicyApplicationRuleCommand.cs +++ b/src/Network/Network/AzureFirewallPolicy/ApplicationRuleCondition/NewAzureFirewallPolicyApplicationRuleCommand.cs @@ -48,6 +48,10 @@ public class NewAzFirewallPolicyApplicationRuleCommand : AzureFirewallPolicyBase Mandatory = true, ParameterSetName = AzureFirewallPolicyApplicationRuleParameterSets.SourceAddressAndFqdnTag, HelpMessage = "The source addresses of the rule. Either SourceAddress or SourceIpGroup must be present.")] + [Parameter( + Mandatory = true, + ParameterSetName = AzureFirewallPolicyApplicationRuleParameterSets.SourceAddressAndWebCategory, + HelpMessage = "The source addresses of the rule. Either SourceAddress or SourceIpGroup must be present.")] [ValidateNotNullOrEmpty] public string[] SourceAddress { get; set; } @@ -59,6 +63,10 @@ public class NewAzFirewallPolicyApplicationRuleCommand : AzureFirewallPolicyBase Mandatory = true, ParameterSetName = AzureFirewallPolicyApplicationRuleParameterSets.SourceIpGroupAndFqdnTag, HelpMessage = "The source addresses of the rule. Either SourceAddress or SourceIpGroup must be present.")] + [Parameter( + Mandatory = true, + ParameterSetName = AzureFirewallPolicyApplicationRuleParameterSets.SourceIpGroupAndWebCategory, + HelpMessage = "The source addresses of the rule. Either SourceAddress or SourceIpGroup must be present.")] [ValidateNotNullOrEmpty] public string[] SourceIpGroup { get; set; } @@ -81,9 +89,24 @@ public class NewAzFirewallPolicyApplicationRuleCommand : AzureFirewallPolicyBase Mandatory = true, ParameterSetName = AzureFirewallPolicyApplicationRuleParameterSets.SourceIpGroupAndFqdnTag, HelpMessage = "The FQDN Tags of the rule")] + [Parameter( + Mandatory = true, + ParameterSetName = AzureFirewallPolicyApplicationRuleParameterSets.SourceIpGroupAndWebCategory, + HelpMessage = "The source addresses of the rule. Either SourceAddress or SourceIpGroup must be present.")] [ValidateNotNullOrEmpty] public string[] FqdnTag { get; set; } + [Parameter( + Mandatory = true, + ParameterSetName = AzureFirewallPolicyApplicationRuleParameterSets.SourceAddressAndWebCategory, + HelpMessage = "The Web Categories of the rule")] + [Parameter( + Mandatory = true, + ParameterSetName = AzureFirewallPolicyApplicationRuleParameterSets.SourceIpGroupAndWebCategory, + HelpMessage = "The Web Categories of the rule")] + [ValidateNotNullOrEmpty] + public string[] WebCategory { get; set; } + [Parameter( Mandatory = true, ParameterSetName = AzureFirewallPolicyApplicationRuleParameterSets.SourceAddressAndTargetFqdn, @@ -92,6 +115,14 @@ public class NewAzFirewallPolicyApplicationRuleCommand : AzureFirewallPolicyBase Mandatory = true, ParameterSetName = AzureFirewallPolicyApplicationRuleParameterSets.SourceIpGroupAndTargetFqdn, HelpMessage = "The protocols of the rule")] + [Parameter( + Mandatory = true, + ParameterSetName = AzureFirewallPolicyApplicationRuleParameterSets.SourceAddressAndWebCategory, + HelpMessage = "The protocols of the rule")] + [Parameter( + Mandatory = true, + ParameterSetName = AzureFirewallPolicyApplicationRuleParameterSets.SourceIpGroupAndWebCategory, + HelpMessage = "The protocols of the rule")] [ValidateNotNullOrEmpty] public string[] Protocol { get; set; } @@ -115,6 +146,7 @@ public override void Execute() Protocols = protocolsAsWeExpectThem, TargetFqdns = this.TargetFqdn?.ToList(), FqdnTags = this.FqdnTag?.ToList(), + WebCategories = this.WebCategory?.ToList(), RuleType = "ApplicationRule" }; WriteObject(applicationRule); diff --git a/src/Network/Network/ChangeLog.md b/src/Network/Network/ChangeLog.md index 2656a5bcf9d7..34e329fd671f 100644 --- a/src/Network/Network/ChangeLog.md +++ b/src/Network/Network/ChangeLog.md @@ -22,6 +22,8 @@ * Updated cmdlets to enable setting of ConnectionMode on Virtual Network Gateway Connections. - `New-AzVirtualNetworkGatewayConnection` - `Set-AzVirtualNetworkGatewayConnection` +* Updated `New-AzFirewallPolicyApplicationRule` cmdlet: + - Added parameter WebCategory ## Version 4.3.0 * Updated below cmdlet diff --git a/src/Network/Network/Models/AzureFirewallPolicy/PSAzureFirewallPolicyApplicationRule.cs b/src/Network/Network/Models/AzureFirewallPolicy/PSAzureFirewallPolicyApplicationRule.cs index 551493e48957..61b420e3a316 100644 --- a/src/Network/Network/Models/AzureFirewallPolicy/PSAzureFirewallPolicyApplicationRule.cs +++ b/src/Network/Network/Models/AzureFirewallPolicy/PSAzureFirewallPolicyApplicationRule.cs @@ -36,6 +36,9 @@ public class PSAzureFirewallPolicyApplicationRule : PSAzureFirewallPolicyRule [JsonProperty(Order = 7, PropertyName = "sourceIpGroups")] public List SourceIpGroups { get; set; } + [JsonProperty(Order = 8, PropertyName = "webCategories")] + public List WebCategories { get; set; } + [JsonIgnore] public string ProtocolsText { @@ -66,6 +69,12 @@ public string FqdnTagsText get { return JsonConvert.SerializeObject(FqdnTags, Formatting.Indented); } } + [JsonIgnore] + public string WebCategoriesText + { + get { return JsonConvert.SerializeObject(WebCategories, Formatting.Indented); } + } + public void AddProtocol(string protocolType, uint port = 0) { var stringToMap = protocolType + (port == 0 ? string.Empty : ":" + port); diff --git a/src/Network/Network/help/New-AzFirewallPolicyApplicationRule.md b/src/Network/Network/help/New-AzFirewallPolicyApplicationRule.md index bb56bd2d638e..1dd2b803c79b 100644 --- a/src/Network/Network/help/New-AzFirewallPolicyApplicationRule.md +++ b/src/Network/Network/help/New-AzFirewallPolicyApplicationRule.md @@ -12,18 +12,40 @@ Create a new Azure Firewall Policy Application Rule ## SYNTAX -### TargetFqdn (Default) +### SourceAddressAndTargetFqdn (Default) ``` -New-AzFirewallPolicyApplicationRule -Name [-Description ] [-SourceAddress ] - [-SourceIpGroup ] -TargetFqdn -Protocol - [-DefaultProfile ] [-WhatIf] [-Confirm] [] +New-AzFirewallPolicyApplicationRule -Name [-Description ] -SourceAddress + -TargetFqdn -Protocol [-DefaultProfile ] [] ``` -### FqdnTag +### SourceAddressAndFqdnTag ``` -New-AzFirewallPolicyApplicationRule -Name [-Description ] [-SourceAddress ] - [-SourceIpGroup ] -FqdnTag [-DefaultProfile ] [-WhatIf] - [-Confirm] [] +New-AzFirewallPolicyApplicationRule -Name [-Description ] -SourceAddress + -FqdnTag [-DefaultProfile ] [] +``` + +### SourceAddressAndWebCategory +``` +New-AzFirewallPolicyApplicationRule -Name [-Description ] -SourceAddress + -WebCategory -Protocol [-DefaultProfile ] [] +``` + +### SourceIpGroupAndTargetFqdn +``` +New-AzFirewallPolicyApplicationRule -Name [-Description ] -SourceIpGroup + -TargetFqdn -Protocol [-DefaultProfile ] [] +``` + +### SourceIpGroupAndFqdnTag +``` +New-AzFirewallPolicyApplicationRule -Name [-Description ] -SourceIpGroup + -FqdnTag [-DefaultProfile ] [] +``` + +### SourceIpGroupAndWebCategory +``` +New-AzFirewallPolicyApplicationRule -Name [-Description ] -SourceIpGroup + -WebCategory -Protocol [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -39,21 +61,19 @@ PS C:\> New-AzFirewallPolicyApplicationRule -Name AR1 -SourceAddress "192.168.0. This example creates an application rule with the source address, protocol and the target fqdns. ### Example 2 - -Create a new Azure Firewall Policy Application Rule. (autogenerated) - - ```powershell -New-AzFirewallPolicyApplicationRule -Description 'Allow web service' -Name AR1 -Protocol 'http:80' -SourceAddress '192.168.0.0/16' -TargetFqdn '*.ro' +PS C:\> New-AzFirewallPolicyApplicationRule -Name AR1 -SourceAddress "192.168.0.0/16" -Protocol "http:80","https:443" -WebCategory "DatingAndPersonals", "Tasteless" ``` +This example creates an application rule with the source address, protocol and web categories. + ## PARAMETERS ### -DefaultProfile The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: IAzureContextContainer +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer Parameter Sets: (All) Aliases: AzContext, AzureRmContext, AzureCredential @@ -68,7 +88,7 @@ Accept wildcard characters: False The description of the rule ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: @@ -83,8 +103,8 @@ Accept wildcard characters: False The FQDN Tags of the rule ```yaml -Type: String[] -Parameter Sets: FqdnTag +Type: System.String[] +Parameter Sets: SourceAddressAndFqdnTag, SourceIpGroupAndFqdnTag Aliases: Required: True @@ -98,7 +118,7 @@ Accept wildcard characters: False The name of the Application Rule ```yaml -Type: String +Type: System.String Parameter Sets: (All) Aliases: @@ -113,8 +133,8 @@ Accept wildcard characters: False The protocols of the rule ```yaml -Type: String[] -Parameter Sets: TargetFqdn +Type: System.String[] +Parameter Sets: SourceAddressAndTargetFqdn, SourceAddressAndWebCategory, SourceIpGroupAndTargetFqdn, SourceIpGroupAndWebCategory Aliases: Required: True @@ -128,11 +148,11 @@ Accept wildcard characters: False The source addresses of the rule ```yaml -Type: String[] -Parameter Sets: (All) +Type: System.String[] +Parameter Sets: SourceAddressAndTargetFqdn, SourceAddressAndFqdnTag, SourceAddressAndWebCategory Aliases: -Required: False +Required: True Position: Named Default value: None Accept pipeline input: False @@ -143,11 +163,11 @@ Accept wildcard characters: False The source ipgroups of the rule ```yaml -Type: String[] -Parameter Sets: (All) +Type: System.String[] +Parameter Sets: SourceIpGroupAndTargetFqdn, SourceIpGroupAndFqdnTag, SourceIpGroupAndWebCategory Aliases: -Required: False +Required: True Position: Named Default value: None Accept pipeline input: False @@ -158,8 +178,8 @@ Accept wildcard characters: False The target FQDNs of the rule ```yaml -Type: String[] -Parameter Sets: TargetFqdn +Type: System.String[] +Parameter Sets: SourceAddressAndTargetFqdn, SourceIpGroupAndTargetFqdn Aliases: Required: True @@ -169,31 +189,15 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. +### -WebCategory +The Web Categories of the rule ```yaml -Type: SwitchParameter -Parameter Sets: (All) -Aliases: wi +Type: System.String[] +Parameter Sets: SourceAddressAndWebCategory, SourceIpGroupAndWebCategory +Aliases: -Required: False +Required: True Position: Named Default value: None Accept pipeline input: False