Skip to content

Commit

Permalink
Creates the "real" API for Scheduled Alert Rules (Azure#5084)
Browse files Browse the repository at this point in the history
* 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
nirgfani authored and sergey-shandar committed Jan 30, 2019
1 parent 2072ba5 commit d847550
Show file tree
Hide file tree
Showing 7 changed files with 733 additions and 399 deletions.
Loading

0 comments on commit d847550

Please sign in to comment.