@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api ExpressRouteCrossConnection REST APIs
@base https://management.azure.com
@version 2019-08-01
@auth OAuth2
@endpoints 12
@toc subscriptions(12)

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections
@desc Retrieves all the ExpressRouteCrossConnections in a subscription.
@returns(200) Request successful. The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections
@desc Retrieves all the ExpressRouteCrossConnections in a resource group.
@required {resourceGroupName: any # The name of the resource group.}
@returns(200) Request successful.The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}
@desc Gets details about the specified ExpressRouteCrossConnection.
@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).}
@returns(200) Request successful. The operation returns the resulting ExpressRouteCrossConnection resource.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}
@desc Update the specified ExpressRouteCrossConnection.
@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.}
@returns(200) Update successful. The operation returns the resulting ExpressRouteCrossConnection resource.

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}
@desc Updates an express route cross connection tags.
@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.}
@returns(200) Update successful. The operation returns the resulting ExpressRouteCrossConnection resource.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings
@desc Gets all peerings in a specified ExpressRouteCrossConnection.
@required {resourceGroupName: any # The name of the resource group., crossConnectionName: any # The name of the ExpressRouteCrossConnection.}
@returns(200) Request successful. The operation returns a list of ExpressRouteCrossConnectionPeering resources.

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}
@desc Deletes the specified peering from the ExpressRouteCrossConnection.
@required {resourceGroupName: any # The name of the resource group., crossConnectionName: any # The name of the ExpressRouteCrossConnection., peeringName: any # The name of the peering.}
@returns(200) Delete successful.
@returns(202) Accepted and the operation will complete asynchronously.
@returns(204) Delete successful.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}
@desc Gets the specified peering for the ExpressRouteCrossConnection.
@required {resourceGroupName: any # The name of the resource group., crossConnectionName: any # The name of the ExpressRouteCrossConnection., peeringName: any # The name of the peering.}
@returns(200) Request successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}
@desc Creates or updates a peering in the specified ExpressRouteCrossConnection.
@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.}
@returns(200) Update successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource.
@returns(201) Create successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource.

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}
@desc Gets the currently advertised ARP table associated with the express route cross connection in a resource group.
@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.}
@returns(200) Request successful. The operation returns the resulting ExpressRouteCrossConnectionsArpTable resource.
@returns(202) Accepted and the operation will complete asynchronously.

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}
@desc Gets the route table summary associated with the express route cross connection in a resource group.
@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.}
@returns(200) Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTableSummary resource.
@returns(202) Accepted and the operation will complete asynchronously.

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}
@desc Gets the currently advertised routes table associated with the express route cross connection in a resource group.
@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.}
@returns(200) Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTable resource.
@returns(202) Accepted and the operation will complete asynchronously.

@end
