{"files":{"SKILL.md":"---\nname: webapplicationfirewallmanagement\ndescription: \"WebApplicationFirewallManagement API skill. Use when working with WebApplicationFirewallManagement for subscriptions. Covers 5 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# WebApplicationFirewallManagement\nAPI version: 2019-10-01\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies -- lists all of the protection policies within a resource group.\n3. Explore available endpoints below\n\n## Endpoints\n5 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies | Lists all of the protection policies within a resource group. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/{policyName} | Retrieve protection policy with specified name within a resource group. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/{policyName} | Create or update policy with specified rule set name within a resource group. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/{policyName} | Deletes Policy |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallManagedRuleSets | Lists all available managed rule sets. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all FrontDoorWebApplicationFirewallPolicies?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies\n- \"Get FrontDoorWebApplicationFirewallPolicy details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/{policyName}\n- \"Update a FrontDoorWebApplicationFirewallPolicy?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/{policyName}\n- \"Delete a FrontDoorWebApplicationFirewallPolicy?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/{policyName}\n- \"List all FrontDoorWebApplicationFirewallManagedRuleSets?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallManagedRuleSets\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api WebApplicationFirewallManagement\n@base https://management.azure.com\n@version 2019-10-01\n@auth OAuth2\n@endpoints 5\n@toc subscriptions(5)\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies\n@desc Lists all of the protection policies within a resource group.\n@required {resourceGroupName: any # Name of the Resource group within the Azure subscription.}\n@returns(200) OK. The request has succeeded.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/{policyName}\n@desc Retrieve protection policy with specified name within a resource group.\n@required {resourceGroupName: any # Name of the Resource group within the Azure subscription., policyName: any # The name of the Web Application Firewall Policy.}\n@returns(200) OK. The request has succeeded.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/{policyName}\n@desc Create or update policy with specified rule set name within a resource group.\n@required {resourceGroupName: any # Name of the Resource group within the Azure subscription., policyName: any # The name of the Web Application Firewall Policy., parameters: any # Policy to be created.}\n@returns(200) OK. The request has succeeded.\n@returns(201) Created. The request has been fulfilled and a new protection policy has been created.\n@returns(202) Accepted. The request has been accepted for processing and the operation will complete asynchronously.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/{policyName}\n@desc Deletes Policy\n@required {resourceGroupName: any # Name of the Resource group within the Azure subscription., policyName: any # The name of the Web Application Firewall Policy.}\n@returns(200) Delete successful.\n@returns(202) Accepted. The request has been accepted for processing and the operation will complete asynchronously.\n@returns(204) No Content. The request has been accepted but the policy was not found.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallManagedRuleSets\n@desc Lists all available managed rule sets.\n@returns(200) Success. The operation returns a list of all available web application firewall managed rule sets.\n\n@end\n"}}