-
Notifications
You must be signed in to change notification settings - Fork 5.6k
[Hub Generated] Review request for Microsoft.Insights to add version stable/2018-03-01 #7920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
raych1
merged 16 commits into
Azure:master
from
adibiton:dev-monitor-Microsoft.Insights-2018-03-01
Mar 3, 2020
Merged
Changes from 4 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
6a14a68
fix(metricAlert_API): add missing properties to web test metric alert
58e36b6
docs(metricAlert_API): change properties description
256b365
fix(metricAlert_API): remove templateType from webtest metric alert r…
bc5ba59
fix(metricAlert_API): change subscription description
d25f7b9
fix(metricAlert_API): prettier checks
f7bfe45
fix(): lint warnings
adibiton aa95932
fix(): lint warnings
adibiton 1f50a39
Merge branch 'dev-monitor-Microsoft.Insights-2018-03-01' of https://g…
adibiton 9037bb2
fix(): run prettier
adibiton c7de3c4
Merge branch 'master' into dev-monitor-Microsoft.Insights-2018-03-01
8d8dc24
fix(metricAlert_API): add 'None' option to AggregationType enum in or…
4ccae74
fix(metricAlert_API): align AggregationType enum with metricDefinitions
b4cb31d
fix(): revert changes to un-brack ARM api
2cfefc1
fix(): change webTestId description
f0a5335
fix(): add none to timeAggregation enum for compatbility
beaa774
fix(): remove type: string and none value from timeAggregation enum
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
66 changes: 66 additions & 0 deletions
66
...nager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateWebTestMetricAlert.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "12345678-1234-1234-1234-123456789101", | ||
| "resourceGroupName": "rg-example", | ||
| "ruleName": "webtest-name-example", | ||
| "api-version": "2018-03-01", | ||
| "parameters": { | ||
| "location": "global", | ||
| "tags": { | ||
| "hidden-link:/subscriptions/12345678-1234-1234-1234-123456789101/resourcegroups/rg-example/providers/microsoft.insights/components/webtest-name-example": "Resource", | ||
| "hidden-link:/subscriptions/12345678-1234-1234-1234-123456789101/resourcegroups/rg-example/providers/microsoft.insights/webtests/component-example": "Resource" | ||
| }, | ||
| "properties": { | ||
| "description": "Automatically created alert rule for availability test \"component-example\" a", | ||
| "enabled": true, | ||
| "severity": 4, | ||
| "windowSize": "PT15M", | ||
| "evaluationFrequency": "PT1M", | ||
| "criteria": { | ||
| "failedLocationCount": 2, | ||
| "webTestId": "/subscriptions/12345678-1234-1234-1234-123456789101/resourcegroups/rg-example/providers/microsoft.insights/webtests/component-example", | ||
| "componentId": "/subscriptions/12345678-1234-1234-1234-123456789101/resourcegroups/rg-example/providers/microsoft.insights/components/webtest-name-example", | ||
| "odata.type": "Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria" | ||
| }, | ||
| "actions": [], | ||
| "scopes": [ | ||
| "/subscriptions/12345678-1234-1234-1234-123456789101/resourcegroups/rg-example/providers/microsoft.insights/webtests/component-example", | ||
| "/subscriptions/12345678-1234-1234-1234-123456789101/resourcegroups/rg-example/providers/microsoft.insights/components/webtest-name-example" | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "headers": {}, | ||
| "body": { | ||
| "location": "global", | ||
| "type": "Microsoft.Insights/metricAlerts", | ||
| "name": "webtest-name-example", | ||
| "id": "/subscriptions/12345678-1234-1234-1234-123456789101/resourcegroups/rg-example/providers/microsoft.insights/metricalerts/webtest-name-example", | ||
| "tags": { | ||
| "hidden-link:/subscriptions/12345678-1234-1234-1234-123456789101/resourcegroups/rg-example/providers/microsoft.insights/components/component-example": "Resource", | ||
| "hidden-link:/subscriptions/12345678-1234-1234-1234-123456789101/resourcegroups/rg-example/providers/microsoft.insights/webtests/webtest-name-example": "Resource" | ||
| }, | ||
| "properties": { | ||
| "description": "Automatically created alert rule for availability test \"webtest-name-example\" a", | ||
| "severity": 4, | ||
| "enabled": true, | ||
| "scopes": [ | ||
| "/subscriptions/12345678-1234-1234-1234-123456789101/resourcegroups/rg-example/providers/microsoft.insights/webtests/webtest-name-example", | ||
| "/subscriptions/12345678-1234-1234-1234-123456789101/resourcegroups/rg-example/providers/microsoft.insights/components/component-example" | ||
| ], | ||
| "evaluationFrequency": "PT1M", | ||
| "windowSize": "PT15M", | ||
| "criteria": { | ||
| "webTestId": "/subscriptions/12345678-1234-1234-1234-123456789101/resourcegroups/rg-example/providers/microsoft.insights/webtests/webtest-name-example", | ||
| "componentId": "/subscriptions/12345678-1234-1234-1234-123456789101/resourcegroups/rg-example/providers/microsoft.insights/components/component-example", | ||
| "failedLocationCount": 2, | ||
| "odata.type": "Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria" | ||
| }, | ||
| "actions": [] | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
41 changes: 41 additions & 0 deletions
41
...resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getWebTestMetricAlert.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "12345678-1234-1234-1234-123456789101", | ||
| "resourceGroupName": "rg-example", | ||
| "ruleName": "webtest-name-example", | ||
| "api-version": "2018-03-01" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "headers": {}, | ||
| "body": { | ||
| "location": "global", | ||
| "type": "Microsoft.Insights/metricAlerts", | ||
| "name": "webtest-name-example", | ||
| "id": "/subscriptions/12345678-1234-1234-1234-123456789101/resourcegroups/rg-example/providers/microsoft.insights/metricalerts/webtest-name-example", | ||
| "tags": { | ||
| "hidden-link:/subscriptions/12345678-1234-1234-1234-123456789101/resourcegroups/rg-example/providers/microsoft.insights/components/component-example": "Resource", | ||
| "hidden-link:/subscriptions/12345678-1234-1234-1234-123456789101/resourcegroups/rg-example/providers/microsoft.insights/webtests/webtest-name-example": "Resource" | ||
| }, | ||
| "properties": { | ||
| "description": "Automatically created alert rule for availability test \"webtest-name-example\"", | ||
| "severity": 4, | ||
| "enabled": true, | ||
| "scopes": [ | ||
| "/subscriptions/12345678-1234-1234-1234-123456789101/resourcegroups/rg-example/providers/microsoft.insights/webtests/webtest-name-example", | ||
| "/subscriptions/12345678-1234-1234-1234-123456789101/resourcegroups/rg-example/providers/microsoft.insights/components/component-example" | ||
| ], | ||
| "evaluationFrequency": "PT1M", | ||
| "windowSize": "PT15M", | ||
| "criteria": { | ||
| "webTestId": "/subscriptions/12345678-1234-1234-1234-123456789101/resourcegroups/rg-example/providers/microsoft.insights/webtests/webtest-name-example", | ||
| "componentId": "/subscriptions/12345678-1234-1234-1234-123456789101/resourcegroups/rg-example/providers/microsoft.insights/components/component-example", | ||
| "failedLocationCount": 2, | ||
| "odata.type": "Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria" | ||
| }, | ||
| "actions": [] | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.