{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-operationalinsights-swagger","description":"Azure Log Analytics","version":"2017-10-01","base_url":"https://management.azure.com","endpoints":4,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Azure Log Analytics\n@base https://management.azure.com\n@version 2017-10-01\n@auth OAuth2\n@endpoints 4\n@toc subscriptions(4)\n\n@endpoint GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/query\n@desc Execute an Analytics query\n@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.}\n@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.}\n@returns(200) OK. The API call succeeded and the Analytics query result is in the response payload\n\n@endpoint POST /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/query\n@desc Execute an Analytics query\n@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.}\n@returns(200) OK. The API call succeeded and the Analytics query result is in the response payload\n\n@endpoint GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/metadata\n@desc Gets metadata information\n@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.}\n@returns(200) OK. The API call succeeded and the metadata result is in the response payload\n\n@endpoint POST /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/metadata\n@desc Gets metadata information\n@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.}\n@returns(200) OK. The API call succeeded and the metadata result is in the response payload\n\n@end\n"}