{"files":{"SKILL.md":"---\nname: networkmanagementclient\ndescription: \"NetworkManagementClient API skill. Use when working with NetworkManagementClient for subscriptions. Covers 9 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# NetworkManagementClient\nAPI version: 2019-11-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/virtualRouters/{virtualRouterName} -- gets the specified virtual router.\n3. Explore available endpoints below\n\n## Endpoints\n9 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/virtualRouters/{virtualRouterName} | Deletes the specified Virtual Router. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName} | Gets the specified Virtual Router. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName} | Creates or updates the specified Virtual Router. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters | Lists all Virtual Routers in a resource group. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualRouters | Gets all the Virtual Routers in a subscription. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName} | Deletes the specified peering from a Virtual Router. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName} | Gets the specified Virtual Router Peering. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName} | Creates or updates the specified Virtual Router Peering. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings | Lists all Virtual Router Peerings in a Virtual Router resource. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Delete a virtualRouter?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}\n- \"Get virtualRouter details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}\n- \"Update a virtualRouter?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}\n- \"List all virtualRouters?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters\n- \"Delete a peering?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}\n- \"Get peering details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}\n- \"Update a peering?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}\n- \"List all peerings?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings\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-11-01\n@auth OAuth2\n@endpoints 9\n@toc subscriptions(9)\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}\n@desc Deletes the specified Virtual Router.\n@required {resourceGroupName: any # The name of the resource group., virtualRouterName: any # The name of the Virtual Router.}\n@returns(200) Delete successful.\n@returns(202) Accepted and the operation will complete asynchronously.\n@returns(204) Request successful. Resource with the specified name does not exist.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}\n@desc Gets the specified Virtual Router.\n@required {resourceGroupName: any # The name of the resource group., virtualRouterName: any # The name of the Virtual Router.}\n@optional {$expand: any # Expands referenced resources.}\n@returns(200) Request successful. The operation returns a Virtual Router resource.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}\n@desc Creates or updates the specified Virtual Router.\n@required {resourceGroupName: any # The name of the resource group., virtualRouterName: any # The name of the Virtual Router., parameters: any # Parameters supplied to the create or update Virtual Router.}\n@returns(200) Request successful. The operation returns the resulting Virtual Router resource.\n@returns(201) Request received successfully. The operation returns the resulting Virtual Router resource.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters\n@desc Lists all Virtual Routers in a resource group.\n@required {resourceGroupName: any # The name of the resource group.}\n@returns(200) Success. The operation returns a list of Virtual Router resources.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualRouters\n@desc Gets all the Virtual Routers in a subscription.\n@returns(200) Success. The operation returns a list of Virtual Router resources.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}\n@desc Deletes the specified peering from a Virtual Router.\n@required {resourceGroupName: any # The name of the resource group., virtualRouterName: any # The name of the Virtual Router., peeringName: any # The name of the peering.}\n@returns(200) Delete successful.\n@returns(202) Accepted and the operation will complete asynchronously.\n@returns(204) Request successful. Resource with the specified name does not exist.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}\n@desc Gets the specified Virtual Router Peering.\n@required {resourceGroupName: any # The name of the resource group., virtualRouterName: any # The name of the Virtual Router., peeringName: any # The name of the Virtual Router Peering.}\n@returns(200) Request successful. The operation returns a Virtual Router Peering resource.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}\n@desc Creates or updates the specified Virtual Router Peering.\n@required {resourceGroupName: any # The name of the resource group., virtualRouterName: any # The name of the Virtual Router., peeringName: any # The name of the Virtual Router Peering., parameters: any # Parameters supplied to the create or update Virtual Router Peering operation.}\n@returns(200) Request successful. The operation returns the resulting Virtual Router Peering resource.\n@returns(201) Request received successfully. The operation returns the resulting Virtual Router Peering resource.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings\n@desc Lists all Virtual Router Peerings in a Virtual Router resource.\n@required {resourceGroupName: any # The name of the resource group., virtualRouterName: any # The name of the Virtual Router.}\n@returns(200) Success. The operation returns a list of Virtual Router Peering resources.\n\n@end\n"}}