@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Azure Alerts Management Service Resource Provider
@base https://management.azure.com
@version 2019-06-01
@auth OAuth2
@common_fields {subscriptionId: any, api-version: any}
@endpoints 6
@toc subscriptions(6)

@endpoint GET /subscriptions/{subscriptionId}/providers/microsoft.alertsManagement/smartDetectorAlertRules
@optional {expandDetector: any}
@returns(200)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules
@required {resourceGroupName: any}
@optional {expandDetector: any}
@returns(200)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}
@required {resourceGroupName: any, alertRuleName: any}
@optional {expandDetector: any}
@returns(200)

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}
@required {resourceGroupName: any, alertRuleName: any, parameters: any}
@returns(200)
@returns(201)

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}
@required {resourceGroupName: any, alertRuleName: any, parameters: any}
@returns(200)

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}
@required {resourceGroupName: any, alertRuleName: any}
@returns(200)
@returns(204)

@end
