UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 70.1 kB
{"openapi":"3.0.0","info":{"description":"Azure Alerts Management Service provides a single pane of glass of alerts across Azure Monitor.","title":"Azure Alerts Management Service Resource Provider","version":"2019-05-05-preview","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"alertsmanagement-AlertsManagement","x-tags":["Azure","Microsoft"]},"paths":{"/providers/Microsoft.AlertsManagement/alertsMetaData":{"get":{"description":"List alerts meta data information based on value of identifier parameter.","operationId":"Alerts_MetaData","parameters":[{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/identifier"}],"responses":{"200":{"description":"OK. Successfully listed alert meta data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/alertsMetaData"},"examples":{"MonService":{"$ref":"#/components/examples/MonService"}}}}}}}},"/providers/Microsoft.AlertsManagement/operations":{"get":{"description":"List all operations available through Azure Alerts Management Resource Provider.","operationId":"Operations_List","parameters":[{"$ref":"#/components/parameters/api-version"}],"responses":{"200":{"description":"OK. Successfully retrieved operations list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/operationsList"}}}}},"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/actionRules":{"get":{"description":"List all action rules of the subscription and given input filters","operationId":"ActionRules_ListBySubscription","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/targetResourceGroup"},{"$ref":"#/components/parameters/targetResourceType"},{"$ref":"#/components/parameters/targetResource"},{"$ref":"#/components/parameters/severity"},{"$ref":"#/components/parameters/monitorService"},{"$ref":"#/components/parameters/impactedScope"},{"$ref":"#/components/parameters/description"},{"$ref":"#/components/parameters/alertRuleId"},{"$ref":"#/components/parameters/actionGroup"},{"$ref":"#/components/parameters/actionRuleName"},{"$ref":"#/components/parameters/api-version"}],"responses":{"200":{"description":"OK. Return the list of action rules","headers":{"x-ms-request-id":{"description":"Service generated Request ID.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionRulesList"},"examples":{"GetActionRulesSubscriptionWide":{"$ref":"#/components/examples/GetActionRulesSubscriptionWide"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorResponse"}}}}},"summary":"Get all action rule in a given subscription","x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts":{"get":{"description":"List all existing alerts, where the results can be filtered on the basis of multiple parameters (e.g. time range). The results can then be sorted on the basis specific fields, with the default being lastModifiedDateTime. ","operationId":"Alerts_GetAll","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/targetResource"},{"$ref":"#/components/parameters/targetResourceType"},{"$ref":"#/components/parameters/targetResourceGroup"},{"$ref":"#/components/parameters/monitorService"},{"$ref":"#/components/parameters/monitorCondition"},{"$ref":"#/components/parameters/severity"},{"$ref":"#/components/parameters/alertState"},{"$ref":"#/components/parameters/alertRule"},{"$ref":"#/components/parameters/smartGroupIdFilter"},{"$ref":"#/components/parameters/includeContext"},{"$ref":"#/components/parameters/includeEgressConfig"},{"$ref":"#/components/parameters/pageCount"},{"$ref":"#/components/parameters/alertsSortBy"},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/timeRange"},{"$ref":"#/components/parameters/customTimeRange"},{"$ref":"#/components/parameters/api-version"}],"responses":{"200":{"description":"OK. Successfully listed alert objects.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/alertsList"},"examples":{"ListAlerts":{"$ref":"#/components/examples/ListAlerts"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorResponse"}}}}},"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}":{"get":{"description":"Get information related to a specific alert","operationId":"Alerts_GetById","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/alertId"},{"$ref":"#/components/parameters/api-version"}],"responses":{"200":{"description":"OK. Returns the alert with the specified ID.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/alert"},"examples":{"GetById":{"$ref":"#/components/examples/GetById"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorResponse"}}}}},"summary":"Get a specific alert."}},"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}/changestate":{"post":{"description":"Change the state of an alert.","operationId":"Alerts_ChangeState","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/alertId"},{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/newState"}],"responses":{"200":{"description":"OK. Alert state updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/alert"},"examples":{"Resolve":{"$ref":"#/components/examples/Resolve"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorResponse"}}}}}}},"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}/history":{"get":{"description":"Get the history of an alert, which captures any monitor condition changes (Fired/Resolved) and alert state changes (New/Acknowledged/Closed).","operationId":"Alerts_GetHistory","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/alertId"},{"$ref":"#/components/parameters/api-version"}],"responses":{"200":{"description":"OK. Returns the history of the specified alert.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/alertModification"},"examples":{"Resolve":{"$ref":"#/components/examples/Resolve"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorResponse"}}}}}}},"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alertsSummary":{"get":{"description":"Get a summarized count of your alerts grouped by various parameters (e.g. grouping by 'Severity' returns the count of alerts for each severity).","operationId":"Alerts_GetSummary","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/alertsSummaryGroupBy"},{"$ref":"#/components/parameters/includeSmartGroupsCount"},{"$ref":"#/components/parameters/targetResource"},{"$ref":"#/components/parameters/targetResourceType"},{"$ref":"#/components/parameters/targetResourceGroup"},{"$ref":"#/components/parameters/monitorService"},{"$ref":"#/components/parameters/monitorCondition"},{"$ref":"#/components/parameters/severity"},{"$ref":"#/components/parameters/alertState"},{"$ref":"#/components/parameters/alertRule"},{"$ref":"#/components/parameters/timeRange"},{"$ref":"#/components/parameters/customTimeRange"},{"$ref":"#/components/parameters/api-version"}],"responses":{"200":{"description":"OK. Alert summary returned.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/alertsSummary"},"examples":{"Summary":{"$ref":"#/components/examples/Summary"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorResponse"}}}}}}},"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups":{"get":{"description":"List all the Smart Groups within a specified subscription. ","operationId":"SmartGroups_GetAll","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/targetResource"},{"$ref":"#/components/parameters/targetResourceGroup"},{"$ref":"#/components/parameters/targetResourceType"},{"$ref":"#/components/parameters/monitorService"},{"$ref":"#/components/parameters/monitorCondition"},{"$ref":"#/components/parameters/severity"},{"$ref":"#/components/parameters/smartGroupState"},{"$ref":"#/components/parameters/timeRange"},{"$ref":"#/components/parameters/pageCount"},{"$ref":"#/components/parameters/smartGroupsSortBy"},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/api-version"}],"responses":{"200":{"description":"OK. Returns list of all smartGroups.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/smartGroupsList"},"examples":{"List":{"$ref":"#/components/examples/List"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorResponse"}}}}},"summary":"Get all Smart Groups within a specified subscription","x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}":{"get":{"description":"Get information related to a specific Smart Group.","operationId":"SmartGroups_GetById","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/smartGroupId"},{"$ref":"#/components/parameters/api-version"}],"responses":{"200":{"description":"OK. Returns the group with the specified smart group Id.","headers":{"x-ms-request-id":{"description":"Service generated Request ID.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/smartGroup"},"examples":{"Get":{"$ref":"#/components/examples/Get"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorResponse"}}}}},"summary":"Get information related to a specific Smart Group."}},"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}/changeState":{"post":{"description":"Change the state of a Smart Group.","operationId":"SmartGroups_ChangeState","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/smartGroupId"},{"$ref":"#/components/parameters/api-version"},{"$ref":"#/components/parameters/newState"}],"responses":{"200":{"description":"OK. Smart Group state updated.","headers":{"x-ms-request-id":{"description":"Service generated Request ID.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/smartGroup"},"examples":{"changestate":{"$ref":"#/components/examples/changestate"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorResponse"}}}}}}},"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}/history":{"get":{"description":"Get the history a smart group, which captures any Smart Group state changes (New/Acknowledged/Closed) .","operationId":"SmartGroups_GetHistory","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/smartGroupId"},{"$ref":"#/components/parameters/api-version"}],"responses":{"200":{"description":"OK. Returns the list of changes of smart group.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/smartGroupModification"},"examples":{"Resolve":{"$ref":"#/components/examples/Resolve"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorResponse"}}}}}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules":{"get":{"description":"List all action rules of the subscription, created in given resource group and given input filters","operationId":"ActionRules_ListByResourceGroup","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"$ref":"#/components/parameters/targetResourceGroup"},{"$ref":"#/components/parameters/targetResourceType"},{"$ref":"#/components/parameters/targetResource"},{"$ref":"#/components/parameters/severity"},{"$ref":"#/components/parameters/monitorService"},{"$ref":"#/components/parameters/impactedScope"},{"$ref":"#/components/parameters/description"},{"$ref":"#/components/parameters/alertRuleId"},{"$ref":"#/components/parameters/actionGroup"},{"$ref":"#/components/parameters/actionRuleName"},{"$ref":"#/components/parameters/api-version"}],"responses":{"200":{"description":"OK. Return the list of action rules","headers":{"x-ms-request-id":{"description":"Service generated Request ID.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionRulesList"},"examples":{"GetActionRulesResourceGroupWide":{"$ref":"#/components/examples/GetActionRulesResourceGroupWide"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorResponse"}}}}},"summary":"Get all action rules created in a resource group","x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{actionRuleName}":{"delete":{"description":"Deletes a given action rule","operationId":"ActionRules_Delete","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"description":"The name that needs to be deleted","in":"path","name":"actionRuleName","required":true,"schema":{"type":"string"},"examples":{"DeleteActionRule":{"value":"DailySuppression"}}},{"$ref":"#/components/parameters/api-version"}],"responses":{"200":{"description":"OK. Returns true if deleted successfully","headers":{"x-ms-request-id":{"description":"Service generated Request ID.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"boolean"},"examples":{"DeleteActionRule":{"$ref":"#/components/examples/DeleteActionRule"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorResponse"}}}}},"summary":"Delete action rule"},"get":{"description":"Get a specific action rule","operationId":"ActionRules_GetByName","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"description":"The name of action rule that needs to be fetched","in":"path","name":"actionRuleName","required":true,"schema":{"type":"string"},"examples":{"GetActionRuleById":{"value":"DailySuppression"}}},{"$ref":"#/components/parameters/api-version"}],"responses":{"200":{"description":"OK. Returns the specific action rule","headers":{"x-ms-request-id":{"description":"Service generated Request ID.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionRule"},"examples":{"GetActionRuleById":{"$ref":"#/components/examples/GetActionRuleById"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorResponse"}}}}},"summary":"Get action rule by name"},"patch":{"description":"Update enabled flag and/or tags for the given action rule","operationId":"ActionRules_Update","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"description":"The name that needs to be updated","in":"path","name":"actionRuleName","required":true,"schema":{"type":"string"},"examples":{"PatchActionRule":{"value":"WeeklySuppression"}}},{"$ref":"#/components/parameters/api-version"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchObject"}}},"description":"Parameters supplied to the operation.","required":true},"responses":{"200":{"description":"OK. Returns the created/updated action rule","headers":{"x-ms-request-id":{"description":"Service generated Request ID.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionRule"},"examples":{"PatchActionRule":{"$ref":"#/components/examples/PatchActionRule"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorResponse"}}}}},"summary":"Patch action rule"},"put":{"description":"Creates/Updates a specific action rule","operationId":"ActionRules_CreateUpdate","parameters":[{"$ref":"#/components/parameters/subscriptionId"},{"$ref":"#/components/parameters/resourceGroupName"},{"description":"The name of action rule that needs to be created/updated","in":"path","name":"actionRuleName","required":true,"schema":{"type":"string"},"examples":{"PutActionRule":{"value":"DailySuppression"}}},{"$ref":"#/components/parameters/api-version"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionRule"}}},"description":"action rule to be created/updated","required":true},"responses":{"200":{"description":"OK. Returns the created/updated action rule","headers":{"x-ms-request-id":{"description":"Service generated Request ID.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionRule"},"examples":{"PutActionRule":{"$ref":"#/components/examples/PutActionRule"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorResponse"}}}}},"summary":"Create/update an action rule"}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"MonService":{"value":{"properties":{"data":[{"displayName":"Activity Log - Administrative","name":"ActivityLog Administrative"},{"displayName":"Activity Log - Autoscale","name":"ActivityLog Autoscale"},{"displayName":"Activity Log - Policy","name":"ActivityLog Policy"},{"displayName":"Activity Log - Recommendation","name":"ActivityLog Recommendation"},{"displayName":"Activity Log - Security","name":"ActivityLog Security"},{"displayName":"Application Insights","name":"Application Insights"},{"displayName":"Azure Backup","name":"Azure Backup"},{"displayName":"Custom","name":"Custom"},{"displayName":"Data Box Edge","name":"Data Box Edge"},{"displayName":"VM Insights","name":"VM Insights"},{"displayName":"Log Analytics","name":"Log Analytics"},{"displayName":"NAGIOS","name":"Nagios"},{"displayName":"Platform","name":"Platform"},{"displayName":"Resource Health","name":"Resource Health"},{"displayName":"SCOM","name":"SCOM"},{"displayName":"Service Health","name":"ServiceHealth"},{"displayName":"SmartDetector","name":"Smart Detector"},{"displayName":"ZABBIX","name":"Zabbix"}],"metadataIdentifier":"MonitorServiceList"}}},"GetActionRulesSubscriptionWide":{"value":{"nextLink":"https://management.azure.com:443/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/providers/Microsoft.AlertsManagement/actionRules?api-version=2018-11-02-privatepreview&ctoken=%2bRID%3aPlwOAPHEGwB9UwEAAAAgCw%3d%3d%23RT%3a2%23TRC%3a500%23RTD%3aqtQyMDE4LTA2LTEyVDE1OjEyOjE1","value":[{"id":"/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg/providers/Microsoft.AlertsManagement/actionRules/DailySuppression","location":"Global","name":"DailySuppression","properties":{"conditions":{"monitorService":{"operator":"Equals","values":["Platform","Application Insights"]},"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"createdAt":"2018-06-12T22:05:09Z","createdBy":"abc@microsoft.com","description":"Action rule on resource group for daily suppression","lastModifiedAt":"2018-06-12T22:05:09Z","lastModifiedBy":"xyz@microsoft.com","scope":{"scopeType":"ResourceGroup","values":["/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg"]},"status":"Enabled","suppressionConfig":{"recurrenceType":"Daily","schedule":{"endDate":"12/18/2018","endTime":"14:00:00","startDate":"12/09/2018","startTime":"06:00:00"}},"type":"Suppression"},"tags":{},"type":"Microsoft.AlertsManagement/actionRules"},{"id":"/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg/providers/Microsoft.AlertsManagement/actionRules/WeeklySuppression","location":"Global","name":"WeeklySuppression","properties":{"conditions":{"description":{"operator":"Contains","values":["Percentage CPU greater than 80%","Metric alert on resource foo"]},"monitorCondition":{"operator":"Equals","values":["Fired"]}},"createdAt":"2018-06-12T22:05:09Z","createdBy":"abc@microsoft.com","description":"Action rule on resource group for sending diagnostics","lastModifiedAt":"2018-06-12T22:05:09Z","lastModifiedBy":"xyz@microsoft.com","scope":{"scopeType":"Resource","values":["/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg/providers/Microsoft.Compute/VirtualMachines/testResource"]},"status":"Enabled","type":"Diagnostics"},"tags":{},"type":"Microsoft.AlertsManagement/actionRules"}]}},"ListAlerts":{"value":{"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":[{"id":"/subscriptions/9e261de7-c804-4b9d-9ebf-6f50fe350a9a/providers/Microsoft.AlertsManagement/alerts/66114d64-d9d9-478b-95c9-b789d6502100","name":"cpu alert","properties":{"context":{},"egressConfig":{},"essentials":{"alertRule":"https://servisdffsdf.portal.mms.microsoft.com/#Workspace/overview/settings/details/Edit Alert Rule/details/index?savedSearchId=&scheduleId=","alertState":"Acknowledged","lastModifiedDateTime":"2018-09-13T15:51:02Z","lastModifiedUserName":"System","monitorCondition":"Fired","monitorConditionResolvedDateTime":"2018-09-13T15:51:02Z","monitorService":"Application Insights","severity":"Sev3","signalType":"Log","smartGroupId":"23d6b2ce-8c54-468f-aff0-sd32aebb7e56","smartGroupingReason":"Occurred frequently with other alerts","sourceCreatedId":"6cd6b2ce-8c54-468f-aff0-9d12aebb7e49","startDateTime":"2018-09-13T15:51:02Z","targetResource":"/subscriptions/3b540246-808d-4331-99aa-917b808a9166/resourcegroups/servicedeskresourcegroup/providers/microsoft.insights/components/servicedeskappinsight","targetResourceGroup":"servicedeskresourcegroup","targetResourceName":"servicedeskappinsight","targetResourceType":"components"}},"type":"Microsoft.AlertsManagement/alerts"},{"id":"/subscriptions/9e261de7-c804-4b9d-9ebf-6f50fe350a9a/providers/Microsoft.AlertsManagement/alerts/66114d64-d9d9-478b-95c9-b789d6502100","name":"cpu alert","properties":{"context":{},"egressConfig":{},"essentials":{"alertRule":"https://servicsdfsdf.portal.mms.microsoft.com/#Workspace/overview/settings/details/Edit Alert Rule/details/index?savedSearchId=&scheduleId=","alertState":"New","lastModifiedDateTime":"2018-09-13T15:51:02Z","lastModifiedUserName":"System","monitorCondition":"Fired","monitorConditionResolvedDateTime":"2018-09-13T15:51:02Z","monitorService":"Application Insights","severity":"Sev3","signalType":"Log","smartGroupId":"d1c49c89-ea95-4697-a299-c0f5ebac62f1","smartGroupingReason":"Alerts that frequently occur together have been grouped.","sourceCreatedId":"6cd6b2ce-8c54-468f-aff0-9d12aebb7e49","startDateTime":"2018-09-13T15:51:02Z","targetResource":"/subscriptions/3b540246-808d-4331-99aa-917b808a9166/resourcegroups/cind/providers/microsoft.operationalinsights/workspaces/servicedeskwcus","targetResourceGroup":"servicedeskresourcegroup","targetResourceName":"servicedeskwcus","targetResourceType":"components"}},"type":"Microsoft.AlertsManagement/alerts"}]}},"GetById":{"value":{"id":"/subscriptions/9e261de7-c804-4b9d-9ebf-6f50fe350a9a/providers/Microsoft.AlertsManagement/alerts/66114d64-d9d9-478b-95c9-b789d6502100","name":"cpu alert","properties":{"context":{},"egressConfig":{},"essentials":{"alertRule":"https://sersdfsdfinsight.portal.mms.microsoft.com/#Workspace/overview/settings/details/Edit Alert Rule/details/index?savedSearchId=&scheduleId=","alertState":"Acknowledged","lastModifiedDateTime":"2018-09-13T15:51:02Z","lastModifiedUserName":"System","monitorCondition":"Fired","monitorConditionResolvedDateTime":"2018-09-13T15:51:02Z","monitorService":"Application Insights","severity":"Sev3","signalType":"Log","smartGroupId":"23d6b2ce-8c54-468f-aff0-sd32aebb7e56","smartGroupingReason":"Occurred frequently with other alerts","sourceCreatedId":"6cd6b2ce-8c54-468f-aff0-9d12aebb7e49","startDateTime":"2018-09-13T15:51:02Z","targetResource":"/subscriptions/3b540246-808d-4331-99aa-917b808a9166/resourcegroups/servicedeskresourcegroup/providers/microsoft.insights/components/servicedeskappinsight","targetResourceGroup":"servicedeskresourcegroup","targetResourceName":"servicedeskappinsight","targetResourceType":"components"}},"type":"Microsoft.AlertsManagement/alerts"}},"Resolve":{"value":{"id":"/subscriptions/9e261de7-c804-4b9d-9ebf-6f50fe350a9a/providers/Microsoft.AlertsManagement/smartGroups/a808445e-bb38-4751-85c2-1b109ccc1059/history/default","name":"cpu alert","properties":{"modifications":[{"comments":"","description":"New Smart Group is created","modificationEvent":"SmartGroupCreated","modifiedAt":"2018-06-06T12:35:09Z","modifiedBy":"System","newValue":"","oldValue":""}],"smartGroupId":"a808445e-bb38-4751-85c2-1b109ccc1059"},"type":"Microsoft.AlertsManagement/alerts"}},"Summary":{"value":{"id":"/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/providers/Microsoft.AlertsManagement/alertsSummary/current","name":"current","properties":{"groupedby":"severity","smartGroupsCount":100,"total":14189,"values":[{"count":6517,"groupedby":"alertState","name":"Sev0","values":[{"count":6517,"name":"New"},{"count":0,"name":"Acknowledged"},{"count":0,"name":"Closed"}]},{"count":3175,"groupedby":"alertState","name":"Sev1","values":[{"count":3175,"name":"New"},{"count":0,"name":"Acknowledged"},{"count":0,"name":"Closed"}]},{"count":1120,"groupedby":"alertState","name":"Sev2","values":[{"count":1120,"name":"New"},{"count":0,"name":"Acknowledged"},{"count":0,"name":"Closed"}]},{"count":1902,"groupedby":"alertState","name":"Sev3","values":[{"count":1902,"name":"New"},{"count":0,"name":"Acknowledged"},{"count":0,"name":"Closed"}]},{"count":1475,"groupedby":"alertState","name":"Sev4","values":[{"count":1475,"name":"New"},{"count":0,"name":"Acknowledged"},{"count":0,"name":"Closed"}]}]},"type":"Microsoft.AlertsManagement/alertsSummary"}},"List":{"value":{"value":[{"id":"/subscriptions/dd91de05-d791-4ceb-b6dc-988682dc7d72/providers/Microsoft.AlertsManagement/smartGroups/a808445e-bb38-4751-85c2-1b109ccc1059","name":"cpu alert","properties":{"alertSeverities":[{"count":1942,"name":"Sev3"}],"alertStates":[{"count":1941,"name":"New"},{"count":1,"name":"Acknowledged"}],"alertsCount":1942,"lastModifiedDateTime":"2018-06-13T06:30:09Z","lastModifiedUserName":"System","monitorConditions":[{"count":1942,"name":"Fired"}],"monitorServices":[{"count":1942,"name":"Application Insights"}],"resourceGroups":[{"count":1942,"name":"alertscorrelationrg"}],"resourceTypes":[{"count":1942,"name":"components"}],"resources":[{"count":1942,"name":"/subscriptions/dd91de05-d791-4ceb-b6dc-988682dc7d72/resourcegroups/alertscorrelationrg/providers/microsoft.insights/components/alertscorrelationworkerrole_int"}],"severity":"Sev3","smartGroupState":"New","startDateTime":"2018-06-06T12:35:09Z"},"type":"Microsoft.AlertsManagement/smartGroups"},{"id":"/subscriptions/dd91de05-d791-4ceb-b6dc-988682dc7d72/providers/Microsoft.AlertsManagement/smartGroups/01114c7c-769f-4fd4-b6fa-ab77693b83cd","name":"CPU Alert","properties":{"alertSeverities":[{"count":6984,"name":"Sev0"},{"count":6927,"name":"Sev1"}],"alertStates":[{"count":15358,"name":"New"},{"count":12,"name":"Acknowledged"},{"count":4,"name":"Closed"}],"alertsCount":15374,"lastModifiedDateTime":"2018-06-13T06:29:01Z","lastModifiedUserName":"System","monitorConditions":[{"count":15374,"name":"Fired"}],"monitorServices":[{"count":13911,"name":"Log Analytics"}],"resourceGroups":[{"count":15374,"name":"mms-eus"}],"resourceTypes":[{"count":6912,"name":"microsoft.operationalinsights/workspaces"},{"count":8462,"name":"workspaces"}],"resources":[{"count":15374,"name":"/subscriptions/dd91de05-d791-4ceb-b6dc-988682dc7d72/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/alertsint"}],"severity":"Sev0","smartGroupState":"Acknowledged","startDateTime":"2018-05-17T10:18:44.2020997Z"},"type":"Microsoft.AlertsManagement/smartGroups"}]}},"Get":{"value":{"id":"/subscriptions/dd91de05-d791-4ceb-b6dc-988682dc7d72/providers/Microsoft.AlertsManagement/smartGroups/a808445e-bb38-4751-85c2-1b109ccc1059","name":"cpu alert","properties":{"alertSeverities":[{"count":1942,"name":"Sev3"}],"alertStates":[{"count":1941,"name":"New"},{"count":1,"name":"Acknowledged"}],"alertsCount":1942,"lastModifiedDateTime":"2018-06-13T06:30:09Z","lastModifiedUserName":"System","monitorConditions":[{"count":1942,"name":"Fired"}],"monitorServices":[{"count":1942,"name":"Application Insights"}],"resourceGroups":[{"count":1942,"name":"alertscorrelationrg"}],"resourceTypes":[{"count":1942,"name":"components"}],"resources":[{"count":1942,"name":"/subscriptions/dd91de05-d791-4ceb-b6dc-988682dc7d72/resourcegroups/alertscorrelationrg/providers/microsoft.insights/components/alertscorrelationworkerrole_int"}],"severity":"Sev3","smartGroupState":"New","startDateTime":"2018-06-06T12:35:09Z"},"type":"Microsoft.AlertsManagement/smartGroups"}},"changestate":{"value":{"id":"/subscriptions/dd91de05-d791-4ceb-b6dc-988682dc7d72/providers/Microsoft.AlertsManagement/smartGroups/a808445e-bb38-4751-85c2-1b109ccc1059","name":"cpu alert","properties":{"alertSeverities":[{"count":1942,"name":"Sev3"}],"alertStates":[{"count":1941,"name":"New"},{"count":1,"name":"Acknowledged"}],"alertsCount":1942,"lastModifiedDateTime":"2018-06-13T06:30:09Z","lastModifiedUserName":"System","monitorConditions":[{"count":1942,"name":"Fired"}],"monitorServices":[{"count":1942,"name":"Application Insights"}],"resourceGroups":[{"count":1942,"name":"alertscorrelationrg"}],"resourceTypes":[{"count":1942,"name":"components"}],"resources":[{"count":1942,"name":"/subscriptions/dd91de05-d791-4ceb-b6dc-988682dc7d72/resourcegroups/alertscorrelationrg/providers/microsoft.insights/components/alertscorrelationworkerrole_int"}],"severity":"Sev3","smartGroupState":"Acknowledged","startDateTime":"2018-06-06T12:35:09Z"},"type":"Microsoft.AlertsManagement/smartGroups"}},"GetActionRulesResourceGroupWide":{"value":{"nextLink":"https://management.azure.com:443/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg/providers/Microsoft.AlertsManagement/actionRules?api-version=2018-11-02-privatepreview&ctoken=%2bRID%3aPlwOAPHEGwB9UwEAAAAgCw%3d%3d%23RT%3a2%23TRC%3a500%23RTD%3aqtQyMDE4LTA2LTEyVDE1OjEyOjE1","value":[{"id":"/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg/providers/Microsoft.AlertsManagement/actionRules/DailySuppression","location":"Global","name":"DailySuppression","properties":{"conditions":{"monitorService":{"operator":"Equals","values":["Platform","Application Insights"]},"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"createdAt":"2018-06-12T22:05:09Z","createdBy":"abc@microsoft.com","description":"Action rule on resource group for daily suppression","lastModifiedAt":"2018-06-12T22:05:09Z","lastModifiedBy":"xyz@microsoft.com","scope":{"scopeType":"ResourceGroup","values":["/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg"]},"status":"Enabled","suppressionConfig":{"recurrenceType":"Daily","schedule":{"endDate":"12/18/2018","endTime":"14:00:00","startDate":"12/09/2018","startTime":"06:00:00"}},"type":"Suppression"},"tags":{},"type":"Microsoft.AlertsManagement/actionRules"},{"id":"/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg/providers/Microsoft.AlertsManagement/actionRules/WeeklySuppression","location":"Global","name":"WeeklySuppression","properties":{"actionGroupId":"/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg/providers/Microsoft.insights/actiongroups/testAG","conditions":{"alertContext":{"operator":"DoesNotContain","values":["testresource","foo"]},"description":{"operator":"Contains","values":["Percentage CPU greater than 80%","Metric alert on resource foo"]},"monitorCondition":{"operator":"Equals","values":["Fired"]}},"createdAt":"2018-06-12T22:05:09Z","createdBy":"abc@microsoft.com","description":"Action rule on resource group for sending email","lastModifiedAt":"2018-06-12T22:05:09Z","lastModifiedBy":"xyz@microsoft.com","scope":{"scopeType":"Resource","values":["/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg/providers/Microsoft.Compute/VirtualMachines/testResource"]},"status":"Enabled","type":"ActionGroup"},"tags":{},"type":"Microsoft.AlertsManagement/actionRules"}]}},"DeleteActionRule":{"value":true},"GetActionRuleById":{"value":{"id":"/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg/providers/Microsoft.AlertsManagement/actionRules/DailySuppression","location":"Global","name":"DailySuppression","properties":{"conditions":{"monitorCondition":{"operator":"Equals","values":["Fired"]},"monitorService":{"operator":"Equals","values":["Platform","Application Insights"]},"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"createdAt":"2018-06-12T22:05:09Z","createdBy":"abc@microsoft.com","description":"Action rule on resource group for daily suppression","lastModifiedAt":"2018-06-12T22:05:09Z","lastModifiedBy":"xyz@microsoft.com","scope":{"scopeType":"ResourceGroup","values":["/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg"]},"status":"Enabled","suppressionConfig":{"recurrenceType":"Daily","schedule":{"endDate":"12/18/2018","endTime":"14:00:00","startDate":"12/09/2018","startTime":"06:00:00"}},"type":"Suppression"},"tags":{},"type":"Microsoft.AlertsManagement/actionRules"}},"PatchActionRule":{"value":{"id":"/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg/providers/Microsoft.AlertsManagement/actionRules/WeeklySuppression","location":"Global","name":"WeeklySuppression","properties":{"conditions":{"monitorService":{"operator":"Equals","values":["Platform","Application Insights"]},"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"createdAt":"2018-06-12T22:05:09Z","createdBy":"abc@microsoft.com","description":"Action rule on resource group for weekly suppression","lastModifiedAt":"2018-06-12T22:05:09Z","lastModifiedBy":"xyz@microsoft.com","scope":{"scopeType":"ResourceGroup","values":["/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg"]},"status":"Disabled","suppressionConfig":{"recurrenceType":"Weekly","schedule":{"endDate":"12/18/2018","endTime":"14:00:00","recurrenceValues":[1,2],"startDate":"12/09/2018","startTime":"06:00:00"}},"type":"Suppression"},"tags":{"key1":"value1","key2":"value2"},"type":"Microsoft.AlertsManagement/actionRules"}},"PutActionRule":{"value":{"id":"/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg/providers/Microsoft.AlertsManagement/actionRules/DailySuppression","location":"Global","name":"DailySuppression","properties":{"conditions":{"monitorCondition":{"operator":"Equals","values":["Fired"]},"monitorService":{"operator":"Equals","values":["Platform","Application Insights"]},"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"createdAt":"2018-06-12T22:05:09Z","createdBy":"abc@microsoft.com","description":"Action rule on resource group for daily suppression","lastModifiedAt":"2018-06-12T22:05:09Z","lastModifiedBy":"xyz@microsoft.com","scope":{"scopeType":"ResourceGroup","values":["/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg"]},"status":"Enabled","suppressionConfig":{"recurrenceType":"Daily","schedule":{"endDate":"12/18/2018","endTime":"14:00:00","startDate":"12/09/2018","startTime":"06:00:00"}},"type":"Suppression"},"tags":{},"type":"Microsoft.AlertsManagement/actionRules"}}},"parameters":{"actionGroup":{"description":"filter by action group configured as part of action rule","in":"query","name":"actionGroup","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}},"actionRuleName":{"description":"filter by action rule name","in":"query","name":"name","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}},"alertId":{"description":"Unique ID of an alert instance.","in":"path","name":"alertId","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"GetById":{"value":"66114d64-d9d9-478b-95c9-b789d6502100"},"Resolve":{"value":"66114d64-d9d9-478b-95c9-b789d6502100"}}},"alertRule":{"description":"Filter by specific alert rule. Default value is to select all.","in":"query","name":"alertRule","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}},"alertRuleId":{"description":"filter by alert rule id","in":"query","name":"alertRuleId","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}},"alertState":{"description":"Filter by state of the alert instance. Default value is to select all.","in":"query","name":"alertState","required":false,"x-ms-enum":{"modelAsString":true,"name":"AlertState"},"x-ms-parameter-location":"method","schema":{"type":"string","enum":["New","Acknowledged","Closed"]}},"alertsSortBy":{"description":"Sort the query results by input field, Default value is 'lastModifiedDateTime'.","in":"query","name":"sortBy","required":false,"x-ms-enum":{"modelAsString":true,"name":"AlertsSortByFields"},"x-ms-parameter-location":"method","schema":{"type":"string","enum":["name","severity","alertState","monitorCondition","targetResource","targetResourceName","targetResourceGroup","targetResourceType","startDateTime","lastModifiedDateTime"]}},"alertsSummaryGroupBy":{"description":"This parameter allows the result set to be grouped by input fields (Maximum 2 comma separated fields supported). For example, groupby=severity or groupby=severity,alertstate.","in":"query","name":"groupby","required":true,"x-ms-enum":{"modelAsString":true,"name":"AlertsSummaryGroupByFields"},"x-ms-parameter-location":"method","schema":{"type":"string","enum":["severity","alertState","monitorCondition","monitorService","signalType","alertRule"]},"examples":{"Summary":{"value":"severity,alertState"}}},"api-version":{"description":"client API version","in":"query","name":"api-version","required":true,"x-ms-enum":{"modelAsString":true,"name":"api-version"},"schema":{"type":"string","enum":["2019-05-05-preview"]},"examples":{"MonService":{"value":"2019-05-05-preview"},"GetActionRulesSubscriptionWide":{"value":"2019-05-05-preview"},"ListAlerts":{"value":"2019-05-05-preview"},"GetById":{"value":"2019-05-05-preview"},"Resolve":{"value":"2019-05-05-preview"},"Summary":{"value":"2019-05-05-preview"},"List":{"value":"2019-05-05-preview"},"Get":{"value":"2019-05-05-preview"},"changestate":{"value":"2019-05-05-preview"},"GetActionRulesResourceGroupWide":{"value":"2019-05-05-preview"},"DeleteActionRule":{"value":"2019-05-05-preview"},"GetActionRuleById":{"value":"2019-05-05-preview"},"PatchActionRule":{"value":"2019-05-05-preview"},"PutActionRule":{"value":"2019-05-05-preview"}}},"customTimeRange":{"description":"Filter by custom time range in the format <start-time>/<end-time> where time is in (ISO-8601 format)'. Permissible values is within 30 days from query time. Either timeRange or customTimeRange could be used but not both. Default is none.","in":"query","name":"customTimeRange","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}},"description":{"description":"filter by alert rule description","in":"query","name":"description","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}},"identifier":{"description":"Identification of the information to be retrieved by API call.","in":"query","name":"identifier","required":true,"x-ms-enum":{"modelAsString":true,"name":"identifier"},"x-ms-parameter-location":"method","schema":{"type":"string","enum":["MonitorServiceList"]},"examples":{"MonService":{"value":"MonitorServiceList"}}},"impactedScope":{"description":"filter by impacted/target scope (provide comma separated list for multiple scopes). The value should be an well constructed ARM id of the scope.","in":"query","name":"impactedScope","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}},"includeContext":{"description":"Include context which has contextual data specific to the monitor service. Default value is false'","in":"query","name":"includeContext","required":false,"x-ms-parameter-location":"method","schema":{"type":"boolean"}},"includeEgressConfig":{"description":"Include egress config which would be used for displaying the content in portal. Default value is 'false'.","in":"query","name":"includeEgressConfig","required":false,"x-ms-parameter-location":"method","schema":{"type":"boolean"}},"includeSmartGroupsCount":{"description":"Include count of the SmartGroups as part of the summary. Default value is 'false'.","in":"query","name":"includeSmartGroupsCount","required":false,"x-ms-parameter-location":"method","schema":{"type":"boolean"}},"monitorCondition":{"description":"Filter by monitor condition which is either 'Fired' or 'Resolved'. Default value is to select all.","in":"query","name":"monitorCondition","required":false,"x-ms-enum":{"modelAsString":true,"name":"MonitorCondition"},"x-ms-parameter-location":"method","schema":{"type":"string","enum":["Fired","Resolved"]}},"monitorService":{"description":"Filter by monitor service which generates the alert instance. Default value is select all.","in":"query","name":"monitorService","required":false,"x-ms-enum":{"modelAsString":true,"name":"MonitorService"},"x-ms-parameter-location":"method","schema":{"type":"string","enum":["Application Insights","ActivityLog Administrative","ActivityLog Security","ActivityLog Recommendation","ActivityLog Policy","ActivityLog Autoscale","Log Analytics","Nagios","Platform","SCOM","ServiceHealth","SmartDetector","VM Insights","Zabbix"]}},"newState":{"description":"New state of the alert.","in":"query","name":"newState","required":true,"x-ms-enum":{"modelAsString":true,"name":"AlertState"},"x-ms-parameter-location":"method","schema":{"type":"string","enum":["New","Acknowledged","Closed"]},"examples":{"Resolve":{"value":"Acknowledged"},"changestate":{"value":"Acknowledged"}}},"pageCount":{"description":"Determines number of alerts returned per page in response. Permissible value is between 1 to 250. When the \"includeContent\" filter is selected, maximum value allowed is 25. Default value is 25.","in":"query","name":"pageCount","required":false,"x-ms-parameter-location":"method","schema":{"type":"integer"}},"resourceGroupName":{"description":"Resource group name where the resource is created.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"GetActionRulesResourceGroupWide":{"value":"alertscorrelationrg"},"DeleteActionRule":{"value":"alertscorrelationrg"},"GetActionRuleById":{"value":"alertscorrelationrg"},"PatchActionRule":{"value":"alertscorrelationrg"},"PutActionRule":{"value":"alertscorrelationrg"}}},"select":{"description":"This filter allows to selection of the fields(comma separated) which would be part of the essential section. This would allow to project only the required fields rather than getting entire content. Default is to fetch all the fields in the essentials section.","in":"query","name":"select","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}},"severity":{"description":"Filter by severity. Default value is select all.","in":"query","name":"severity","required":false,"x-ms-enum":{"modelAsString":true,"name":"Severity"},"x-ms-parameter-location":"method","schema":{"type":"string","enum":["Sev0","Sev1","Sev2","Sev3","Sev4"]}},"smartGroupId":{"description":"Smart group unique id. ","in":"path","name":"smartGroupId","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Get":{"value":"603675da-9851-4b26-854a-49fc53d32715"},"changestate":{"value":"a808445e-bb38-4751-85c2-1b109ccc1059"},"Resolve":{"value":"a808445e-bb38-4751-85c2-1b109ccc1059"}}},"smartGroupIdFilter":{"description":"Filter the alerts list by the Smart Group Id. Default value is none.","in":"query","name":"smartGroupId","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}},"smartGroupState":{"description":"Filter by state of the smart group. Default value is to select all.","in":"query","name":"smartGroupState","required":false,"x-ms-enum":{"modelAsString":true,"name":"AlertState"},"x-ms-parameter-location":"method","schema":{"type":"string","enum":["New","Acknowledged","Closed"]}},"smartGroupsSortBy":{"description":"Sort the query results by input field. Default value is sort by 'lastModifiedDateTime'.","in":"query","name":"sortBy","required":false,"x-ms-enum":{"modelAsString":true,"name":"SmartGroupsSortByFields"},"x-ms-parameter-location":"method","schema":{"type":"string","enum":["alertsCount","state","severity","startDateTime","lastModifiedDateTime"]}},"sortOrder":{"description":"Sort the query results order in either ascending or descending. Default value is 'desc' for time fields and 'asc' for others.","in":"query","name":"sortOrder","required":false,"x-ms-parameter-location":"method","schema":{"type":"string","enum":["asc","desc"]}},"subscriptionId":{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"GetActionRulesSubscriptionWide":{"value":"1e3ff1c0-771a-4119-a03b-be82a51e232d"},"ListAlerts":{"value":"1e3ff1c0-771a-4119-a03b-be82a51e232d"},"GetById":{"value":"9e261de7-c804-4b9d-9ebf-6f50fe350a9a"},"Resolve":{"value":"9e261de7-c804-4b9d-9ebf-6f50fe350a9a"},"Summary":{"value":"1e3ff1c0-771a-4119-a03b-be82a51e232d"},"List":{"value":"dd91de05-d791-4ceb-b6dc-988682dc7d72"},"Get":{"value":"9e261de7-c804-4b9d-9ebf-6f50fe350a9a"},"changestate":{"value":"dd91de05-d791-4ceb-b6dc-988682dc7d72"},"GetActionRulesResourceGroupWide":{"value":"1e3ff1c0-771a-4119-a03b-be82a51e232d"},"DeleteActionRule":{"value":"1e3ff1c0-771a-4119-a03b-be82a51e232d"},"GetActionRuleById":{"value":"1e3ff1c0-771a-4119-a03b-be82a51e232d"},"PatchActionRule":{"value":"1e3ff1c0-771a-4119-a03b-be82a51e232d"},"PutActionRule":{"value":"1e3ff1c0-771a-4119-a03b-be82a51e232d"}}},"targetResource":{"description":"Filter by target resource( which is full ARM ID) Default value is select all.","in":"query","name":"targetResource","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}},"targetResourceGroup":{"description":"Filter by target resource group name. Default value is select all.","in":"query","name":"targetResourceGroup","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}},"targetResourceType":{"description":"Filter by target resource type. Default value is select all.","in":"query","name":"targetResourceType","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}},"timeRange":{"description":"Filter by time range by below listed values. Default value is 1 day.","in":"query","name":"timeRange","required":false,"x-ms-enum":{"modelAsString":true,"name":"TimeRange"},"x-ms-parameter-location":"method","schema":{"type":"string","enum":["1h","1d","7d","30d"]}}},"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"impersonate you