diff --git a/Commands/network/firewall/policy/draft/intrusion-detection/_create.md b/Commands/network/firewall/policy/draft/intrusion-detection/_create.md index e01feea1a..bbcae8cf5 100644 --- a/Commands/network/firewall/policy/draft/intrusion-detection/_create.md +++ b/Commands/network/firewall/policy/draft/intrusion-detection/_create.md @@ -6,4 +6,4 @@ None ### [2023-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vZmlyZXdhbGxwb2xpY3lkcmFmdHMvZGVmYXVsdA==/2023-11-01.xml) **Stable** - + diff --git a/Commands/network/firewall/policy/draft/intrusion-detection/_delete.md b/Commands/network/firewall/policy/draft/intrusion-detection/_delete.md index a9fd86cc0..e45150a0d 100644 --- a/Commands/network/firewall/policy/draft/intrusion-detection/_delete.md +++ b/Commands/network/firewall/policy/draft/intrusion-detection/_delete.md @@ -6,4 +6,4 @@ None ### [2023-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vZmlyZXdhbGxwb2xpY3lkcmFmdHMvZGVmYXVsdA==/2023-11-01.xml) **Stable** - + diff --git a/Commands/network/firewall/policy/draft/intrusion-detection/_show.md b/Commands/network/firewall/policy/draft/intrusion-detection/_show.md index 678badd99..b8c1a0a5e 100644 --- a/Commands/network/firewall/policy/draft/intrusion-detection/_show.md +++ b/Commands/network/firewall/policy/draft/intrusion-detection/_show.md @@ -1,9 +1,9 @@ # [Command] _network firewall policy draft intrusion-detection show_ -List all intrusion detection configuration +None ## Versions ### [2023-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vZmlyZXdhbGxwb2xpY3lkcmFmdHMvZGVmYXVsdA==/2023-11-01.xml) **Stable** - + diff --git a/Commands/network/firewall/policy/draft/intrusion-detection/_update.md b/Commands/network/firewall/policy/draft/intrusion-detection/_update.md index feb42ea2a..4b5288ad4 100644 --- a/Commands/network/firewall/policy/draft/intrusion-detection/_update.md +++ b/Commands/network/firewall/policy/draft/intrusion-detection/_update.md @@ -6,4 +6,4 @@ None ### [2023-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vZmlyZXdhbGxwb2xpY3lkcmFmdHMvZGVmYXVsdA==/2023-11-01.xml) **Stable** - + diff --git a/Commands/network/firewall/policy/draft/intrusion-detection/readme.md b/Commands/network/firewall/policy/draft/intrusion-detection/readme.md index f04887bfb..b604f5766 100644 --- a/Commands/network/firewall/policy/draft/intrusion-detection/readme.md +++ b/Commands/network/firewall/policy/draft/intrusion-detection/readme.md @@ -11,7 +11,7 @@ Manage intrusion signature rules and bypass rules : None - [show](/Commands/network/firewall/policy/draft/intrusion-detection/_show.md) -: List all intrusion detection configuration +: None - [update](/Commands/network/firewall/policy/draft/intrusion-detection/_update.md) : None diff --git a/Commands/network/firewall/policy/draft/readme.md b/Commands/network/firewall/policy/draft/readme.md index 62fe3660f..25018f6dd 100644 --- a/Commands/network/firewall/policy/draft/readme.md +++ b/Commands/network/firewall/policy/draft/readme.md @@ -2,6 +2,11 @@ Manage and configure Azure firewall policy draft, +## Subgroups + +- [intrusion-detection](/Commands/network/firewall/policy/draft/intrusion-detection/readme.md) +: Manage intrusion signature rules and bypass rules + ## Commands - [create](/Commands/network/firewall/policy/draft/_create.md) diff --git a/Commands/network/firewall/policy/rule-collection-group/draft/collection/_create.md b/Commands/network/firewall/policy/rule-collection-group/draft/collection/_create.md new file mode 100644 index 000000000..4aaaf3cbb --- /dev/null +++ b/Commands/network/firewall/policy/rule-collection-group/draft/collection/_create.md @@ -0,0 +1,9 @@ +# [Command] _network firewall policy rule-collection-group draft collection create_ + +None + +## Versions + +### [2023-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vcnVsZWNvbGxlY3Rpb25ncm91cHMve30vcnVsZWNvbGxlY3Rpb25ncm91cGRyYWZ0cy9kZWZhdWx0/2023-11-01.xml) **Stable** + + diff --git a/Commands/network/firewall/policy/rule-collection-group/draft/collection/_delete.md b/Commands/network/firewall/policy/rule-collection-group/draft/collection/_delete.md new file mode 100644 index 000000000..f2feaf306 --- /dev/null +++ b/Commands/network/firewall/policy/rule-collection-group/draft/collection/_delete.md @@ -0,0 +1,9 @@ +# [Command] _network firewall policy rule-collection-group draft collection delete_ + +None + +## Versions + +### [2023-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vcnVsZWNvbGxlY3Rpb25ncm91cHMve30vcnVsZWNvbGxlY3Rpb25ncm91cGRyYWZ0cy9kZWZhdWx0/2023-11-01.xml) **Stable** + + diff --git a/Commands/network/firewall/policy/rule-collection-group/draft/collection/_list.md b/Commands/network/firewall/policy/rule-collection-group/draft/collection/_list.md new file mode 100644 index 000000000..796618c69 --- /dev/null +++ b/Commands/network/firewall/policy/rule-collection-group/draft/collection/_list.md @@ -0,0 +1,9 @@ +# [Command] _network firewall policy rule-collection-group draft collection list_ + +List all rule collections of an Azure firewall policy rule collection group draft. + +## Versions + +### [2023-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vcnVsZWNvbGxlY3Rpb25ncm91cHMve30vcnVsZWNvbGxlY3Rpb25ncm91cGRyYWZ0cy9kZWZhdWx0/2023-11-01.xml) **Stable** + + diff --git a/Commands/network/firewall/policy/rule-collection-group/draft/collection/_show.md b/Commands/network/firewall/policy/rule-collection-group/draft/collection/_show.md new file mode 100644 index 000000000..9cf8539c7 --- /dev/null +++ b/Commands/network/firewall/policy/rule-collection-group/draft/collection/_show.md @@ -0,0 +1,9 @@ +# [Command] _network firewall policy rule-collection-group draft collection show_ + +None + +## Versions + +### [2023-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vcnVsZWNvbGxlY3Rpb25ncm91cHMve30vcnVsZWNvbGxlY3Rpb25ncm91cGRyYWZ0cy9kZWZhdWx0/2023-11-01.xml) **Stable** + + diff --git a/Commands/network/firewall/policy/rule-collection-group/draft/collection/_update.md b/Commands/network/firewall/policy/rule-collection-group/draft/collection/_update.md new file mode 100644 index 000000000..2094a3a8b --- /dev/null +++ b/Commands/network/firewall/policy/rule-collection-group/draft/collection/_update.md @@ -0,0 +1,9 @@ +# [Command] _network firewall policy rule-collection-group draft collection update_ + +None + +## Versions + +### [2023-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vcnVsZWNvbGxlY3Rpb25ncm91cHMve30vcnVsZWNvbGxlY3Rpb25ncm91cGRyYWZ0cy9kZWZhdWx0/2023-11-01.xml) **Stable** + + diff --git a/Commands/network/firewall/policy/rule-collection-group/draft/collection/readme.md b/Commands/network/firewall/policy/rule-collection-group/draft/collection/readme.md new file mode 100644 index 000000000..87ab31334 --- /dev/null +++ b/Commands/network/firewall/policy/rule-collection-group/draft/collection/readme.md @@ -0,0 +1,23 @@ +# [Group] _network firewall policy rule-collection-group draft collection_ + +Manage and configure Azure firewall policy rule collections in the rule collection group draft. + +Currently, Azure Firewall policy support two kinds of rule collections which are Filter collection and NAT collection. There are three kinds of rules which are application rule, network rule and nat rule.\\ + NAT collection support having a list of nat rule. Filter collection support including a list of rules(network rule or application rule) in it. But all of rules should be the same type. + +## Commands + +- [create](/Commands/network/firewall/policy/rule-collection-group/draft/collection/_create.md) +: None + +- [delete](/Commands/network/firewall/policy/rule-collection-group/draft/collection/_delete.md) +: None + +- [list](/Commands/network/firewall/policy/rule-collection-group/draft/collection/_list.md) +: List all rule collections of an Azure firewall policy rule collection group draft. + +- [show](/Commands/network/firewall/policy/rule-collection-group/draft/collection/_show.md) +: None + +- [update](/Commands/network/firewall/policy/rule-collection-group/draft/collection/_update.md) +: None diff --git a/Commands/network/firewall/policy/rule-collection-group/draft/readme.md b/Commands/network/firewall/policy/rule-collection-group/draft/readme.md index ca761463b..b96fa4ce4 100644 --- a/Commands/network/firewall/policy/rule-collection-group/draft/readme.md +++ b/Commands/network/firewall/policy/rule-collection-group/draft/readme.md @@ -2,6 +2,11 @@ Manage and configure Azure firewall policy rule-collection-group draft. +## Subgroups + +- [collection](/Commands/network/firewall/policy/rule-collection-group/draft/collection/readme.md) +: Manage and configure Azure firewall policy rule collections in the rule collection group draft. + ## Commands - [create](/Commands/network/firewall/policy/rule-collection-group/draft/_create.md) diff --git a/Commands/tree.json b/Commands/tree.json index eb222aeaa..3b0478eeb 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -105975,6 +105975,126 @@ "policy": { "commandGroups": { "draft": { + "commandGroups": { + "intrusion-detection": { + "commands": { + "create": { + "help": { + "short": "None" + }, + "names": [ + "network", + "firewall", + "policy", + "draft", + "intrusion-detection", + "create" + ], + "versions": [ + { + "name": "2023-11-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/firewallpolicydrafts/default", + "plane": "mgmt-plane", + "subresource": "properties.intrusionDetection", + "version": "2023-11-01" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "None" + }, + "names": [ + "network", + "firewall", + "policy", + "draft", + "intrusion-detection", + "delete" + ], + "versions": [ + { + "name": "2023-11-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/firewallpolicydrafts/default", + "plane": "mgmt-plane", + "subresource": "properties.intrusionDetection", + "version": "2023-11-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "None" + }, + "names": [ + "network", + "firewall", + "policy", + "draft", + "intrusion-detection", + "show" + ], + "versions": [ + { + "name": "2023-11-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/firewallpolicydrafts/default", + "plane": "mgmt-plane", + "subresource": "properties.intrusionDetection", + "version": "2023-11-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "None" + }, + "names": [ + "network", + "firewall", + "policy", + "draft", + "intrusion-detection", + "update" + ], + "versions": [ + { + "name": "2023-11-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/firewallpolicydrafts/default", + "plane": "mgmt-plane", + "subresource": "properties.intrusionDetection", + "version": "2023-11-01" + } + ] + } + ] + } + }, + "help": { + "short": "Manage intrusion signature rules and bypass rules" + }, + "names": [ + "network", + "firewall", + "policy", + "draft", + "intrusion-detection" + ] + } + }, "commands": { "create": { "help": { @@ -106396,6 +106516,162 @@ ] }, "draft": { + "commandGroups": { + "collection": { + "commands": { + "create": { + "help": { + "short": "None" + }, + "names": [ + "network", + "firewall", + "policy", + "rule-collection-group", + "draft", + "collection", + "create" + ], + "versions": [ + { + "name": "2023-11-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/rulecollectiongroups/{}/rulecollectiongroupdrafts/default", + "plane": "mgmt-plane", + "subresource": "properties.ruleCollections[]", + "version": "2023-11-01" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "None" + }, + "names": [ + "network", + "firewall", + "policy", + "rule-collection-group", + "draft", + "collection", + "delete" + ], + "versions": [ + { + "name": "2023-11-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/rulecollectiongroups/{}/rulecollectiongroupdrafts/default", + "plane": "mgmt-plane", + "subresource": "properties.ruleCollections[]", + "version": "2023-11-01" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List all rule collections of an Azure firewall policy rule collection group draft." + }, + "names": [ + "network", + "firewall", + "policy", + "rule-collection-group", + "draft", + "collection", + "list" + ], + "versions": [ + { + "name": "2023-11-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/rulecollectiongroups/{}/rulecollectiongroupdrafts/default", + "plane": "mgmt-plane", + "subresource": "properties.ruleCollections", + "version": "2023-11-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "None" + }, + "names": [ + "network", + "firewall", + "policy", + "rule-collection-group", + "draft", + "collection", + "show" + ], + "versions": [ + { + "name": "2023-11-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/rulecollectiongroups/{}/rulecollectiongroupdrafts/default", + "plane": "mgmt-plane", + "subresource": "properties.ruleCollections[]", + "version": "2023-11-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "None" + }, + "names": [ + "network", + "firewall", + "policy", + "rule-collection-group", + "draft", + "collection", + "update" + ], + "versions": [ + { + "name": "2023-11-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/rulecollectiongroups/{}/rulecollectiongroupdrafts/default", + "plane": "mgmt-plane", + "subresource": "properties.ruleCollections[]", + "version": "2023-11-01" + } + ] + } + ] + } + }, + "help": { + "lines": [ + "Currently, Azure Firewall policy support two kinds of rule collections which are Filter collection and NAT collection. There are three kinds of rules which are application rule, network rule and nat rule.\\", + " NAT collection support having a list of nat rule. Filter collection support including a list of rules(network rule or application rule) in it. But all of rules should be the same type." + ], + "short": "Manage and configure Azure firewall policy rule collections in the rule collection group draft." + }, + "names": [ + "network", + "firewall", + "policy", + "rule-collection-group", + "draft", + "collection" + ] + } + }, "commands": { "create": { "help": { diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vZGVwbG95/2023-11-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vZGVwbG95/2023-11-01.json index 2c4b0bf92..428141475 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vZGVwbG95/2023-11-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vZGVwbG95/2023-11-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/deploy", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L2RlcGxveQ==/V/MjAyMy0xMS0wMQ=="}], "commandGroups": [{"name": "network firewall policy", "commands": [{"name": "deploy", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/deploy", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L2RlcGxveQ==/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "FirewallPolicyDeployments_Deploy", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/deploy", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/deploy", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L2RlcGxveQ==/V/MjAyMy0xMS0wMQ=="}], "commandGroups": [{"name": "network firewall policy", "commands": [{"name": "deploy", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/deploy", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L2RlcGxveQ==/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "FirewallPolicyDeployments_Deploy", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/deploy", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vZGVwbG95/2023-11-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vZGVwbG95/2023-11-01.xml index 1c4e19a25..9f6041ac8 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vZGVwbG95/2023-11-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vZGVwbG95/2023-11-01.xml @@ -2,7 +2,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vZmlyZXdhbGxwb2xpY3lkcmFmdHMvZGVmYXVsdA==/2023-11-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vZmlyZXdhbGxwb2xpY3lkcmFmdHMvZGVmYXVsdA==/2023-11-01.json index a167162fe..7ac565765 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vZmlyZXdhbGxwb2xpY3lkcmFmdHMvZGVmYXVsdA==/2023-11-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vZmlyZXdhbGxwb2xpY3lkcmFmdHMvZGVmYXVsdA==/2023-11-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/firewallpolicydrafts/default", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L2ZpcmV3YWxsUG9saWN5RHJhZnRzL2RlZmF1bHQ=/V/MjAyMy0xMS0wMQ=="}], "commandGroups": [{"name": "network firewall policy draft", "commands": [{"name": "show", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/firewallpolicydrafts/default", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L2ZpcmV3YWxsUG9saWN5RHJhZnRzL2RlZmF1bHQ=/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "FirewallPolicyDrafts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/firewallPolicyDrafts/default"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "basePolicy", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "object", "name": "dnsSettings", "props": [{"type": "boolean", "name": "enableProxy"}, {"nullable": true, "type": "boolean", "name": "requireProxyForNetworkRules"}, {"type": "array", "name": "servers", "item": {"type": "string"}}]}, {"type": "object", "name": "explicitProxy", "props": [{"nullable": true, "type": "boolean", "name": "enableExplicitProxy"}, {"nullable": true, "type": "boolean", "name": "enablePacFile"}, {"type": "integer32", "name": "httpPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "integer32", "name": "httpsPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "pacFile"}, {"type": "integer32", "name": "pacFilePort", "format": {"maximum": 64000, "minimum": 0}}]}, {"type": "object", "name": "insights", "props": [{"type": "boolean", "name": "isEnabled"}, {"type": "object", "name": "logAnalyticsResources", "props": [{"type": "@SubResource_read", "name": "defaultWorkspaceId"}, {"type": "array", "name": "workspaces", "item": {"type": "object", "props": [{"type": "string", "name": "region"}, {"type": "@SubResource_read", "name": "workspaceId"}]}}]}, {"type": "integer32", "name": "retentionDays"}]}, {"type": "object", "name": "intrusionDetection", "props": [{"type": "object", "name": "configuration", "props": [{"type": "array", "name": "bypassTrafficSettings", "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "string", "name": "protocol", "enum": {"items": [{"value": "ANY"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}]}}, {"type": "array", "name": "privateRanges", "item": {"type": "string"}}, {"type": "array", "name": "signatureOverrides", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}]}}]}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "string", "name": "profile", "enum": {"items": [{"value": "Advanced"}, {"value": "Basic"}, {"value": "Extended"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "snat", "props": [{"type": "string", "name": "autoLearnPrivateRanges", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "privateRanges", "item": {"type": "string"}}]}, {"type": "object", "name": "sql", "props": [{"type": "boolean", "name": "allowSqlRedirect"}]}, {"type": "string", "name": "threatIntelMode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "object", "name": "threatIntelWhitelist", "props": [{"type": "array", "name": "fqdns", "item": {"type": "string"}}, {"type": "array", "name": "ipAddresses", "item": {"type": "string"}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/firewallpolicydrafts/default", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L2ZpcmV3YWxsUG9saWN5RHJhZnRzL2RlZmF1bHQ=/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "FirewallPolicyDrafts_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/firewallpolicydrafts/default", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L2ZpcmV3YWxsUG9saWN5RHJhZnRzL2RlZmF1bHQ=/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/firewallPolicyDrafts/default"}}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "group": "Parameters", "help": {"short": "Resource location."}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$parameters.properties.basePolicy", "options": ["base-policy"], "group": "Properties", "help": {"short": "The parent firewall policy from which rules are inherited."}, "args": [{"type": "string", "var": "@SubResource_create.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_create"}, {"type": "object", "var": "$parameters.properties.dnsSettings", "options": ["dns-settings"], "group": "Properties", "help": {"short": "DNS Proxy Settings definition."}, "args": [{"type": "boolean", "var": "$parameters.properties.dnsSettings.enableProxy", "options": ["enable-proxy"], "help": {"short": "Enable DNS Proxy on Firewalls attached to the Firewall Policy."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.dnsSettings.requireProxyForNetworkRules", "options": ["require-proxy-for-network-rules"], "help": {"short": "FQDNs in Network Rules are supported when set to true."}}, {"type": "array", "var": "$parameters.properties.dnsSettings.servers", "options": ["servers"], "help": {"short": "List of Custom DNS Servers."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$parameters.properties.explicitProxy", "options": ["explicit-proxy"], "group": "Properties", "help": {"short": "Explicit Proxy Settings definition."}, "args": [{"nullable": true, "type": "boolean", "var": "$parameters.properties.explicitProxy.enableExplicitProxy", "options": ["enable-explicit-proxy"], "help": {"short": "When set to true, explicit proxy mode is enabled."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.explicitProxy.enablePacFile", "options": ["enable-pac-file"], "help": {"short": "When set to true, pac file port and url needs to be provided."}}, {"type": "integer32", "var": "$parameters.properties.explicitProxy.httpPort", "options": ["http-port"], "help": {"short": "Port number for explicit proxy http protocol, cannot be greater than 64000."}, "format": {"maximum": 64000, "minimum": 0}}, {"type": "integer32", "var": "$parameters.properties.explicitProxy.httpsPort", "options": ["https-port"], "help": {"short": "Port number for explicit proxy https protocol, cannot be greater than 64000."}, "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "var": "$parameters.properties.explicitProxy.pacFile", "options": ["pac-file"], "help": {"short": "SAS URL for PAC file."}}, {"type": "integer32", "var": "$parameters.properties.explicitProxy.pacFilePort", "options": ["pac-file-port"], "help": {"short": "Port number for firewall to serve PAC file."}, "format": {"maximum": 64000, "minimum": 0}}]}, {"type": "object", "var": "$parameters.properties.insights", "options": ["insights"], "group": "Properties", "help": {"short": "Insights on Firewall Policy."}, "args": [{"type": "boolean", "var": "$parameters.properties.insights.isEnabled", "options": ["is-enabled"], "help": {"short": "A flag to indicate if the insights are enabled on the policy."}}, {"type": "object", "var": "$parameters.properties.insights.logAnalyticsResources", "options": ["log-analytics-resources"], "help": {"short": "Workspaces needed to configure the Firewall Policy Insights."}, "args": [{"type": "@SubResource_create", "var": "$parameters.properties.insights.logAnalyticsResources.defaultWorkspaceId", "options": ["default-workspace-id"], "help": {"short": "The default workspace Id for Firewall Policy Insights."}}, {"type": "array", "var": "$parameters.properties.insights.logAnalyticsResources.workspaces", "options": ["workspaces"], "help": {"short": "List of workspaces for Firewall Policy Insights."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.insights.logAnalyticsResources.workspaces[].region", "options": ["region"], "help": {"short": "Region to configure the Workspace."}}, {"type": "@SubResource_create", "var": "$parameters.properties.insights.logAnalyticsResources.workspaces[].workspaceId", "options": ["workspace-id"], "help": {"short": "The workspace Id for Firewall Policy Insights."}}]}}]}, {"type": "integer32", "var": "$parameters.properties.insights.retentionDays", "options": ["retention-days"], "help": {"short": "Number of days the insights should be enabled on the policy."}}]}, {"type": "object", "var": "$parameters.properties.intrusionDetection", "options": ["intrusion-detection"], "group": "Properties", "help": {"short": "The configuration for Intrusion detection."}, "args": [{"type": "object", "var": "$parameters.properties.intrusionDetection.configuration", "options": ["configuration"], "help": {"short": "Intrusion detection configuration properties."}, "args": [{"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings", "options": ["bypass-traffic-settings"], "help": {"short": "List of rules for traffic to bypass."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].description", "options": ["description"], "help": {"short": "Description of the bypass traffic rule."}}, {"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or ranges for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationIpGroups", "options": ["destination-ip-groups"], "help": {"short": "List of destination IpGroups for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationPorts", "options": ["destination-ports"], "help": {"short": "List of destination ports or ranges."}, "item": {"type": "string"}}, {"type": "string", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].name", "options": ["name"], "help": {"short": "Name of the bypass traffic rule."}}, {"type": "string", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].protocol", "options": ["protocol"], "help": {"short": "The rule bypass protocol."}, "enum": {"items": [{"name": "ANY", "value": "ANY"}, {"name": "ICMP", "value": "ICMP"}, {"name": "TCP", "value": "TCP"}, {"name": "UDP", "value": "UDP"}]}}, {"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses or ranges for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"type": "string"}}]}}, {"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.privateRanges", "options": ["private-ranges"], "help": {"short": "IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property"}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.signatureOverrides", "options": ["signature-overrides"], "help": {"short": "List of specific signatures states."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].id", "options": ["id"], "help": {"short": "Signature id."}}, {"type": "string", "var": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].mode", "options": ["mode"], "help": {"short": "The signature state."}, "enum": {"items": [{"name": "Alert", "value": "Alert"}, {"name": "Deny", "value": "Deny"}, {"name": "Off", "value": "Off"}]}}]}}]}, {"type": "string", "var": "$parameters.properties.intrusionDetection.mode", "options": ["mode"], "help": {"short": "Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two."}, "enum": {"items": [{"name": "Alert", "value": "Alert"}, {"name": "Deny", "value": "Deny"}, {"name": "Off", "value": "Off"}]}}, {"type": "string", "var": "$parameters.properties.intrusionDetection.profile", "options": ["profile"], "help": {"short": "IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy."}, "enum": {"items": [{"name": "Advanced", "value": "Advanced"}, {"name": "Basic", "value": "Basic"}, {"name": "Extended", "value": "Extended"}, {"name": "Standard", "value": "Standard"}]}}]}, {"type": "object", "var": "$parameters.properties.snat", "options": ["snat"], "group": "Properties", "help": {"short": "The private IP addresses/IP ranges to which traffic will not be SNAT."}, "args": [{"type": "string", "var": "$parameters.properties.snat.autoLearnPrivateRanges", "options": ["auto-learn-private-ranges"], "help": {"short": "The operation mode for automatically learning private ranges to not be SNAT"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "array", "var": "$parameters.properties.snat.privateRanges", "options": ["private-ranges"], "help": {"short": "List of private IP addresses/IP address ranges to not be SNAT."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$parameters.properties.sql", "options": ["sql"], "group": "Properties", "help": {"short": "SQL Settings definition."}, "args": [{"type": "boolean", "var": "$parameters.properties.sql.allowSqlRedirect", "options": ["allow-sql-redirect"], "help": {"short": "A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999."}}]}, {"type": "string", "var": "$parameters.properties.threatIntelMode", "options": ["threat-intel-mode"], "group": "Properties", "help": {"short": "The operation mode for Threat Intelligence."}, "enum": {"items": [{"name": "Alert", "value": "Alert"}, {"name": "Deny", "value": "Deny"}, {"name": "Off", "value": "Off"}]}}, {"type": "object", "var": "$parameters.properties.threatIntelWhitelist", "options": ["threat-intel-whitelist"], "group": "Properties", "help": {"short": "ThreatIntel Whitelist for Firewall Policy."}, "args": [{"type": "array", "var": "$parameters.properties.threatIntelWhitelist.fqdns", "options": ["fqdns"], "help": {"short": "List of FQDNs for the ThreatIntel Whitelist."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.threatIntelWhitelist.ipAddresses", "options": ["ip-addresses"], "help": {"short": "List of IP addresses for the ThreatIntel Whitelist."}, "item": {"type": "string"}}]}]}], "operations": [{"operationId": "FirewallPolicyDrafts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/firewallPolicyDrafts/default"}}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "basePolicy", "arg": "$parameters.properties.basePolicy", "props": [{"type": "string", "name": "id", "arg": "@SubResource_create.id"}], "cls": "SubResource_create"}, {"type": "object", "name": "dnsSettings", "arg": "$parameters.properties.dnsSettings", "props": [{"type": "boolean", "name": "enableProxy", "arg": "$parameters.properties.dnsSettings.enableProxy"}, {"nullable": true, "type": "boolean", "name": "requireProxyForNetworkRules", "arg": "$parameters.properties.dnsSettings.requireProxyForNetworkRules"}, {"type": "array", "name": "servers", "arg": "$parameters.properties.dnsSettings.servers", "item": {"type": "string"}}]}, {"type": "object", "name": "explicitProxy", "arg": "$parameters.properties.explicitProxy", "props": [{"nullable": true, "type": "boolean", "name": "enableExplicitProxy", "arg": "$parameters.properties.explicitProxy.enableExplicitProxy"}, {"nullable": true, "type": "boolean", "name": "enablePacFile", "arg": "$parameters.properties.explicitProxy.enablePacFile"}, {"type": "integer32", "name": "httpPort", "arg": "$parameters.properties.explicitProxy.httpPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "integer32", "name": "httpsPort", "arg": "$parameters.properties.explicitProxy.httpsPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "pacFile", "arg": "$parameters.properties.explicitProxy.pacFile"}, {"type": "integer32", "name": "pacFilePort", "arg": "$parameters.properties.explicitProxy.pacFilePort", "format": {"maximum": 64000, "minimum": 0}}]}, {"type": "object", "name": "insights", "arg": "$parameters.properties.insights", "props": [{"type": "boolean", "name": "isEnabled", "arg": "$parameters.properties.insights.isEnabled"}, {"type": "object", "name": "logAnalyticsResources", "arg": "$parameters.properties.insights.logAnalyticsResources", "props": [{"type": "@SubResource_create", "name": "defaultWorkspaceId", "arg": "$parameters.properties.insights.logAnalyticsResources.defaultWorkspaceId"}, {"type": "array", "name": "workspaces", "arg": "$parameters.properties.insights.logAnalyticsResources.workspaces", "item": {"type": "object", "props": [{"type": "string", "name": "region", "arg": "$parameters.properties.insights.logAnalyticsResources.workspaces[].region"}, {"type": "@SubResource_create", "name": "workspaceId", "arg": "$parameters.properties.insights.logAnalyticsResources.workspaces[].workspaceId"}]}}]}, {"type": "integer32", "name": "retentionDays", "arg": "$parameters.properties.insights.retentionDays"}]}, {"type": "object", "name": "intrusionDetection", "arg": "$parameters.properties.intrusionDetection", "props": [{"type": "object", "name": "configuration", "arg": "$parameters.properties.intrusionDetection.configuration", "props": [{"type": "array", "name": "bypassTrafficSettings", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings", "item": {"type": "object", "props": [{"type": "string", "name": "description", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].description"}, {"type": "array", "name": "destinationAddresses", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationPorts", "item": {"type": "string"}}, {"type": "string", "name": "name", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].name"}, {"type": "string", "name": "protocol", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].protocol", "enum": {"items": [{"value": "ANY"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}, {"type": "array", "name": "sourceAddresses", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceIpGroups", "item": {"type": "string"}}]}}, {"type": "array", "name": "privateRanges", "arg": "$parameters.properties.intrusionDetection.configuration.privateRanges", "item": {"type": "string"}}, {"type": "array", "name": "signatureOverrides", "arg": "$parameters.properties.intrusionDetection.configuration.signatureOverrides", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].id"}, {"type": "string", "name": "mode", "arg": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}]}}]}, {"type": "string", "name": "mode", "arg": "$parameters.properties.intrusionDetection.mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "string", "name": "profile", "arg": "$parameters.properties.intrusionDetection.profile", "enum": {"items": [{"value": "Advanced"}, {"value": "Basic"}, {"value": "Extended"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "snat", "arg": "$parameters.properties.snat", "props": [{"type": "string", "name": "autoLearnPrivateRanges", "arg": "$parameters.properties.snat.autoLearnPrivateRanges", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "privateRanges", "arg": "$parameters.properties.snat.privateRanges", "item": {"type": "string"}}]}, {"type": "object", "name": "sql", "arg": "$parameters.properties.sql", "props": [{"type": "boolean", "name": "allowSqlRedirect", "arg": "$parameters.properties.sql.allowSqlRedirect"}]}, {"type": "string", "name": "threatIntelMode", "arg": "$parameters.properties.threatIntelMode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "object", "name": "threatIntelWhitelist", "arg": "$parameters.properties.threatIntelWhitelist", "props": [{"type": "array", "name": "fqdns", "arg": "$parameters.properties.threatIntelWhitelist.fqdns", "item": {"type": "string"}}, {"type": "array", "name": "ipAddresses", "arg": "$parameters.properties.threatIntelWhitelist.ipAddresses", "item": {"type": "string"}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/firewallPolicyDrafts/default"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "basePolicy", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "object", "name": "dnsSettings", "props": [{"type": "boolean", "name": "enableProxy"}, {"nullable": true, "type": "boolean", "name": "requireProxyForNetworkRules"}, {"type": "array", "name": "servers", "item": {"type": "string"}}]}, {"type": "object", "name": "explicitProxy", "props": [{"nullable": true, "type": "boolean", "name": "enableExplicitProxy"}, {"nullable": true, "type": "boolean", "name": "enablePacFile"}, {"type": "integer32", "name": "httpPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "integer32", "name": "httpsPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "pacFile"}, {"type": "integer32", "name": "pacFilePort", "format": {"maximum": 64000, "minimum": 0}}]}, {"type": "object", "name": "insights", "props": [{"type": "boolean", "name": "isEnabled"}, {"type": "object", "name": "logAnalyticsResources", "props": [{"type": "@SubResource_read", "name": "defaultWorkspaceId"}, {"type": "array", "name": "workspaces", "item": {"type": "object", "props": [{"type": "string", "name": "region"}, {"type": "@SubResource_read", "name": "workspaceId"}]}}]}, {"type": "integer32", "name": "retentionDays"}]}, {"type": "object", "name": "intrusionDetection", "props": [{"type": "object", "name": "configuration", "props": [{"type": "array", "name": "bypassTrafficSettings", "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "string", "name": "protocol", "enum": {"items": [{"value": "ANY"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}]}}, {"type": "array", "name": "privateRanges", "item": {"type": "string"}}, {"type": "array", "name": "signatureOverrides", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}]}}]}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "string", "name": "profile", "enum": {"items": [{"value": "Advanced"}, {"value": "Basic"}, {"value": "Extended"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "snat", "props": [{"type": "string", "name": "autoLearnPrivateRanges", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "privateRanges", "item": {"type": "string"}}]}, {"type": "object", "name": "sql", "props": [{"type": "boolean", "name": "allowSqlRedirect"}]}, {"type": "string", "name": "threatIntelMode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "object", "name": "threatIntelWhitelist", "props": [{"type": "array", "name": "fqdns", "item": {"type": "string"}}, {"type": "array", "name": "ipAddresses", "item": {"type": "string"}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/firewallpolicydrafts/default", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L2ZpcmV3YWxsUG9saWN5RHJhZnRzL2RlZmF1bHQ=/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/firewallPolicyDrafts/default"}}, {"nullable": true, "type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "group": "Parameters", "help": {"short": "Resource location."}}, {"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "object", "var": "$parameters.properties.basePolicy", "options": ["base-policy"], "group": "Properties", "help": {"short": "The parent firewall policy from which rules are inherited."}, "args": [{"nullable": true, "type": "string", "var": "@SubResource_update.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_update"}, {"nullable": true, "type": "object", "var": "$parameters.properties.dnsSettings", "options": ["dns-settings"], "group": "Properties", "help": {"short": "DNS Proxy Settings definition."}, "args": [{"nullable": true, "type": "boolean", "var": "$parameters.properties.dnsSettings.enableProxy", "options": ["enable-proxy"], "help": {"short": "Enable DNS Proxy on Firewalls attached to the Firewall Policy."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.dnsSettings.requireProxyForNetworkRules", "options": ["require-proxy-for-network-rules"], "help": {"short": "FQDNs in Network Rules are supported when set to true."}}, {"nullable": true, "type": "array", "var": "$parameters.properties.dnsSettings.servers", "options": ["servers"], "help": {"short": "List of Custom DNS Servers."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.explicitProxy", "options": ["explicit-proxy"], "group": "Properties", "help": {"short": "Explicit Proxy Settings definition."}, "args": [{"nullable": true, "type": "boolean", "var": "$parameters.properties.explicitProxy.enableExplicitProxy", "options": ["enable-explicit-proxy"], "help": {"short": "When set to true, explicit proxy mode is enabled."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.explicitProxy.enablePacFile", "options": ["enable-pac-file"], "help": {"short": "When set to true, pac file port and url needs to be provided."}}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.explicitProxy.httpPort", "options": ["http-port"], "help": {"short": "Port number for explicit proxy http protocol, cannot be greater than 64000."}, "format": {"maximum": 64000, "minimum": 0}}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.explicitProxy.httpsPort", "options": ["https-port"], "help": {"short": "Port number for explicit proxy https protocol, cannot be greater than 64000."}, "format": {"maximum": 64000, "minimum": 0}}, {"nullable": true, "type": "string", "var": "$parameters.properties.explicitProxy.pacFile", "options": ["pac-file"], "help": {"short": "SAS URL for PAC file."}}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.explicitProxy.pacFilePort", "options": ["pac-file-port"], "help": {"short": "Port number for firewall to serve PAC file."}, "format": {"maximum": 64000, "minimum": 0}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.insights", "options": ["insights"], "group": "Properties", "help": {"short": "Insights on Firewall Policy."}, "args": [{"nullable": true, "type": "boolean", "var": "$parameters.properties.insights.isEnabled", "options": ["is-enabled"], "help": {"short": "A flag to indicate if the insights are enabled on the policy."}}, {"nullable": true, "type": "object", "var": "$parameters.properties.insights.logAnalyticsResources", "options": ["log-analytics-resources"], "help": {"short": "Workspaces needed to configure the Firewall Policy Insights."}, "args": [{"nullable": true, "type": "@SubResource_update", "var": "$parameters.properties.insights.logAnalyticsResources.defaultWorkspaceId", "options": ["default-workspace-id"], "help": {"short": "The default workspace Id for Firewall Policy Insights."}}, {"nullable": true, "type": "array", "var": "$parameters.properties.insights.logAnalyticsResources.workspaces", "options": ["workspaces"], "help": {"short": "List of workspaces for Firewall Policy Insights."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.insights.logAnalyticsResources.workspaces[].region", "options": ["region"], "help": {"short": "Region to configure the Workspace."}}, {"nullable": true, "type": "@SubResource_update", "var": "$parameters.properties.insights.logAnalyticsResources.workspaces[].workspaceId", "options": ["workspace-id"], "help": {"short": "The workspace Id for Firewall Policy Insights."}}]}}]}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.insights.retentionDays", "options": ["retention-days"], "help": {"short": "Number of days the insights should be enabled on the policy."}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.intrusionDetection", "options": ["intrusion-detection"], "group": "Properties", "help": {"short": "The configuration for Intrusion detection."}, "args": [{"nullable": true, "type": "object", "var": "$parameters.properties.intrusionDetection.configuration", "options": ["configuration"], "help": {"short": "Intrusion detection configuration properties."}, "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings", "options": ["bypass-traffic-settings"], "help": {"short": "List of rules for traffic to bypass."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].description", "options": ["description"], "help": {"short": "Description of the bypass traffic rule."}}, {"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or ranges for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationIpGroups", "options": ["destination-ip-groups"], "help": {"short": "List of destination IpGroups for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationPorts", "options": ["destination-ports"], "help": {"short": "List of destination ports or ranges."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].name", "options": ["name"], "help": {"short": "Name of the bypass traffic rule."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].protocol", "options": ["protocol"], "help": {"short": "The rule bypass protocol."}, "enum": {"items": [{"name": "ANY", "value": "ANY"}, {"name": "ICMP", "value": "ICMP"}, {"name": "TCP", "value": "TCP"}, {"name": "UDP", "value": "UDP"}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses or ranges for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"nullable": true, "type": "string"}}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.privateRanges", "options": ["private-ranges"], "help": {"short": "IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property"}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.signatureOverrides", "options": ["signature-overrides"], "help": {"short": "List of specific signatures states."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].id", "options": ["id"], "help": {"short": "Signature id."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].mode", "options": ["mode"], "help": {"short": "The signature state."}, "enum": {"items": [{"name": "Alert", "value": "Alert"}, {"name": "Deny", "value": "Deny"}, {"name": "Off", "value": "Off"}]}}]}}]}, {"nullable": true, "type": "string", "var": "$parameters.properties.intrusionDetection.mode", "options": ["mode"], "help": {"short": "Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two."}, "enum": {"items": [{"name": "Alert", "value": "Alert"}, {"name": "Deny", "value": "Deny"}, {"name": "Off", "value": "Off"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.intrusionDetection.profile", "options": ["profile"], "help": {"short": "IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy."}, "enum": {"items": [{"name": "Advanced", "value": "Advanced"}, {"name": "Basic", "value": "Basic"}, {"name": "Extended", "value": "Extended"}, {"name": "Standard", "value": "Standard"}]}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.snat", "options": ["snat"], "group": "Properties", "help": {"short": "The private IP addresses/IP ranges to which traffic will not be SNAT."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.snat.autoLearnPrivateRanges", "options": ["auto-learn-private-ranges"], "help": {"short": "The operation mode for automatically learning private ranges to not be SNAT"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.snat.privateRanges", "options": ["private-ranges"], "help": {"short": "List of private IP addresses/IP address ranges to not be SNAT."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.sql", "options": ["sql"], "group": "Properties", "help": {"short": "SQL Settings definition."}, "args": [{"nullable": true, "type": "boolean", "var": "$parameters.properties.sql.allowSqlRedirect", "options": ["allow-sql-redirect"], "help": {"short": "A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999."}}]}, {"nullable": true, "type": "string", "var": "$parameters.properties.threatIntelMode", "options": ["threat-intel-mode"], "group": "Properties", "help": {"short": "The operation mode for Threat Intelligence."}, "enum": {"items": [{"name": "Alert", "value": "Alert"}, {"name": "Deny", "value": "Deny"}, {"name": "Off", "value": "Off"}]}}, {"nullable": true, "type": "object", "var": "$parameters.properties.threatIntelWhitelist", "options": ["threat-intel-whitelist"], "group": "Properties", "help": {"short": "ThreatIntel Whitelist for Firewall Policy."}, "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.threatIntelWhitelist.fqdns", "options": ["fqdns"], "help": {"short": "List of FQDNs for the ThreatIntel Whitelist."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.threatIntelWhitelist.ipAddresses", "options": ["ip-addresses"], "help": {"short": "List of IP addresses for the ThreatIntel Whitelist."}, "item": {"nullable": true, "type": "string"}}]}]}], "operations": [{"operationId": "FirewallPolicyDrafts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/firewallPolicyDrafts/default"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "basePolicy", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "object", "name": "dnsSettings", "props": [{"type": "boolean", "name": "enableProxy"}, {"nullable": true, "type": "boolean", "name": "requireProxyForNetworkRules"}, {"type": "array", "name": "servers", "item": {"type": "string"}}]}, {"type": "object", "name": "explicitProxy", "props": [{"nullable": true, "type": "boolean", "name": "enableExplicitProxy"}, {"nullable": true, "type": "boolean", "name": "enablePacFile"}, {"type": "integer32", "name": "httpPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "integer32", "name": "httpsPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "pacFile"}, {"type": "integer32", "name": "pacFilePort", "format": {"maximum": 64000, "minimum": 0}}]}, {"type": "object", "name": "insights", "props": [{"type": "boolean", "name": "isEnabled"}, {"type": "object", "name": "logAnalyticsResources", "props": [{"type": "@SubResource_read", "name": "defaultWorkspaceId"}, {"type": "array", "name": "workspaces", "item": {"type": "object", "props": [{"type": "string", "name": "region"}, {"type": "@SubResource_read", "name": "workspaceId"}]}}]}, {"type": "integer32", "name": "retentionDays"}]}, {"type": "object", "name": "intrusionDetection", "props": [{"type": "object", "name": "configuration", "props": [{"type": "array", "name": "bypassTrafficSettings", "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "string", "name": "protocol", "enum": {"items": [{"value": "ANY"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}]}}, {"type": "array", "name": "privateRanges", "item": {"type": "string"}}, {"type": "array", "name": "signatureOverrides", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}]}}]}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "string", "name": "profile", "enum": {"items": [{"value": "Advanced"}, {"value": "Basic"}, {"value": "Extended"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "snat", "props": [{"type": "string", "name": "autoLearnPrivateRanges", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "privateRanges", "item": {"type": "string"}}]}, {"type": "object", "name": "sql", "props": [{"type": "boolean", "name": "allowSqlRedirect"}]}, {"type": "string", "name": "threatIntelMode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "object", "name": "threatIntelWhitelist", "props": [{"type": "array", "name": "fqdns", "item": {"type": "string"}}, {"type": "array", "name": "ipAddresses", "item": {"type": "string"}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "FirewallPolicyDraft_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/firewallPolicyDrafts/default"}}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "basePolicy", "arg": "$parameters.properties.basePolicy", "props": [{"type": "string", "name": "id", "arg": "@SubResource_update.id"}], "cls": "SubResource_update"}, {"type": "object", "name": "dnsSettings", "arg": "$parameters.properties.dnsSettings", "props": [{"type": "boolean", "name": "enableProxy", "arg": "$parameters.properties.dnsSettings.enableProxy"}, {"nullable": true, "type": "boolean", "name": "requireProxyForNetworkRules", "arg": "$parameters.properties.dnsSettings.requireProxyForNetworkRules"}, {"type": "array", "name": "servers", "arg": "$parameters.properties.dnsSettings.servers", "item": {"type": "string"}}]}, {"type": "object", "name": "explicitProxy", "arg": "$parameters.properties.explicitProxy", "props": [{"nullable": true, "type": "boolean", "name": "enableExplicitProxy", "arg": "$parameters.properties.explicitProxy.enableExplicitProxy"}, {"nullable": true, "type": "boolean", "name": "enablePacFile", "arg": "$parameters.properties.explicitProxy.enablePacFile"}, {"type": "integer32", "name": "httpPort", "arg": "$parameters.properties.explicitProxy.httpPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "integer32", "name": "httpsPort", "arg": "$parameters.properties.explicitProxy.httpsPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "pacFile", "arg": "$parameters.properties.explicitProxy.pacFile"}, {"type": "integer32", "name": "pacFilePort", "arg": "$parameters.properties.explicitProxy.pacFilePort", "format": {"maximum": 64000, "minimum": 0}}]}, {"type": "object", "name": "insights", "arg": "$parameters.properties.insights", "props": [{"type": "boolean", "name": "isEnabled", "arg": "$parameters.properties.insights.isEnabled"}, {"type": "object", "name": "logAnalyticsResources", "arg": "$parameters.properties.insights.logAnalyticsResources", "props": [{"type": "@SubResource_update", "name": "defaultWorkspaceId", "arg": "$parameters.properties.insights.logAnalyticsResources.defaultWorkspaceId"}, {"type": "array", "name": "workspaces", "arg": "$parameters.properties.insights.logAnalyticsResources.workspaces", "item": {"type": "object", "props": [{"type": "string", "name": "region", "arg": "$parameters.properties.insights.logAnalyticsResources.workspaces[].region"}, {"type": "@SubResource_update", "name": "workspaceId", "arg": "$parameters.properties.insights.logAnalyticsResources.workspaces[].workspaceId"}]}}]}, {"type": "integer32", "name": "retentionDays", "arg": "$parameters.properties.insights.retentionDays"}]}, {"type": "object", "name": "intrusionDetection", "arg": "$parameters.properties.intrusionDetection", "props": [{"type": "object", "name": "configuration", "arg": "$parameters.properties.intrusionDetection.configuration", "props": [{"type": "array", "name": "bypassTrafficSettings", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings", "item": {"type": "object", "props": [{"type": "string", "name": "description", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].description"}, {"type": "array", "name": "destinationAddresses", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationPorts", "item": {"type": "string"}}, {"type": "string", "name": "name", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].name"}, {"type": "string", "name": "protocol", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].protocol", "enum": {"items": [{"value": "ANY"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}, {"type": "array", "name": "sourceAddresses", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceIpGroups", "item": {"type": "string"}}]}}, {"type": "array", "name": "privateRanges", "arg": "$parameters.properties.intrusionDetection.configuration.privateRanges", "item": {"type": "string"}}, {"type": "array", "name": "signatureOverrides", "arg": "$parameters.properties.intrusionDetection.configuration.signatureOverrides", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].id"}, {"type": "string", "name": "mode", "arg": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}]}}]}, {"type": "string", "name": "mode", "arg": "$parameters.properties.intrusionDetection.mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "string", "name": "profile", "arg": "$parameters.properties.intrusionDetection.profile", "enum": {"items": [{"value": "Advanced"}, {"value": "Basic"}, {"value": "Extended"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "snat", "arg": "$parameters.properties.snat", "props": [{"type": "string", "name": "autoLearnPrivateRanges", "arg": "$parameters.properties.snat.autoLearnPrivateRanges", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "privateRanges", "arg": "$parameters.properties.snat.privateRanges", "item": {"type": "string"}}]}, {"type": "object", "name": "sql", "arg": "$parameters.properties.sql", "props": [{"type": "boolean", "name": "allowSqlRedirect", "arg": "$parameters.properties.sql.allowSqlRedirect"}]}, {"type": "string", "name": "threatIntelMode", "arg": "$parameters.properties.threatIntelMode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "object", "name": "threatIntelWhitelist", "arg": "$parameters.properties.threatIntelWhitelist", "props": [{"type": "array", "name": "fqdns", "arg": "$parameters.properties.threatIntelWhitelist.fqdns", "item": {"type": "string"}}, {"type": "array", "name": "ipAddresses", "arg": "$parameters.properties.threatIntelWhitelist.ipAddresses", "item": {"type": "string"}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"operationId": "FirewallPolicyDrafts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@FirewallPolicyDraft_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/firewallpolicydrafts/default", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L2ZpcmV3YWxsUG9saWN5RHJhZnRzL2RlZmF1bHQ=/V/MjAyMy0xMS0wMQ=="}], "commandGroups": [{"name": "network firewall policy draft", "commands": [{"name": "show", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/firewallpolicydrafts/default", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L2ZpcmV3YWxsUG9saWN5RHJhZnRzL2RlZmF1bHQ=/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "FirewallPolicyDrafts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/firewallPolicyDrafts/default"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "basePolicy", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "object", "name": "dnsSettings", "props": [{"type": "boolean", "name": "enableProxy"}, {"nullable": true, "type": "boolean", "name": "requireProxyForNetworkRules"}, {"type": "array", "name": "servers", "item": {"type": "string"}}]}, {"type": "object", "name": "explicitProxy", "props": [{"nullable": true, "type": "boolean", "name": "enableExplicitProxy"}, {"nullable": true, "type": "boolean", "name": "enablePacFile"}, {"type": "integer32", "name": "httpPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "integer32", "name": "httpsPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "pacFile"}, {"type": "integer32", "name": "pacFilePort", "format": {"maximum": 64000, "minimum": 0}}]}, {"type": "object", "name": "insights", "props": [{"type": "boolean", "name": "isEnabled"}, {"type": "object", "name": "logAnalyticsResources", "props": [{"type": "@SubResource_read", "name": "defaultWorkspaceId"}, {"type": "array", "name": "workspaces", "item": {"type": "object", "props": [{"type": "string", "name": "region"}, {"type": "@SubResource_read", "name": "workspaceId"}]}}]}, {"type": "integer32", "name": "retentionDays"}]}, {"type": "object", "name": "intrusionDetection", "props": [{"type": "object", "name": "configuration", "props": [{"type": "array", "name": "bypassTrafficSettings", "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "string", "name": "protocol", "enum": {"items": [{"value": "ANY"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}]}}, {"type": "array", "name": "privateRanges", "item": {"type": "string"}}, {"type": "array", "name": "signatureOverrides", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}]}}]}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "string", "name": "profile", "enum": {"items": [{"value": "Advanced"}, {"value": "Basic"}, {"value": "Extended"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "snat", "props": [{"type": "string", "name": "autoLearnPrivateRanges", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "privateRanges", "item": {"type": "string"}}]}, {"type": "object", "name": "sql", "props": [{"type": "boolean", "name": "allowSqlRedirect"}]}, {"type": "string", "name": "threatIntelMode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "object", "name": "threatIntelWhitelist", "props": [{"type": "array", "name": "fqdns", "item": {"type": "string"}}, {"type": "array", "name": "ipAddresses", "item": {"type": "string"}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/firewallpolicydrafts/default", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L2ZpcmV3YWxsUG9saWN5RHJhZnRzL2RlZmF1bHQ=/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "FirewallPolicyDrafts_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/firewallpolicydrafts/default", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L2ZpcmV3YWxsUG9saWN5RHJhZnRzL2RlZmF1bHQ=/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/firewallPolicyDrafts/default"}}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "group": "Parameters", "help": {"short": "Resource location."}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$parameters.properties.basePolicy", "options": ["base-policy"], "group": "Properties", "help": {"short": "The parent firewall policy from which rules are inherited."}, "args": [{"type": "string", "var": "@SubResource_create.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_create"}, {"type": "object", "var": "$parameters.properties.dnsSettings", "options": ["dns-settings"], "group": "Properties", "help": {"short": "DNS Proxy Settings definition."}, "args": [{"type": "boolean", "var": "$parameters.properties.dnsSettings.enableProxy", "options": ["enable-proxy"], "help": {"short": "Enable DNS Proxy on Firewalls attached to the Firewall Policy."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.dnsSettings.requireProxyForNetworkRules", "options": ["require-proxy-for-network-rules"], "help": {"short": "FQDNs in Network Rules are supported when set to true."}}, {"type": "array", "var": "$parameters.properties.dnsSettings.servers", "options": ["servers"], "help": {"short": "List of Custom DNS Servers."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$parameters.properties.explicitProxy", "options": ["explicit-proxy"], "group": "Properties", "help": {"short": "Explicit Proxy Settings definition."}, "args": [{"nullable": true, "type": "boolean", "var": "$parameters.properties.explicitProxy.enableExplicitProxy", "options": ["enable-explicit-proxy"], "help": {"short": "When set to true, explicit proxy mode is enabled."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.explicitProxy.enablePacFile", "options": ["enable-pac-file"], "help": {"short": "When set to true, pac file port and url needs to be provided."}}, {"type": "integer32", "var": "$parameters.properties.explicitProxy.httpPort", "options": ["http-port"], "help": {"short": "Port number for explicit proxy http protocol, cannot be greater than 64000."}, "format": {"maximum": 64000, "minimum": 0}}, {"type": "integer32", "var": "$parameters.properties.explicitProxy.httpsPort", "options": ["https-port"], "help": {"short": "Port number for explicit proxy https protocol, cannot be greater than 64000."}, "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "var": "$parameters.properties.explicitProxy.pacFile", "options": ["pac-file"], "help": {"short": "SAS URL for PAC file."}}, {"type": "integer32", "var": "$parameters.properties.explicitProxy.pacFilePort", "options": ["pac-file-port"], "help": {"short": "Port number for firewall to serve PAC file."}, "format": {"maximum": 64000, "minimum": 0}}]}, {"type": "object", "var": "$parameters.properties.insights", "options": ["insights"], "group": "Properties", "help": {"short": "Insights on Firewall Policy."}, "args": [{"type": "boolean", "var": "$parameters.properties.insights.isEnabled", "options": ["is-enabled"], "help": {"short": "A flag to indicate if the insights are enabled on the policy."}}, {"type": "object", "var": "$parameters.properties.insights.logAnalyticsResources", "options": ["log-analytics-resources"], "help": {"short": "Workspaces needed to configure the Firewall Policy Insights."}, "args": [{"type": "@SubResource_create", "var": "$parameters.properties.insights.logAnalyticsResources.defaultWorkspaceId", "options": ["default-workspace-id"], "help": {"short": "The default workspace Id for Firewall Policy Insights."}}, {"type": "array", "var": "$parameters.properties.insights.logAnalyticsResources.workspaces", "options": ["workspaces"], "help": {"short": "List of workspaces for Firewall Policy Insights."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.insights.logAnalyticsResources.workspaces[].region", "options": ["region"], "help": {"short": "Region to configure the Workspace."}}, {"type": "@SubResource_create", "var": "$parameters.properties.insights.logAnalyticsResources.workspaces[].workspaceId", "options": ["workspace-id"], "help": {"short": "The workspace Id for Firewall Policy Insights."}}]}}]}, {"type": "integer32", "var": "$parameters.properties.insights.retentionDays", "options": ["retention-days"], "help": {"short": "Number of days the insights should be enabled on the policy."}}]}, {"type": "object", "var": "$parameters.properties.intrusionDetection", "options": ["intrusion-detection"], "group": "Properties", "help": {"short": "The configuration for Intrusion detection."}, "args": [{"type": "object", "var": "$parameters.properties.intrusionDetection.configuration", "options": ["configuration"], "help": {"short": "Intrusion detection configuration properties."}, "args": [{"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings", "options": ["bypass-traffic-settings"], "help": {"short": "List of rules for traffic to bypass."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].description", "options": ["description"], "help": {"short": "Description of the bypass traffic rule."}}, {"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or ranges for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationIpGroups", "options": ["destination-ip-groups"], "help": {"short": "List of destination IpGroups for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationPorts", "options": ["destination-ports"], "help": {"short": "List of destination ports or ranges."}, "item": {"type": "string"}}, {"type": "string", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].name", "options": ["name"], "help": {"short": "Name of the bypass traffic rule."}}, {"type": "string", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].protocol", "options": ["protocol"], "help": {"short": "The rule bypass protocol."}, "enum": {"items": [{"name": "ANY", "value": "ANY"}, {"name": "ICMP", "value": "ICMP"}, {"name": "TCP", "value": "TCP"}, {"name": "UDP", "value": "UDP"}]}}, {"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses or ranges for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"type": "string"}}]}}, {"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.privateRanges", "options": ["private-ranges"], "help": {"short": "IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property"}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.signatureOverrides", "options": ["signature-overrides"], "help": {"short": "List of specific signatures states."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].id", "options": ["id"], "help": {"short": "Signature id."}}, {"type": "string", "var": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].mode", "options": ["mode"], "help": {"short": "The signature state."}, "enum": {"items": [{"name": "Alert", "value": "Alert"}, {"name": "Deny", "value": "Deny"}, {"name": "Off", "value": "Off"}]}}]}}]}, {"type": "string", "var": "$parameters.properties.intrusionDetection.mode", "options": ["mode"], "help": {"short": "Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two."}, "enum": {"items": [{"name": "Alert", "value": "Alert"}, {"name": "Deny", "value": "Deny"}, {"name": "Off", "value": "Off"}]}}, {"type": "string", "var": "$parameters.properties.intrusionDetection.profile", "options": ["profile"], "help": {"short": "IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy."}, "enum": {"items": [{"name": "Advanced", "value": "Advanced"}, {"name": "Basic", "value": "Basic"}, {"name": "Extended", "value": "Extended"}, {"name": "Standard", "value": "Standard"}]}}]}, {"type": "object", "var": "$parameters.properties.snat", "options": ["snat"], "group": "Properties", "help": {"short": "The private IP addresses/IP ranges to which traffic will not be SNAT."}, "args": [{"type": "string", "var": "$parameters.properties.snat.autoLearnPrivateRanges", "options": ["auto-learn-private-ranges"], "help": {"short": "The operation mode for automatically learning private ranges to not be SNAT"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "array", "var": "$parameters.properties.snat.privateRanges", "options": ["private-ranges"], "help": {"short": "List of private IP addresses/IP address ranges to not be SNAT."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$parameters.properties.sql", "options": ["sql"], "group": "Properties", "help": {"short": "SQL Settings definition."}, "args": [{"type": "boolean", "var": "$parameters.properties.sql.allowSqlRedirect", "options": ["allow-sql-redirect"], "help": {"short": "A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999."}}]}, {"type": "string", "var": "$parameters.properties.threatIntelMode", "options": ["threat-intel-mode"], "group": "Properties", "help": {"short": "The operation mode for Threat Intelligence."}, "enum": {"items": [{"name": "Alert", "value": "Alert"}, {"name": "Deny", "value": "Deny"}, {"name": "Off", "value": "Off"}]}}, {"type": "object", "var": "$parameters.properties.threatIntelWhitelist", "options": ["threat-intel-whitelist"], "group": "Properties", "help": {"short": "ThreatIntel Whitelist for Firewall Policy."}, "args": [{"type": "array", "var": "$parameters.properties.threatIntelWhitelist.fqdns", "options": ["fqdns"], "help": {"short": "List of FQDNs for the ThreatIntel Whitelist."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.threatIntelWhitelist.ipAddresses", "options": ["ip-addresses"], "help": {"short": "List of IP addresses for the ThreatIntel Whitelist."}, "item": {"type": "string"}}]}]}], "operations": [{"operationId": "FirewallPolicyDrafts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/firewallPolicyDrafts/default"}}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "basePolicy", "arg": "$parameters.properties.basePolicy", "props": [{"type": "string", "name": "id", "arg": "@SubResource_create.id"}], "cls": "SubResource_create"}, {"type": "object", "name": "dnsSettings", "arg": "$parameters.properties.dnsSettings", "props": [{"type": "boolean", "name": "enableProxy", "arg": "$parameters.properties.dnsSettings.enableProxy"}, {"nullable": true, "type": "boolean", "name": "requireProxyForNetworkRules", "arg": "$parameters.properties.dnsSettings.requireProxyForNetworkRules"}, {"type": "array", "name": "servers", "arg": "$parameters.properties.dnsSettings.servers", "item": {"type": "string"}}]}, {"type": "object", "name": "explicitProxy", "arg": "$parameters.properties.explicitProxy", "props": [{"nullable": true, "type": "boolean", "name": "enableExplicitProxy", "arg": "$parameters.properties.explicitProxy.enableExplicitProxy"}, {"nullable": true, "type": "boolean", "name": "enablePacFile", "arg": "$parameters.properties.explicitProxy.enablePacFile"}, {"type": "integer32", "name": "httpPort", "arg": "$parameters.properties.explicitProxy.httpPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "integer32", "name": "httpsPort", "arg": "$parameters.properties.explicitProxy.httpsPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "pacFile", "arg": "$parameters.properties.explicitProxy.pacFile"}, {"type": "integer32", "name": "pacFilePort", "arg": "$parameters.properties.explicitProxy.pacFilePort", "format": {"maximum": 64000, "minimum": 0}}]}, {"type": "object", "name": "insights", "arg": "$parameters.properties.insights", "props": [{"type": "boolean", "name": "isEnabled", "arg": "$parameters.properties.insights.isEnabled"}, {"type": "object", "name": "logAnalyticsResources", "arg": "$parameters.properties.insights.logAnalyticsResources", "props": [{"type": "@SubResource_create", "name": "defaultWorkspaceId", "arg": "$parameters.properties.insights.logAnalyticsResources.defaultWorkspaceId"}, {"type": "array", "name": "workspaces", "arg": "$parameters.properties.insights.logAnalyticsResources.workspaces", "item": {"type": "object", "props": [{"type": "string", "name": "region", "arg": "$parameters.properties.insights.logAnalyticsResources.workspaces[].region"}, {"type": "@SubResource_create", "name": "workspaceId", "arg": "$parameters.properties.insights.logAnalyticsResources.workspaces[].workspaceId"}]}}]}, {"type": "integer32", "name": "retentionDays", "arg": "$parameters.properties.insights.retentionDays"}]}, {"type": "object", "name": "intrusionDetection", "arg": "$parameters.properties.intrusionDetection", "props": [{"type": "object", "name": "configuration", "arg": "$parameters.properties.intrusionDetection.configuration", "props": [{"type": "array", "name": "bypassTrafficSettings", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings", "item": {"type": "object", "props": [{"type": "string", "name": "description", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].description"}, {"type": "array", "name": "destinationAddresses", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationPorts", "item": {"type": "string"}}, {"type": "string", "name": "name", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].name"}, {"type": "string", "name": "protocol", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].protocol", "enum": {"items": [{"value": "ANY"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}, {"type": "array", "name": "sourceAddresses", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceIpGroups", "item": {"type": "string"}}]}}, {"type": "array", "name": "privateRanges", "arg": "$parameters.properties.intrusionDetection.configuration.privateRanges", "item": {"type": "string"}}, {"type": "array", "name": "signatureOverrides", "arg": "$parameters.properties.intrusionDetection.configuration.signatureOverrides", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].id"}, {"type": "string", "name": "mode", "arg": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}]}}]}, {"type": "string", "name": "mode", "arg": "$parameters.properties.intrusionDetection.mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "string", "name": "profile", "arg": "$parameters.properties.intrusionDetection.profile", "enum": {"items": [{"value": "Advanced"}, {"value": "Basic"}, {"value": "Extended"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "snat", "arg": "$parameters.properties.snat", "props": [{"type": "string", "name": "autoLearnPrivateRanges", "arg": "$parameters.properties.snat.autoLearnPrivateRanges", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "privateRanges", "arg": "$parameters.properties.snat.privateRanges", "item": {"type": "string"}}]}, {"type": "object", "name": "sql", "arg": "$parameters.properties.sql", "props": [{"type": "boolean", "name": "allowSqlRedirect", "arg": "$parameters.properties.sql.allowSqlRedirect"}]}, {"type": "string", "name": "threatIntelMode", "arg": "$parameters.properties.threatIntelMode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "object", "name": "threatIntelWhitelist", "arg": "$parameters.properties.threatIntelWhitelist", "props": [{"type": "array", "name": "fqdns", "arg": "$parameters.properties.threatIntelWhitelist.fqdns", "item": {"type": "string"}}, {"type": "array", "name": "ipAddresses", "arg": "$parameters.properties.threatIntelWhitelist.ipAddresses", "item": {"type": "string"}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/firewallPolicyDrafts/default"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "basePolicy", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "object", "name": "dnsSettings", "props": [{"type": "boolean", "name": "enableProxy"}, {"nullable": true, "type": "boolean", "name": "requireProxyForNetworkRules"}, {"type": "array", "name": "servers", "item": {"type": "string"}}]}, {"type": "object", "name": "explicitProxy", "props": [{"nullable": true, "type": "boolean", "name": "enableExplicitProxy"}, {"nullable": true, "type": "boolean", "name": "enablePacFile"}, {"type": "integer32", "name": "httpPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "integer32", "name": "httpsPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "pacFile"}, {"type": "integer32", "name": "pacFilePort", "format": {"maximum": 64000, "minimum": 0}}]}, {"type": "object", "name": "insights", "props": [{"type": "boolean", "name": "isEnabled"}, {"type": "object", "name": "logAnalyticsResources", "props": [{"type": "@SubResource_read", "name": "defaultWorkspaceId"}, {"type": "array", "name": "workspaces", "item": {"type": "object", "props": [{"type": "string", "name": "region"}, {"type": "@SubResource_read", "name": "workspaceId"}]}}]}, {"type": "integer32", "name": "retentionDays"}]}, {"type": "object", "name": "intrusionDetection", "props": [{"type": "object", "name": "configuration", "props": [{"type": "array", "name": "bypassTrafficSettings", "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "string", "name": "protocol", "enum": {"items": [{"value": "ANY"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}]}}, {"type": "array", "name": "privateRanges", "item": {"type": "string"}}, {"type": "array", "name": "signatureOverrides", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}]}}]}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "string", "name": "profile", "enum": {"items": [{"value": "Advanced"}, {"value": "Basic"}, {"value": "Extended"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "snat", "props": [{"type": "string", "name": "autoLearnPrivateRanges", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "privateRanges", "item": {"type": "string"}}]}, {"type": "object", "name": "sql", "props": [{"type": "boolean", "name": "allowSqlRedirect"}]}, {"type": "string", "name": "threatIntelMode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "object", "name": "threatIntelWhitelist", "props": [{"type": "array", "name": "fqdns", "item": {"type": "string"}}, {"type": "array", "name": "ipAddresses", "item": {"type": "string"}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/firewallpolicydrafts/default", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L2ZpcmV3YWxsUG9saWN5RHJhZnRzL2RlZmF1bHQ=/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/firewallPolicyDrafts/default"}}, {"nullable": true, "type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "group": "Parameters", "help": {"short": "Resource location."}}, {"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "object", "var": "$parameters.properties.basePolicy", "options": ["base-policy"], "group": "Properties", "help": {"short": "The parent firewall policy from which rules are inherited."}, "args": [{"nullable": true, "type": "string", "var": "@SubResource_update.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_update"}, {"nullable": true, "type": "object", "var": "$parameters.properties.dnsSettings", "options": ["dns-settings"], "group": "Properties", "help": {"short": "DNS Proxy Settings definition."}, "args": [{"nullable": true, "type": "boolean", "var": "$parameters.properties.dnsSettings.enableProxy", "options": ["enable-proxy"], "help": {"short": "Enable DNS Proxy on Firewalls attached to the Firewall Policy."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.dnsSettings.requireProxyForNetworkRules", "options": ["require-proxy-for-network-rules"], "help": {"short": "FQDNs in Network Rules are supported when set to true."}}, {"nullable": true, "type": "array", "var": "$parameters.properties.dnsSettings.servers", "options": ["servers"], "help": {"short": "List of Custom DNS Servers."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.explicitProxy", "options": ["explicit-proxy"], "group": "Properties", "help": {"short": "Explicit Proxy Settings definition."}, "args": [{"nullable": true, "type": "boolean", "var": "$parameters.properties.explicitProxy.enableExplicitProxy", "options": ["enable-explicit-proxy"], "help": {"short": "When set to true, explicit proxy mode is enabled."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.explicitProxy.enablePacFile", "options": ["enable-pac-file"], "help": {"short": "When set to true, pac file port and url needs to be provided."}}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.explicitProxy.httpPort", "options": ["http-port"], "help": {"short": "Port number for explicit proxy http protocol, cannot be greater than 64000."}, "format": {"maximum": 64000, "minimum": 0}}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.explicitProxy.httpsPort", "options": ["https-port"], "help": {"short": "Port number for explicit proxy https protocol, cannot be greater than 64000."}, "format": {"maximum": 64000, "minimum": 0}}, {"nullable": true, "type": "string", "var": "$parameters.properties.explicitProxy.pacFile", "options": ["pac-file"], "help": {"short": "SAS URL for PAC file."}}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.explicitProxy.pacFilePort", "options": ["pac-file-port"], "help": {"short": "Port number for firewall to serve PAC file."}, "format": {"maximum": 64000, "minimum": 0}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.insights", "options": ["insights"], "group": "Properties", "help": {"short": "Insights on Firewall Policy."}, "args": [{"nullable": true, "type": "boolean", "var": "$parameters.properties.insights.isEnabled", "options": ["is-enabled"], "help": {"short": "A flag to indicate if the insights are enabled on the policy."}}, {"nullable": true, "type": "object", "var": "$parameters.properties.insights.logAnalyticsResources", "options": ["log-analytics-resources"], "help": {"short": "Workspaces needed to configure the Firewall Policy Insights."}, "args": [{"nullable": true, "type": "@SubResource_update", "var": "$parameters.properties.insights.logAnalyticsResources.defaultWorkspaceId", "options": ["default-workspace-id"], "help": {"short": "The default workspace Id for Firewall Policy Insights."}}, {"nullable": true, "type": "array", "var": "$parameters.properties.insights.logAnalyticsResources.workspaces", "options": ["workspaces"], "help": {"short": "List of workspaces for Firewall Policy Insights."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.insights.logAnalyticsResources.workspaces[].region", "options": ["region"], "help": {"short": "Region to configure the Workspace."}}, {"nullable": true, "type": "@SubResource_update", "var": "$parameters.properties.insights.logAnalyticsResources.workspaces[].workspaceId", "options": ["workspace-id"], "help": {"short": "The workspace Id for Firewall Policy Insights."}}]}}]}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.insights.retentionDays", "options": ["retention-days"], "help": {"short": "Number of days the insights should be enabled on the policy."}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.intrusionDetection", "options": ["intrusion-detection"], "group": "Properties", "help": {"short": "The configuration for Intrusion detection."}, "args": [{"nullable": true, "type": "object", "var": "$parameters.properties.intrusionDetection.configuration", "options": ["configuration"], "help": {"short": "Intrusion detection configuration properties."}, "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings", "options": ["bypass-traffic-settings"], "help": {"short": "List of rules for traffic to bypass."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].description", "options": ["description"], "help": {"short": "Description of the bypass traffic rule."}}, {"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or ranges for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationIpGroups", "options": ["destination-ip-groups"], "help": {"short": "List of destination IpGroups for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationPorts", "options": ["destination-ports"], "help": {"short": "List of destination ports or ranges."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].name", "options": ["name"], "help": {"short": "Name of the bypass traffic rule."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].protocol", "options": ["protocol"], "help": {"short": "The rule bypass protocol."}, "enum": {"items": [{"name": "ANY", "value": "ANY"}, {"name": "ICMP", "value": "ICMP"}, {"name": "TCP", "value": "TCP"}, {"name": "UDP", "value": "UDP"}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses or ranges for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"nullable": true, "type": "string"}}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.privateRanges", "options": ["private-ranges"], "help": {"short": "IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property"}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.signatureOverrides", "options": ["signature-overrides"], "help": {"short": "List of specific signatures states."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].id", "options": ["id"], "help": {"short": "Signature id."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].mode", "options": ["mode"], "help": {"short": "The signature state."}, "enum": {"items": [{"name": "Alert", "value": "Alert"}, {"name": "Deny", "value": "Deny"}, {"name": "Off", "value": "Off"}]}}]}}]}, {"nullable": true, "type": "string", "var": "$parameters.properties.intrusionDetection.mode", "options": ["mode"], "help": {"short": "Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two."}, "enum": {"items": [{"name": "Alert", "value": "Alert"}, {"name": "Deny", "value": "Deny"}, {"name": "Off", "value": "Off"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.intrusionDetection.profile", "options": ["profile"], "help": {"short": "IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy."}, "enum": {"items": [{"name": "Advanced", "value": "Advanced"}, {"name": "Basic", "value": "Basic"}, {"name": "Extended", "value": "Extended"}, {"name": "Standard", "value": "Standard"}]}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.snat", "options": ["snat"], "group": "Properties", "help": {"short": "The private IP addresses/IP ranges to which traffic will not be SNAT."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.snat.autoLearnPrivateRanges", "options": ["auto-learn-private-ranges"], "help": {"short": "The operation mode for automatically learning private ranges to not be SNAT"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.snat.privateRanges", "options": ["private-ranges"], "help": {"short": "List of private IP addresses/IP address ranges to not be SNAT."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.sql", "options": ["sql"], "group": "Properties", "help": {"short": "SQL Settings definition."}, "args": [{"nullable": true, "type": "boolean", "var": "$parameters.properties.sql.allowSqlRedirect", "options": ["allow-sql-redirect"], "help": {"short": "A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999."}}]}, {"nullable": true, "type": "string", "var": "$parameters.properties.threatIntelMode", "options": ["threat-intel-mode"], "group": "Properties", "help": {"short": "The operation mode for Threat Intelligence."}, "enum": {"items": [{"name": "Alert", "value": "Alert"}, {"name": "Deny", "value": "Deny"}, {"name": "Off", "value": "Off"}]}}, {"nullable": true, "type": "object", "var": "$parameters.properties.threatIntelWhitelist", "options": ["threat-intel-whitelist"], "group": "Properties", "help": {"short": "ThreatIntel Whitelist for Firewall Policy."}, "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.threatIntelWhitelist.fqdns", "options": ["fqdns"], "help": {"short": "List of FQDNs for the ThreatIntel Whitelist."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.threatIntelWhitelist.ipAddresses", "options": ["ip-addresses"], "help": {"short": "List of IP addresses for the ThreatIntel Whitelist."}, "item": {"nullable": true, "type": "string"}}]}]}], "operations": [{"operationId": "FirewallPolicyDrafts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/firewallPolicyDrafts/default"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "basePolicy", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "object", "name": "dnsSettings", "props": [{"type": "boolean", "name": "enableProxy"}, {"nullable": true, "type": "boolean", "name": "requireProxyForNetworkRules"}, {"type": "array", "name": "servers", "item": {"type": "string"}}]}, {"type": "object", "name": "explicitProxy", "props": [{"nullable": true, "type": "boolean", "name": "enableExplicitProxy"}, {"nullable": true, "type": "boolean", "name": "enablePacFile"}, {"type": "integer32", "name": "httpPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "integer32", "name": "httpsPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "pacFile"}, {"type": "integer32", "name": "pacFilePort", "format": {"maximum": 64000, "minimum": 0}}]}, {"type": "object", "name": "insights", "props": [{"type": "boolean", "name": "isEnabled"}, {"type": "object", "name": "logAnalyticsResources", "props": [{"type": "@SubResource_read", "name": "defaultWorkspaceId"}, {"type": "array", "name": "workspaces", "item": {"type": "object", "props": [{"type": "string", "name": "region"}, {"type": "@SubResource_read", "name": "workspaceId"}]}}]}, {"type": "integer32", "name": "retentionDays"}]}, {"type": "object", "name": "intrusionDetection", "props": [{"type": "object", "name": "configuration", "props": [{"type": "array", "name": "bypassTrafficSettings", "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "string", "name": "protocol", "enum": {"items": [{"value": "ANY"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}]}}, {"type": "array", "name": "privateRanges", "item": {"type": "string"}}, {"type": "array", "name": "signatureOverrides", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}]}}]}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "string", "name": "profile", "enum": {"items": [{"value": "Advanced"}, {"value": "Basic"}, {"value": "Extended"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "snat", "props": [{"type": "string", "name": "autoLearnPrivateRanges", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "privateRanges", "item": {"type": "string"}}]}, {"type": "object", "name": "sql", "props": [{"type": "boolean", "name": "allowSqlRedirect"}]}, {"type": "string", "name": "threatIntelMode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "object", "name": "threatIntelWhitelist", "props": [{"type": "array", "name": "fqdns", "item": {"type": "string"}}, {"type": "array", "name": "ipAddresses", "item": {"type": "string"}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "FirewallPolicyDraft_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/firewallPolicyDrafts/default"}}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "basePolicy", "arg": "$parameters.properties.basePolicy", "props": [{"type": "string", "name": "id", "arg": "@SubResource_update.id"}], "cls": "SubResource_update"}, {"type": "object", "name": "dnsSettings", "arg": "$parameters.properties.dnsSettings", "props": [{"type": "boolean", "name": "enableProxy", "arg": "$parameters.properties.dnsSettings.enableProxy"}, {"nullable": true, "type": "boolean", "name": "requireProxyForNetworkRules", "arg": "$parameters.properties.dnsSettings.requireProxyForNetworkRules"}, {"type": "array", "name": "servers", "arg": "$parameters.properties.dnsSettings.servers", "item": {"type": "string"}}]}, {"type": "object", "name": "explicitProxy", "arg": "$parameters.properties.explicitProxy", "props": [{"nullable": true, "type": "boolean", "name": "enableExplicitProxy", "arg": "$parameters.properties.explicitProxy.enableExplicitProxy"}, {"nullable": true, "type": "boolean", "name": "enablePacFile", "arg": "$parameters.properties.explicitProxy.enablePacFile"}, {"type": "integer32", "name": "httpPort", "arg": "$parameters.properties.explicitProxy.httpPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "integer32", "name": "httpsPort", "arg": "$parameters.properties.explicitProxy.httpsPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "pacFile", "arg": "$parameters.properties.explicitProxy.pacFile"}, {"type": "integer32", "name": "pacFilePort", "arg": "$parameters.properties.explicitProxy.pacFilePort", "format": {"maximum": 64000, "minimum": 0}}]}, {"type": "object", "name": "insights", "arg": "$parameters.properties.insights", "props": [{"type": "boolean", "name": "isEnabled", "arg": "$parameters.properties.insights.isEnabled"}, {"type": "object", "name": "logAnalyticsResources", "arg": "$parameters.properties.insights.logAnalyticsResources", "props": [{"type": "@SubResource_update", "name": "defaultWorkspaceId", "arg": "$parameters.properties.insights.logAnalyticsResources.defaultWorkspaceId"}, {"type": "array", "name": "workspaces", "arg": "$parameters.properties.insights.logAnalyticsResources.workspaces", "item": {"type": "object", "props": [{"type": "string", "name": "region", "arg": "$parameters.properties.insights.logAnalyticsResources.workspaces[].region"}, {"type": "@SubResource_update", "name": "workspaceId", "arg": "$parameters.properties.insights.logAnalyticsResources.workspaces[].workspaceId"}]}}]}, {"type": "integer32", "name": "retentionDays", "arg": "$parameters.properties.insights.retentionDays"}]}, {"type": "object", "name": "intrusionDetection", "arg": "$parameters.properties.intrusionDetection", "props": [{"type": "object", "name": "configuration", "arg": "$parameters.properties.intrusionDetection.configuration", "props": [{"type": "array", "name": "bypassTrafficSettings", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings", "item": {"type": "object", "props": [{"type": "string", "name": "description", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].description"}, {"type": "array", "name": "destinationAddresses", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationPorts", "item": {"type": "string"}}, {"type": "string", "name": "name", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].name"}, {"type": "string", "name": "protocol", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].protocol", "enum": {"items": [{"value": "ANY"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}, {"type": "array", "name": "sourceAddresses", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceIpGroups", "item": {"type": "string"}}]}}, {"type": "array", "name": "privateRanges", "arg": "$parameters.properties.intrusionDetection.configuration.privateRanges", "item": {"type": "string"}}, {"type": "array", "name": "signatureOverrides", "arg": "$parameters.properties.intrusionDetection.configuration.signatureOverrides", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].id"}, {"type": "string", "name": "mode", "arg": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}]}}]}, {"type": "string", "name": "mode", "arg": "$parameters.properties.intrusionDetection.mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "string", "name": "profile", "arg": "$parameters.properties.intrusionDetection.profile", "enum": {"items": [{"value": "Advanced"}, {"value": "Basic"}, {"value": "Extended"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "snat", "arg": "$parameters.properties.snat", "props": [{"type": "string", "name": "autoLearnPrivateRanges", "arg": "$parameters.properties.snat.autoLearnPrivateRanges", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "privateRanges", "arg": "$parameters.properties.snat.privateRanges", "item": {"type": "string"}}]}, {"type": "object", "name": "sql", "arg": "$parameters.properties.sql", "props": [{"type": "boolean", "name": "allowSqlRedirect", "arg": "$parameters.properties.sql.allowSqlRedirect"}]}, {"type": "string", "name": "threatIntelMode", "arg": "$parameters.properties.threatIntelMode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "object", "name": "threatIntelWhitelist", "arg": "$parameters.properties.threatIntelWhitelist", "props": [{"type": "array", "name": "fqdns", "arg": "$parameters.properties.threatIntelWhitelist.fqdns", "item": {"type": "string"}}, {"type": "array", "name": "ipAddresses", "arg": "$parameters.properties.threatIntelWhitelist.ipAddresses", "item": {"type": "string"}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"operationId": "FirewallPolicyDrafts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@FirewallPolicyDraft_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}], "commandGroups": [{"name": "intrusion-detection", "commands": [{"name": "create", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/firewallpolicydrafts/default", "version": "2023-11-01", "subresource": "properties.intrusionDetection", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L2ZpcmV3YWxsUG9saWN5RHJhZnRzL2RlZmF1bHQ=/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters.properties.intrusionDetection", "args": [{"type": "object", "var": "$parameters.properties.intrusionDetection.configuration", "options": ["configuration"], "group": "Parameters.properties.intrusionDetection", "help": {"short": "Intrusion detection configuration properties."}, "args": [{"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings", "options": ["bypass-traffic-settings"], "help": {"short": "List of rules for traffic to bypass."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].description", "options": ["description"], "help": {"short": "Description of the bypass traffic rule."}}, {"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or ranges for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationIpGroups", "options": ["destination-ip-groups"], "help": {"short": "List of destination IpGroups for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationPorts", "options": ["destination-ports"], "help": {"short": "List of destination ports or ranges."}, "item": {"type": "string"}}, {"type": "string", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].name", "options": ["name"], "help": {"short": "Name of the bypass traffic rule."}}, {"type": "string", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].protocol", "options": ["protocol"], "help": {"short": "The rule bypass protocol."}, "enum": {"items": [{"name": "ANY", "value": "ANY"}, {"name": "ICMP", "value": "ICMP"}, {"name": "TCP", "value": "TCP"}, {"name": "UDP", "value": "UDP"}]}}, {"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses or ranges for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"type": "string"}}]}}, {"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.privateRanges", "options": ["private-ranges"], "help": {"short": "IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property"}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.intrusionDetection.configuration.signatureOverrides", "options": ["signature-overrides"], "help": {"short": "List of specific signatures states."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].id", "options": ["id"], "help": {"short": "Signature id."}}, {"type": "string", "var": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].mode", "options": ["mode"], "help": {"short": "The signature state."}, "enum": {"items": [{"name": "Alert", "value": "Alert"}, {"name": "Deny", "value": "Deny"}, {"name": "Off", "value": "Off"}]}}]}}]}, {"type": "string", "var": "$parameters.properties.intrusionDetection.mode", "options": ["mode"], "group": "Parameters.properties.intrusionDetection", "help": {"short": "Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two."}, "enum": {"items": [{"name": "Alert", "value": "Alert"}, {"name": "Deny", "value": "Deny"}, {"name": "Off", "value": "Off"}]}}, {"type": "string", "var": "$parameters.properties.intrusionDetection.profile", "options": ["profile"], "group": "Parameters.properties.intrusionDetection", "help": {"short": "IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy."}, "enum": {"items": [{"name": "Advanced", "value": "Advanced"}, {"name": "Basic", "value": "Basic"}, {"name": "Extended", "value": "Extended"}, {"name": "Standard", "value": "Standard"}]}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.intrusionDetection"}}}, "operations": [{"operationId": "FirewallPolicyDrafts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/firewallPolicyDrafts/default"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "basePolicy", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "object", "name": "dnsSettings", "props": [{"type": "boolean", "name": "enableProxy"}, {"nullable": true, "type": "boolean", "name": "requireProxyForNetworkRules"}, {"type": "array", "name": "servers", "item": {"type": "string"}}]}, {"type": "object", "name": "explicitProxy", "props": [{"nullable": true, "type": "boolean", "name": "enableExplicitProxy"}, {"nullable": true, "type": "boolean", "name": "enablePacFile"}, {"type": "integer32", "name": "httpPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "integer32", "name": "httpsPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "pacFile"}, {"type": "integer32", "name": "pacFilePort", "format": {"maximum": 64000, "minimum": 0}}]}, {"type": "object", "name": "insights", "props": [{"type": "boolean", "name": "isEnabled"}, {"type": "object", "name": "logAnalyticsResources", "props": [{"type": "@SubResource_read", "name": "defaultWorkspaceId"}, {"type": "array", "name": "workspaces", "item": {"type": "object", "props": [{"type": "string", "name": "region"}, {"type": "@SubResource_read", "name": "workspaceId"}]}}]}, {"type": "integer32", "name": "retentionDays"}]}, {"type": "object", "name": "intrusionDetection", "props": [{"type": "object", "name": "configuration", "props": [{"type": "array", "name": "bypassTrafficSettings", "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "string", "name": "protocol", "enum": {"items": [{"value": "ANY"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}]}}, {"type": "array", "name": "privateRanges", "item": {"type": "string"}}, {"type": "array", "name": "signatureOverrides", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}]}}]}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "string", "name": "profile", "enum": {"items": [{"value": "Advanced"}, {"value": "Basic"}, {"value": "Extended"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "snat", "props": [{"type": "string", "name": "autoLearnPrivateRanges", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "privateRanges", "item": {"type": "string"}}]}, {"type": "object", "name": "sql", "props": [{"type": "boolean", "name": "allowSqlRedirect"}]}, {"type": "string", "name": "threatIntelMode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "object", "name": "threatIntelWhitelist", "props": [{"type": "array", "name": "fqdns", "item": {"type": "string"}}, {"type": "array", "name": "ipAddresses", "item": {"type": "string"}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "FirewallPolicyDraft_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceCreate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.intrusionDetection", "required": true, "props": [{"type": "object", "name": "configuration", "arg": "$parameters.properties.intrusionDetection.configuration", "props": [{"type": "array", "name": "bypassTrafficSettings", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings", "item": {"type": "object", "props": [{"type": "string", "name": "description", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].description"}, {"type": "array", "name": "destinationAddresses", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationPorts", "item": {"type": "string"}}, {"type": "string", "name": "name", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].name"}, {"type": "string", "name": "protocol", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].protocol", "enum": {"items": [{"value": "ANY"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}, {"type": "array", "name": "sourceAddresses", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceIpGroups", "item": {"type": "string"}}]}}, {"type": "array", "name": "privateRanges", "arg": "$parameters.properties.intrusionDetection.configuration.privateRanges", "item": {"type": "string"}}, {"type": "array", "name": "signatureOverrides", "arg": "$parameters.properties.intrusionDetection.configuration.signatureOverrides", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].id"}, {"type": "string", "name": "mode", "arg": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}]}}]}, {"type": "string", "name": "mode", "arg": "$parameters.properties.intrusionDetection.mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "string", "name": "profile", "arg": "$parameters.properties.intrusionDetection.profile", "enum": {"items": [{"value": "Advanced"}, {"value": "Basic"}, {"value": "Extended"}, {"value": "Standard"}]}}]}}}}, {"operationId": "FirewallPolicyDrafts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@FirewallPolicyDraft_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/firewallpolicydrafts/default", "version": "2023-11-01", "subresource": "properties.intrusionDetection", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L2ZpcmV3YWxsUG9saWN5RHJhZnRzL2RlZmF1bHQ=/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters.properties.intrusionDetection", "args": [{"nullable": true, "type": "object", "var": "$parameters.properties.intrusionDetection.configuration", "options": ["configuration"], "group": "Parameters.properties.intrusionDetection", "help": {"short": "Intrusion detection configuration properties."}, "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings", "options": ["bypass-traffic-settings"], "help": {"short": "List of rules for traffic to bypass."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].description", "options": ["description"], "help": {"short": "Description of the bypass traffic rule."}}, {"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or ranges for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationIpGroups", "options": ["destination-ip-groups"], "help": {"short": "List of destination IpGroups for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationPorts", "options": ["destination-ports"], "help": {"short": "List of destination ports or ranges."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].name", "options": ["name"], "help": {"short": "Name of the bypass traffic rule."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].protocol", "options": ["protocol"], "help": {"short": "The rule bypass protocol."}, "enum": {"items": [{"name": "ANY", "value": "ANY"}, {"name": "ICMP", "value": "ICMP"}, {"name": "TCP", "value": "TCP"}, {"name": "UDP", "value": "UDP"}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses or ranges for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"nullable": true, "type": "string"}}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.privateRanges", "options": ["private-ranges"], "help": {"short": "IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property"}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.intrusionDetection.configuration.signatureOverrides", "options": ["signature-overrides"], "help": {"short": "List of specific signatures states."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].id", "options": ["id"], "help": {"short": "Signature id."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].mode", "options": ["mode"], "help": {"short": "The signature state."}, "enum": {"items": [{"name": "Alert", "value": "Alert"}, {"name": "Deny", "value": "Deny"}, {"name": "Off", "value": "Off"}]}}]}}]}, {"nullable": true, "type": "string", "var": "$parameters.properties.intrusionDetection.mode", "options": ["mode"], "group": "Parameters.properties.intrusionDetection", "help": {"short": "Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two."}, "enum": {"items": [{"name": "Alert", "value": "Alert"}, {"name": "Deny", "value": "Deny"}, {"name": "Off", "value": "Off"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.intrusionDetection.profile", "options": ["profile"], "group": "Parameters.properties.intrusionDetection", "help": {"short": "IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy."}, "enum": {"items": [{"name": "Advanced", "value": "Advanced"}, {"name": "Basic", "value": "Basic"}, {"name": "Extended", "value": "Extended"}, {"name": "Standard", "value": "Standard"}]}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.intrusionDetection"}}}, "operations": [{"operationId": "FirewallPolicyDrafts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/firewallPolicyDrafts/default"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "basePolicy", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "object", "name": "dnsSettings", "props": [{"type": "boolean", "name": "enableProxy"}, {"nullable": true, "type": "boolean", "name": "requireProxyForNetworkRules"}, {"type": "array", "name": "servers", "item": {"type": "string"}}]}, {"type": "object", "name": "explicitProxy", "props": [{"nullable": true, "type": "boolean", "name": "enableExplicitProxy"}, {"nullable": true, "type": "boolean", "name": "enablePacFile"}, {"type": "integer32", "name": "httpPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "integer32", "name": "httpsPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "pacFile"}, {"type": "integer32", "name": "pacFilePort", "format": {"maximum": 64000, "minimum": 0}}]}, {"type": "object", "name": "insights", "props": [{"type": "boolean", "name": "isEnabled"}, {"type": "object", "name": "logAnalyticsResources", "props": [{"type": "@SubResource_read", "name": "defaultWorkspaceId"}, {"type": "array", "name": "workspaces", "item": {"type": "object", "props": [{"type": "string", "name": "region"}, {"type": "@SubResource_read", "name": "workspaceId"}]}}]}, {"type": "integer32", "name": "retentionDays"}]}, {"type": "object", "name": "intrusionDetection", "props": [{"type": "object", "name": "configuration", "props": [{"type": "array", "name": "bypassTrafficSettings", "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "string", "name": "protocol", "enum": {"items": [{"value": "ANY"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}]}}, {"type": "array", "name": "privateRanges", "item": {"type": "string"}}, {"type": "array", "name": "signatureOverrides", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}]}}]}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "string", "name": "profile", "enum": {"items": [{"value": "Advanced"}, {"value": "Basic"}, {"value": "Extended"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "snat", "props": [{"type": "string", "name": "autoLearnPrivateRanges", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "privateRanges", "item": {"type": "string"}}]}, {"type": "object", "name": "sql", "props": [{"type": "boolean", "name": "allowSqlRedirect"}]}, {"type": "string", "name": "threatIntelMode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "object", "name": "threatIntelWhitelist", "props": [{"type": "array", "name": "fqdns", "item": {"type": "string"}}, {"type": "array", "name": "ipAddresses", "item": {"type": "string"}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "FirewallPolicyDraft_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.intrusionDetection", "required": true, "props": [{"type": "object", "name": "configuration", "arg": "$parameters.properties.intrusionDetection.configuration", "props": [{"type": "array", "name": "bypassTrafficSettings", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings", "item": {"type": "object", "props": [{"type": "string", "name": "description", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].description"}, {"type": "array", "name": "destinationAddresses", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].destinationPorts", "item": {"type": "string"}}, {"type": "string", "name": "name", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].name"}, {"type": "string", "name": "protocol", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].protocol", "enum": {"items": [{"value": "ANY"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}, {"type": "array", "name": "sourceAddresses", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "$parameters.properties.intrusionDetection.configuration.bypassTrafficSettings[].sourceIpGroups", "item": {"type": "string"}}]}}, {"type": "array", "name": "privateRanges", "arg": "$parameters.properties.intrusionDetection.configuration.privateRanges", "item": {"type": "string"}}, {"type": "array", "name": "signatureOverrides", "arg": "$parameters.properties.intrusionDetection.configuration.signatureOverrides", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].id"}, {"type": "string", "name": "mode", "arg": "$parameters.properties.intrusionDetection.configuration.signatureOverrides[].mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}]}}]}, {"type": "string", "name": "mode", "arg": "$parameters.properties.intrusionDetection.mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "string", "name": "profile", "arg": "$parameters.properties.intrusionDetection.profile", "enum": {"items": [{"value": "Advanced"}, {"value": "Basic"}, {"value": "Extended"}, {"value": "Standard"}]}}]}}}}, {"operationId": "FirewallPolicyDrafts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@FirewallPolicyDraft_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/firewallpolicydrafts/default", "version": "2023-11-01", "subresource": "properties.intrusionDetection", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L2ZpcmV3YWxsUG9saWN5RHJhZnRzL2RlZmF1bHQ=/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.intrusionDetection"}}}, "operations": [{"operationId": "FirewallPolicyDrafts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/firewallPolicyDrafts/default"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "basePolicy", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "object", "name": "dnsSettings", "props": [{"type": "boolean", "name": "enableProxy"}, {"nullable": true, "type": "boolean", "name": "requireProxyForNetworkRules"}, {"type": "array", "name": "servers", "item": {"type": "string"}}]}, {"type": "object", "name": "explicitProxy", "props": [{"nullable": true, "type": "boolean", "name": "enableExplicitProxy"}, {"nullable": true, "type": "boolean", "name": "enablePacFile"}, {"type": "integer32", "name": "httpPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "integer32", "name": "httpsPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "pacFile"}, {"type": "integer32", "name": "pacFilePort", "format": {"maximum": 64000, "minimum": 0}}]}, {"type": "object", "name": "insights", "props": [{"type": "boolean", "name": "isEnabled"}, {"type": "object", "name": "logAnalyticsResources", "props": [{"type": "@SubResource_read", "name": "defaultWorkspaceId"}, {"type": "array", "name": "workspaces", "item": {"type": "object", "props": [{"type": "string", "name": "region"}, {"type": "@SubResource_read", "name": "workspaceId"}]}}]}, {"type": "integer32", "name": "retentionDays"}]}, {"type": "object", "name": "intrusionDetection", "props": [{"type": "object", "name": "configuration", "props": [{"type": "array", "name": "bypassTrafficSettings", "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "string", "name": "protocol", "enum": {"items": [{"value": "ANY"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}]}}, {"type": "array", "name": "privateRanges", "item": {"type": "string"}}, {"type": "array", "name": "signatureOverrides", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}]}}]}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "string", "name": "profile", "enum": {"items": [{"value": "Advanced"}, {"value": "Basic"}, {"value": "Extended"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "snat", "props": [{"type": "string", "name": "autoLearnPrivateRanges", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "privateRanges", "item": {"type": "string"}}]}, {"type": "object", "name": "sql", "props": [{"type": "boolean", "name": "allowSqlRedirect"}]}, {"type": "string", "name": "threatIntelMode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "object", "name": "threatIntelWhitelist", "props": [{"type": "array", "name": "fqdns", "item": {"type": "string"}}, {"type": "array", "name": "ipAddresses", "item": {"type": "string"}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "FirewallPolicyDraft_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceDelete": {"ref": "$Subresource", "json": {}}}, {"operationId": "FirewallPolicyDrafts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@FirewallPolicyDraft_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "show", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/firewallpolicydrafts/default", "version": "2023-11-01", "subresource": "properties.intrusionDetection", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L2ZpcmV3YWxsUG9saWN5RHJhZnRzL2RlZmF1bHQ=/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.intrusionDetection"}}}, "operations": [{"operationId": "FirewallPolicyDrafts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/firewallPolicyDrafts/default"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "basePolicy", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "object", "name": "dnsSettings", "props": [{"type": "boolean", "name": "enableProxy"}, {"nullable": true, "type": "boolean", "name": "requireProxyForNetworkRules"}, {"type": "array", "name": "servers", "item": {"type": "string"}}]}, {"type": "object", "name": "explicitProxy", "props": [{"nullable": true, "type": "boolean", "name": "enableExplicitProxy"}, {"nullable": true, "type": "boolean", "name": "enablePacFile"}, {"type": "integer32", "name": "httpPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "integer32", "name": "httpsPort", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "pacFile"}, {"type": "integer32", "name": "pacFilePort", "format": {"maximum": 64000, "minimum": 0}}]}, {"type": "object", "name": "insights", "props": [{"type": "boolean", "name": "isEnabled"}, {"type": "object", "name": "logAnalyticsResources", "props": [{"type": "@SubResource_read", "name": "defaultWorkspaceId"}, {"type": "array", "name": "workspaces", "item": {"type": "object", "props": [{"type": "string", "name": "region"}, {"type": "@SubResource_read", "name": "workspaceId"}]}}]}, {"type": "integer32", "name": "retentionDays"}]}, {"type": "object", "name": "intrusionDetection", "props": [{"type": "object", "name": "configuration", "props": [{"type": "array", "name": "bypassTrafficSettings", "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "string", "name": "protocol", "enum": {"items": [{"value": "ANY"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}]}}, {"type": "array", "name": "privateRanges", "item": {"type": "string"}}, {"type": "array", "name": "signatureOverrides", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}]}}]}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "string", "name": "profile", "enum": {"items": [{"value": "Advanced"}, {"value": "Basic"}, {"value": "Extended"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "snat", "props": [{"type": "string", "name": "autoLearnPrivateRanges", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "privateRanges", "item": {"type": "string"}}]}, {"type": "object", "name": "sql", "props": [{"type": "boolean", "name": "allowSqlRedirect"}]}, {"type": "string", "name": "threatIntelMode", "enum": {"items": [{"value": "Alert"}, {"value": "Deny"}, {"value": "Off"}]}}, {"type": "object", "name": "threatIntelWhitelist", "props": [{"type": "array", "name": "fqdns", "item": {"type": "string"}}, {"type": "array", "name": "ipAddresses", "item": {"type": "string"}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "FirewallPolicyDraft_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vZmlyZXdhbGxwb2xpY3lkcmFmdHMvZGVmYXVsdA==/2023-11-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vZmlyZXdhbGxwb2xpY3lkcmFmdHMvZGVmYXVsdA==/2023-11-01.xml index a86b40391..49e7a3b9f 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vZmlyZXdhbGxwb2xpY3lkcmFmdHMvZGVmYXVsdA==/2023-11-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vZmlyZXdhbGxwb2xpY3lkcmFmdHMvZGVmYXVsdA==/2023-11-01.xml @@ -1332,5 +1332,1168 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vcnVsZWNvbGxlY3Rpb25ncm91cHMve30vcnVsZWNvbGxlY3Rpb25ncm91cGRyYWZ0cy9kZWZhdWx0/2023-11-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vcnVsZWNvbGxlY3Rpb25ncm91cHMve30vcnVsZWNvbGxlY3Rpb25ncm91cGRyYWZ0cy9kZWZhdWx0/2023-11-01.json index 1ca7a3162..a95262b62 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vcnVsZWNvbGxlY3Rpb25ncm91cHMve30vcnVsZWNvbGxlY3Rpb25ncm91cGRyYWZ0cy9kZWZhdWx0/2023-11-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vcnVsZWNvbGxlY3Rpb25ncm91cHMve30vcnVsZWNvbGxlY3Rpb25ncm91cGRyYWZ0cy9kZWZhdWx0/2023-11-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/rulecollectiongroups/{}/rulecollectiongroupdrafts/default", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L3J1bGVDb2xsZWN0aW9uR3JvdXBzL3tydWxlQ29sbGVjdGlvbkdyb3VwTmFtZX0vcnVsZUNvbGxlY3Rpb25Hcm91cERyYWZ0cy9kZWZhdWx0/V/MjAyMy0xMS0wMQ=="}], "commandGroups": [{"name": "network firewall policy rule-collection-group draft", "commands": [{"name": "show", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/rulecollectiongroups/{}/rulecollectiongroupdrafts/default", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L3J1bGVDb2xsZWN0aW9uR3JvdXBzL3tydWxlQ29sbGVjdGlvbkdyb3VwTmFtZX0vcnVsZUNvbGxlY3Rpb25Hcm91cERyYWZ0cy9kZWZhdWx0/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.ruleCollectionGroupName", "options": ["rule-collection-group-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the FirewallPolicyRuleCollectionGroup."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "FirewallPolicyRuleCollectionGroupDrafts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "ruleCollectionGroupName", "arg": "$Path.ruleCollectionGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/ruleCollectionGroups/{}/ruleCollectionGroupDrafts/default"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "array", "name": "ruleCollections", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "integer32", "name": "priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "string", "name": "ruleCollectionType", "required": true, "enum": {"items": [{"value": "FirewallPolicyFilterRuleCollection"}, {"value": "FirewallPolicyNatRuleCollection"}]}}], "discriminators": [{"property": "ruleCollectionType", "value": "FirewallPolicyFilterRuleCollection", "props": [{"type": "object", "name": "action", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "Allow"}, {"value": "Deny"}]}}]}, {"type": "array<@FirewallPolicyRule_read>", "name": "rules", "item": {"type": "@FirewallPolicyRule_read"}}]}, {"property": "ruleCollectionType", "value": "FirewallPolicyNatRuleCollection", "props": [{"type": "object", "name": "action", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "DNAT"}]}}]}, {"type": "array", "name": "rules", "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "name"}, {"type": "string", "name": "ruleType", "required": true, "enum": {"items": [{"value": "ApplicationRule"}, {"value": "NatRule"}, {"value": "NetworkRule"}]}}], "discriminators": [{"property": "ruleType", "value": "ApplicationRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "fqdnTags", "item": {"type": "string"}}, {"type": "array", "name": "httpHeadersToInsert", "item": {"type": "object", "props": [{"type": "string", "name": "headerName"}, {"type": "string", "name": "headerValue"}]}}, {"type": "array", "name": "protocols", "item": {"type": "object", "props": [{"type": "integer32", "name": "port", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "protocolType", "enum": {"items": [{"value": "Http"}, {"value": "Https"}]}}]}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "targetFqdns", "item": {"type": "string"}}, {"type": "array", "name": "targetUrls", "item": {"type": "string"}}, {"type": "boolean", "name": "terminateTLS"}, {"type": "array", "name": "webCategories", "item": {"type": "string"}}]}, {"property": "ruleType", "value": "NatRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "string", "name": "translatedAddress"}, {"type": "string", "name": "translatedFqdn"}, {"type": "string", "name": "translatedPort"}]}, {"property": "ruleType", "value": "NetworkRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationFqdns", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}]}], "cls": "FirewallPolicyRule_read"}}]}]}}, {"readOnly": true, "type": "string", "name": "size"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/rulecollectiongroups/{}/rulecollectiongroupdrafts/default", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L3J1bGVDb2xsZWN0aW9uR3JvdXBzL3tydWxlQ29sbGVjdGlvbkdyb3VwTmFtZX0vcnVsZUNvbGxlY3Rpb25Hcm91cERyYWZ0cy9kZWZhdWx0/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.ruleCollectionGroupName", "options": ["rule-collection-group-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the FirewallPolicyRuleCollectionGroup."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "FirewallPolicyRuleCollectionGroupDrafts_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "ruleCollectionGroupName", "arg": "$Path.ruleCollectionGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/rulecollectiongroups/{}/rulecollectiongroupdrafts/default", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L3J1bGVDb2xsZWN0aW9uR3JvdXBzL3tydWxlQ29sbGVjdGlvbkdyb3VwTmFtZX0vcnVsZUNvbGxlY3Rpb25Hcm91cERyYWZ0cy9kZWZhdWx0/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.ruleCollectionGroupName", "options": ["rule-collection-group-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the FirewallPolicyRuleCollectionGroup."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/ruleCollectionGroups/{}/ruleCollectionGroupDrafts/default"}}, {"type": "string", "var": "$parameters.name", "options": ["name"], "group": "Parameters", "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}]}, {"name": "Properties", "args": [{"type": "integer32", "var": "$parameters.properties.priority", "options": ["priority"], "group": "Properties", "help": {"short": "Priority of the Firewall Policy Rule Collection Group resource."}, "format": {"maximum": 65000, "minimum": 100}}, {"type": "array", "var": "$parameters.properties.ruleCollections", "options": ["rule-collections"], "group": "Properties", "help": {"short": "Group of Firewall Policy rule collections."}, "item": {"type": "object", "args": [{"type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection", "options": ["firewall-policy-filter-rule-collection"], "args": [{"type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action", "options": ["action"], "help": {"short": "The action type of a Filter rule collection."}, "args": [{"type": "string", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action.type", "options": ["type"], "help": {"short": "The type of action."}, "enum": {"items": [{"name": "Allow", "value": "Allow"}, {"name": "Deny", "value": "Deny"}]}}]}, {"type": "array<@FirewallPolicyRule_create>", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.rules", "options": ["rules"], "help": {"short": "List of rules included in a rule collection."}, "item": {"type": "@FirewallPolicyRule_create"}}]}, {"type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection", "options": ["firewall-policy-nat-rule-collection"], "args": [{"type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action", "options": ["action"], "help": {"short": "The action type of a Nat rule collection."}, "args": [{"type": "string", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action.type", "options": ["type"], "help": {"short": "The type of action."}, "enum": {"items": [{"name": "DNAT", "value": "DNAT"}]}}]}, {"type": "array", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.rules", "options": ["rules"], "help": {"short": "List of rules included in a rule collection."}, "item": {"type": "object", "args": [{"type": "object", "var": "@FirewallPolicyRule_create.ApplicationRule", "options": ["application-rule"], "args": [{"type": "array", "var": "@FirewallPolicyRule_create.ApplicationRule.destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or Service Tags."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.ApplicationRule.fqdnTags", "options": ["fqdn-tags"], "help": {"short": "List of FQDN Tags for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.ApplicationRule.httpHeadersToInsert", "options": ["http-headers-to-insert"], "help": {"short": "List of HTTP/S headers to insert."}, "item": {"type": "object", "args": [{"type": "string", "var": "@FirewallPolicyRule_create.ApplicationRule.httpHeadersToInsert[].headerName", "options": ["header-name"], "help": {"short": "Contains the name of the header"}}, {"type": "string", "var": "@FirewallPolicyRule_create.ApplicationRule.httpHeadersToInsert[].headerValue", "options": ["header-value"], "help": {"short": "Contains the value of the header"}}]}}, {"type": "array", "var": "@FirewallPolicyRule_create.ApplicationRule.protocols", "options": ["protocols"], "help": {"short": "Array of Application Protocols."}, "item": {"type": "object", "args": [{"type": "integer32", "var": "@FirewallPolicyRule_create.ApplicationRule.protocols[].port", "options": ["port"], "help": {"short": "Port number for the protocol, cannot be greater than 64000."}, "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "var": "@FirewallPolicyRule_create.ApplicationRule.protocols[].protocolType", "options": ["protocol-type"], "help": {"short": "Protocol type."}, "enum": {"items": [{"name": "Http", "value": "Http"}, {"name": "Https", "value": "Https"}]}}]}}, {"type": "array", "var": "@FirewallPolicyRule_create.ApplicationRule.sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.ApplicationRule.sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.ApplicationRule.targetFqdns", "options": ["target-fqdns"], "help": {"short": "List of FQDNs for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.ApplicationRule.targetUrls", "options": ["target-urls"], "help": {"short": "List of Urls for this rule condition."}, "item": {"type": "string"}}, {"type": "boolean", "var": "@FirewallPolicyRule_create.ApplicationRule.terminateTLS", "options": ["terminate-tls"], "help": {"short": "Terminate TLS connections for this rule."}}, {"type": "array", "var": "@FirewallPolicyRule_create.ApplicationRule.webCategories", "options": ["web-categories"], "help": {"short": "List of destination azure web categories."}, "item": {"type": "string"}}]}, {"type": "object", "var": "@FirewallPolicyRule_create.NatRule", "options": ["nat-rule"], "args": [{"type": "array", "var": "@FirewallPolicyRule_create.NatRule.destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or Service Tags."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.NatRule.destinationPorts", "options": ["destination-ports"], "help": {"short": "List of destination ports."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.NatRule.ipProtocols", "options": ["ip-protocols"], "help": {"short": "Array of FirewallPolicyRuleNetworkProtocols."}, "item": {"type": "string", "enum": {"items": [{"name": "Any", "value": "Any"}, {"name": "ICMP", "value": "ICMP"}, {"name": "TCP", "value": "TCP"}, {"name": "UDP", "value": "UDP"}]}}}, {"type": "array", "var": "@FirewallPolicyRule_create.NatRule.sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.NatRule.sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"type": "string"}}, {"type": "string", "var": "@FirewallPolicyRule_create.NatRule.translatedAddress", "options": ["translated-address"], "help": {"short": "The translated address for this NAT rule."}}, {"type": "string", "var": "@FirewallPolicyRule_create.NatRule.translatedFqdn", "options": ["translated-fqdn"], "help": {"short": "The translated FQDN for this NAT rule."}}, {"type": "string", "var": "@FirewallPolicyRule_create.NatRule.translatedPort", "options": ["translated-port"], "help": {"short": "The translated port for this NAT rule."}}]}, {"type": "object", "var": "@FirewallPolicyRule_create.NetworkRule", "options": ["network-rule"], "args": [{"type": "array", "var": "@FirewallPolicyRule_create.NetworkRule.destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or Service Tags."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.NetworkRule.destinationFqdns", "options": ["destination-fqdns"], "help": {"short": "List of destination FQDNs."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.NetworkRule.destinationIpGroups", "options": ["destination-ip-groups"], "help": {"short": "List of destination IpGroups for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.NetworkRule.destinationPorts", "options": ["destination-ports"], "help": {"short": "List of destination ports."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.NetworkRule.ipProtocols", "options": ["ip-protocols"], "help": {"short": "Array of FirewallPolicyRuleNetworkProtocols."}, "item": {"type": "string", "enum": {"items": [{"name": "Any", "value": "Any"}, {"name": "ICMP", "value": "ICMP"}, {"name": "TCP", "value": "TCP"}, {"name": "UDP", "value": "UDP"}]}}}, {"type": "array", "var": "@FirewallPolicyRule_create.NetworkRule.sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.NetworkRule.sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"type": "string"}}]}, {"type": "string", "var": "@FirewallPolicyRule_create.description", "options": ["description"], "help": {"short": "Description of the rule."}}, {"type": "string", "var": "@FirewallPolicyRule_create.name", "options": ["name"], "help": {"short": "Name of the rule."}}], "cls": "FirewallPolicyRule_create"}}]}, {"type": "string", "var": "$parameters.properties.ruleCollections[].name", "options": ["name"], "help": {"short": "The name of the rule collection."}}, {"type": "integer32", "var": "$parameters.properties.ruleCollections[].priority", "options": ["priority"], "help": {"short": "Priority of the Firewall Policy Rule Collection resource."}, "format": {"maximum": 65000, "minimum": 100}}]}}]}], "operations": [{"operationId": "FirewallPolicyRuleCollectionGroupDrafts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "ruleCollectionGroupName", "arg": "$Path.ruleCollectionGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/ruleCollectionGroups/{}/ruleCollectionGroupDrafts/default"}}, {"type": "string", "name": "name", "arg": "$parameters.name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "priority", "arg": "$parameters.properties.priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "array", "name": "ruleCollections", "arg": "$parameters.properties.ruleCollections", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.ruleCollections[].name"}, {"type": "integer32", "name": "priority", "arg": "$parameters.properties.ruleCollections[].priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "string", "name": "ruleCollectionType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection", "value": "FirewallPolicyFilterRuleCollection"}, {"arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection", "value": "FirewallPolicyNatRuleCollection"}]}}], "discriminators": [{"property": "ruleCollectionType", "value": "FirewallPolicyFilterRuleCollection", "props": [{"type": "object", "name": "action", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action", "props": [{"type": "string", "name": "type", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action.type", "enum": {"items": [{"value": "Allow"}, {"value": "Deny"}]}}]}, {"type": "array<@FirewallPolicyRule_create>", "name": "rules", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.rules", "item": {"type": "@FirewallPolicyRule_create"}}]}, {"property": "ruleCollectionType", "value": "FirewallPolicyNatRuleCollection", "props": [{"type": "object", "name": "action", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action", "props": [{"type": "string", "name": "type", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action.type", "enum": {"items": [{"value": "DNAT"}]}}]}, {"type": "array", "name": "rules", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.rules", "item": {"type": "object", "props": [{"type": "string", "name": "description", "arg": "@FirewallPolicyRule_create.description"}, {"type": "string", "name": "name", "arg": "@FirewallPolicyRule_create.name"}, {"type": "string", "name": "ruleType", "required": true, "enum": {"items": [{"arg": "@FirewallPolicyRule_create.ApplicationRule", "value": "ApplicationRule"}, {"arg": "@FirewallPolicyRule_create.NatRule", "value": "NatRule"}, {"arg": "@FirewallPolicyRule_create.NetworkRule", "value": "NetworkRule"}]}}], "discriminators": [{"property": "ruleType", "value": "ApplicationRule", "props": [{"type": "array", "name": "destinationAddresses", "arg": "@FirewallPolicyRule_create.ApplicationRule.destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "fqdnTags", "arg": "@FirewallPolicyRule_create.ApplicationRule.fqdnTags", "item": {"type": "string"}}, {"type": "array", "name": "httpHeadersToInsert", "arg": "@FirewallPolicyRule_create.ApplicationRule.httpHeadersToInsert", "item": {"type": "object", "props": [{"type": "string", "name": "headerName", "arg": "@FirewallPolicyRule_create.ApplicationRule.httpHeadersToInsert[].headerName"}, {"type": "string", "name": "headerValue", "arg": "@FirewallPolicyRule_create.ApplicationRule.httpHeadersToInsert[].headerValue"}]}}, {"type": "array", "name": "protocols", "arg": "@FirewallPolicyRule_create.ApplicationRule.protocols", "item": {"type": "object", "props": [{"type": "integer32", "name": "port", "arg": "@FirewallPolicyRule_create.ApplicationRule.protocols[].port", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "protocolType", "arg": "@FirewallPolicyRule_create.ApplicationRule.protocols[].protocolType", "enum": {"items": [{"value": "Http"}, {"value": "Https"}]}}]}}, {"type": "array", "name": "sourceAddresses", "arg": "@FirewallPolicyRule_create.ApplicationRule.sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "@FirewallPolicyRule_create.ApplicationRule.sourceIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "targetFqdns", "arg": "@FirewallPolicyRule_create.ApplicationRule.targetFqdns", "item": {"type": "string"}}, {"type": "array", "name": "targetUrls", "arg": "@FirewallPolicyRule_create.ApplicationRule.targetUrls", "item": {"type": "string"}}, {"type": "boolean", "name": "terminateTLS", "arg": "@FirewallPolicyRule_create.ApplicationRule.terminateTLS"}, {"type": "array", "name": "webCategories", "arg": "@FirewallPolicyRule_create.ApplicationRule.webCategories", "item": {"type": "string"}}]}, {"property": "ruleType", "value": "NatRule", "props": [{"type": "array", "name": "destinationAddresses", "arg": "@FirewallPolicyRule_create.NatRule.destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "arg": "@FirewallPolicyRule_create.NatRule.destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "arg": "@FirewallPolicyRule_create.NatRule.ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "arg": "@FirewallPolicyRule_create.NatRule.sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "@FirewallPolicyRule_create.NatRule.sourceIpGroups", "item": {"type": "string"}}, {"type": "string", "name": "translatedAddress", "arg": "@FirewallPolicyRule_create.NatRule.translatedAddress"}, {"type": "string", "name": "translatedFqdn", "arg": "@FirewallPolicyRule_create.NatRule.translatedFqdn"}, {"type": "string", "name": "translatedPort", "arg": "@FirewallPolicyRule_create.NatRule.translatedPort"}]}, {"property": "ruleType", "value": "NetworkRule", "props": [{"type": "array", "name": "destinationAddresses", "arg": "@FirewallPolicyRule_create.NetworkRule.destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationFqdns", "arg": "@FirewallPolicyRule_create.NetworkRule.destinationFqdns", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "arg": "@FirewallPolicyRule_create.NetworkRule.destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "arg": "@FirewallPolicyRule_create.NetworkRule.destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "arg": "@FirewallPolicyRule_create.NetworkRule.ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "arg": "@FirewallPolicyRule_create.NetworkRule.sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "@FirewallPolicyRule_create.NetworkRule.sourceIpGroups", "item": {"type": "string"}}]}], "cls": "FirewallPolicyRule_create"}}]}]}}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/ruleCollectionGroups/{}/ruleCollectionGroupDrafts/default"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "array", "name": "ruleCollections", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "integer32", "name": "priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "string", "name": "ruleCollectionType", "required": true, "enum": {"items": [{"value": "FirewallPolicyFilterRuleCollection"}, {"value": "FirewallPolicyNatRuleCollection"}]}}], "discriminators": [{"property": "ruleCollectionType", "value": "FirewallPolicyFilterRuleCollection", "props": [{"type": "object", "name": "action", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "Allow"}, {"value": "Deny"}]}}]}, {"type": "array<@FirewallPolicyRule_read>", "name": "rules", "item": {"type": "@FirewallPolicyRule_read"}}]}, {"property": "ruleCollectionType", "value": "FirewallPolicyNatRuleCollection", "props": [{"type": "object", "name": "action", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "DNAT"}]}}]}, {"type": "array", "name": "rules", "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "name"}, {"type": "string", "name": "ruleType", "required": true, "enum": {"items": [{"value": "ApplicationRule"}, {"value": "NatRule"}, {"value": "NetworkRule"}]}}], "discriminators": [{"property": "ruleType", "value": "ApplicationRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "fqdnTags", "item": {"type": "string"}}, {"type": "array", "name": "httpHeadersToInsert", "item": {"type": "object", "props": [{"type": "string", "name": "headerName"}, {"type": "string", "name": "headerValue"}]}}, {"type": "array", "name": "protocols", "item": {"type": "object", "props": [{"type": "integer32", "name": "port", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "protocolType", "enum": {"items": [{"value": "Http"}, {"value": "Https"}]}}]}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "targetFqdns", "item": {"type": "string"}}, {"type": "array", "name": "targetUrls", "item": {"type": "string"}}, {"type": "boolean", "name": "terminateTLS"}, {"type": "array", "name": "webCategories", "item": {"type": "string"}}]}, {"property": "ruleType", "value": "NatRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "string", "name": "translatedAddress"}, {"type": "string", "name": "translatedFqdn"}, {"type": "string", "name": "translatedPort"}]}, {"property": "ruleType", "value": "NetworkRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationFqdns", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}]}], "cls": "FirewallPolicyRule_read"}}]}]}}, {"readOnly": true, "type": "string", "name": "size"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/rulecollectiongroups/{}/rulecollectiongroupdrafts/default", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L3J1bGVDb2xsZWN0aW9uR3JvdXBzL3tydWxlQ29sbGVjdGlvbkdyb3VwTmFtZX0vcnVsZUNvbGxlY3Rpb25Hcm91cERyYWZ0cy9kZWZhdWx0/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.ruleCollectionGroupName", "options": ["rule-collection-group-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the FirewallPolicyRuleCollectionGroup."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/ruleCollectionGroups/{}/ruleCollectionGroupDrafts/default"}}, {"nullable": true, "type": "string", "var": "$parameters.name", "options": ["name"], "group": "Parameters", "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "integer32", "var": "$parameters.properties.priority", "options": ["priority"], "group": "Properties", "help": {"short": "Priority of the Firewall Policy Rule Collection Group resource."}, "format": {"maximum": 65000, "minimum": 100}}, {"nullable": true, "type": "array", "var": "$parameters.properties.ruleCollections", "options": ["rule-collections"], "group": "Properties", "help": {"short": "Group of Firewall Policy rule collections."}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection", "options": ["firewall-policy-filter-rule-collection"], "args": [{"nullable": true, "type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action", "options": ["action"], "help": {"short": "The action type of a Filter rule collection."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action.type", "options": ["type"], "help": {"short": "The type of action."}, "enum": {"items": [{"name": "Allow", "value": "Allow"}, {"name": "Deny", "value": "Deny"}]}}]}, {"nullable": true, "type": "array<@FirewallPolicyRule_update>", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.rules", "options": ["rules"], "help": {"short": "List of rules included in a rule collection."}, "item": {"nullable": true, "type": "@FirewallPolicyRule_update"}}]}, {"type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection", "options": ["firewall-policy-nat-rule-collection"], "args": [{"nullable": true, "type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action", "options": ["action"], "help": {"short": "The action type of a Nat rule collection."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action.type", "options": ["type"], "help": {"short": "The type of action."}, "enum": {"items": [{"name": "DNAT", "value": "DNAT"}]}}]}, {"nullable": true, "type": "array", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.rules", "options": ["rules"], "help": {"short": "List of rules included in a rule collection."}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "@FirewallPolicyRule_update.ApplicationRule", "options": ["application-rule"], "args": [{"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or Service Tags."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.fqdnTags", "options": ["fqdn-tags"], "help": {"short": "List of FQDN Tags for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert", "options": ["http-headers-to-insert"], "help": {"short": "List of HTTP/S headers to insert."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert[].headerName", "options": ["header-name"], "help": {"short": "Contains the name of the header"}}, {"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert[].headerValue", "options": ["header-value"], "help": {"short": "Contains the value of the header"}}]}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.protocols", "options": ["protocols"], "help": {"short": "Array of Application Protocols."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "integer32", "var": "@FirewallPolicyRule_update.ApplicationRule.protocols[].port", "options": ["port"], "help": {"short": "Port number for the protocol, cannot be greater than 64000."}, "format": {"maximum": 64000, "minimum": 0}}, {"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.ApplicationRule.protocols[].protocolType", "options": ["protocol-type"], "help": {"short": "Protocol type."}, "enum": {"items": [{"name": "Http", "value": "Http"}, {"name": "Https", "value": "Https"}]}}]}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.targetFqdns", "options": ["target-fqdns"], "help": {"short": "List of FQDNs for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.targetUrls", "options": ["target-urls"], "help": {"short": "List of Urls for this rule condition."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "boolean", "var": "@FirewallPolicyRule_update.ApplicationRule.terminateTLS", "options": ["terminate-tls"], "help": {"short": "Terminate TLS connections for this rule."}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.webCategories", "options": ["web-categories"], "help": {"short": "List of destination azure web categories."}, "item": {"nullable": true, "type": "string"}}]}, {"type": "object", "var": "@FirewallPolicyRule_update.NatRule", "options": ["nat-rule"], "args": [{"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NatRule.destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or Service Tags."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NatRule.destinationPorts", "options": ["destination-ports"], "help": {"short": "List of destination ports."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NatRule.ipProtocols", "options": ["ip-protocols"], "help": {"short": "Array of FirewallPolicyRuleNetworkProtocols."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Any", "value": "Any"}, {"name": "ICMP", "value": "ICMP"}, {"name": "TCP", "value": "TCP"}, {"name": "UDP", "value": "UDP"}]}}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NatRule.sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NatRule.sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.NatRule.translatedAddress", "options": ["translated-address"], "help": {"short": "The translated address for this NAT rule."}}, {"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.NatRule.translatedFqdn", "options": ["translated-fqdn"], "help": {"short": "The translated FQDN for this NAT rule."}}, {"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.NatRule.translatedPort", "options": ["translated-port"], "help": {"short": "The translated port for this NAT rule."}}]}, {"type": "object", "var": "@FirewallPolicyRule_update.NetworkRule", "options": ["network-rule"], "args": [{"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or Service Tags."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.destinationFqdns", "options": ["destination-fqdns"], "help": {"short": "List of destination FQDNs."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.destinationIpGroups", "options": ["destination-ip-groups"], "help": {"short": "List of destination IpGroups for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.destinationPorts", "options": ["destination-ports"], "help": {"short": "List of destination ports."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.ipProtocols", "options": ["ip-protocols"], "help": {"short": "Array of FirewallPolicyRuleNetworkProtocols."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Any", "value": "Any"}, {"name": "ICMP", "value": "ICMP"}, {"name": "TCP", "value": "TCP"}, {"name": "UDP", "value": "UDP"}]}}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.description", "options": ["description"], "help": {"short": "Description of the rule."}}, {"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.name", "options": ["name"], "help": {"short": "Name of the rule."}}], "cls": "FirewallPolicyRule_update"}}]}, {"nullable": true, "type": "string", "var": "$parameters.properties.ruleCollections[].name", "options": ["name"], "help": {"short": "The name of the rule collection."}}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.ruleCollections[].priority", "options": ["priority"], "help": {"short": "Priority of the Firewall Policy Rule Collection resource."}, "format": {"maximum": 65000, "minimum": 100}}]}}]}], "operations": [{"operationId": "FirewallPolicyRuleCollectionGroupDrafts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "ruleCollectionGroupName", "arg": "$Path.ruleCollectionGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/ruleCollectionGroups/{}/ruleCollectionGroupDrafts/default"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "array", "name": "ruleCollections", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "integer32", "name": "priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "string", "name": "ruleCollectionType", "required": true, "enum": {"items": [{"value": "FirewallPolicyFilterRuleCollection"}, {"value": "FirewallPolicyNatRuleCollection"}]}}], "discriminators": [{"property": "ruleCollectionType", "value": "FirewallPolicyFilterRuleCollection", "props": [{"type": "object", "name": "action", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "Allow"}, {"value": "Deny"}]}}]}, {"type": "array<@FirewallPolicyRule_read>", "name": "rules", "item": {"type": "@FirewallPolicyRule_read"}}]}, {"property": "ruleCollectionType", "value": "FirewallPolicyNatRuleCollection", "props": [{"type": "object", "name": "action", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "DNAT"}]}}]}, {"type": "array", "name": "rules", "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "name"}, {"type": "string", "name": "ruleType", "required": true, "enum": {"items": [{"value": "ApplicationRule"}, {"value": "NatRule"}, {"value": "NetworkRule"}]}}], "discriminators": [{"property": "ruleType", "value": "ApplicationRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "fqdnTags", "item": {"type": "string"}}, {"type": "array", "name": "httpHeadersToInsert", "item": {"type": "object", "props": [{"type": "string", "name": "headerName"}, {"type": "string", "name": "headerValue"}]}}, {"type": "array", "name": "protocols", "item": {"type": "object", "props": [{"type": "integer32", "name": "port", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "protocolType", "enum": {"items": [{"value": "Http"}, {"value": "Https"}]}}]}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "targetFqdns", "item": {"type": "string"}}, {"type": "array", "name": "targetUrls", "item": {"type": "string"}}, {"type": "boolean", "name": "terminateTLS"}, {"type": "array", "name": "webCategories", "item": {"type": "string"}}]}, {"property": "ruleType", "value": "NatRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "string", "name": "translatedAddress"}, {"type": "string", "name": "translatedFqdn"}, {"type": "string", "name": "translatedPort"}]}, {"property": "ruleType", "value": "NetworkRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationFqdns", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}]}], "cls": "FirewallPolicyRule_read"}}]}]}}, {"readOnly": true, "type": "string", "name": "size"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "FirewallPolicyRuleCollectionGroupDraft_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/ruleCollectionGroups/{}/ruleCollectionGroupDrafts/default"}}, {"type": "string", "name": "name", "arg": "$parameters.name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "priority", "arg": "$parameters.properties.priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "array", "name": "ruleCollections", "arg": "$parameters.properties.ruleCollections", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.ruleCollections[].name"}, {"type": "integer32", "name": "priority", "arg": "$parameters.properties.ruleCollections[].priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "string", "name": "ruleCollectionType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection", "value": "FirewallPolicyFilterRuleCollection"}, {"arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection", "value": "FirewallPolicyNatRuleCollection"}]}}], "discriminators": [{"property": "ruleCollectionType", "value": "FirewallPolicyFilterRuleCollection", "props": [{"type": "object", "name": "action", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action", "props": [{"type": "string", "name": "type", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action.type", "enum": {"items": [{"value": "Allow"}, {"value": "Deny"}]}}]}, {"type": "array<@FirewallPolicyRule_update>", "name": "rules", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.rules", "item": {"type": "@FirewallPolicyRule_update"}}]}, {"property": "ruleCollectionType", "value": "FirewallPolicyNatRuleCollection", "props": [{"type": "object", "name": "action", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action", "props": [{"type": "string", "name": "type", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action.type", "enum": {"items": [{"value": "DNAT"}]}}]}, {"type": "array", "name": "rules", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.rules", "item": {"type": "object", "props": [{"type": "string", "name": "description", "arg": "@FirewallPolicyRule_update.description"}, {"type": "string", "name": "name", "arg": "@FirewallPolicyRule_update.name"}, {"type": "string", "name": "ruleType", "required": true, "enum": {"items": [{"arg": "@FirewallPolicyRule_update.ApplicationRule", "value": "ApplicationRule"}, {"arg": "@FirewallPolicyRule_update.NatRule", "value": "NatRule"}, {"arg": "@FirewallPolicyRule_update.NetworkRule", "value": "NetworkRule"}]}}], "discriminators": [{"property": "ruleType", "value": "ApplicationRule", "props": [{"type": "array", "name": "destinationAddresses", "arg": "@FirewallPolicyRule_update.ApplicationRule.destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "fqdnTags", "arg": "@FirewallPolicyRule_update.ApplicationRule.fqdnTags", "item": {"type": "string"}}, {"type": "array", "name": "httpHeadersToInsert", "arg": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert", "item": {"type": "object", "props": [{"type": "string", "name": "headerName", "arg": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert[].headerName"}, {"type": "string", "name": "headerValue", "arg": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert[].headerValue"}]}}, {"type": "array", "name": "protocols", "arg": "@FirewallPolicyRule_update.ApplicationRule.protocols", "item": {"type": "object", "props": [{"type": "integer32", "name": "port", "arg": "@FirewallPolicyRule_update.ApplicationRule.protocols[].port", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "protocolType", "arg": "@FirewallPolicyRule_update.ApplicationRule.protocols[].protocolType", "enum": {"items": [{"value": "Http"}, {"value": "Https"}]}}]}}, {"type": "array", "name": "sourceAddresses", "arg": "@FirewallPolicyRule_update.ApplicationRule.sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "@FirewallPolicyRule_update.ApplicationRule.sourceIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "targetFqdns", "arg": "@FirewallPolicyRule_update.ApplicationRule.targetFqdns", "item": {"type": "string"}}, {"type": "array", "name": "targetUrls", "arg": "@FirewallPolicyRule_update.ApplicationRule.targetUrls", "item": {"type": "string"}}, {"type": "boolean", "name": "terminateTLS", "arg": "@FirewallPolicyRule_update.ApplicationRule.terminateTLS"}, {"type": "array", "name": "webCategories", "arg": "@FirewallPolicyRule_update.ApplicationRule.webCategories", "item": {"type": "string"}}]}, {"property": "ruleType", "value": "NatRule", "props": [{"type": "array", "name": "destinationAddresses", "arg": "@FirewallPolicyRule_update.NatRule.destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "arg": "@FirewallPolicyRule_update.NatRule.destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "arg": "@FirewallPolicyRule_update.NatRule.ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "arg": "@FirewallPolicyRule_update.NatRule.sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "@FirewallPolicyRule_update.NatRule.sourceIpGroups", "item": {"type": "string"}}, {"type": "string", "name": "translatedAddress", "arg": "@FirewallPolicyRule_update.NatRule.translatedAddress"}, {"type": "string", "name": "translatedFqdn", "arg": "@FirewallPolicyRule_update.NatRule.translatedFqdn"}, {"type": "string", "name": "translatedPort", "arg": "@FirewallPolicyRule_update.NatRule.translatedPort"}]}, {"property": "ruleType", "value": "NetworkRule", "props": [{"type": "array", "name": "destinationAddresses", "arg": "@FirewallPolicyRule_update.NetworkRule.destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationFqdns", "arg": "@FirewallPolicyRule_update.NetworkRule.destinationFqdns", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "arg": "@FirewallPolicyRule_update.NetworkRule.destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "arg": "@FirewallPolicyRule_update.NetworkRule.destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "arg": "@FirewallPolicyRule_update.NetworkRule.ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "arg": "@FirewallPolicyRule_update.NetworkRule.sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "@FirewallPolicyRule_update.NetworkRule.sourceIpGroups", "item": {"type": "string"}}]}], "cls": "FirewallPolicyRule_update"}}]}]}}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "FirewallPolicyRuleCollectionGroupDrafts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "ruleCollectionGroupName", "arg": "$Path.ruleCollectionGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@FirewallPolicyRuleCollectionGroupDraft_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/rulecollectiongroups/{}/rulecollectiongroupdrafts/default", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L3J1bGVDb2xsZWN0aW9uR3JvdXBzL3tydWxlQ29sbGVjdGlvbkdyb3VwTmFtZX0vcnVsZUNvbGxlY3Rpb25Hcm91cERyYWZ0cy9kZWZhdWx0/V/MjAyMy0xMS0wMQ=="}], "commandGroups": [{"name": "network firewall policy rule-collection-group draft", "commands": [{"name": "show", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/rulecollectiongroups/{}/rulecollectiongroupdrafts/default", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L3J1bGVDb2xsZWN0aW9uR3JvdXBzL3tydWxlQ29sbGVjdGlvbkdyb3VwTmFtZX0vcnVsZUNvbGxlY3Rpb25Hcm91cERyYWZ0cy9kZWZhdWx0/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.ruleCollectionGroupName", "options": ["rule-collection-group-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the FirewallPolicyRuleCollectionGroup."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "FirewallPolicyRuleCollectionGroupDrafts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "ruleCollectionGroupName", "arg": "$Path.ruleCollectionGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/ruleCollectionGroups/{}/ruleCollectionGroupDrafts/default"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "array", "name": "ruleCollections", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "integer32", "name": "priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "string", "name": "ruleCollectionType", "required": true, "enum": {"items": [{"value": "FirewallPolicyFilterRuleCollection"}, {"value": "FirewallPolicyNatRuleCollection"}]}}], "discriminators": [{"property": "ruleCollectionType", "value": "FirewallPolicyFilterRuleCollection", "props": [{"type": "object", "name": "action", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "Allow"}, {"value": "Deny"}]}}]}, {"type": "array<@FirewallPolicyRule_read>", "name": "rules", "item": {"type": "@FirewallPolicyRule_read"}}]}, {"property": "ruleCollectionType", "value": "FirewallPolicyNatRuleCollection", "props": [{"type": "object", "name": "action", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "DNAT"}]}}]}, {"type": "array", "name": "rules", "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "name"}, {"type": "string", "name": "ruleType", "required": true, "enum": {"items": [{"value": "ApplicationRule"}, {"value": "NatRule"}, {"value": "NetworkRule"}]}}], "discriminators": [{"property": "ruleType", "value": "ApplicationRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "fqdnTags", "item": {"type": "string"}}, {"type": "array", "name": "httpHeadersToInsert", "item": {"type": "object", "props": [{"type": "string", "name": "headerName"}, {"type": "string", "name": "headerValue"}]}}, {"type": "array", "name": "protocols", "item": {"type": "object", "props": [{"type": "integer32", "name": "port", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "protocolType", "enum": {"items": [{"value": "Http"}, {"value": "Https"}]}}]}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "targetFqdns", "item": {"type": "string"}}, {"type": "array", "name": "targetUrls", "item": {"type": "string"}}, {"type": "boolean", "name": "terminateTLS"}, {"type": "array", "name": "webCategories", "item": {"type": "string"}}]}, {"property": "ruleType", "value": "NatRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "string", "name": "translatedAddress"}, {"type": "string", "name": "translatedFqdn"}, {"type": "string", "name": "translatedPort"}]}, {"property": "ruleType", "value": "NetworkRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationFqdns", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}]}], "cls": "FirewallPolicyRule_read"}}]}]}}, {"readOnly": true, "type": "string", "name": "size"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/rulecollectiongroups/{}/rulecollectiongroupdrafts/default", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L3J1bGVDb2xsZWN0aW9uR3JvdXBzL3tydWxlQ29sbGVjdGlvbkdyb3VwTmFtZX0vcnVsZUNvbGxlY3Rpb25Hcm91cERyYWZ0cy9kZWZhdWx0/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.ruleCollectionGroupName", "options": ["rule-collection-group-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the FirewallPolicyRuleCollectionGroup."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "FirewallPolicyRuleCollectionGroupDrafts_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "ruleCollectionGroupName", "arg": "$Path.ruleCollectionGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/rulecollectiongroups/{}/rulecollectiongroupdrafts/default", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L3J1bGVDb2xsZWN0aW9uR3JvdXBzL3tydWxlQ29sbGVjdGlvbkdyb3VwTmFtZX0vcnVsZUNvbGxlY3Rpb25Hcm91cERyYWZ0cy9kZWZhdWx0/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.ruleCollectionGroupName", "options": ["rule-collection-group-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the FirewallPolicyRuleCollectionGroup."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/ruleCollectionGroups/{}/ruleCollectionGroupDrafts/default"}}, {"type": "string", "var": "$parameters.name", "options": ["name"], "group": "Parameters", "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}]}, {"name": "Properties", "args": [{"type": "integer32", "var": "$parameters.properties.priority", "options": ["priority"], "group": "Properties", "help": {"short": "Priority of the Firewall Policy Rule Collection Group resource."}, "format": {"maximum": 65000, "minimum": 100}}, {"type": "array", "var": "$parameters.properties.ruleCollections", "options": ["rule-collections"], "group": "Properties", "help": {"short": "Group of Firewall Policy rule collections."}, "item": {"type": "object", "args": [{"type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection", "options": ["firewall-policy-filter-rule-collection"], "args": [{"type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action", "options": ["action"], "help": {"short": "The action type of a Filter rule collection."}, "args": [{"type": "string", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action.type", "options": ["type"], "help": {"short": "The type of action."}, "enum": {"items": [{"name": "Allow", "value": "Allow"}, {"name": "Deny", "value": "Deny"}]}}]}, {"type": "array<@FirewallPolicyRule_create>", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.rules", "options": ["rules"], "help": {"short": "List of rules included in a rule collection."}, "item": {"type": "@FirewallPolicyRule_create"}}]}, {"type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection", "options": ["firewall-policy-nat-rule-collection"], "args": [{"type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action", "options": ["action"], "help": {"short": "The action type of a Nat rule collection."}, "args": [{"type": "string", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action.type", "options": ["type"], "help": {"short": "The type of action."}, "enum": {"items": [{"name": "DNAT", "value": "DNAT"}]}}]}, {"type": "array", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.rules", "options": ["rules"], "help": {"short": "List of rules included in a rule collection."}, "item": {"type": "object", "args": [{"type": "object", "var": "@FirewallPolicyRule_create.ApplicationRule", "options": ["application-rule"], "args": [{"type": "array", "var": "@FirewallPolicyRule_create.ApplicationRule.destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or Service Tags."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.ApplicationRule.fqdnTags", "options": ["fqdn-tags"], "help": {"short": "List of FQDN Tags for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.ApplicationRule.httpHeadersToInsert", "options": ["http-headers-to-insert"], "help": {"short": "List of HTTP/S headers to insert."}, "item": {"type": "object", "args": [{"type": "string", "var": "@FirewallPolicyRule_create.ApplicationRule.httpHeadersToInsert[].headerName", "options": ["header-name"], "help": {"short": "Contains the name of the header"}}, {"type": "string", "var": "@FirewallPolicyRule_create.ApplicationRule.httpHeadersToInsert[].headerValue", "options": ["header-value"], "help": {"short": "Contains the value of the header"}}]}}, {"type": "array", "var": "@FirewallPolicyRule_create.ApplicationRule.protocols", "options": ["protocols"], "help": {"short": "Array of Application Protocols."}, "item": {"type": "object", "args": [{"type": "integer32", "var": "@FirewallPolicyRule_create.ApplicationRule.protocols[].port", "options": ["port"], "help": {"short": "Port number for the protocol, cannot be greater than 64000."}, "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "var": "@FirewallPolicyRule_create.ApplicationRule.protocols[].protocolType", "options": ["protocol-type"], "help": {"short": "Protocol type."}, "enum": {"items": [{"name": "Http", "value": "Http"}, {"name": "Https", "value": "Https"}]}}]}}, {"type": "array", "var": "@FirewallPolicyRule_create.ApplicationRule.sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.ApplicationRule.sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.ApplicationRule.targetFqdns", "options": ["target-fqdns"], "help": {"short": "List of FQDNs for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.ApplicationRule.targetUrls", "options": ["target-urls"], "help": {"short": "List of Urls for this rule condition."}, "item": {"type": "string"}}, {"type": "boolean", "var": "@FirewallPolicyRule_create.ApplicationRule.terminateTLS", "options": ["terminate-tls"], "help": {"short": "Terminate TLS connections for this rule."}}, {"type": "array", "var": "@FirewallPolicyRule_create.ApplicationRule.webCategories", "options": ["web-categories"], "help": {"short": "List of destination azure web categories."}, "item": {"type": "string"}}]}, {"type": "object", "var": "@FirewallPolicyRule_create.NatRule", "options": ["nat-rule"], "args": [{"type": "array", "var": "@FirewallPolicyRule_create.NatRule.destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or Service Tags."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.NatRule.destinationPorts", "options": ["destination-ports"], "help": {"short": "List of destination ports."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.NatRule.ipProtocols", "options": ["ip-protocols"], "help": {"short": "Array of FirewallPolicyRuleNetworkProtocols."}, "item": {"type": "string", "enum": {"items": [{"name": "Any", "value": "Any"}, {"name": "ICMP", "value": "ICMP"}, {"name": "TCP", "value": "TCP"}, {"name": "UDP", "value": "UDP"}]}}}, {"type": "array", "var": "@FirewallPolicyRule_create.NatRule.sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.NatRule.sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"type": "string"}}, {"type": "string", "var": "@FirewallPolicyRule_create.NatRule.translatedAddress", "options": ["translated-address"], "help": {"short": "The translated address for this NAT rule."}}, {"type": "string", "var": "@FirewallPolicyRule_create.NatRule.translatedFqdn", "options": ["translated-fqdn"], "help": {"short": "The translated FQDN for this NAT rule."}}, {"type": "string", "var": "@FirewallPolicyRule_create.NatRule.translatedPort", "options": ["translated-port"], "help": {"short": "The translated port for this NAT rule."}}]}, {"type": "object", "var": "@FirewallPolicyRule_create.NetworkRule", "options": ["network-rule"], "args": [{"type": "array", "var": "@FirewallPolicyRule_create.NetworkRule.destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or Service Tags."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.NetworkRule.destinationFqdns", "options": ["destination-fqdns"], "help": {"short": "List of destination FQDNs."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.NetworkRule.destinationIpGroups", "options": ["destination-ip-groups"], "help": {"short": "List of destination IpGroups for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.NetworkRule.destinationPorts", "options": ["destination-ports"], "help": {"short": "List of destination ports."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.NetworkRule.ipProtocols", "options": ["ip-protocols"], "help": {"short": "Array of FirewallPolicyRuleNetworkProtocols."}, "item": {"type": "string", "enum": {"items": [{"name": "Any", "value": "Any"}, {"name": "ICMP", "value": "ICMP"}, {"name": "TCP", "value": "TCP"}, {"name": "UDP", "value": "UDP"}]}}}, {"type": "array", "var": "@FirewallPolicyRule_create.NetworkRule.sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_create.NetworkRule.sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"type": "string"}}]}, {"type": "string", "var": "@FirewallPolicyRule_create.description", "options": ["description"], "help": {"short": "Description of the rule."}}, {"type": "string", "var": "@FirewallPolicyRule_create.name", "options": ["name"], "help": {"short": "Name of the rule."}}], "cls": "FirewallPolicyRule_create"}}]}, {"type": "string", "var": "$parameters.properties.ruleCollections[].name", "options": ["name"], "help": {"short": "The name of the rule collection."}}, {"type": "integer32", "var": "$parameters.properties.ruleCollections[].priority", "options": ["priority"], "help": {"short": "Priority of the Firewall Policy Rule Collection resource."}, "format": {"maximum": 65000, "minimum": 100}}]}}]}], "operations": [{"operationId": "FirewallPolicyRuleCollectionGroupDrafts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "ruleCollectionGroupName", "arg": "$Path.ruleCollectionGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/ruleCollectionGroups/{}/ruleCollectionGroupDrafts/default"}}, {"type": "string", "name": "name", "arg": "$parameters.name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "priority", "arg": "$parameters.properties.priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "array", "name": "ruleCollections", "arg": "$parameters.properties.ruleCollections", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.ruleCollections[].name"}, {"type": "integer32", "name": "priority", "arg": "$parameters.properties.ruleCollections[].priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "string", "name": "ruleCollectionType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection", "value": "FirewallPolicyFilterRuleCollection"}, {"arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection", "value": "FirewallPolicyNatRuleCollection"}]}}], "discriminators": [{"property": "ruleCollectionType", "value": "FirewallPolicyFilterRuleCollection", "props": [{"type": "object", "name": "action", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action", "props": [{"type": "string", "name": "type", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action.type", "enum": {"items": [{"value": "Allow"}, {"value": "Deny"}]}}]}, {"type": "array<@FirewallPolicyRule_create>", "name": "rules", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.rules", "item": {"type": "@FirewallPolicyRule_create"}}]}, {"property": "ruleCollectionType", "value": "FirewallPolicyNatRuleCollection", "props": [{"type": "object", "name": "action", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action", "props": [{"type": "string", "name": "type", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action.type", "enum": {"items": [{"value": "DNAT"}]}}]}, {"type": "array", "name": "rules", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.rules", "item": {"type": "object", "props": [{"type": "string", "name": "description", "arg": "@FirewallPolicyRule_create.description"}, {"type": "string", "name": "name", "arg": "@FirewallPolicyRule_create.name"}, {"type": "string", "name": "ruleType", "required": true, "enum": {"items": [{"arg": "@FirewallPolicyRule_create.ApplicationRule", "value": "ApplicationRule"}, {"arg": "@FirewallPolicyRule_create.NatRule", "value": "NatRule"}, {"arg": "@FirewallPolicyRule_create.NetworkRule", "value": "NetworkRule"}]}}], "discriminators": [{"property": "ruleType", "value": "ApplicationRule", "props": [{"type": "array", "name": "destinationAddresses", "arg": "@FirewallPolicyRule_create.ApplicationRule.destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "fqdnTags", "arg": "@FirewallPolicyRule_create.ApplicationRule.fqdnTags", "item": {"type": "string"}}, {"type": "array", "name": "httpHeadersToInsert", "arg": "@FirewallPolicyRule_create.ApplicationRule.httpHeadersToInsert", "item": {"type": "object", "props": [{"type": "string", "name": "headerName", "arg": "@FirewallPolicyRule_create.ApplicationRule.httpHeadersToInsert[].headerName"}, {"type": "string", "name": "headerValue", "arg": "@FirewallPolicyRule_create.ApplicationRule.httpHeadersToInsert[].headerValue"}]}}, {"type": "array", "name": "protocols", "arg": "@FirewallPolicyRule_create.ApplicationRule.protocols", "item": {"type": "object", "props": [{"type": "integer32", "name": "port", "arg": "@FirewallPolicyRule_create.ApplicationRule.protocols[].port", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "protocolType", "arg": "@FirewallPolicyRule_create.ApplicationRule.protocols[].protocolType", "enum": {"items": [{"value": "Http"}, {"value": "Https"}]}}]}}, {"type": "array", "name": "sourceAddresses", "arg": "@FirewallPolicyRule_create.ApplicationRule.sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "@FirewallPolicyRule_create.ApplicationRule.sourceIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "targetFqdns", "arg": "@FirewallPolicyRule_create.ApplicationRule.targetFqdns", "item": {"type": "string"}}, {"type": "array", "name": "targetUrls", "arg": "@FirewallPolicyRule_create.ApplicationRule.targetUrls", "item": {"type": "string"}}, {"type": "boolean", "name": "terminateTLS", "arg": "@FirewallPolicyRule_create.ApplicationRule.terminateTLS"}, {"type": "array", "name": "webCategories", "arg": "@FirewallPolicyRule_create.ApplicationRule.webCategories", "item": {"type": "string"}}]}, {"property": "ruleType", "value": "NatRule", "props": [{"type": "array", "name": "destinationAddresses", "arg": "@FirewallPolicyRule_create.NatRule.destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "arg": "@FirewallPolicyRule_create.NatRule.destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "arg": "@FirewallPolicyRule_create.NatRule.ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "arg": "@FirewallPolicyRule_create.NatRule.sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "@FirewallPolicyRule_create.NatRule.sourceIpGroups", "item": {"type": "string"}}, {"type": "string", "name": "translatedAddress", "arg": "@FirewallPolicyRule_create.NatRule.translatedAddress"}, {"type": "string", "name": "translatedFqdn", "arg": "@FirewallPolicyRule_create.NatRule.translatedFqdn"}, {"type": "string", "name": "translatedPort", "arg": "@FirewallPolicyRule_create.NatRule.translatedPort"}]}, {"property": "ruleType", "value": "NetworkRule", "props": [{"type": "array", "name": "destinationAddresses", "arg": "@FirewallPolicyRule_create.NetworkRule.destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationFqdns", "arg": "@FirewallPolicyRule_create.NetworkRule.destinationFqdns", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "arg": "@FirewallPolicyRule_create.NetworkRule.destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "arg": "@FirewallPolicyRule_create.NetworkRule.destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "arg": "@FirewallPolicyRule_create.NetworkRule.ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "arg": "@FirewallPolicyRule_create.NetworkRule.sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "@FirewallPolicyRule_create.NetworkRule.sourceIpGroups", "item": {"type": "string"}}]}], "cls": "FirewallPolicyRule_create"}}]}]}}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/ruleCollectionGroups/{}/ruleCollectionGroupDrafts/default"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "array", "name": "ruleCollections", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "integer32", "name": "priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "string", "name": "ruleCollectionType", "required": true, "enum": {"items": [{"value": "FirewallPolicyFilterRuleCollection"}, {"value": "FirewallPolicyNatRuleCollection"}]}}], "discriminators": [{"property": "ruleCollectionType", "value": "FirewallPolicyFilterRuleCollection", "props": [{"type": "object", "name": "action", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "Allow"}, {"value": "Deny"}]}}]}, {"type": "array<@FirewallPolicyRule_read>", "name": "rules", "item": {"type": "@FirewallPolicyRule_read"}}]}, {"property": "ruleCollectionType", "value": "FirewallPolicyNatRuleCollection", "props": [{"type": "object", "name": "action", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "DNAT"}]}}]}, {"type": "array", "name": "rules", "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "name"}, {"type": "string", "name": "ruleType", "required": true, "enum": {"items": [{"value": "ApplicationRule"}, {"value": "NatRule"}, {"value": "NetworkRule"}]}}], "discriminators": [{"property": "ruleType", "value": "ApplicationRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "fqdnTags", "item": {"type": "string"}}, {"type": "array", "name": "httpHeadersToInsert", "item": {"type": "object", "props": [{"type": "string", "name": "headerName"}, {"type": "string", "name": "headerValue"}]}}, {"type": "array", "name": "protocols", "item": {"type": "object", "props": [{"type": "integer32", "name": "port", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "protocolType", "enum": {"items": [{"value": "Http"}, {"value": "Https"}]}}]}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "targetFqdns", "item": {"type": "string"}}, {"type": "array", "name": "targetUrls", "item": {"type": "string"}}, {"type": "boolean", "name": "terminateTLS"}, {"type": "array", "name": "webCategories", "item": {"type": "string"}}]}, {"property": "ruleType", "value": "NatRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "string", "name": "translatedAddress"}, {"type": "string", "name": "translatedFqdn"}, {"type": "string", "name": "translatedPort"}]}, {"property": "ruleType", "value": "NetworkRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationFqdns", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}]}], "cls": "FirewallPolicyRule_read"}}]}]}}, {"readOnly": true, "type": "string", "name": "size"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/rulecollectiongroups/{}/rulecollectiongroupdrafts/default", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L3J1bGVDb2xsZWN0aW9uR3JvdXBzL3tydWxlQ29sbGVjdGlvbkdyb3VwTmFtZX0vcnVsZUNvbGxlY3Rpb25Hcm91cERyYWZ0cy9kZWZhdWx0/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.ruleCollectionGroupName", "options": ["rule-collection-group-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the FirewallPolicyRuleCollectionGroup."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/ruleCollectionGroups/{}/ruleCollectionGroupDrafts/default"}}, {"nullable": true, "type": "string", "var": "$parameters.name", "options": ["name"], "group": "Parameters", "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "integer32", "var": "$parameters.properties.priority", "options": ["priority"], "group": "Properties", "help": {"short": "Priority of the Firewall Policy Rule Collection Group resource."}, "format": {"maximum": 65000, "minimum": 100}}, {"nullable": true, "type": "array", "var": "$parameters.properties.ruleCollections", "options": ["rule-collections"], "group": "Properties", "help": {"short": "Group of Firewall Policy rule collections."}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection", "options": ["firewall-policy-filter-rule-collection"], "args": [{"nullable": true, "type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action", "options": ["action"], "help": {"short": "The action type of a Filter rule collection."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action.type", "options": ["type"], "help": {"short": "The type of action."}, "enum": {"items": [{"name": "Allow", "value": "Allow"}, {"name": "Deny", "value": "Deny"}]}}]}, {"nullable": true, "type": "array<@FirewallPolicyRule_update>", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.rules", "options": ["rules"], "help": {"short": "List of rules included in a rule collection."}, "item": {"nullable": true, "type": "@FirewallPolicyRule_update"}}]}, {"type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection", "options": ["firewall-policy-nat-rule-collection"], "args": [{"nullable": true, "type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action", "options": ["action"], "help": {"short": "The action type of a Nat rule collection."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action.type", "options": ["type"], "help": {"short": "The type of action."}, "enum": {"items": [{"name": "DNAT", "value": "DNAT"}]}}]}, {"nullable": true, "type": "array", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.rules", "options": ["rules"], "help": {"short": "List of rules included in a rule collection."}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "@FirewallPolicyRule_update.ApplicationRule", "options": ["application-rule"], "args": [{"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or Service Tags."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.fqdnTags", "options": ["fqdn-tags"], "help": {"short": "List of FQDN Tags for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert", "options": ["http-headers-to-insert"], "help": {"short": "List of HTTP/S headers to insert."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert[].headerName", "options": ["header-name"], "help": {"short": "Contains the name of the header"}}, {"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert[].headerValue", "options": ["header-value"], "help": {"short": "Contains the value of the header"}}]}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.protocols", "options": ["protocols"], "help": {"short": "Array of Application Protocols."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "integer32", "var": "@FirewallPolicyRule_update.ApplicationRule.protocols[].port", "options": ["port"], "help": {"short": "Port number for the protocol, cannot be greater than 64000."}, "format": {"maximum": 64000, "minimum": 0}}, {"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.ApplicationRule.protocols[].protocolType", "options": ["protocol-type"], "help": {"short": "Protocol type."}, "enum": {"items": [{"name": "Http", "value": "Http"}, {"name": "Https", "value": "Https"}]}}]}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.targetFqdns", "options": ["target-fqdns"], "help": {"short": "List of FQDNs for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.targetUrls", "options": ["target-urls"], "help": {"short": "List of Urls for this rule condition."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "boolean", "var": "@FirewallPolicyRule_update.ApplicationRule.terminateTLS", "options": ["terminate-tls"], "help": {"short": "Terminate TLS connections for this rule."}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.webCategories", "options": ["web-categories"], "help": {"short": "List of destination azure web categories."}, "item": {"nullable": true, "type": "string"}}]}, {"type": "object", "var": "@FirewallPolicyRule_update.NatRule", "options": ["nat-rule"], "args": [{"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NatRule.destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or Service Tags."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NatRule.destinationPorts", "options": ["destination-ports"], "help": {"short": "List of destination ports."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NatRule.ipProtocols", "options": ["ip-protocols"], "help": {"short": "Array of FirewallPolicyRuleNetworkProtocols."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Any", "value": "Any"}, {"name": "ICMP", "value": "ICMP"}, {"name": "TCP", "value": "TCP"}, {"name": "UDP", "value": "UDP"}]}}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NatRule.sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NatRule.sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.NatRule.translatedAddress", "options": ["translated-address"], "help": {"short": "The translated address for this NAT rule."}}, {"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.NatRule.translatedFqdn", "options": ["translated-fqdn"], "help": {"short": "The translated FQDN for this NAT rule."}}, {"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.NatRule.translatedPort", "options": ["translated-port"], "help": {"short": "The translated port for this NAT rule."}}]}, {"type": "object", "var": "@FirewallPolicyRule_update.NetworkRule", "options": ["network-rule"], "args": [{"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or Service Tags."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.destinationFqdns", "options": ["destination-fqdns"], "help": {"short": "List of destination FQDNs."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.destinationIpGroups", "options": ["destination-ip-groups"], "help": {"short": "List of destination IpGroups for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.destinationPorts", "options": ["destination-ports"], "help": {"short": "List of destination ports."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.ipProtocols", "options": ["ip-protocols"], "help": {"short": "Array of FirewallPolicyRuleNetworkProtocols."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Any", "value": "Any"}, {"name": "ICMP", "value": "ICMP"}, {"name": "TCP", "value": "TCP"}, {"name": "UDP", "value": "UDP"}]}}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.description", "options": ["description"], "help": {"short": "Description of the rule."}}, {"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.name", "options": ["name"], "help": {"short": "Name of the rule."}}], "cls": "FirewallPolicyRule_update"}}]}, {"nullable": true, "type": "string", "var": "$parameters.properties.ruleCollections[].name", "options": ["name"], "help": {"short": "The name of the rule collection."}}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.ruleCollections[].priority", "options": ["priority"], "help": {"short": "Priority of the Firewall Policy Rule Collection resource."}, "format": {"maximum": 65000, "minimum": 100}}]}}]}], "operations": [{"operationId": "FirewallPolicyRuleCollectionGroupDrafts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "ruleCollectionGroupName", "arg": "$Path.ruleCollectionGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/ruleCollectionGroups/{}/ruleCollectionGroupDrafts/default"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "array", "name": "ruleCollections", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "integer32", "name": "priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "string", "name": "ruleCollectionType", "required": true, "enum": {"items": [{"value": "FirewallPolicyFilterRuleCollection"}, {"value": "FirewallPolicyNatRuleCollection"}]}}], "discriminators": [{"property": "ruleCollectionType", "value": "FirewallPolicyFilterRuleCollection", "props": [{"type": "object", "name": "action", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "Allow"}, {"value": "Deny"}]}}]}, {"type": "array<@FirewallPolicyRule_read>", "name": "rules", "item": {"type": "@FirewallPolicyRule_read"}}]}, {"property": "ruleCollectionType", "value": "FirewallPolicyNatRuleCollection", "props": [{"type": "object", "name": "action", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "DNAT"}]}}]}, {"type": "array", "name": "rules", "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "name"}, {"type": "string", "name": "ruleType", "required": true, "enum": {"items": [{"value": "ApplicationRule"}, {"value": "NatRule"}, {"value": "NetworkRule"}]}}], "discriminators": [{"property": "ruleType", "value": "ApplicationRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "fqdnTags", "item": {"type": "string"}}, {"type": "array", "name": "httpHeadersToInsert", "item": {"type": "object", "props": [{"type": "string", "name": "headerName"}, {"type": "string", "name": "headerValue"}]}}, {"type": "array", "name": "protocols", "item": {"type": "object", "props": [{"type": "integer32", "name": "port", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "protocolType", "enum": {"items": [{"value": "Http"}, {"value": "Https"}]}}]}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "targetFqdns", "item": {"type": "string"}}, {"type": "array", "name": "targetUrls", "item": {"type": "string"}}, {"type": "boolean", "name": "terminateTLS"}, {"type": "array", "name": "webCategories", "item": {"type": "string"}}]}, {"property": "ruleType", "value": "NatRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "string", "name": "translatedAddress"}, {"type": "string", "name": "translatedFqdn"}, {"type": "string", "name": "translatedPort"}]}, {"property": "ruleType", "value": "NetworkRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationFqdns", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}]}], "cls": "FirewallPolicyRule_read"}}]}]}}, {"readOnly": true, "type": "string", "name": "size"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "FirewallPolicyRuleCollectionGroupDraft_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/ruleCollectionGroups/{}/ruleCollectionGroupDrafts/default"}}, {"type": "string", "name": "name", "arg": "$parameters.name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "priority", "arg": "$parameters.properties.priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "array", "name": "ruleCollections", "arg": "$parameters.properties.ruleCollections", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.ruleCollections[].name"}, {"type": "integer32", "name": "priority", "arg": "$parameters.properties.ruleCollections[].priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "string", "name": "ruleCollectionType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection", "value": "FirewallPolicyFilterRuleCollection"}, {"arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection", "value": "FirewallPolicyNatRuleCollection"}]}}], "discriminators": [{"property": "ruleCollectionType", "value": "FirewallPolicyFilterRuleCollection", "props": [{"type": "object", "name": "action", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action", "props": [{"type": "string", "name": "type", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action.type", "enum": {"items": [{"value": "Allow"}, {"value": "Deny"}]}}]}, {"type": "array<@FirewallPolicyRule_update>", "name": "rules", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.rules", "item": {"type": "@FirewallPolicyRule_update"}}]}, {"property": "ruleCollectionType", "value": "FirewallPolicyNatRuleCollection", "props": [{"type": "object", "name": "action", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action", "props": [{"type": "string", "name": "type", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action.type", "enum": {"items": [{"value": "DNAT"}]}}]}, {"type": "array", "name": "rules", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.rules", "item": {"type": "object", "props": [{"type": "string", "name": "description", "arg": "@FirewallPolicyRule_update.description"}, {"type": "string", "name": "name", "arg": "@FirewallPolicyRule_update.name"}, {"type": "string", "name": "ruleType", "required": true, "enum": {"items": [{"arg": "@FirewallPolicyRule_update.ApplicationRule", "value": "ApplicationRule"}, {"arg": "@FirewallPolicyRule_update.NatRule", "value": "NatRule"}, {"arg": "@FirewallPolicyRule_update.NetworkRule", "value": "NetworkRule"}]}}], "discriminators": [{"property": "ruleType", "value": "ApplicationRule", "props": [{"type": "array", "name": "destinationAddresses", "arg": "@FirewallPolicyRule_update.ApplicationRule.destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "fqdnTags", "arg": "@FirewallPolicyRule_update.ApplicationRule.fqdnTags", "item": {"type": "string"}}, {"type": "array", "name": "httpHeadersToInsert", "arg": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert", "item": {"type": "object", "props": [{"type": "string", "name": "headerName", "arg": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert[].headerName"}, {"type": "string", "name": "headerValue", "arg": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert[].headerValue"}]}}, {"type": "array", "name": "protocols", "arg": "@FirewallPolicyRule_update.ApplicationRule.protocols", "item": {"type": "object", "props": [{"type": "integer32", "name": "port", "arg": "@FirewallPolicyRule_update.ApplicationRule.protocols[].port", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "protocolType", "arg": "@FirewallPolicyRule_update.ApplicationRule.protocols[].protocolType", "enum": {"items": [{"value": "Http"}, {"value": "Https"}]}}]}}, {"type": "array", "name": "sourceAddresses", "arg": "@FirewallPolicyRule_update.ApplicationRule.sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "@FirewallPolicyRule_update.ApplicationRule.sourceIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "targetFqdns", "arg": "@FirewallPolicyRule_update.ApplicationRule.targetFqdns", "item": {"type": "string"}}, {"type": "array", "name": "targetUrls", "arg": "@FirewallPolicyRule_update.ApplicationRule.targetUrls", "item": {"type": "string"}}, {"type": "boolean", "name": "terminateTLS", "arg": "@FirewallPolicyRule_update.ApplicationRule.terminateTLS"}, {"type": "array", "name": "webCategories", "arg": "@FirewallPolicyRule_update.ApplicationRule.webCategories", "item": {"type": "string"}}]}, {"property": "ruleType", "value": "NatRule", "props": [{"type": "array", "name": "destinationAddresses", "arg": "@FirewallPolicyRule_update.NatRule.destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "arg": "@FirewallPolicyRule_update.NatRule.destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "arg": "@FirewallPolicyRule_update.NatRule.ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "arg": "@FirewallPolicyRule_update.NatRule.sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "@FirewallPolicyRule_update.NatRule.sourceIpGroups", "item": {"type": "string"}}, {"type": "string", "name": "translatedAddress", "arg": "@FirewallPolicyRule_update.NatRule.translatedAddress"}, {"type": "string", "name": "translatedFqdn", "arg": "@FirewallPolicyRule_update.NatRule.translatedFqdn"}, {"type": "string", "name": "translatedPort", "arg": "@FirewallPolicyRule_update.NatRule.translatedPort"}]}, {"property": "ruleType", "value": "NetworkRule", "props": [{"type": "array", "name": "destinationAddresses", "arg": "@FirewallPolicyRule_update.NetworkRule.destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationFqdns", "arg": "@FirewallPolicyRule_update.NetworkRule.destinationFqdns", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "arg": "@FirewallPolicyRule_update.NetworkRule.destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "arg": "@FirewallPolicyRule_update.NetworkRule.destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "arg": "@FirewallPolicyRule_update.NetworkRule.ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "arg": "@FirewallPolicyRule_update.NetworkRule.sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "@FirewallPolicyRule_update.NetworkRule.sourceIpGroups", "item": {"type": "string"}}]}], "cls": "FirewallPolicyRule_update"}}]}]}}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "FirewallPolicyRuleCollectionGroupDrafts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "ruleCollectionGroupName", "arg": "$Path.ruleCollectionGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@FirewallPolicyRuleCollectionGroupDraft_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}], "commandGroups": [{"name": "collection", "commands": [{"name": "list", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/rulecollectiongroups/{}/rulecollectiongroupdrafts/default", "version": "2023-11-01", "subresource": "properties.ruleCollections", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L3J1bGVDb2xsZWN0aW9uR3JvdXBzL3tydWxlQ29sbGVjdGlvbkdyb3VwTmFtZX0vcnVsZUNvbGxlY3Rpb25Hcm91cERyYWZ0cy9kZWZhdWx0/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.ruleCollectionGroupName", "options": ["rule-collection-group-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the FirewallPolicyRuleCollectionGroup."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.ruleCollections"}}}, "operations": [{"operationId": "FirewallPolicyRuleCollectionGroupDrafts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "ruleCollectionGroupName", "arg": "$Path.ruleCollectionGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/ruleCollectionGroups/{}/ruleCollectionGroupDrafts/default"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "array", "name": "ruleCollections", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "integer32", "name": "priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "string", "name": "ruleCollectionType", "required": true, "enum": {"items": [{"value": "FirewallPolicyFilterRuleCollection"}, {"value": "FirewallPolicyNatRuleCollection"}]}}], "discriminators": [{"property": "ruleCollectionType", "value": "FirewallPolicyFilterRuleCollection", "props": [{"type": "object", "name": "action", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "Allow"}, {"value": "Deny"}]}}]}, {"type": "array<@FirewallPolicyRule_read>", "name": "rules", "item": {"type": "@FirewallPolicyRule_read"}}]}, {"property": "ruleCollectionType", "value": "FirewallPolicyNatRuleCollection", "props": [{"type": "object", "name": "action", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "DNAT"}]}}]}, {"type": "array", "name": "rules", "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "name"}, {"type": "string", "name": "ruleType", "required": true, "enum": {"items": [{"value": "ApplicationRule"}, {"value": "NatRule"}, {"value": "NetworkRule"}]}}], "discriminators": [{"property": "ruleType", "value": "ApplicationRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "fqdnTags", "item": {"type": "string"}}, {"type": "array", "name": "httpHeadersToInsert", "item": {"type": "object", "props": [{"type": "string", "name": "headerName"}, {"type": "string", "name": "headerValue"}]}}, {"type": "array", "name": "protocols", "item": {"type": "object", "props": [{"type": "integer32", "name": "port", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "protocolType", "enum": {"items": [{"value": "Http"}, {"value": "Https"}]}}]}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "targetFqdns", "item": {"type": "string"}}, {"type": "array", "name": "targetUrls", "item": {"type": "string"}}, {"type": "boolean", "name": "terminateTLS"}, {"type": "array", "name": "webCategories", "item": {"type": "string"}}]}, {"property": "ruleType", "value": "NatRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "string", "name": "translatedAddress"}, {"type": "string", "name": "translatedFqdn"}, {"type": "string", "name": "translatedPort"}]}, {"property": "ruleType", "value": "NetworkRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationFqdns", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}]}], "cls": "FirewallPolicyRule_read"}}]}]}}, {"readOnly": true, "type": "string", "name": "size"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "FirewallPolicyRuleCollectionGroupDraft_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "create", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/rulecollectiongroups/{}/rulecollectiongroupdrafts/default", "version": "2023-11-01", "subresource": "properties.ruleCollections[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L3J1bGVDb2xsZWN0aW9uR3JvdXBzL3tydWxlQ29sbGVjdGlvbkdyb3VwTmFtZX0vcnVsZUNvbGxlY3Rpb25Hcm91cERyYWZ0cy9kZWZhdWx0/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.ruleCollectionGroupName", "options": ["rule-collection-group-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the FirewallPolicyRuleCollectionGroup."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "integer", "var": "$parameters.properties.ruleCollections[Index]", "options": ["rule-collection-index"]}]}, {"name": "Parameters.properties.ruleCollections[]", "args": [{"type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection", "options": ["firewall-policy-filter-rule-collection"], "group": "Parameters.properties.ruleCollections[]", "args": [{"type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action", "options": ["action"], "help": {"short": "The action type of a Filter rule collection."}, "args": [{"type": "string", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action.type", "options": ["type"], "help": {"short": "The type of action."}, "enum": {"items": [{"name": "Allow", "value": "Allow"}, {"name": "Deny", "value": "Deny"}]}}]}, {"type": "array<@FirewallPolicyRule_update>", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.rules", "options": ["rules"], "help": {"short": "List of rules included in a rule collection."}, "item": {"type": "@FirewallPolicyRule_update"}}]}, {"type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection", "options": ["firewall-policy-nat-rule-collection"], "group": "Parameters.properties.ruleCollections[]", "args": [{"type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action", "options": ["action"], "help": {"short": "The action type of a Nat rule collection."}, "args": [{"type": "string", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action.type", "options": ["type"], "help": {"short": "The type of action."}, "enum": {"items": [{"name": "DNAT", "value": "DNAT"}]}}]}, {"type": "array", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.rules", "options": ["rules"], "help": {"short": "List of rules included in a rule collection."}, "item": {"type": "object", "args": [{"type": "object", "var": "@FirewallPolicyRule_update.ApplicationRule", "options": ["application-rule"], "args": [{"type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or Service Tags."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.fqdnTags", "options": ["fqdn-tags"], "help": {"short": "List of FQDN Tags for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert", "options": ["http-headers-to-insert"], "help": {"short": "List of HTTP/S headers to insert."}, "item": {"type": "object", "args": [{"type": "string", "var": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert[].headerName", "options": ["header-name"], "help": {"short": "Contains the name of the header"}}, {"type": "string", "var": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert[].headerValue", "options": ["header-value"], "help": {"short": "Contains the value of the header"}}]}}, {"type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.protocols", "options": ["protocols"], "help": {"short": "Array of Application Protocols."}, "item": {"type": "object", "args": [{"type": "integer32", "var": "@FirewallPolicyRule_update.ApplicationRule.protocols[].port", "options": ["port"], "help": {"short": "Port number for the protocol, cannot be greater than 64000."}, "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "var": "@FirewallPolicyRule_update.ApplicationRule.protocols[].protocolType", "options": ["protocol-type"], "help": {"short": "Protocol type."}, "enum": {"items": [{"name": "Http", "value": "Http"}, {"name": "Https", "value": "Https"}]}}]}}, {"type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.targetFqdns", "options": ["target-fqdns"], "help": {"short": "List of FQDNs for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.targetUrls", "options": ["target-urls"], "help": {"short": "List of Urls for this rule condition."}, "item": {"type": "string"}}, {"type": "boolean", "var": "@FirewallPolicyRule_update.ApplicationRule.terminateTLS", "options": ["terminate-tls"], "help": {"short": "Terminate TLS connections for this rule."}}, {"type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.webCategories", "options": ["web-categories"], "help": {"short": "List of destination azure web categories."}, "item": {"type": "string"}}]}, {"type": "object", "var": "@FirewallPolicyRule_update.NatRule", "options": ["nat-rule"], "args": [{"type": "array", "var": "@FirewallPolicyRule_update.NatRule.destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or Service Tags."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_update.NatRule.destinationPorts", "options": ["destination-ports"], "help": {"short": "List of destination ports."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_update.NatRule.ipProtocols", "options": ["ip-protocols"], "help": {"short": "Array of FirewallPolicyRuleNetworkProtocols."}, "item": {"type": "string", "enum": {"items": [{"name": "Any", "value": "Any"}, {"name": "ICMP", "value": "ICMP"}, {"name": "TCP", "value": "TCP"}, {"name": "UDP", "value": "UDP"}]}}}, {"type": "array", "var": "@FirewallPolicyRule_update.NatRule.sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_update.NatRule.sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"type": "string"}}, {"type": "string", "var": "@FirewallPolicyRule_update.NatRule.translatedAddress", "options": ["translated-address"], "help": {"short": "The translated address for this NAT rule."}}, {"type": "string", "var": "@FirewallPolicyRule_update.NatRule.translatedFqdn", "options": ["translated-fqdn"], "help": {"short": "The translated FQDN for this NAT rule."}}, {"type": "string", "var": "@FirewallPolicyRule_update.NatRule.translatedPort", "options": ["translated-port"], "help": {"short": "The translated port for this NAT rule."}}]}, {"type": "object", "var": "@FirewallPolicyRule_update.NetworkRule", "options": ["network-rule"], "args": [{"type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or Service Tags."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.destinationFqdns", "options": ["destination-fqdns"], "help": {"short": "List of destination FQDNs."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.destinationIpGroups", "options": ["destination-ip-groups"], "help": {"short": "List of destination IpGroups for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.destinationPorts", "options": ["destination-ports"], "help": {"short": "List of destination ports."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.ipProtocols", "options": ["ip-protocols"], "help": {"short": "Array of FirewallPolicyRuleNetworkProtocols."}, "item": {"type": "string", "enum": {"items": [{"name": "Any", "value": "Any"}, {"name": "ICMP", "value": "ICMP"}, {"name": "TCP", "value": "TCP"}, {"name": "UDP", "value": "UDP"}]}}}, {"type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses for this rule."}, "item": {"type": "string"}}, {"type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"type": "string"}}]}, {"type": "string", "var": "@FirewallPolicyRule_update.description", "options": ["description"], "help": {"short": "Description of the rule."}}, {"type": "string", "var": "@FirewallPolicyRule_update.name", "options": ["name"], "help": {"short": "Name of the rule."}}], "cls": "FirewallPolicyRule_update"}}]}, {"type": "string", "var": "$parameters.properties.ruleCollections[].name", "options": ["name"], "group": "Parameters.properties.ruleCollections[]", "help": {"short": "The name of the rule collection."}}, {"type": "integer32", "var": "$parameters.properties.ruleCollections[].priority", "options": ["priority"], "group": "Parameters.properties.ruleCollections[]", "help": {"short": "Priority of the Firewall Policy Rule Collection resource."}, "format": {"maximum": 65000, "minimum": 100}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.ruleCollections", "item": {"type": "object"}, "identifiers": [{"type": "integer", "name": "[Index]", "arg": "$parameters.properties.ruleCollections[Index]"}]}}}, "operations": [{"operationId": "FirewallPolicyRuleCollectionGroupDrafts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "ruleCollectionGroupName", "arg": "$Path.ruleCollectionGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/ruleCollectionGroups/{}/ruleCollectionGroupDrafts/default"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "array", "name": "ruleCollections", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "integer32", "name": "priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "string", "name": "ruleCollectionType", "required": true, "enum": {"items": [{"value": "FirewallPolicyFilterRuleCollection"}, {"value": "FirewallPolicyNatRuleCollection"}]}}], "discriminators": [{"property": "ruleCollectionType", "value": "FirewallPolicyFilterRuleCollection", "props": [{"type": "object", "name": "action", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "Allow"}, {"value": "Deny"}]}}]}, {"type": "array<@FirewallPolicyRule_read>", "name": "rules", "item": {"type": "@FirewallPolicyRule_read"}}]}, {"property": "ruleCollectionType", "value": "FirewallPolicyNatRuleCollection", "props": [{"type": "object", "name": "action", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "DNAT"}]}}]}, {"type": "array", "name": "rules", "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "name"}, {"type": "string", "name": "ruleType", "required": true, "enum": {"items": [{"value": "ApplicationRule"}, {"value": "NatRule"}, {"value": "NetworkRule"}]}}], "discriminators": [{"property": "ruleType", "value": "ApplicationRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "fqdnTags", "item": {"type": "string"}}, {"type": "array", "name": "httpHeadersToInsert", "item": {"type": "object", "props": [{"type": "string", "name": "headerName"}, {"type": "string", "name": "headerValue"}]}}, {"type": "array", "name": "protocols", "item": {"type": "object", "props": [{"type": "integer32", "name": "port", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "protocolType", "enum": {"items": [{"value": "Http"}, {"value": "Https"}]}}]}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "targetFqdns", "item": {"type": "string"}}, {"type": "array", "name": "targetUrls", "item": {"type": "string"}}, {"type": "boolean", "name": "terminateTLS"}, {"type": "array", "name": "webCategories", "item": {"type": "string"}}]}, {"property": "ruleType", "value": "NatRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "string", "name": "translatedAddress"}, {"type": "string", "name": "translatedFqdn"}, {"type": "string", "name": "translatedPort"}]}, {"property": "ruleType", "value": "NetworkRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationFqdns", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}]}], "cls": "FirewallPolicyRule_read"}}]}]}}, {"readOnly": true, "type": "string", "name": "size"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "FirewallPolicyRuleCollectionGroupDraft_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceCreate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.ruleCollections[]", "required": true, "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.ruleCollections[].name"}, {"type": "integer32", "name": "priority", "arg": "$parameters.properties.ruleCollections[].priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "string", "name": "ruleCollectionType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection", "value": "FirewallPolicyFilterRuleCollection"}, {"arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection", "value": "FirewallPolicyNatRuleCollection"}]}}], "discriminators": [{"property": "ruleCollectionType", "value": "FirewallPolicyFilterRuleCollection", "props": [{"type": "object", "name": "action", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action", "props": [{"type": "string", "name": "type", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action.type", "enum": {"items": [{"value": "Allow"}, {"value": "Deny"}]}}]}, {"type": "array<@FirewallPolicyRule_update>", "name": "rules", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.rules", "item": {"type": "@FirewallPolicyRule_update"}}]}, {"property": "ruleCollectionType", "value": "FirewallPolicyNatRuleCollection", "props": [{"type": "object", "name": "action", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action", "props": [{"type": "string", "name": "type", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action.type", "enum": {"items": [{"value": "DNAT"}]}}]}, {"type": "array", "name": "rules", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.rules", "item": {"type": "object", "props": [{"type": "string", "name": "description", "arg": "@FirewallPolicyRule_update.description"}, {"type": "string", "name": "name", "arg": "@FirewallPolicyRule_update.name"}, {"type": "string", "name": "ruleType", "required": true, "enum": {"items": [{"arg": "@FirewallPolicyRule_update.ApplicationRule", "value": "ApplicationRule"}, {"arg": "@FirewallPolicyRule_update.NatRule", "value": "NatRule"}, {"arg": "@FirewallPolicyRule_update.NetworkRule", "value": "NetworkRule"}]}}], "discriminators": [{"property": "ruleType", "value": "ApplicationRule", "props": [{"type": "array", "name": "destinationAddresses", "arg": "@FirewallPolicyRule_update.ApplicationRule.destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "fqdnTags", "arg": "@FirewallPolicyRule_update.ApplicationRule.fqdnTags", "item": {"type": "string"}}, {"type": "array", "name": "httpHeadersToInsert", "arg": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert", "item": {"type": "object", "props": [{"type": "string", "name": "headerName", "arg": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert[].headerName"}, {"type": "string", "name": "headerValue", "arg": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert[].headerValue"}]}}, {"type": "array", "name": "protocols", "arg": "@FirewallPolicyRule_update.ApplicationRule.protocols", "item": {"type": "object", "props": [{"type": "integer32", "name": "port", "arg": "@FirewallPolicyRule_update.ApplicationRule.protocols[].port", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "protocolType", "arg": "@FirewallPolicyRule_update.ApplicationRule.protocols[].protocolType", "enum": {"items": [{"value": "Http"}, {"value": "Https"}]}}]}}, {"type": "array", "name": "sourceAddresses", "arg": "@FirewallPolicyRule_update.ApplicationRule.sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "@FirewallPolicyRule_update.ApplicationRule.sourceIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "targetFqdns", "arg": "@FirewallPolicyRule_update.ApplicationRule.targetFqdns", "item": {"type": "string"}}, {"type": "array", "name": "targetUrls", "arg": "@FirewallPolicyRule_update.ApplicationRule.targetUrls", "item": {"type": "string"}}, {"type": "boolean", "name": "terminateTLS", "arg": "@FirewallPolicyRule_update.ApplicationRule.terminateTLS"}, {"type": "array", "name": "webCategories", "arg": "@FirewallPolicyRule_update.ApplicationRule.webCategories", "item": {"type": "string"}}]}, {"property": "ruleType", "value": "NatRule", "props": [{"type": "array", "name": "destinationAddresses", "arg": "@FirewallPolicyRule_update.NatRule.destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "arg": "@FirewallPolicyRule_update.NatRule.destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "arg": "@FirewallPolicyRule_update.NatRule.ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "arg": "@FirewallPolicyRule_update.NatRule.sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "@FirewallPolicyRule_update.NatRule.sourceIpGroups", "item": {"type": "string"}}, {"type": "string", "name": "translatedAddress", "arg": "@FirewallPolicyRule_update.NatRule.translatedAddress"}, {"type": "string", "name": "translatedFqdn", "arg": "@FirewallPolicyRule_update.NatRule.translatedFqdn"}, {"type": "string", "name": "translatedPort", "arg": "@FirewallPolicyRule_update.NatRule.translatedPort"}]}, {"property": "ruleType", "value": "NetworkRule", "props": [{"type": "array", "name": "destinationAddresses", "arg": "@FirewallPolicyRule_update.NetworkRule.destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationFqdns", "arg": "@FirewallPolicyRule_update.NetworkRule.destinationFqdns", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "arg": "@FirewallPolicyRule_update.NetworkRule.destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "arg": "@FirewallPolicyRule_update.NetworkRule.destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "arg": "@FirewallPolicyRule_update.NetworkRule.ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "arg": "@FirewallPolicyRule_update.NetworkRule.sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "@FirewallPolicyRule_update.NetworkRule.sourceIpGroups", "item": {"type": "string"}}]}], "cls": "FirewallPolicyRule_update"}}]}]}}}}, {"operationId": "FirewallPolicyRuleCollectionGroupDrafts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "ruleCollectionGroupName", "arg": "$Path.ruleCollectionGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@FirewallPolicyRuleCollectionGroupDraft_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/rulecollectiongroups/{}/rulecollectiongroupdrafts/default", "version": "2023-11-01", "subresource": "properties.ruleCollections[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L3J1bGVDb2xsZWN0aW9uR3JvdXBzL3tydWxlQ29sbGVjdGlvbkdyb3VwTmFtZX0vcnVsZUNvbGxlY3Rpb25Hcm91cERyYWZ0cy9kZWZhdWx0/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.ruleCollectionGroupName", "options": ["rule-collection-group-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the FirewallPolicyRuleCollectionGroup."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "integer", "var": "$parameters.properties.ruleCollections[Index]", "options": ["rule-collection-index"], "required": true}]}, {"name": "Parameters.properties.ruleCollections[]", "args": [{"type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection", "options": ["firewall-policy-filter-rule-collection"], "group": "Parameters.properties.ruleCollections[]", "args": [{"nullable": true, "type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action", "options": ["action"], "help": {"short": "The action type of a Filter rule collection."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action.type", "options": ["type"], "help": {"short": "The type of action."}, "enum": {"items": [{"name": "Allow", "value": "Allow"}, {"name": "Deny", "value": "Deny"}]}}]}, {"nullable": true, "type": "array<@FirewallPolicyRule_update>", "var": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.rules", "options": ["rules"], "help": {"short": "List of rules included in a rule collection."}, "item": {"nullable": true, "type": "@FirewallPolicyRule_update"}}]}, {"type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection", "options": ["firewall-policy-nat-rule-collection"], "group": "Parameters.properties.ruleCollections[]", "args": [{"nullable": true, "type": "object", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action", "options": ["action"], "help": {"short": "The action type of a Nat rule collection."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action.type", "options": ["type"], "help": {"short": "The type of action."}, "enum": {"items": [{"name": "DNAT", "value": "DNAT"}]}}]}, {"nullable": true, "type": "array", "var": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.rules", "options": ["rules"], "help": {"short": "List of rules included in a rule collection."}, "item": {"nullable": true, "type": "object", "args": [{"type": "object", "var": "@FirewallPolicyRule_update.ApplicationRule", "options": ["application-rule"], "args": [{"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or Service Tags."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.fqdnTags", "options": ["fqdn-tags"], "help": {"short": "List of FQDN Tags for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert", "options": ["http-headers-to-insert"], "help": {"short": "List of HTTP/S headers to insert."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert[].headerName", "options": ["header-name"], "help": {"short": "Contains the name of the header"}}, {"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert[].headerValue", "options": ["header-value"], "help": {"short": "Contains the value of the header"}}]}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.protocols", "options": ["protocols"], "help": {"short": "Array of Application Protocols."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "integer32", "var": "@FirewallPolicyRule_update.ApplicationRule.protocols[].port", "options": ["port"], "help": {"short": "Port number for the protocol, cannot be greater than 64000."}, "format": {"maximum": 64000, "minimum": 0}}, {"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.ApplicationRule.protocols[].protocolType", "options": ["protocol-type"], "help": {"short": "Protocol type."}, "enum": {"items": [{"name": "Http", "value": "Http"}, {"name": "Https", "value": "Https"}]}}]}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.targetFqdns", "options": ["target-fqdns"], "help": {"short": "List of FQDNs for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.targetUrls", "options": ["target-urls"], "help": {"short": "List of Urls for this rule condition."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "boolean", "var": "@FirewallPolicyRule_update.ApplicationRule.terminateTLS", "options": ["terminate-tls"], "help": {"short": "Terminate TLS connections for this rule."}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.ApplicationRule.webCategories", "options": ["web-categories"], "help": {"short": "List of destination azure web categories."}, "item": {"nullable": true, "type": "string"}}]}, {"type": "object", "var": "@FirewallPolicyRule_update.NatRule", "options": ["nat-rule"], "args": [{"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NatRule.destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or Service Tags."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NatRule.destinationPorts", "options": ["destination-ports"], "help": {"short": "List of destination ports."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NatRule.ipProtocols", "options": ["ip-protocols"], "help": {"short": "Array of FirewallPolicyRuleNetworkProtocols."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Any", "value": "Any"}, {"name": "ICMP", "value": "ICMP"}, {"name": "TCP", "value": "TCP"}, {"name": "UDP", "value": "UDP"}]}}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NatRule.sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NatRule.sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.NatRule.translatedAddress", "options": ["translated-address"], "help": {"short": "The translated address for this NAT rule."}}, {"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.NatRule.translatedFqdn", "options": ["translated-fqdn"], "help": {"short": "The translated FQDN for this NAT rule."}}, {"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.NatRule.translatedPort", "options": ["translated-port"], "help": {"short": "The translated port for this NAT rule."}}]}, {"type": "object", "var": "@FirewallPolicyRule_update.NetworkRule", "options": ["network-rule"], "args": [{"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.destinationAddresses", "options": ["destination-addresses"], "help": {"short": "List of destination IP addresses or Service Tags."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.destinationFqdns", "options": ["destination-fqdns"], "help": {"short": "List of destination FQDNs."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.destinationIpGroups", "options": ["destination-ip-groups"], "help": {"short": "List of destination IpGroups for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.destinationPorts", "options": ["destination-ports"], "help": {"short": "List of destination ports."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.ipProtocols", "options": ["ip-protocols"], "help": {"short": "Array of FirewallPolicyRuleNetworkProtocols."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Any", "value": "Any"}, {"name": "ICMP", "value": "ICMP"}, {"name": "TCP", "value": "TCP"}, {"name": "UDP", "value": "UDP"}]}}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.sourceAddresses", "options": ["source-addresses"], "help": {"short": "List of source IP addresses for this rule."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "@FirewallPolicyRule_update.NetworkRule.sourceIpGroups", "options": ["source-ip-groups"], "help": {"short": "List of source IpGroups for this rule."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.description", "options": ["description"], "help": {"short": "Description of the rule."}}, {"nullable": true, "type": "string", "var": "@FirewallPolicyRule_update.name", "options": ["name"], "help": {"short": "Name of the rule."}}], "cls": "FirewallPolicyRule_update"}}]}, {"nullable": true, "type": "string", "var": "$parameters.properties.ruleCollections[].name", "options": ["name"], "group": "Parameters.properties.ruleCollections[]", "help": {"short": "The name of the rule collection."}}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.ruleCollections[].priority", "options": ["priority"], "group": "Parameters.properties.ruleCollections[]", "help": {"short": "Priority of the Firewall Policy Rule Collection resource."}, "format": {"maximum": 65000, "minimum": 100}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.ruleCollections", "item": {"type": "object"}, "identifiers": [{"type": "integer", "name": "[Index]", "arg": "$parameters.properties.ruleCollections[Index]", "required": true}]}}}, "operations": [{"operationId": "FirewallPolicyRuleCollectionGroupDrafts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "ruleCollectionGroupName", "arg": "$Path.ruleCollectionGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/ruleCollectionGroups/{}/ruleCollectionGroupDrafts/default"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "array", "name": "ruleCollections", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "integer32", "name": "priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "string", "name": "ruleCollectionType", "required": true, "enum": {"items": [{"value": "FirewallPolicyFilterRuleCollection"}, {"value": "FirewallPolicyNatRuleCollection"}]}}], "discriminators": [{"property": "ruleCollectionType", "value": "FirewallPolicyFilterRuleCollection", "props": [{"type": "object", "name": "action", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "Allow"}, {"value": "Deny"}]}}]}, {"type": "array<@FirewallPolicyRule_read>", "name": "rules", "item": {"type": "@FirewallPolicyRule_read"}}]}, {"property": "ruleCollectionType", "value": "FirewallPolicyNatRuleCollection", "props": [{"type": "object", "name": "action", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "DNAT"}]}}]}, {"type": "array", "name": "rules", "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "name"}, {"type": "string", "name": "ruleType", "required": true, "enum": {"items": [{"value": "ApplicationRule"}, {"value": "NatRule"}, {"value": "NetworkRule"}]}}], "discriminators": [{"property": "ruleType", "value": "ApplicationRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "fqdnTags", "item": {"type": "string"}}, {"type": "array", "name": "httpHeadersToInsert", "item": {"type": "object", "props": [{"type": "string", "name": "headerName"}, {"type": "string", "name": "headerValue"}]}}, {"type": "array", "name": "protocols", "item": {"type": "object", "props": [{"type": "integer32", "name": "port", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "protocolType", "enum": {"items": [{"value": "Http"}, {"value": "Https"}]}}]}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "targetFqdns", "item": {"type": "string"}}, {"type": "array", "name": "targetUrls", "item": {"type": "string"}}, {"type": "boolean", "name": "terminateTLS"}, {"type": "array", "name": "webCategories", "item": {"type": "string"}}]}, {"property": "ruleType", "value": "NatRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "string", "name": "translatedAddress"}, {"type": "string", "name": "translatedFqdn"}, {"type": "string", "name": "translatedPort"}]}, {"property": "ruleType", "value": "NetworkRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationFqdns", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}]}], "cls": "FirewallPolicyRule_read"}}]}]}}, {"readOnly": true, "type": "string", "name": "size"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "FirewallPolicyRuleCollectionGroupDraft_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.ruleCollections[]", "required": true, "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.ruleCollections[].name"}, {"type": "integer32", "name": "priority", "arg": "$parameters.properties.ruleCollections[].priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "string", "name": "ruleCollectionType", "required": true, "enum": {"items": [{"arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection", "value": "FirewallPolicyFilterRuleCollection"}, {"arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection", "value": "FirewallPolicyNatRuleCollection"}]}}], "discriminators": [{"property": "ruleCollectionType", "value": "FirewallPolicyFilterRuleCollection", "props": [{"type": "object", "name": "action", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action", "props": [{"type": "string", "name": "type", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.action.type", "enum": {"items": [{"value": "Allow"}, {"value": "Deny"}]}}]}, {"type": "array<@FirewallPolicyRule_update>", "name": "rules", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyFilterRuleCollection.rules", "item": {"type": "@FirewallPolicyRule_update"}}]}, {"property": "ruleCollectionType", "value": "FirewallPolicyNatRuleCollection", "props": [{"type": "object", "name": "action", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action", "props": [{"type": "string", "name": "type", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.action.type", "enum": {"items": [{"value": "DNAT"}]}}]}, {"type": "array", "name": "rules", "arg": "$parameters.properties.ruleCollections[].FirewallPolicyNatRuleCollection.rules", "item": {"type": "object", "props": [{"type": "string", "name": "description", "arg": "@FirewallPolicyRule_update.description"}, {"type": "string", "name": "name", "arg": "@FirewallPolicyRule_update.name"}, {"type": "string", "name": "ruleType", "required": true, "enum": {"items": [{"arg": "@FirewallPolicyRule_update.ApplicationRule", "value": "ApplicationRule"}, {"arg": "@FirewallPolicyRule_update.NatRule", "value": "NatRule"}, {"arg": "@FirewallPolicyRule_update.NetworkRule", "value": "NetworkRule"}]}}], "discriminators": [{"property": "ruleType", "value": "ApplicationRule", "props": [{"type": "array", "name": "destinationAddresses", "arg": "@FirewallPolicyRule_update.ApplicationRule.destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "fqdnTags", "arg": "@FirewallPolicyRule_update.ApplicationRule.fqdnTags", "item": {"type": "string"}}, {"type": "array", "name": "httpHeadersToInsert", "arg": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert", "item": {"type": "object", "props": [{"type": "string", "name": "headerName", "arg": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert[].headerName"}, {"type": "string", "name": "headerValue", "arg": "@FirewallPolicyRule_update.ApplicationRule.httpHeadersToInsert[].headerValue"}]}}, {"type": "array", "name": "protocols", "arg": "@FirewallPolicyRule_update.ApplicationRule.protocols", "item": {"type": "object", "props": [{"type": "integer32", "name": "port", "arg": "@FirewallPolicyRule_update.ApplicationRule.protocols[].port", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "protocolType", "arg": "@FirewallPolicyRule_update.ApplicationRule.protocols[].protocolType", "enum": {"items": [{"value": "Http"}, {"value": "Https"}]}}]}}, {"type": "array", "name": "sourceAddresses", "arg": "@FirewallPolicyRule_update.ApplicationRule.sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "@FirewallPolicyRule_update.ApplicationRule.sourceIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "targetFqdns", "arg": "@FirewallPolicyRule_update.ApplicationRule.targetFqdns", "item": {"type": "string"}}, {"type": "array", "name": "targetUrls", "arg": "@FirewallPolicyRule_update.ApplicationRule.targetUrls", "item": {"type": "string"}}, {"type": "boolean", "name": "terminateTLS", "arg": "@FirewallPolicyRule_update.ApplicationRule.terminateTLS"}, {"type": "array", "name": "webCategories", "arg": "@FirewallPolicyRule_update.ApplicationRule.webCategories", "item": {"type": "string"}}]}, {"property": "ruleType", "value": "NatRule", "props": [{"type": "array", "name": "destinationAddresses", "arg": "@FirewallPolicyRule_update.NatRule.destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "arg": "@FirewallPolicyRule_update.NatRule.destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "arg": "@FirewallPolicyRule_update.NatRule.ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "arg": "@FirewallPolicyRule_update.NatRule.sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "@FirewallPolicyRule_update.NatRule.sourceIpGroups", "item": {"type": "string"}}, {"type": "string", "name": "translatedAddress", "arg": "@FirewallPolicyRule_update.NatRule.translatedAddress"}, {"type": "string", "name": "translatedFqdn", "arg": "@FirewallPolicyRule_update.NatRule.translatedFqdn"}, {"type": "string", "name": "translatedPort", "arg": "@FirewallPolicyRule_update.NatRule.translatedPort"}]}, {"property": "ruleType", "value": "NetworkRule", "props": [{"type": "array", "name": "destinationAddresses", "arg": "@FirewallPolicyRule_update.NetworkRule.destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationFqdns", "arg": "@FirewallPolicyRule_update.NetworkRule.destinationFqdns", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "arg": "@FirewallPolicyRule_update.NetworkRule.destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "arg": "@FirewallPolicyRule_update.NetworkRule.destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "arg": "@FirewallPolicyRule_update.NetworkRule.ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "arg": "@FirewallPolicyRule_update.NetworkRule.sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "arg": "@FirewallPolicyRule_update.NetworkRule.sourceIpGroups", "item": {"type": "string"}}]}], "cls": "FirewallPolicyRule_update"}}]}]}}}}, {"operationId": "FirewallPolicyRuleCollectionGroupDrafts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "ruleCollectionGroupName", "arg": "$Path.ruleCollectionGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@FirewallPolicyRuleCollectionGroupDraft_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/rulecollectiongroups/{}/rulecollectiongroupdrafts/default", "version": "2023-11-01", "subresource": "properties.ruleCollections[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L3J1bGVDb2xsZWN0aW9uR3JvdXBzL3tydWxlQ29sbGVjdGlvbkdyb3VwTmFtZX0vcnVsZUNvbGxlY3Rpb25Hcm91cERyYWZ0cy9kZWZhdWx0/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.ruleCollectionGroupName", "options": ["rule-collection-group-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the FirewallPolicyRuleCollectionGroup."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "integer", "var": "$parameters.properties.ruleCollections[Index]", "options": ["rule-collection-index"], "required": true}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.ruleCollections", "item": {"type": "object"}, "identifiers": [{"type": "integer", "name": "[Index]", "arg": "$parameters.properties.ruleCollections[Index]", "required": true}]}}}, "operations": [{"operationId": "FirewallPolicyRuleCollectionGroupDrafts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "ruleCollectionGroupName", "arg": "$Path.ruleCollectionGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/ruleCollectionGroups/{}/ruleCollectionGroupDrafts/default"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "array", "name": "ruleCollections", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "integer32", "name": "priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "string", "name": "ruleCollectionType", "required": true, "enum": {"items": [{"value": "FirewallPolicyFilterRuleCollection"}, {"value": "FirewallPolicyNatRuleCollection"}]}}], "discriminators": [{"property": "ruleCollectionType", "value": "FirewallPolicyFilterRuleCollection", "props": [{"type": "object", "name": "action", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "Allow"}, {"value": "Deny"}]}}]}, {"type": "array<@FirewallPolicyRule_read>", "name": "rules", "item": {"type": "@FirewallPolicyRule_read"}}]}, {"property": "ruleCollectionType", "value": "FirewallPolicyNatRuleCollection", "props": [{"type": "object", "name": "action", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "DNAT"}]}}]}, {"type": "array", "name": "rules", "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "name"}, {"type": "string", "name": "ruleType", "required": true, "enum": {"items": [{"value": "ApplicationRule"}, {"value": "NatRule"}, {"value": "NetworkRule"}]}}], "discriminators": [{"property": "ruleType", "value": "ApplicationRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "fqdnTags", "item": {"type": "string"}}, {"type": "array", "name": "httpHeadersToInsert", "item": {"type": "object", "props": [{"type": "string", "name": "headerName"}, {"type": "string", "name": "headerValue"}]}}, {"type": "array", "name": "protocols", "item": {"type": "object", "props": [{"type": "integer32", "name": "port", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "protocolType", "enum": {"items": [{"value": "Http"}, {"value": "Https"}]}}]}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "targetFqdns", "item": {"type": "string"}}, {"type": "array", "name": "targetUrls", "item": {"type": "string"}}, {"type": "boolean", "name": "terminateTLS"}, {"type": "array", "name": "webCategories", "item": {"type": "string"}}]}, {"property": "ruleType", "value": "NatRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "string", "name": "translatedAddress"}, {"type": "string", "name": "translatedFqdn"}, {"type": "string", "name": "translatedPort"}]}, {"property": "ruleType", "value": "NetworkRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationFqdns", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}]}], "cls": "FirewallPolicyRule_read"}}]}]}}, {"readOnly": true, "type": "string", "name": "size"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "FirewallPolicyRuleCollectionGroupDraft_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceDelete": {"ref": "$Subresource", "json": {}}}, {"operationId": "FirewallPolicyRuleCollectionGroupDrafts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "ruleCollectionGroupName", "arg": "$Path.ruleCollectionGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@FirewallPolicyRuleCollectionGroupDraft_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "show", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/rulecollectiongroups/{}/rulecollectiongroupdrafts/default", "version": "2023-11-01", "subresource": "properties.ruleCollections[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L3J1bGVDb2xsZWN0aW9uR3JvdXBzL3tydWxlQ29sbGVjdGlvbkdyb3VwTmFtZX0vcnVsZUNvbGxlY3Rpb25Hcm91cERyYWZ0cy9kZWZhdWx0/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["firewall-policy-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Firewall Policy."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.ruleCollectionGroupName", "options": ["rule-collection-group-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the FirewallPolicyRuleCollectionGroup."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "integer", "var": "$parameters.properties.ruleCollections[Index]", "options": ["rule-collection-index"], "required": true}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.ruleCollections", "item": {"type": "object"}, "identifiers": [{"type": "integer", "name": "[Index]", "arg": "$parameters.properties.ruleCollections[Index]", "required": true}]}}}, "operations": [{"operationId": "FirewallPolicyRuleCollectionGroupDrafts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "firewallPolicyName", "arg": "$Path.firewallPolicyName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "ruleCollectionGroupName", "arg": "$Path.ruleCollectionGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/ruleCollectionGroups/{}/ruleCollectionGroupDrafts/default"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "array", "name": "ruleCollections", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "integer32", "name": "priority", "format": {"maximum": 65000, "minimum": 100}}, {"type": "string", "name": "ruleCollectionType", "required": true, "enum": {"items": [{"value": "FirewallPolicyFilterRuleCollection"}, {"value": "FirewallPolicyNatRuleCollection"}]}}], "discriminators": [{"property": "ruleCollectionType", "value": "FirewallPolicyFilterRuleCollection", "props": [{"type": "object", "name": "action", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "Allow"}, {"value": "Deny"}]}}]}, {"type": "array<@FirewallPolicyRule_read>", "name": "rules", "item": {"type": "@FirewallPolicyRule_read"}}]}, {"property": "ruleCollectionType", "value": "FirewallPolicyNatRuleCollection", "props": [{"type": "object", "name": "action", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "DNAT"}]}}]}, {"type": "array", "name": "rules", "item": {"type": "object", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "name"}, {"type": "string", "name": "ruleType", "required": true, "enum": {"items": [{"value": "ApplicationRule"}, {"value": "NatRule"}, {"value": "NetworkRule"}]}}], "discriminators": [{"property": "ruleType", "value": "ApplicationRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "fqdnTags", "item": {"type": "string"}}, {"type": "array", "name": "httpHeadersToInsert", "item": {"type": "object", "props": [{"type": "string", "name": "headerName"}, {"type": "string", "name": "headerValue"}]}}, {"type": "array", "name": "protocols", "item": {"type": "object", "props": [{"type": "integer32", "name": "port", "format": {"maximum": 64000, "minimum": 0}}, {"type": "string", "name": "protocolType", "enum": {"items": [{"value": "Http"}, {"value": "Https"}]}}]}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "targetFqdns", "item": {"type": "string"}}, {"type": "array", "name": "targetUrls", "item": {"type": "string"}}, {"type": "boolean", "name": "terminateTLS"}, {"type": "array", "name": "webCategories", "item": {"type": "string"}}]}, {"property": "ruleType", "value": "NatRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "string", "name": "translatedAddress"}, {"type": "string", "name": "translatedFqdn"}, {"type": "string", "name": "translatedPort"}]}, {"property": "ruleType", "value": "NetworkRule", "props": [{"type": "array", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array", "name": "destinationFqdns", "item": {"type": "string"}}, {"type": "array", "name": "destinationIpGroups", "item": {"type": "string"}}, {"type": "array", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array", "name": "sourceIpGroups", "item": {"type": "string"}}]}], "cls": "FirewallPolicyRule_read"}}]}]}}, {"readOnly": true, "type": "string", "name": "size"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "FirewallPolicyRuleCollectionGroupDraft_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vcnVsZWNvbGxlY3Rpb25ncm91cHMve30vcnVsZWNvbGxlY3Rpb25ncm91cGRyYWZ0cy9kZWZhdWx0/2023-11-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vcnVsZWNvbGxlY3Rpb25ncm91cHMve30vcnVsZWNvbGxlY3Rpb25ncm91cGRyYWZ0cy9kZWZhdWx0/2023-11-01.xml index 90f84d454..3235756d3 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vcnVsZWNvbGxlY3Rpb25ncm91cHMve30vcnVsZWNvbGxlY3Rpb25ncm91cGRyYWZ0cy9kZWZhdWx0/2023-11-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2ZpcmV3YWxscG9saWNpZXMve30vcnVsZWNvbGxlY3Rpb25ncm91cHMve30vcnVsZWNvbGxlY3Rpb25ncm91cGRyYWZ0cy9kZWZhdWx0/2023-11-01.xml @@ -1423,5 +1423,1854 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +