code: public ExpressRouteConnectionListInner list(String resourceGroupName, String expressRouteGatewayName) {
          return listWithServiceResponseAsync(resourceGroupName, expressRouteGatewayName).toBlocking().single().body();
      }
docs: Lists ExpressRouteConnections.
  
  @param resourceGroupName The name of the resource group.
  @param expressRouteGatewayName The name of the ExpressRoute gateway.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the ExpressRouteConnectionListInner object if successful.