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

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations
@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.
@returns(200) Request successful. The operation returns the list of all ExpressRoutePort peering locations.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}
@desc Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.
@required {locationName: any # Name of the requested ExpressRoutePort peering location.}
@returns(200) Request successful. The operation returns the requested ExpressRoutePort peering location.

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}
@desc Deletes the specified ExpressRoutePort resource.
@required {resourceGroupName: any # The name of the resource group., expressRoutePortName: any # The name of the ExpressRoutePort resource.}
@returns(200) Delete successful.
@returns(202) Accepted and the operation will complete asynchronously.
@returns(204) Request successful. Resource does not exist.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}
@desc Retrieves the requested ExpressRoutePort resource.
@required {resourceGroupName: any # The name of the resource group., expressRoutePortName: any # The name of ExpressRoutePort.}
@returns(200) Request successful. The operation returns the requested ExpressRoutePort resource.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}
@desc Creates or updates the specified ExpressRoutePort resource.
@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.}
@returns(200) Update successful. The operation returns the resulting ExpressRoutePort resource.
@returns(201) Create successful. The operation returns the resulting ExpressRoutePort resource.

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}
@desc Update ExpressRoutePort tags.
@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.}
@returns(200) Update successful. The operation returns the resulting ExpressRoutePort resource.

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

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts
@desc List all the ExpressRoutePort resources in the specified subscription.
@returns(200) Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}
@desc Retrieves the specified ExpressRouteLink resource.
@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.}
@returns(200) Request successful. The operation returns the requested ExpressRouteLink resource.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links
@desc Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource.
@required {resourceGroupName: any # The name of the resource group., expressRoutePortName: any # The name of the ExpressRoutePort resource.}
@returns(200) Request successful. The operation returns a list of ExpressRouteLink resources. If there are no ExpressRouteLink resources then an empty list is returned.

@end
