{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-monitor-alertrules-api","description":"MonitorManagementClient","version":"2016-03-01","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 MonitorManagementClient\n@base https://management.azure.com\n@version 2016-03-01\n@auth OAuth2\n@endpoints 6\n@toc subscriptions(6)\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/alertrules/{ruleName}\n@desc Creates or updates a classic metric alert 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 alert rule\n@returns(201) Created alert rule\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/alertrules/{ruleName}\n@desc Deletes a classic metric alert rule\n@required {ruleName: any # The name of the rule.}\n@returns(200) Successful request to delete an alert rule\n@returns(204) No content: the request was successful, but the response is empty\n\n@endpoint GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/alertrules/{ruleName}\n@desc Gets a classic metric alert rule\n@required {ruleName: any # The name of the rule.}\n@returns(200) Successful request to get an alert rule\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/alertrules/{ruleName}\n@desc Updates an existing classic metric AlertRuleResource. To update other fields use the CreateOrUpdate method.\n@required {ruleName: any # The name of the rule., alertRulesResource: any # Parameters supplied to the operation.}\n@returns(200) Successful request to update an alert rule\n@returns(201) Successful request to update an alert rule that resulted in a creation of the alert rule\n\n@endpoint GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/alertrules\n@desc List the classic metric alert rules within a resource group.\n@returns(200) Successful request for a list of alert rules\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Insights/alertrules\n@desc List the classic metric alert rules within a subscription.\n@returns(200) Successful request for a list of alert rules\n\n@end\n"}