{"files":{"SKILL.md":"---\nname: expressroutecrossconnection-rest-apis\ndescription: \"ExpressRouteCrossConnection REST APIs API skill. Use when working with ExpressRouteCrossConnection REST APIs for subscriptions. Covers 12 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# ExpressRouteCrossConnection REST APIs\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}/providers/Microsoft.Network/expressRouteCrossConnections -- retrieves all the expressroutecrossconnections in a subscription.\n3. POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath} -- create first arpTable\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| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections | Retrieves all the ExpressRouteCrossConnections in a subscription. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections | Retrieves all the ExpressRouteCrossConnections in a resource group. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName} | Gets details about the specified ExpressRouteCrossConnection. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName} | Update the specified ExpressRouteCrossConnection. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName} | Updates an express route cross connection tags. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings | Gets all peerings in a specified ExpressRouteCrossConnection. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName} | Deletes the specified peering from the ExpressRouteCrossConnection. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName} | Gets the specified peering for the ExpressRouteCrossConnection. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName} | Creates or updates a peering in the specified ExpressRouteCrossConnection. |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath} | Gets the currently advertised ARP table associated with the express route cross connection in a resource group. |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath} | Gets the route table summary associated with the express route cross connection in a resource group. |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath} | Gets the currently advertised routes table associated with the express route cross connection in a resource group. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all expressRouteCrossConnections?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections\n- \"Get expressRouteCrossConnection details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}\n- \"Update a expressRouteCrossConnection?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}\n- \"Partially update a expressRouteCrossConnection?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}\n- \"List all peerings?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings\n- \"Delete a peering?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}\n- \"Get peering details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}\n- \"Update a peering?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}\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 ExpressRouteCrossConnection REST APIs\n@base https://management.azure.com\n@version 2019-08-01\n@auth OAuth2\n@endpoints 12\n@toc subscriptions(12)\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections\n@desc Retrieves all the ExpressRouteCrossConnections in a subscription.\n@returns(200) Request successful. The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections\n@desc Retrieves all the ExpressRouteCrossConnections 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 ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}\n@desc Gets details about the specified ExpressRouteCrossConnection.\n@required {resourceGroupName: any # The name of the resource group (peering location of the circuit)., crossConnectionName: any # The name of the ExpressRouteCrossConnection (service key of the circuit).}\n@returns(200) Request successful. The operation returns the resulting ExpressRouteCrossConnection resource.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}\n@desc Update the specified ExpressRouteCrossConnection.\n@required {resourceGroupName: any # The name of the resource group., crossConnectionName: any # The name of the ExpressRouteCrossConnection., parameters: any # Parameters supplied to the update express route crossConnection operation.}\n@returns(200) Update successful. The operation returns the resulting ExpressRouteCrossConnection resource.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}\n@desc Updates an express route cross connection tags.\n@required {resourceGroupName: any # The name of the resource group., crossConnectionName: any # The name of the cross connection., crossConnectionParameters: any # Parameters supplied to update express route cross connection tags.}\n@returns(200) Update successful. The operation returns the resulting ExpressRouteCrossConnection resource.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings\n@desc Gets all peerings in a specified ExpressRouteCrossConnection.\n@required {resourceGroupName: any # The name of the resource group., crossConnectionName: any # The name of the ExpressRouteCrossConnection.}\n@returns(200) Request successful. The operation returns a list of ExpressRouteCrossConnectionPeering resources.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}\n@desc Deletes the specified peering from the ExpressRouteCrossConnection.\n@required {resourceGroupName: any # The name of the resource group., crossConnectionName: any # The name of the ExpressRouteCrossConnection., 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) Delete successful.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}\n@desc Gets the specified peering for the ExpressRouteCrossConnection.\n@required {resourceGroupName: any # The name of the resource group., crossConnectionName: any # The name of the ExpressRouteCrossConnection., peeringName: any # The name of the peering.}\n@returns(200) Request successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}\n@desc Creates or updates a peering in the specified ExpressRouteCrossConnection.\n@required {resourceGroupName: any # The name of the resource group., crossConnectionName: any # The name of the ExpressRouteCrossConnection., peeringName: any # The name of the peering., peeringParameters: any # Parameters supplied to the create or update ExpressRouteCrossConnection peering operation.}\n@returns(200) Update successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource.\n@returns(201) Create successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}\n@desc Gets the currently advertised ARP table associated with the express route cross connection in a resource group.\n@required {resourceGroupName: any # The name of the resource group., crossConnectionName: any # The name of the ExpressRouteCrossConnection., peeringName: any # The name of the peering., devicePath: any # The path of the device.}\n@returns(200) Request successful. The operation returns the resulting ExpressRouteCrossConnectionsArpTable resource.\n@returns(202) Accepted and the operation will complete asynchronously.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}\n@desc Gets the route table summary associated with the express route cross connection in a resource group.\n@required {resourceGroupName: any # The name of the resource group., crossConnectionName: any # The name of the ExpressRouteCrossConnection., peeringName: any # The name of the peering., devicePath: any # The path of the device.}\n@returns(200) Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTableSummary resource.\n@returns(202) Accepted and the operation will complete asynchronously.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}\n@desc Gets the currently advertised routes table associated with the express route cross connection in a resource group.\n@required {resourceGroupName: any # The name of the resource group., crossConnectionName: any # The name of the ExpressRouteCrossConnection., peeringName: any # The name of the peering., devicePath: any # The path of the device.}\n@returns(200) Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTable resource.\n@returns(202) Accepted and the operation will complete asynchronously.\n\n@end\n"}}