Microsoft.AlertsManagement (preview:2018-11-02-privatepreview)

2025/10/23 • 16 new, 16 deleted methods

Operations_List (new)
Description List all operations available through Azure Alerts Management Resource Provider.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.AlertsManagement/operations
{
api-version: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
}
,
]
,
}
Alerts_GetAll (new)
Description List all the existing alerts, where the results can be selective by passing multiple filter parameters including time range and sorted on specific fields.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts
{
subscriptionId: string ,
targetResource: string ,
targetResourceGroup: string ,
targetResourceType: string ,
monitorService: string ,
monitorCondition: string ,
severity: string ,
alertState: string ,
smartGroupId: string ,
includePayload: boolean ,
pageCount: integer ,
sortBy: string ,
sortOrder: string ,
timeRange: string ,
api-version: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
severity: enum ,
signalType: enum ,
alertState: enum ,
monitorCondition: enum ,
targetResource: string ,
targetResourceName: string ,
targetResourceGroup: string ,
targetResourceType: string ,
monitorService: enum ,
sourceCreatedId: string ,
smartGroupId: string ,
smartGroupingReason: string ,
startDateTime: string ,
lastModifiedDateTime: string ,
lastModifiedUserName: string ,
payload: object ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Alerts_GetById (new)
Description Get information related to a specific alert
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}
{
subscriptionId: string ,
alertId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
severity: enum ,
signalType: enum ,
alertState: enum ,
monitorCondition: enum ,
targetResource: string ,
targetResourceName: string ,
targetResourceGroup: string ,
targetResourceType: string ,
monitorService: enum ,
sourceCreatedId: string ,
smartGroupId: string ,
smartGroupingReason: string ,
startDateTime: string ,
lastModifiedDateTime: string ,
lastModifiedUserName: string ,
payload: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Alerts_ChangeState (new)
Description Change the state of the alert.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}/changestate
{
subscriptionId: string ,
alertId: string ,
api-version: string ,
newState: string ,
}

⚐ Response (200)

