{"files":{"SKILL.md":"---\nname: networkmanagementclient\ndescription: \"NetworkManagementClient API skill. Use when working with NetworkManagementClient for subscriptions. Covers 10 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# NetworkManagementClient\nAPI version: 2019-07-01\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations -- retrieves all expressrouteport peering locations. does not return available bandwidths for each location. available bandwidths can only be obtained when retrieving a specific peering location.\n3. Explore available endpoints below\n\n## Endpoints\n10 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations | Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName} | Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName} | Deletes the specified ExpressRoutePort resource. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName} | Retrieves the requested ExpressRoutePort resource. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName} | Creates or updates the specified ExpressRoutePort resource. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName} | Update ExpressRoutePort tags. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts | List all the ExpressRoutePort resources in the specified resource group. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts | List all the ExpressRoutePort resources in the specified subscription. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName} | Retrieves the specified ExpressRouteLink resource. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links | Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all ExpressRoutePortsLocations?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations\n- \"Get ExpressRoutePortsLocation details?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}\n- \"Delete a ExpressRoutePort?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}\n- \"Get ExpressRoutePort details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}\n- \"Update a ExpressRoutePort?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}\n- \"Partially update a ExpressRoutePort?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}\n- \"List all ExpressRoutePorts?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts\n- \"Get link details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}\n- \"List all links?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links\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-07-01\n@auth OAuth2\n@endpoints 10\n@toc subscriptions(10)\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations\n@desc Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location.\n@returns(200) Request successful. The operation returns the list of all ExpressRoutePort peering locations.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}\n@desc Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.\n@required {locationName: any # Name of the requested ExpressRoutePort peering location.}\n@returns(200) Request successful. The operation returns the requested ExpressRoutePort peering location.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}\n@desc Deletes the specified ExpressRoutePort resource.\n@required {resourceGroupName: any # The name of the resource group., expressRoutePortName: any # The name of the ExpressRoutePort resource.}\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/ExpressRoutePorts/{expressRoutePortName}\n@desc Retrieves the requested ExpressRoutePort resource.\n@required {resourceGroupName: any # The name of the resource group., expressRoutePortName: any # The name of ExpressRoutePort.}\n@returns(200) Request successful. The operation returns the requested ExpressRoutePort resource.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}\n@desc Creates or updates the specified ExpressRoutePort resource.\n@required {resourceGroupName: any # The name of the resource group., expressRoutePortName: any # The name of the ExpressRoutePort resource., parameters: any # Parameters supplied to the create ExpressRoutePort operation.}\n@returns(200) Update successful. The operation returns the resulting ExpressRoutePort resource.\n@returns(201) Create successful. The operation returns the resulting ExpressRoutePort resource.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}\n@desc Update ExpressRoutePort tags.\n@required {resourceGroupName: any # The name of the resource group., expressRoutePortName: any # The name of the ExpressRoutePort resource., parameters: any # Parameters supplied to update ExpressRoutePort resource tags.}\n@returns(200) Update successful. The operation returns the resulting ExpressRoutePort resource.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts\n@desc List all the ExpressRoutePort resources in the specified resource group.\n@required {resourceGroupName: any # The name of the resource group.}\n@returns(200) Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts\n@desc List all the ExpressRoutePort resources in the specified subscription.\n@returns(200) Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}\n@desc Retrieves the specified ExpressRouteLink resource.\n@required {resourceGroupName: any # The name of the resource group., expressRoutePortName: any # The name of the ExpressRoutePort resource., linkName: any # The name of the ExpressRouteLink resource.}\n@returns(200) Request successful. The operation returns the requested ExpressRouteLink resource.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links\n@desc Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource.\n@required {resourceGroupName: any # The name of the resource group., expressRoutePortName: any # The name of the ExpressRoutePort resource.}\n@returns(200) Request successful. The operation returns a list of ExpressRouteLink resources. If there are no ExpressRouteLink resources then an empty list is returned.\n\n@end\n"}}