{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-monitor-scheduledqueryrule-api","description":"Microsoft Insights API","version":"2018-04-16","base_url":"https://management.azure.com","endpoints":6,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Microsoft Insights API\n@base https://management.azure.com\n@version 2018-04-16\n@auth OAuth2\n@endpoints 6\n@toc subscriptions(6)\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}\n@desc Creates or updates an log search rule.\n@required {ruleName: any # The name of the rule., parameters: map # The parameters of the rule to create or update.}\n@returns(200) Successful request to update an Log Search rule\n@returns(201) Created alert rule\n\n@endpoint GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}\n@desc Gets an Log Search rule\n@required {ruleName: any # The name of the rule.}\n@returns(200) Successful request to get a Log Search rule\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}\n@desc Update log search Rule.\n@required {ruleName: any # The name of the rule., parameters: map # The parameters of the rule to update.}\n@returns(200) Successful request to update an Log Search rule\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}\n@desc Deletes a Log Search rule\n@required {ruleName: any # The name of the rule.}\n@returns(200) Successful request to delete a  Log Search rule\n@returns(204) No Content. Resource not found\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Insights/scheduledQueryRules\n@desc List the Log Search rules within a subscription group.\n@optional {$filter: any # The filter to apply on the operation. For more information please see https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx}\n@returns(200) Successful request for a list of alert rules\n\n@endpoint GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules\n@desc List the Log Search rules within a resource group.\n@optional {$filter: any # The filter to apply on the operation. For more information please see https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx}\n@returns(200) Successful request for a list of alert rules\n\n@end\n"}