{
properties:
{
severity: enum ,
signalType: enum ,
alertState: enum ,
monitorCondition: enum ,
targetResource: string ,
targetResourceName: string ,
targetResourceGroup: string ,
targetResourceType: string ,
monitorService: enum ,
sourceCreatedId: string ,
smartGroupId: string ,
smartGroupingReason: string ,
startDateTime: string ,
lastModifiedDateTime: string ,
lastModifiedUserName: string ,
payload: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Alerts_GetHistory (new)
Description Get the history of the changes of an alert.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}/history
{
subscriptionId: string ,
alertId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
alertId: string ,
modifications:
[
{
modificationEvent: enum ,
oldValue: string ,
newValue: string ,
modifiedAt: string ,
modifiedBy: string ,
comments: string ,
description: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Alerts_GetSummary (new)
Description Summary of alerts with the count each severity.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alertsSummary
{
subscriptionId: string ,
targetResourceGroup: string ,
timeRange: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
total: integer ,
smartGroupsCount: integer ,
summaryByState: object ,
summaryBySeverity:
{
sev0: object ,
sev1: object ,
sev2: object ,
sev3: object ,
sev4: object ,
}
,
summaryBySeverityAndMonitorCondition: object ,
summaryByMonitorService: object ,
nextLink: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
SmartGroups_GetAll (new)
Description List all the smartGroups within the specified subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups
{
subscriptionId: string ,
targetResource: string ,
targetResourceGroup: string ,
targetResourceType: string ,
monitorService: string ,
monitorCondition: string ,
severity: string ,
smartGroupState: string ,
timeRange: string ,
pageCount: integer ,
sortBy: string ,
sortOrder: string ,
api-version: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
alertsCount: integer ,
smartGroupState: enum ,
severity: enum ,
startDateTime: string ,
lastModifiedDateTime: string ,
lastModifiedUserName: string ,
resources:
[
{
name: string ,
count: integer ,
}
,
]
,
resourceTypes:
[
{
name: string ,
count: integer ,
}
,
]
,
resourceGroups:
[
{
name: string ,
count: integer ,
}
,
]
,
monitorServices:
[
{
name: string ,
count: integer ,
}
,
]
,
monitorConditions:
[
{
name: string ,
count: integer ,
}
,
]
,
alertStates:
[
{
name: string ,
count: integer ,
}
,
]
,
alertSeverities:
[
{
name: string ,
count: integer ,
}
,
]
,
nextLink: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
SmartGroups_GetById (new)
Description Get details of smart group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}
{
subscriptionId: string ,
smartGroupId: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
properties:
{
alertsCount: integer ,
smartGroupState: enum ,
severity: enum ,
startDateTime: string ,
lastModifiedDateTime: string ,
lastModifiedUserName: string ,
resources:
[
{
name: string ,
count: integer ,
}
,
]
,
resourceTypes:
[
{
name: string ,
count: integer ,
}
,
]
,
resourceGroups:
[
{
name: string ,
count: integer ,
}
,
]
,
monitorServices:
[
{
name: string ,
count: integer ,
}
,
]
,
monitorConditions:
[
{
name: string ,
count: integer ,
}
,
]
,
alertStates:
[
{
name: string ,
count: integer ,
}
,
]
,
alertSeverities:
[
{
name: string ,
count: integer ,
}
,
]
,
nextLink: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
SmartGroups_ChangeState (new)
Description Change the state from unresolved to resolved and all the alerts within the smart group will also be resolved.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}/changeState
{
subscriptionId: string ,
smartGroupId: string ,
api-version: string ,
newState: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
properties:
{
alertsCount: integer ,
smartGroupState: enum ,
severity: enum ,
startDateTime: string ,
lastModifiedDateTime: string ,
lastModifiedUserName: string ,
resources:
[
{
name: string ,
count: integer ,
}
,
]
,
resourceTypes:
[
{
name: string ,
count: integer ,
}
,
]
,
resourceGroups:
[
{
name: string ,
count: integer ,
}
,
]
,
monitorServices:
[
{
name: string ,
count: integer ,
}
,
]
,
monitorConditions:
[
{
name: string ,
count: integer ,
}
,
]
,
alertStates:
[
{
name: string ,
count: integer ,
}
,
]
,
alertSeverities:
[
{
name: string ,
count: integer ,
}
,
]
,
nextLink: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
SmartGroups_GetHistory (new)
Description Get the history of the changes of smart group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}/history
{
subscriptionId: string ,
smartGroupId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
smartGroupId: string ,
modifications:
[
{
modificationEvent: enum ,
oldValue: string ,
newValue: string ,
modifiedAt: string ,
modifiedBy: string ,
comments: string ,
description: string ,
}
,
]
,
nextLink: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ActionRules_GetAll_Subscription (new)
Description List all action rules of the subscription and given input filters
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/actionRules
{
subscriptionId: string ,
targetResourceGroup: string ,
targetResourceType: string ,
targetResource: string ,
severity: string ,
monitorService: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
nextLink: string ,
value:
[
{
properties:
{
scope:
{
type: enum ,
values:
[
string ,
]
,
}
,
conditions:
{
severity:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorService:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorCondition:
{
operator: enum ,
values:
[
string ,
]
,
}
,
signalType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResource:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceGroup:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleId:
{
operator: enum ,
values:
[
string ,
]
,
}
,
description:
{
operator: enum ,
values:
[
string ,
]
,
}
,
logAnalyticsSearchResults:
{
operator: enum ,
values:
[
string ,
]
,
}
,
applicationInsightsSearchResults:
{
operator: enum ,
values:
[
string ,
]
,
}
,
}
,
suppressionConfig:
{
recurrenceType: enum ,
schedule:
{
startDate: string ,
endDate: string ,
startTime: string ,
endTime: string ,
recurrenceValues:
[
integer ,
]
,
}
,
}
,
description: string ,
resourceGroup: string ,
createdAt: string ,
lastModifiedAt: string ,
createdBy: string ,
lastModifiedBy: string ,
status: enum ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ActionRules_GetAll_ResourceGroup (new)
Description List all action rules of the subscription, created in given resource group and given input filters
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AlertsManagement/actionRules
{
subscriptionId: string ,
resourceGroup: string ,
targetResourceGroup: string ,
targetResourceType: string ,
targetResource: string ,
severity: string ,
monitorService: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
nextLink: string ,
value:
[
{
properties:
{
scope:
{
type: enum ,
values:
[
string ,
]
,
}
,
conditions:
{
severity:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorService:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorCondition:
{
operator: enum ,
values:
[
string ,
]
,
}
,
signalType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResource:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceGroup:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleId:
{
operator: enum ,
values:
[
string ,
]
,
}
,
description:
{
operator: enum ,
values:
[
string ,
]
,
}
,
logAnalyticsSearchResults:
{
operator: enum ,
values:
[
string ,
]
,
}
,
applicationInsightsSearchResults:
{
operator: enum ,
values:
[
string ,
]
,
}
,
}
,
suppressionConfig:
{
recurrenceType: enum ,
schedule:
{
startDate: string ,
endDate: string ,
startTime: string ,
endTime: string ,
recurrenceValues:
[
integer ,
]
,
}
,
}
,
description: string ,
resourceGroup: string ,
createdAt: string ,
lastModifiedAt: string ,
createdBy: string ,
lastModifiedBy: string ,
status: enum ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ActionRules_GetByName (new)
Description Get a specific action rule
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AlertsManagement/actionRules/{actionRuleName}
{
subscriptionId: string ,
resourceGroup: string ,
actionRuleName: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
properties:
{
scope:
{
type: enum ,
values:
[
string ,
]
,
}
,
conditions:
{
severity:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorService:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorCondition:
{
operator: enum ,
values:
[
string ,
]
,
}
,
signalType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResource:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceGroup:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleId:
{
operator: enum ,
values:
[
string ,
]
,
}
,
description:
{
operator: enum ,
values:
[
string ,
]
,
}
,
logAnalyticsSearchResults:
{
operator: enum ,
values:
[
string ,
]
,
}
,
applicationInsightsSearchResults:
{
operator: enum ,
values:
[
string ,
]
,
}
,
}
,
suppressionConfig:
{
recurrenceType: enum ,
schedule:
{
startDate: string ,
endDate: string ,
startTime: string ,
endTime: string ,
recurrenceValues:
[
integer ,
]
,
}
,
}
,
description: string ,
resourceGroup: string ,
createdAt: string ,
lastModifiedAt: string ,
createdBy: string ,
lastModifiedBy: string ,
status: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ActionRules_CreateUpdate (new)
Description Creates/Updates a specific action rule
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AlertsManagement/actionRules/{actionRuleName}
{
subscriptionId: string ,
resourceGroup: string ,
actionRuleName: string ,
actionRule:
{
properties:
{
scope:
{
type: enum ,
values:
[
string ,
]
,
}
,
conditions:
{
severity:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorService:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorCondition:
{
operator: enum ,
values:
[
string ,
]
,
}
,
signalType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResource:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceGroup:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleId:
{
operator: enum ,
values:
[
string ,
]
,
}
,
description:
{
operator: enum ,
values:
[
string ,
]
,
}
,
logAnalyticsSearchResults:
{
operator: enum ,
values:
[
string ,
]
,
}
,
applicationInsightsSearchResults:
{
operator: enum ,
values:
[
string ,
]
,
}
,
}
,
suppressionConfig:
{
recurrenceType: enum ,
schedule:
{
startDate: string ,
endDate: string ,
startTime: string ,
endTime: string ,
recurrenceValues:
[
integer ,
]
,
}
,
}
,
description: string ,
resourceGroup: string ,
createdAt: string ,
lastModifiedAt: string ,
createdBy: string ,
lastModifiedBy: string ,
status: enum ,
}
,
}
,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
properties:
{
scope:
{
type: enum ,
values:
[
string ,
]
,
}
,
conditions:
{
severity:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorService:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorCondition:
{
operator: enum ,
values:
[
string ,
]
,
}
,
signalType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResource:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceGroup:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleId:
{
operator: enum ,
values:
[
string ,
]
,
}
,
description:
{
operator: enum ,
values:
[
string ,
]
,
}
,
logAnalyticsSearchResults:
{
operator: enum ,
values:
[
string ,
]
,
}
,
applicationInsightsSearchResults:
{
operator: enum ,
values:
[
string ,
]
,
}
,
}
,
suppressionConfig:
{
recurrenceType: enum ,
schedule:
{
startDate: string ,
endDate: string ,
startTime: string ,
endTime: string ,
recurrenceValues:
[
integer ,
]
,
}
,
}
,
description: string ,
resourceGroup: string ,
createdAt: string ,
lastModifiedAt: string ,
createdBy: string ,
lastModifiedBy: string ,
status: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ActionRules_Delete (new)
Description Deletes a given action rule
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AlertsManagement/actionRules/{actionRuleName}
{
subscriptionId: string ,
resourceGroup: string ,
actionRuleName: string ,
}

⚐ Response (200)

{
x-ms-request-id: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ActionRules_Patch (new)
Description Update enabled flag and/or tags for the given action rule
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AlertsManagement/actionRules/{actionRuleName}
{
subscriptionId: string ,
resourceGroup: string ,
actionRuleName: string ,
actionRulePatch:
{
status: enum ,
tags: object ,
}
,
}

⚐ Response (200)

{
x-ms-request-id: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Operations_List (removed)
Description List all operations available through Azure Alerts Management Resource Provider.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.AlertsManagement/operations
{
api-version: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
}
,
]
,
}
Alerts_GetAll (removed)
Description List all the existing alerts, where the results can be selective by passing multiple filter parameters including time range and sorted on specific fields.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts
{
subscriptionId: string ,
targetResource: string ,
targetResourceGroup: string ,
targetResourceType: string ,
monitorService: string ,
monitorCondition: string ,
severity: string ,
alertState: string ,
smartGroupId: string ,
includePayload: boolean ,
pageCount: integer ,
sortBy: string ,
sortOrder: string ,
timeRange: string ,
api-version: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
severity: enum ,
signalType: enum ,
alertState: enum ,
monitorCondition: enum ,
targetResource: string ,
targetResourceName: string ,
targetResourceGroup: string ,
targetResourceType: string ,
monitorService: enum ,
sourceCreatedId: string ,
smartGroupId: string ,
smartGroupingReason: string ,
startDateTime: string ,
lastModifiedDateTime: string ,
lastModifiedUserName: string ,
payload: object ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Alerts_GetById (removed)
Description Get information related to a specific alert
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}
{
subscriptionId: string ,
alertId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
severity: enum ,
signalType: enum ,
alertState: enum ,
monitorCondition: enum ,
targetResource: string ,
targetResourceName: string ,
targetResourceGroup: string ,
targetResourceType: string ,
monitorService: enum ,
sourceCreatedId: string ,
smartGroupId: string ,
smartGroupingReason: string ,
startDateTime: string ,
lastModifiedDateTime: string ,
lastModifiedUserName: string ,
payload: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Alerts_ChangeState (removed)
Description Change the state of the alert.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}/changestate
{
subscriptionId: string ,
alertId: string ,
api-version: string ,
newState: string ,
}

⚐ Response (200)

{
properties:
{
severity: enum ,
signalType: enum ,
alertState: enum ,
monitorCondition: enum ,
targetResource: string ,
targetResourceName: string ,
targetResourceGroup: string ,
targetResourceType: string ,
monitorService: enum ,
sourceCreatedId: string ,
smartGroupId: string ,
smartGroupingReason: string ,
startDateTime: string ,
lastModifiedDateTime: string ,
lastModifiedUserName: string ,
payload: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Alerts_GetHistory (removed)
Description Get the history of the changes of an alert.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}/history
{
subscriptionId: string ,
alertId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
alertId: string ,
modifications:
[
{
modificationEvent: enum ,
oldValue: string ,
newValue: string ,
modifiedAt: string ,
modifiedBy: string ,
comments: string ,
description: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Alerts_GetSummary (removed)
Description Summary of alerts with the count each severity.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alertsSummary
{
subscriptionId: string ,
targetResourceGroup: string ,
timeRange: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
total: integer ,
smartGroupsCount: integer ,
summaryByState: object ,
summaryBySeverity:
{
sev0: object ,
sev1: object ,
sev2: object ,
sev3: object ,
sev4: object ,
}
,
summaryBySeverityAndMonitorCondition: object ,
summaryByMonitorService: object ,
nextLink: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
SmartGroups_GetAll (removed)
Description List all the smartGroups within the specified subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups
{
subscriptionId: string ,
targetResource: string ,
targetResourceGroup: string ,
targetResourceType: string ,
monitorService: string ,
monitorCondition: string ,
severity: string ,
smartGroupState: string ,
timeRange: string ,
pageCount: integer ,
sortBy: string ,
sortOrder: string ,
api-version: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
alertsCount: integer ,
smartGroupState: enum ,
severity: enum ,
startDateTime: string ,
lastModifiedDateTime: string ,
lastModifiedUserName: string ,
resources:
[
{
name: string ,
count: integer ,
}
,
]
,
resourceTypes:
[
{
name: string ,
count: integer ,
}
,
]
,
resourceGroups:
[
{
name: string ,
count: integer ,
}
,
]
,
monitorServices:
[
{
name: string ,
count: integer ,
}
,
]
,
monitorConditions:
[
{
name: string ,
count: integer ,
}
,
]
,
alertStates:
[
{
name: string ,
count: integer ,
}
,
]
,
alertSeverities:
[
{
name: string ,
count: integer ,
}
,
]
,
nextLink: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
SmartGroups_GetById (removed)
Description Get details of smart group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}
{
subscriptionId: string ,
smartGroupId: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
properties:
{
alertsCount: integer ,
smartGroupState: enum ,
severity: enum ,
startDateTime: string ,
lastModifiedDateTime: string ,
lastModifiedUserName: string ,
resources:
[
{
name: string ,
count: integer ,
}
,
]
,
resourceTypes:
[
{
name: string ,
count: integer ,
}
,
]
,
resourceGroups:
[
{
name: string ,
count: integer ,
}
,
]
,
monitorServices:
[
{
name: string ,
count: integer ,
}
,
]
,
monitorConditions:
[
{
name: string ,
count: integer ,
}
,
]
,
alertStates:
[
{
name: string ,
count: integer ,
}
,
]
,
alertSeverities:
[
{
name: string ,
count: integer ,
}
,
]
,
nextLink: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
SmartGroups_ChangeState (removed)
Description Change the state from unresolved to resolved and all the alerts within the smart group will also be resolved.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}/changeState
{
subscriptionId: string ,
smartGroupId: string ,
api-version: string ,
newState: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
properties:
{
alertsCount: integer ,
smartGroupState: enum ,
severity: enum ,
startDateTime: string ,
lastModifiedDateTime: string ,
lastModifiedUserName: string ,
resources:
[
{
name: string ,
count: integer ,
}
,
]
,
resourceTypes:
[
{
name: string ,
count: integer ,
}
,
]
,
resourceGroups:
[
{
name: string ,
count: integer ,
}
,
]
,
monitorServices:
[
{
name: string ,
count: integer ,
}
,
]
,
monitorConditions:
[
{
name: string ,
count: integer ,
}
,
]
,
alertStates:
[
{
name: string ,
count: integer ,
}
,
]
,
alertSeverities:
[
{
name: string ,
count: integer ,
}
,
]
,
nextLink: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
SmartGroups_GetHistory (removed)
Description Get the history of the changes of smart group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}/history
{
subscriptionId: string ,
smartGroupId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
smartGroupId: string ,
modifications:
[
{
modificationEvent: enum ,
oldValue: string ,
newValue: string ,
modifiedAt: string ,
modifiedBy: string ,
comments: string ,
description: string ,
}
,
]
,
nextLink: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ActionRules_GetAll_Subscription (removed)
Description List all action rules of the subscription and given input filters
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/actionRules
{
subscriptionId: string ,
targetResourceGroup: string ,
targetResourceType: string ,
targetResource: string ,
severity: string ,
monitorService: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
nextLink: string ,
value:
[
{
properties:
{
scope:
{
type: enum ,
values:
[
string ,
]
,
}
,
conditions:
{
severity:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorService:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorCondition:
{
operator: enum ,
values:
[
string ,
]
,
}
,
signalType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResource:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceGroup:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleId:
{
operator: enum ,
values:
[
string ,
]
,
}
,
description:
{
operator: enum ,
values:
[
string ,
]
,
}
,
logAnalyticsSearchResults:
{
operator: enum ,
values:
[
string ,
]
,
}
,
applicationInsightsSearchResults:
{
operator: enum ,
values:
[
string ,
]
,
}
,
}
,
suppressionConfig:
{
recurrenceType: enum ,
schedule:
{
startDate: string ,
endDate: string ,
startTime: string ,
endTime: string ,
recurrenceValues:
[
integer ,
]
,
}
,
}
,
description: string ,
resourceGroup: string ,
createdAt: string ,
lastModifiedAt: string ,
createdBy: string ,
lastModifiedBy: string ,
status: enum ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ActionRules_GetAll_ResourceGroup (removed)
Description List all action rules of the subscription, created in given resource group and given input filters
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AlertsManagement/actionRules
{
subscriptionId: string ,
resourceGroup: string ,
targetResourceGroup: string ,
targetResourceType: string ,
targetResource: string ,
severity: string ,
monitorService: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
nextLink: string ,
value:
[
{
properties:
{
scope:
{
type: enum ,
values:
[
string ,
]
,
}
,
conditions:
{
severity:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorService:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorCondition:
{
operator: enum ,
values:
[
string ,
]
,
}
,
signalType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResource:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceGroup:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleId:
{
operator: enum ,
values:
[
string ,
]
,
}
,
description:
{
operator: enum ,
values:
[
string ,
]
,
}
,
logAnalyticsSearchResults:
{
operator: enum ,
values:
[
string ,
]
,
}
,
applicationInsightsSearchResults:
{
operator: enum ,
values:
[
string ,
]
,
}
,
}
,
suppressionConfig:
{
recurrenceType: enum ,
schedule:
{
startDate: string ,
endDate: string ,
startTime: string ,
endTime: string ,
recurrenceValues:
[
integer ,
]
,
}
,
}
,
description: string ,
resourceGroup: string ,
createdAt: string ,
lastModifiedAt: string ,
createdBy: string ,
lastModifiedBy: string ,
status: enum ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ActionRules_GetByName (removed)
Description Get a specific action rule
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AlertsManagement/actionRules/{actionRuleName}
{
subscriptionId: string ,
resourceGroup: string ,
actionRuleName: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
properties:
{
scope:
{
type: enum ,
values:
[
string ,
]
,
}
,
conditions:
{
severity:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorService:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorCondition:
{
operator: enum ,
values:
[
string ,
]
,
}
,
signalType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResource:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceGroup:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleId:
{
operator: enum ,
values:
[
string ,
]
,
}
,
description:
{
operator: enum ,
values:
[
string ,
]
,
}
,
logAnalyticsSearchResults:
{
operator: enum ,
values:
[
string ,
]
,
}
,
applicationInsightsSearchResults:
{
operator: enum ,
values:
[
string ,
]
,
}
,
}
,
suppressionConfig:
{
recurrenceType: enum ,
schedule:
{
startDate: string ,
endDate: string ,
startTime: string ,
endTime: string ,
recurrenceValues:
[
integer ,
]
,
}
,
}
,
description: string ,
resourceGroup: string ,
createdAt: string ,
lastModifiedAt: string ,
createdBy: string ,
lastModifiedBy: string ,
status: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ActionRules_CreateUpdate (removed)
Description Creates/Updates a specific action rule
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AlertsManagement/actionRules/{actionRuleName}
{
subscriptionId: string ,
resourceGroup: string ,
actionRuleName: string ,
actionRule:
{
properties:
{
scope:
{
type: enum ,
values:
[
string ,
]
,
}
,
conditions:
{
severity:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorService:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorCondition:
{
operator: enum ,
values:
[
string ,
]
,
}
,
signalType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResource:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceGroup:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleId:
{
operator: enum ,
values:
[
string ,
]
,
}
,
description:
{
operator: enum ,
values:
[
string ,
]
,
}
,
logAnalyticsSearchResults:
{
operator: enum ,
values:
[
string ,
]
,
}
,
applicationInsightsSearchResults:
{
operator: enum ,
values:
[
string ,
]
,
}
,
}
,
suppressionConfig:
{
recurrenceType: enum ,
schedule:
{
startDate: string ,
endDate: string ,
startTime: string ,
endTime: string ,
recurrenceValues:
[
integer ,
]
,
}
,
}
,
description: string ,
resourceGroup: string ,
createdAt: string ,
lastModifiedAt: string ,
createdBy: string ,
lastModifiedBy: string ,
status: enum ,
}
,
}
,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
properties:
{
scope:
{
type: enum ,
values:
[
string ,
]
,
}
,
conditions:
{
severity:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorService:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorCondition:
{
operator: enum ,
values:
[
string ,
]
,
}
,
signalType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResource:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceGroup:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleId:
{
operator: enum ,
values:
[
string ,
]
,
}
,
description:
{
operator: enum ,
values:
[
string ,
]
,
}
,
logAnalyticsSearchResults:
{
operator: enum ,
values:
[
string ,
]
,
}
,
applicationInsightsSearchResults:
{
operator: enum ,
values:
[
string ,
]
,
}
,
}
,
suppressionConfig:
{
recurrenceType: enum ,
schedule:
{
startDate: string ,
endDate: string ,
startTime: string ,
endTime: string ,
recurrenceValues:
[
integer ,
]
,
}
,
}
,
description: string ,
resourceGroup: string ,
createdAt: string ,
lastModifiedAt: string ,
createdBy: string ,
lastModifiedBy: string ,
status: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ActionRules_Delete (removed)
Description Deletes a given action rule
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AlertsManagement/actionRules/{actionRuleName}
{
subscriptionId: string ,
resourceGroup: string ,
actionRuleName: string ,
}

⚐ Response (200)

{
x-ms-request-id: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ActionRules_Patch (removed)
Description Update enabled flag and/or tags for the given action rule
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AlertsManagement/actionRules/{actionRuleName}
{
subscriptionId: string ,
resourceGroup: string ,
actionRuleName: string ,
actionRulePatch:
{
status: enum ,
tags: object ,
}
,
}

⚐ Response (200)

{
x-ms-request-id: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}