{"files":{"SKILL.md":"---\nname: azure-cdn-webapplicationfirewallmanagement\ndescription: \"Azure CDN WebApplicationFirewallManagement API skill. Use when working with Azure CDN WebApplicationFirewallManagement for subscriptions. Covers 6 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Azure CDN WebApplicationFirewallManagement\nAPI version: 2019-06-15-preview\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.Cdn/CdnWebApplicationFirewallPolicies -- lists all of the protection policies within a resource group.\n3. Explore available endpoints below\n\n## Endpoints\n6 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.Cdn/CdnWebApplicationFirewallPolicies | Lists all of the protection policies within a resource group. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/{policyName} | Retrieve protection policy with specified name within a resource group. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/{policyName} | Create or update policy with specified rule set name within a resource group. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/{policyName} | Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/{policyName} | Deletes Policy |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/CdnWebApplicationFirewallManagedRuleSets | 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 CdnWebApplicationFirewallPolicies?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies\n- \"Get CdnWebApplicationFirewallPolicy details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/{policyName}\n- \"Update a CdnWebApplicationFirewallPolicy?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/{policyName}\n- \"Partially update a CdnWebApplicationFirewallPolicy?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/{policyName}\n- \"Delete a CdnWebApplicationFirewallPolicy?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/{policyName}\n- \"List all CdnWebApplicationFirewallManagedRuleSets?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/CdnWebApplicationFirewallManagedRuleSets\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 Azure CDN WebApplicationFirewallManagement\n@base https://management.azure.com\n@version 2019-06-15-preview\n@auth OAuth2\n@common_fields {subscriptionId: any # Azure Subscription ID., api-version: any # Version of the API to be used with the client request. Current version is 2017-04-02.}\n@endpoints 6\n@toc subscriptions(6)\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies\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.Cdn/CdnWebApplicationFirewallPolicies/{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 CdnWebApplicationFirewallPolicy.}\n@returns(200) OK. The request has succeeded.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/{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 CdnWebApplicationFirewallPolicy., cdnWebApplicationFirewallPolicy: 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 PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/{policyName}\n@desc Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group\n@required {resourceGroupName: any # Name of the Resource group within the Azure subscription., policyName: any # The name of the CdnWebApplicationFirewallPolicy., cdnWebApplicationFirewallPolicyPatchParameters: map # CdnWebApplicationFirewallPolicy parameters to be patched.}\n@returns(200) OK. The request has succeeded.\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.Cdn/CdnWebApplicationFirewallPolicies/{policyName}\n@desc Deletes Policy\n@required {resourceGroupName: any # Name of the Resource group within the Azure subscription., policyName: any # The name of the CdnWebApplicationFirewallPolicy.}\n@returns(200) Delete successful.\n@returns(204) No Content. The request has been accepted but the policy was not found.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/CdnWebApplicationFirewallManagedRuleSets\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"}}