@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api ApiManagementClient
@base https://management.azure.com
@version 2019-12-01-preview
@auth OAuth2
@common_fields {$filter: any # The filter to apply on the operation.}
@endpoints 8
@toc subscriptions(8)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byApi
@desc Lists report records by API.
@optional {$orderby: any # OData order by query option.}
@returns(200) Lists a collection of Report record.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byUser
@desc Lists report records by User.
@optional {$orderby: any # OData order by query option.}
@returns(200) Lists a collection of Report record.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byOperation
@desc Lists report records by API Operations.
@optional {$orderby: any # OData order by query option.}
@returns(200) Lists a collection of Report record.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byProduct
@desc Lists report records by Product.
@optional {$orderby: any # OData order by query option.}
@returns(200) Lists a collection of Report record.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byGeo
@desc Lists report records by geography.
@returns(200) Lists a collection of Report record.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/bySubscription
@desc Lists report records by subscription.
@optional {$orderby: any # OData order by query option.}
@returns(200) Lists a collection of Report record.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byTime
@desc Lists report records by Time.
@required {interval: any # By time interval. Interval must be multiple of 15 minutes and may not be zero. The value should be in ISO  8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to convert TimeSpan to a valid interval string: XmlConvert.ToString(new TimeSpan(hours, minutes, seconds)).}
@optional {$orderby: any # OData order by query option.}
@returns(200) Lists a collection of Report record.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byRequest
@desc Lists report records by Request.
@returns(200) Lists a collection of Report record.

@end
