{"files":{"SKILL.md":"---\nname: networkmanagementclient\ndescription: \"NetworkManagementClient API skill. Use when working with NetworkManagementClient for subscriptions. Covers 12 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# NetworkManagementClient\nAPI version: 2019-08-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/networkSecurityGroups/{networkSecurityGroupName} -- gets the specified network security group.\n3. Explore available endpoints below\n\n## Endpoints\n12 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName} | Deletes the specified network security group. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName} | Gets the specified network security group. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName} | Creates or updates a network security group in the specified resource group. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName} | Updates a network security group tags. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups | Gets all network security groups in a subscription. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups | Gets all network security groups in a resource group. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName} | Deletes the specified network security rule. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName} | Get the specified network security rule. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName} | Creates or updates a security rule in the specified network security group. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules | Gets all security rules in a network security group. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules | Gets all default security rules in a network security group. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName} | Get the specified default network security rule. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Delete a networkSecurityGroup?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}\n- \"Get networkSecurityGroup details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}\n- \"Update a networkSecurityGroup?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}\n- \"Partially update a networkSecurityGroup?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}\n- \"List all networkSecurityGroups?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups\n- \"Delete a securityRule?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}\n- \"Get securityRule details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}\n- \"Update a securityRule?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}\n- \"List all securityRules?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules\n- \"List all defaultSecurityRules?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules\n- \"Get defaultSecurityRule details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}\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 NetworkManagementClient\n@base https://management.azure.com\n@version 2019-08-01\n@auth OAuth2\n@endpoints 12\n@toc subscriptions(12)\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}\n@desc Deletes the specified network security group.\n@required {resourceGroupName: any # The name of the resource group., networkSecurityGroupName: any # The name of the network security group.}\n@returns(200) Delete successful.\n@returns(202) Accepted and the operation will complete asynchronously.\n@returns(204) Request successful. Resource does not exist.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}\n@desc Gets the specified network security group.\n@required {resourceGroupName: any # The name of the resource group., networkSecurityGroupName: any # The name of the network security group.}\n@optional {$expand: any # Expands referenced resources.}\n@returns(200) Request successful. The operation returns the resulting NetworkSecurityGroup resource.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}\n@desc Creates or updates a network security group in the specified resource group.\n@required {resourceGroupName: any # The name of the resource group., networkSecurityGroupName: any # The name of the network security group., parameters: any # Parameters supplied to the create or update network security group operation.}\n@returns(200) Update successful. The operation returns the resulting NetworkSecurityGroup resource.\n@returns(201) Create successful. The operation returns the resulting NetworkSecurityGroup resource.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}\n@desc Updates a network security group tags.\n@required {resourceGroupName: any # The name of the resource group., networkSecurityGroupName: any # The name of the network security group., parameters: any # Parameters supplied to update network security group tags.}\n@returns(200) Update successful. The operation returns the resulting NetworkSecurityGroup resource.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups\n@desc Gets all network security groups in a subscription.\n@returns(200) Request successful. The operation returns a list of NetworkSecurityGroup resources.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups\n@desc Gets all network security groups in a resource group.\n@required {resourceGroupName: any # The name of the resource group.}\n@returns(200) Request successful. The operation returns a list of NetworkSecurityGroup resources.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}\n@desc Deletes the specified network security rule.\n@required {resourceGroupName: any # The name of the resource group., networkSecurityGroupName: any # The name of the network security group., securityRuleName: any # The name of the security rule.}\n@returns(200) Delete successful.\n@returns(202) Accepted and the operation will complete asynchronously.\n@returns(204) Request successful. Resource does not exist.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}\n@desc Get the specified network security rule.\n@required {resourceGroupName: any # The name of the resource group., networkSecurityGroupName: any # The name of the network security group., securityRuleName: any # The name of the security rule.}\n@returns(200) Request successful. The operation returns the resulting SecurityRule resource.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}\n@desc Creates or updates a security rule in the specified network security group.\n@required {resourceGroupName: any # The name of the resource group., networkSecurityGroupName: any # The name of the network security group., securityRuleName: any # The name of the security rule., securityRuleParameters: any # Parameters supplied to the create or update network security rule operation.}\n@returns(200) Update successful. The operation returns the resulting SecurityRule resource.\n@returns(201) Create successful. The operation returns the resulting SecurityRule resource.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules\n@desc Gets all security rules in a network security group.\n@required {resourceGroupName: any # The name of the resource group., networkSecurityGroupName: any # The name of the network security group.}\n@returns(200) Request successful. The operation returns a list of SecurityRule resources.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules\n@desc Gets all default security rules in a network security group.\n@required {resourceGroupName: any # The name of the resource group., networkSecurityGroupName: any # The name of the network security group.}\n@returns(200) Request successful. The operation returns a list of SecurityRule resources.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}\n@desc Get the specified default network security rule.\n@required {resourceGroupName: any # The name of the resource group., networkSecurityGroupName: any # The name of the network security group., defaultSecurityRuleName: any # The name of the default security rule.}\n@returns(200) Request successful. The operation returns the resulting SecurityRule resource.\n\n@end\n"}}