{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-monitor-metricalert-api","description":"MonitorManagementClient","version":"2018-03-01","base_url":"https://management.azure.com","endpoints":8,"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 2018-03-01\n@auth OAuth2\n@endpoints 8\n@toc subscriptions(8)\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Insights/metricAlerts\n@desc Retrieve alert rule definitions in a subscription.\n@returns(200) Successful request for a list of metric alerts\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts\n@desc Retrieve alert rule definitions in a resource group.\n@returns(200) Successful request for a list of metric alerts\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}\n@desc Retrieve an alert rule definition.\n@required {ruleName: any # The name of the rule.}\n@returns(200) Successful request for a list of metric alerts\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}\n@desc Create or update an metric alert definition.\n@required {ruleName: any # The name of the rule., parameters: map # The parameters of the rule to create or update.}\n@returns(200) OK\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}\n@desc Update an metric alert definition.\n@required {ruleName: any # The name of the rule., parameters: any # The parameters of the rule to update.}\n@returns(200) OK\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}\n@desc Delete an alert rule definition.\n@required {ruleName: any # The name of the rule.}\n@returns(200) Successful request to delete an metric 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/metricAlerts/{ruleName}/status\n@desc Retrieve an alert rule status.\n@required {ruleName: any # The name of the rule.}\n@returns(200) Successful request for a list of metric alerts\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}/status/{statusName}\n@desc Retrieve an alert rule status.\n@required {ruleName: any # The name of the rule., statusName: any # The name of the status.}\n@returns(200) Successful request for a list of metric alerts\n\n@end\n"}