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

@endpoint GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/query
@desc Execute an Analytics query
@required {subscriptionId: any # Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # The name of the resource group to get. The name is case insensitive., workspaceName: any # Name of the Log Analytics workspace., query: any # The Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/), apiVersion: any # Client API version.}
@optional {timespan: any # Optional. The timespan over which to query data. This is an ISO8601 time period value.  This timespan is applied in addition to any that are specified in the query expression.}
@returns(200) OK. The API call succeeded and the Analytics query result is in the response payload

@endpoint POST /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/query
@desc Execute an Analytics query
@required {subscriptionId: any # Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # The name of the resource group to get. The name is case insensitive., workspaceName: any # Name of the Log Analytics workspace., body: map # The Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/), apiVersion: any # Client API version.}
@returns(200) OK. The API call succeeded and the Analytics query result is in the response payload

@endpoint GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/metadata
@desc Gets metadata information
@required {subscriptionId: any # Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # The name of the resource group to get. The name is case insensitive., workspaceName: any # Name of the Log Analytics workspace., apiVersion: any # Client API version.}
@returns(200) OK. The API call succeeded and the metadata result is in the response payload

@endpoint POST /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/metadata
@desc Gets metadata information
@required {subscriptionId: any # Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # The name of the resource group to get. The name is case insensitive., workspaceName: any # Name of the Log Analytics workspace., apiVersion: any # Client API version.}
@returns(200) OK. The API call succeeded and the metadata result is in the response payload

@end
