Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Creates the "real" API for Scheduled Alert Rules (#5084)
* Creating first and basic swagger for new RP of ASI (Azure Security Insight). This RP is an extension RP of "Microsoft.operationalinsights", and it is coupled to a Log analytics workspace. This is a first iteration in order to create a simple RP with single endpoint, after it wil work the API will be changed with the actual and full endpoints based on the learnings from this POC. * updating the operationalInsightsResourceProvider to be a global parameter and reuse it in the PUT same as in the GET * Fixing comments from PR * Fixing the Microsoft.OperationalInsight to the right form * Updating the location to be under- "resource-manager" * adding readme files for the swagger * Changing the path of the files to the correct path * Change the location of the readme files * Fixing inconsistency in the naming- changing everything to SecurityInsights * Missed the file when aligned the name to SecurityInsights * Fixing a redundant space in the examples * add alertRule to the CreateAlertRule.json and do some indentation fixes * Creates the "real" API for Scheduled Alert Rules * Update the name alertRule to alertScheduledtRule in the creation example * Fixing comments from PR- * Changing durations to fit standards * Changing operators to fit other RPs * Align naming to scheduledAlertRules * Adding 200 response to DeleteScheduledAlertRule * Changing naming- alertTriggerOperator => triggerOperator alertTriggerThreshold => triggerThreshold * Adding kind to AlertRule and making Scheduled as a specific kind * Fix some errors * Trying to solve the model validator issues * Fixing indentation
- Loading branch information