{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-alertsmanagement-smartdetectoralertrulesapi","description":"Azure Alerts Management Service Resource Provider","version":"2019-06-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 Azure Alerts Management Service Resource Provider\n@base https://management.azure.com\n@version 2019-06-01\n@auth OAuth2\n@common_fields {subscriptionId: any # The ID of the target subscription., api-version: any # Client Api Version.}\n@endpoints 6\n@toc subscriptions(6)\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/microsoft.alertsManagement/smartDetectorAlertRules\n@desc List all the existing Smart Detector alert rules within the subscription.\n@optional {expandDetector: any # Indicates if Smart Detector should be expanded.}\n@returns(200) Successful request to list Smart Detector alert rules.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules\n@desc List all the existing Smart Detector alert rules within the subscription and resource group.\n@required {resourceGroupName: any # The name of the resource group.}\n@optional {expandDetector: any # Indicates if Smart Detector should be expanded.}\n@returns(200) Successful request to list Smart Detector alert rules.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}\n@desc Get a specific Smart Detector alert rule.\n@required {resourceGroupName: any # The name of the resource group., alertRuleName: any # The name of the alert rule.}\n@optional {expandDetector: any # Indicates if Smart Detector should be expanded.}\n@returns(200) Successful request to get Smart Detector alert rule.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}\n@desc Create or update a Smart Detector alert rule.\n@required {resourceGroupName: any # The name of the resource group., alertRuleName: any # The name of the alert rule., parameters: any # Parameters supplied to the operation.}\n@returns(200) Successful request to update a Smart Detector alert rule.\n@returns(201) Successful request to create a Smart Detector alert rule.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}\n@desc Patch a specific Smart Detector alert rule.\n@required {resourceGroupName: any # The name of the resource group., alertRuleName: any # The name of the alert rule., parameters: any # Parameters supplied to the operation.}\n@returns(200) Successful request to patch Smart Detector alert rule.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}\n@desc Delete an existing Smart Detector alert rule.\n@required {resourceGroupName: any # The name of the resource group., alertRuleName: any # The name of the alert rule.}\n@returns(200) Successful request to delete a Smart Detector alert rule.\n@returns(204) The Smart Detector alert rule does not exist. It may have already been deleted.\n\n@end\n"}