Skip to content

Commit

Permalink
add mgmt-plane files
Browse files Browse the repository at this point in the history
  • Loading branch information
NiviShenker committed Aug 1, 2024
1 parent 285741e commit e7e20b8
Show file tree
Hide file tree
Showing 4 changed files with 1,063 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/rulecollectiongroups", "version": "2023-09-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L3J1bGVDb2xsZWN0aW9uR3JvdXBz/V/MjAyMy0wOS0wMQ=="}], "commandGroups": [{"name": "network firewall policy rule-collection-group", "commands": [{"name": "list", "version": "2023-09-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/firewallpolicies/{}/rulecollectiongroups", "version": "2023-09-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9maXJld2FsbFBvbGljaWVzL3tmaXJld2FsbFBvbGljeU5hbWV9L3J1bGVDb2xsZWN0aW9uR3JvdXBz/V/MjAyMy0wOS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallPolicyName", "options": ["policy-name"], "required": true, "group": "", "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": "FirewallPolicyRuleCollectionGroups_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups", "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-09-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/firewallPolicies/{}/ruleCollectionGroups/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "priority", "format": {"maximum": 65000, "minimum": 100}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<object>", "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<object>", "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<string>", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array<string>", "name": "fqdnTags", "item": {"type": "string"}}, {"type": "array<object>", "name": "httpHeadersToInsert", "item": {"type": "object", "props": [{"type": "string", "name": "headerName"}, {"type": "string", "name": "headerValue"}]}}, {"type": "array<object>", "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<string>", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array<string>", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "array<string>", "name": "targetFqdns", "item": {"type": "string"}}, {"type": "array<string>", "name": "targetUrls", "item": {"type": "string"}}, {"type": "boolean", "name": "terminateTLS"}, {"type": "array<string>", "name": "webCategories", "item": {"type": "string"}}]}, {"property": "ruleType", "value": "NatRule", "props": [{"type": "array<string>", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array<string>", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array<string>", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array<string>", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array<string>", "name": "sourceIpGroups", "item": {"type": "string"}}, {"type": "string", "name": "translatedAddress"}, {"type": "string", "name": "translatedFqdn"}, {"type": "string", "name": "translatedPort"}]}, {"property": "ruleType", "value": "NetworkRule", "props": [{"type": "array<string>", "name": "destinationAddresses", "item": {"type": "string"}}, {"type": "array<string>", "name": "destinationFqdns", "item": {"type": "string"}}, {"type": "array<string>", "name": "destinationIpGroups", "item": {"type": "string"}}, {"type": "array<string>", "name": "destinationPorts", "item": {"type": "string"}}, {"type": "array<string>", "name": "ipProtocols", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "ICMP"}, {"value": "TCP"}, {"value": "UDP"}]}}}, {"type": "array<string>", "name": "sourceAddresses", "item": {"type": "string"}}, {"type": "array<string>", "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": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]}
Loading

0 comments on commit e7e20b8

Please sign in to comment.