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

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}
@desc Deletes the specified route table.
@required {resourceGroupName: any # The name of the resource group., routeTableName: any # The name of the route table.}
@returns(200) Request successful. Operation to delete was accepted.
@returns(202) Accepted. If route table not found returned synchronously, otherwise if found returned asynchronously.
@returns(204) Request successful. Resource does not exist.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}
@desc Gets the specified route table.
@required {resourceGroupName: any # The name of the resource group., routeTableName: any # The name of the route table.}
@optional {$expand: any # Expands referenced resources.}
@returns(200) Request successful. The operation returns the resulting RouteTable resource.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}
@desc Create or updates a route table in a specified resource group.
@required {resourceGroupName: any # The name of the resource group., routeTableName: any # The name of the route table., parameters: any # Parameters supplied to the create or update route table operation.}
@returns(200) Request successful. The operation returns the resulting RouteTable resource.
@returns(201) Create successful. The operation returns the resulting RouteTable resource.

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}
@desc Updates a route table tags.
@required {resourceGroupName: any # The name of the resource group., routeTableName: any # The name of the route table., parameters: any # Parameters supplied to update route table tags.}
@returns(200) Request successful. The operation returns the resulting RouteTable resource.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables
@desc Gets all route tables in a resource group.
@required {resourceGroupName: any # The name of the resource group.}
@returns(200) Request successful. The operation returns a list of RouteTable resources.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/routeTables
@desc Gets all route tables in a subscription.
@returns(200) Request successful. The operation returns a list of RouteTable resources.

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}
@desc Deletes the specified route from a route table.
@required {resourceGroupName: any # The name of the resource group., routeTableName: any # The name of the route table., routeName: any # The name of the route.}
@returns(200) Accepted.
@returns(202) Accepted and the operation will complete asynchronously.
@returns(204) Route was deleted or not found.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}
@desc Gets the specified route from a route table.
@required {resourceGroupName: any # The name of the resource group., routeTableName: any # The name of the route table., routeName: any # The name of the route.}
@returns(200) Request successful. The operation returns the resulting Route resource.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}
@desc Creates or updates a route in the specified route table.
@required {resourceGroupName: any # The name of the resource group., routeTableName: any # The name of the route table., routeName: any # The name of the route., routeParameters: any # Parameters supplied to the create or update route operation.}
@returns(200) Update successful. The operation returns the resulting Route resource.
@returns(201) Create successful. The operation returns the resulting Route resource.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes
@desc Gets all routes in a route table.
@required {resourceGroupName: any # The name of the resource group., routeTableName: any # The name of the route table.}
@returns(200) Request successful. The operation returns a list of Route resources.

@end
