-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.AlertsManagement to add …
…version stable/2019-03-01 (#5944) * Adds base for updating Microsoft.AlertsManagement from version preview/2019-03-01-preview to version 2019-03-01 * Updates readme * Updates API version in new specs and examples * Updating description * Fix SDKbuild Issue
- Loading branch information
1 parent
1259b16
commit b672d01
Showing
11 changed files
with
2,186 additions
and
2 deletions.
There are no files selected for viewing
1,546 changes: 1,546 additions & 0 deletions
1,546
...ement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/AlertsManagement.json
Large diffs are not rendered by default.
Oops, something went wrong.
43 changes: 43 additions & 0 deletions
43
...rce-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/Alerts_ChangeState.json
This file contains 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,43 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-03-01", | ||
"scope": "subscriptions/3b540246-808d-4331-99aa-917b808a9166/resourcegroups/servicedeskresourcegroup/providers/microsoft.insights/components/servicedeskappinsight", | ||
"alertId": "66114d64-d9d9-478b-95c9-b789d6502100", | ||
"newState": "Acknowledged", | ||
"body": { | ||
"comments": "Acknowledging alert" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"essentials": { | ||
"severity": "Sev3", | ||
"signalType": "Log", | ||
"alertState": "Acknowledged", | ||
"monitorCondition": "Fired", | ||
"monitorService": "Application Insights", | ||
"targetResource": "/subscriptions/3b540246-808d-4331-99aa-917b808a9166/resourcegroups/servicedeskresourcegroup/providers/microsoft.insights/components/servicedeskappinsight", | ||
"targetResourceName": "servicedeskappinsight", | ||
"targetResourceGroup": "servicedeskresourcegroup", | ||
"targetResourceType": "components", | ||
"sourceCreatedId": "6cd6b2ce-8c54-468f-aff0-9d12aebb7e49", | ||
"smartGroupId": "23d6b2ce-8c54-468f-aff0-sd32aebb7e56", | ||
"smartGroupingReason": "Occurred frequently with other alerts", | ||
"alertRule": "https://servisdfsdfappinsight.portal.mms.microsoft.com/#Workspace/overview/settings/details/Edit Alert Rule/details/index?savedSearchId=&scheduleId=", | ||
"startDateTime": "2018-09-13T15:51:02Z", | ||
"lastModifiedDateTime": "2018-09-13T15:51:02Z", | ||
"lastModifiedUserName": "System", | ||
"monitorConditionResolvedDateTime": "2018-09-13T15:51:02Z" | ||
}, | ||
"egressConfig": {}, | ||
"context": {} | ||
}, | ||
"id": "/subscriptions/3b540246-808d-4331-99aa-917b808a9166/resourcegroups/servicedeskresourcegroup/providers/microsoft.insights/components/servicedeskappinsight/providers/Microsoft.AlertsManagement/alerts/66114d64-d9d9-478b-95c9-b789d6502100", | ||
"type": "Microsoft.AlertsManagement/alerts", | ||
"name": "cpu alert" | ||
} | ||
} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...esource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/Alerts_GetById.json
This file contains 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,39 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-03-01", | ||
"scope": "subscriptions/3b540246-808d-4331-99aa-917b808a9166/resourcegroups/servicedeskresourcegroup/providers/microsoft.insights/components/servicedeskappinsight", | ||
"alertId": "66114d64-d9d9-478b-95c9-b789d6502100" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"essentials": { | ||
"severity": "Sev3", | ||
"signalType": "Log", | ||
"alertState": "Acknowledged", | ||
"monitorCondition": "Fired", | ||
"monitorService": "Application Insights", | ||
"targetResource": "/subscriptions/3b540246-808d-4331-99aa-917b808a9166/resourcegroups/servicedeskresourcegroup/providers/microsoft.insights/components/servicedeskappinsight", | ||
"targetResourceName": "servicedeskappinsight", | ||
"targetResourceGroup": "servicedeskresourcegroup", | ||
"targetResourceType": "components", | ||
"sourceCreatedId": "6cd6b2ce-8c54-468f-aff0-9d12aebb7e49", | ||
"smartGroupId": "23d6b2ce-8c54-468f-aff0-sd32aebb7e56", | ||
"smartGroupingReason": "Occurred frequently with other alerts", | ||
"alertRule": "https://sersdfsdfinsight.portal.mms.microsoft.com/#Workspace/overview/settings/details/Edit Alert Rule/details/index?savedSearchId=&scheduleId=", | ||
"startDateTime": "2018-09-13T15:51:02Z", | ||
"lastModifiedDateTime": "2018-09-13T15:51:02Z", | ||
"lastModifiedUserName": "System", | ||
"monitorConditionResolvedDateTime": "2018-09-13T15:51:02Z" | ||
}, | ||
"egressConfig": {}, | ||
"context": {} | ||
}, | ||
"id": "/subscriptions/3b540246-808d-4331-99aa-917b808a9166/resourcegroups/servicedeskresourcegroup/providers/microsoft.insights/components/servicedeskappinsight/providers/Microsoft.AlertsManagement/alerts/66114d64-d9d9-478b-95c9-b789d6502100", | ||
"type": "Microsoft.AlertsManagement/alerts", | ||
"name": "cpu alert" | ||
} | ||
} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...esource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/Alerts_History.json
This file contains 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,39 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-03-01", | ||
"scope": "subscriptions/9e261de7-c804-4b9d-9ebf-6f50fe350a9a", | ||
"alertId": "66114d64-d9d9-478b-95c9-b789d6502100" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"alertId": "66114d64-d9d9-478b-95c9-b789d6502100", | ||
"modifications": [ | ||
{ | ||
"modificationEvent": "StateChange", | ||
"oldValue": "New", | ||
"newValue": "Acknowledged", | ||
"modifiedAt": "2018-06-13T06:14:15.7378737Z", | ||
"modifiedBy": "vikramm@microsoft.com", | ||
"comments": "Acknowledging alert", | ||
"description": "State changed from 'New' to 'Acknowledged'" | ||
}, | ||
{ | ||
"modificationEvent": "AlertCreated", | ||
"oldValue": "", | ||
"newValue": "", | ||
"modifiedAt": "2018-06-13T06:09:01Z", | ||
"modifiedBy": "System", | ||
"comments": "", | ||
"description": "New Alert Object is created" | ||
} | ||
] | ||
}, | ||
"id": "/subscriptions/9e261de7-c804-4b9d-9ebf-6f50fe350a9a/providers/Microsoft.AlertsManagement/alerts/66114d64-d9d9-478b-95c9-b789d6502100/history/default", | ||
"type": "Microsoft.AlertsManagement/alerts", | ||
"name": "CPU Alert" | ||
} | ||
} | ||
} | ||
} |
71 changes: 71 additions & 0 deletions
71
...t/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/Alerts_List.json
This file contains 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,71 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-03-01", | ||
"scope": "subscriptions/3b540246-808d-4331-99aa-917b808a9166" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nextLink": "https://management.azure.com:443/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/providers/Microsoft.AlertsManagement/alerts?api-version=2018-05-05-preview&timeRange=1d&ctoken=%2bRID%3aPlwOAPHEGwB9UwEAAAAgCw%3d%3d%23RT%3a2%23TRC%3a500%23RTD%3aqtQyMDE4LTA2LTEyVDE1OjEyOjE1", | ||
"value": [ | ||
{ | ||
"properties": { | ||
"essentials": { | ||
"severity": "Sev3", | ||
"signalType": "Log", | ||
"alertState": "Acknowledged", | ||
"monitorCondition": "Fired", | ||
"monitorService": "Application Insights", | ||
"targetResource": "/subscriptions/3b540246-808d-4331-99aa-917b808a9166/resourcegroups/servicedeskresourcegroup/providers/microsoft.insights/components/servicedeskappinsight", | ||
"targetResourceName": "servicedeskappinsight", | ||
"targetResourceGroup": "servicedeskresourcegroup", | ||
"targetResourceType": "components", | ||
"sourceCreatedId": "6cd6b2ce-8c54-468f-aff0-9d12aebb7e49", | ||
"smartGroupId": "23d6b2ce-8c54-468f-aff0-sd32aebb7e56", | ||
"smartGroupingReason": "Occurred frequently with other alerts", | ||
"alertRule": "https://servisdffsdf.portal.mms.microsoft.com/#Workspace/overview/settings/details/Edit Alert Rule/details/index?savedSearchId=&scheduleId=", | ||
"startDateTime": "2018-09-13T15:51:02Z", | ||
"lastModifiedDateTime": "2018-09-13T15:51:02Z", | ||
"lastModifiedUserName": "System", | ||
"monitorConditionResolvedDateTime": "2018-09-13T15:51:02Z" | ||
}, | ||
"egressConfig": {}, | ||
"context": {} | ||
}, | ||
"id": "/subscriptions/3b540246-808d-4331-99aa-917b808a9166/resourcegroups/servicedeskresourcegroup/providers/microsoft.insights/components/servicedeskappinsight/providers/Microsoft.AlertsManagement/alerts/66114d64-d9d9-478b-95c9-b789d6502100", | ||
"type": "Microsoft.AlertsManagement/alerts", | ||
"name": "cpu alert" | ||
}, | ||
{ | ||
"properties": { | ||
"essentials": { | ||
"severity": "Sev3", | ||
"signalType": "Log", | ||
"alertState": "New", | ||
"monitorCondition": "Fired", | ||
"monitorService": "Application Insights", | ||
"targetResource": "/subscriptions/3b540246-808d-4331-99aa-917b808a9166/resourcegroups/cind/providers/microsoft.operationalinsights/workspaces/servicedeskwcus", | ||
"targetResourceName": "servicedeskwcus", | ||
"targetResourceGroup": "servicedeskresourcegroup", | ||
"targetResourceType": "components", | ||
"sourceCreatedId": "6cd6b2ce-8c54-468f-aff0-9d12aebb7e49", | ||
"smartGroupId": "d1c49c89-ea95-4697-a299-c0f5ebac62f1", | ||
"smartGroupingReason": "Alerts that frequently occur together have been grouped.", | ||
"alertRule": "https://servicsdfsdf.portal.mms.microsoft.com/#Workspace/overview/settings/details/Edit Alert Rule/details/index?savedSearchId=&scheduleId=", | ||
"startDateTime": "2018-09-13T15:51:02Z", | ||
"lastModifiedDateTime": "2018-09-13T15:51:02Z", | ||
"lastModifiedUserName": "System", | ||
"monitorConditionResolvedDateTime": "2018-09-13T15:51:02Z" | ||
}, | ||
"egressConfig": {}, | ||
"context": {} | ||
}, | ||
"id": "/subscriptions/3b540246-808d-4331-99aa-917b808a9166/resourcegroups/cind/providers/microsoft.operationalinsights/workspaces/servicedeskwcus/providers/Microsoft.AlertsManagement/alerts/66114d64-d9d9-478b-95c9-b789d6502100", | ||
"type": "Microsoft.AlertsManagement/alerts", | ||
"name": "cpu alert" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
118 changes: 118 additions & 0 deletions
118
...esource-manager/Microsoft.AlertsManagement/stable/2019-03-01/examples/Alerts_Summary.json
This file contains 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,118 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-03-01", | ||
"scope": "subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d", | ||
"groupby": "severity,alertState" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"groupedby": "severity", | ||
"smartGroupsCount": 100, | ||
"total": 14189, | ||
"values": [ | ||
{ | ||
"name": "Sev0", | ||
"count": 6517, | ||
"groupedby": "alertState", | ||
"values": [ | ||
{ | ||
"name": "New", | ||
"count": 6517 | ||
}, | ||
{ | ||
"name": "Acknowledged", | ||
"count": 0 | ||
}, | ||
{ | ||
"name": "Closed", | ||
"count": 0 | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Sev1", | ||
"count": 3175, | ||
"groupedby": "alertState", | ||
"values": [ | ||
{ | ||
"name": "New", | ||
"count": 3175 | ||
}, | ||
{ | ||
"name": "Acknowledged", | ||
"count": 0 | ||
}, | ||
{ | ||
"name": "Closed", | ||
"count": 0 | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Sev2", | ||
"count": 1120, | ||
"groupedby": "alertState", | ||
"values": [ | ||
{ | ||
"name": "New", | ||
"count": 1120 | ||
}, | ||
{ | ||
"name": "Acknowledged", | ||
"count": 0 | ||
}, | ||
{ | ||
"name": "Closed", | ||
"count": 0 | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Sev3", | ||
"count": 1902, | ||
"groupedby": "alertState", | ||
"values": [ | ||
{ | ||
"name": "New", | ||
"count": 1902 | ||
}, | ||
{ | ||
"name": "Acknowledged", | ||
"count": 0 | ||
}, | ||
{ | ||
"name": "Closed", | ||
"count": 0 | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Sev4", | ||
"count": 1475, | ||
"groupedby": "alertState", | ||
"values": [ | ||
{ | ||
"name": "New", | ||
"count": 1475 | ||
}, | ||
{ | ||
"name": "Acknowledged", | ||
"count": 0 | ||
}, | ||
{ | ||
"name": "Closed", | ||
"count": 0 | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"id": "/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/providers/Microsoft.AlertsManagement/alertsSummary/current", | ||
"type": "Microsoft.AlertsManagement/alertsSummary", | ||
"name": "current" | ||
} | ||
} | ||
} | ||
} |
74 changes: 74 additions & 0 deletions
74
...anager/Microsoft.AlertsManagement/stable/2019-03-01/examples/SmartGroups_ChangeState.json
This file contains 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,74 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-05-05", | ||
"subscriptionId": "dd91de05-d791-4ceb-b6dc-988682dc7d72", | ||
"smartGroupId": "a808445e-bb38-4751-85c2-1b109ccc1059", | ||
"newState": "Acknowledged", | ||
"body": { | ||
"comments": "Acknowledging smart group" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"alertsCount": 1942, | ||
"smartGroupState": "Acknowledged", | ||
"severity": "Sev3", | ||
"startDateTime": "2018-06-06T12:35:09Z", | ||
"lastModifiedDateTime": "2018-06-13T06:30:09Z", | ||
"lastModifiedUserName": "System", | ||
"resources": [ | ||
{ | ||
"name": "/subscriptions/dd91de05-d791-4ceb-b6dc-988682dc7d72/resourcegroups/alertscorrelationrg/providers/microsoft.insights/components/alertscorrelationworkerrole_int", | ||
"count": 1942 | ||
} | ||
], | ||
"resourceTypes": [ | ||
{ | ||
"name": "components", | ||
"count": 1942 | ||
} | ||
], | ||
"resourceGroups": [ | ||
{ | ||
"name": "alertscorrelationrg", | ||
"count": 1942 | ||
} | ||
], | ||
"monitorServices": [ | ||
{ | ||
"name": "Application Insights", | ||
"count": 1942 | ||
} | ||
], | ||
"monitorConditions": [ | ||
{ | ||
"name": "Fired", | ||
"count": 1942 | ||
} | ||
], | ||
"alertStates": [ | ||
{ | ||
"name": "New", | ||
"count": 1941 | ||
}, | ||
{ | ||
"name": "Acknowledged", | ||
"count": 1 | ||
} | ||
], | ||
"alertSeverities": [ | ||
{ | ||
"name": "Sev3", | ||
"count": 1942 | ||
} | ||
] | ||
}, | ||
"id": "/subscriptions/dd91de05-d791-4ceb-b6dc-988682dc7d72/providers/Microsoft.AlertsManagement/smartGroups/a808445e-bb38-4751-85c2-1b109ccc1059", | ||
"type": "Microsoft.AlertsManagement/smartGroups", | ||
"name": "cpu alert" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.