@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Application Insights Data Plane
@base https://management.azure.com
@version 2018-04-20
@auth OAuth2
@common_fields {subscriptionId: any, resourceGroupName: any, applicationName: any, apiVersion: any}
@endpoints 9
@toc subscriptions(9)

@endpoint POST /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/query
@required {body: map}
@returns(200)

@endpoint GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/query
@required {query: any}
@optional {timespan: any}
@returns(200)

@endpoint POST /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/metadata
@returns(200)

@endpoint GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/metadata
@returns(200)

@endpoint GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/metrics/{metricId}
@required {metricId: any}
@optional {timespan: any, interval: any, aggregation: any, segment: any, top: any, orderby: any, filter: any}
@returns(200)

@endpoint GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/metrics/metadata
@returns(200)

@endpoint GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/events/{eventType}
@required {eventType: any}
@optional {timespan: any, $filter: any, $search: any, $orderby: any, $select: any, $skip: any, $top: any, $format: any, $count: any, $apply: any}
@returns(200)

@endpoint GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/events/{eventType}/{eventId}
@required {eventType: any, eventId: any}
@optional {timespan: any}
@returns(200)

@endpoint GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/events/$metadata
@returns(200)

@end
