Microsoft.AlertsManagement (preview:2019-05-05)

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

ActionRules_ListBySubscription (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 ,
impactedScope: string ,
description: string ,
alertRuleId: string ,
actionGroup: string ,
name: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
nextLink: string ,
value:
[
{
properties:
{
scope:
{
scopeType: enum ,
values:
[
string ,
]
,
}
,
conditions:
{
severity:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorService:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorCondition:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleId:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleName:
{
operator: enum ,
values:
[
string ,
]
,
}
,
description:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertContext:
{
operator: enum ,
values:
[
string ,
]
,
}
,
}
,
description: string ,
createdAt: string ,
lastModifiedAt: string ,
createdBy: string ,
lastModifiedBy: string ,
status: enum ,
type: enum ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ActionRules_ListByResourceGroup (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/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules
{
subscriptionId: string ,
resourceGroupName: string ,
targetResourceGroup: string ,
targetResourceType: string ,
targetResource: string ,
severity: string ,
monitorService: string ,
impactedScope: string ,
description: string ,
alertRuleId: string ,
actionGroup: string ,
name: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
nextLink: string ,
value:
[
{
properties:
{
scope:
{
scopeType: enum ,
values:
[
string ,
]
,
}
,
conditions:
{
severity:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorService:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorCondition:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleId:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleName:
{
operator: enum ,
values:
[
string ,
]
,
}
,
description:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertContext:
{
operator: enum ,
values:
[
string ,
]
,
}
,
}
,
description: string ,
createdAt: string ,
lastModifiedAt: string ,
createdBy: string ,
lastModifiedBy: string ,
status: enum ,
type: 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/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{actionRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
actionRuleName: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
properties:
{
scope:
{
scopeType: enum ,
values:
[
string ,
]
,
}
,
conditions:
{
severity:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorService:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorCondition:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleId:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleName:
{
operator: enum ,
values:
[
string ,
]
,
}
,
description:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertContext:
{
operator: enum ,
values:
[
string ,
]
,
}
,
}
,
description: string ,
createdAt: string ,
lastModifiedAt: string ,
createdBy: string ,
lastModifiedBy: string ,
status: enum ,
type: 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/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{actionRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
actionRuleName: string ,
actionRule:
{
properties:
{
scope:
{
scopeType: enum ,
values:
[
string ,
]
,
}
,
conditions:
{
severity:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorService:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorCondition:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleId:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleName:
{
operator: enum ,
values:
[
string ,
]
,
}
,
description:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertContext:
{
operator: enum ,
values:
[
string ,
]
,
}
,
}
,
description: string ,
createdAt: string ,
lastModifiedAt: string ,
createdBy: string ,
lastModifiedBy: string ,
status: enum ,
type: enum ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
properties:
{
scope:
{
scopeType: enum ,
values:
[
string ,
]
,
}
,
conditions:
{
severity:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorService:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorCondition:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleId:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleName:
{
operator: enum ,
values:
[
string ,
]
,
}
,
description:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertContext:
{
operator: enum ,
values:
[
string ,
]
,
}
,
}
,
description: string ,
createdAt: string ,
lastModifiedAt: string ,
createdBy: string ,
lastModifiedBy: string ,
status: enum ,
type: 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/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{actionRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
actionRuleName: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema: boolean ,
}

⚐ Response (default)

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

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{actionRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
actionRuleName: string ,
actionRulePatch:
{
properties:
{
status: enum ,
}
,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
properties:
{
scope:
{
scopeType: enum ,
values:
[
string ,
]
,
}
,
conditions:
{
severity:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorService:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorCondition:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleId:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleName:
{
operator: enum ,
values:
[
string ,
]
,
}
,
description:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertContext:
{
operator: enum ,
values:
[
string ,
]
,
}
,
}
,
description: string ,
createdAt: string ,
lastModifiedAt: string ,
createdBy: string ,
lastModifiedBy: string ,
status: enum ,
type: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
}
,
origin: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Alerts_MetaData (new)
Description :  List alerts meta data information based on value of identifier parameter.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
metadataIdentifier: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Alerts_GetAll (new)
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.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
essentials:
{
severity: enum ,
signalType: enum ,
alertState: enum ,
monitorCondition: enum ,
targetResource: string ,
targetResourceName: string ,
targetResourceGroup: string ,
targetResourceType: string ,
monitorService: enum ,
alertRule: string ,
sourceCreatedId: string ,
smartGroupId: string ,
smartGroupingReason: string ,
startDateTime: string ,
lastModifiedDateTime: string ,
monitorConditionResolvedDateTime: string ,
lastModifiedUserName: string ,
actionStatus:
{
isSuppressed: boolean ,
}
,
description: string ,
}
,
context: object ,
egressConfig: 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:
{
essentials:
{
severity: enum ,
signalType: enum ,
alertState: enum ,
monitorCondition: enum ,
targetResource: string ,
targetResourceName: string ,
targetResourceGroup: string ,
targetResourceType: string ,
monitorService: enum ,
alertRule: string ,
sourceCreatedId: string ,
smartGroupId: string ,
smartGroupingReason: string ,
startDateTime: string ,
lastModifiedDateTime: string ,
monitorConditionResolvedDateTime: string ,
lastModifiedUserName: string ,
actionStatus:
{
isSuppressed: boolean ,
}
,
description: string ,
}
,
context: object ,
egressConfig: object ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
essentials:
{
severity: enum ,
signalType: enum ,
alertState: enum ,
monitorCondition: enum ,
targetResource: string ,
targetResourceName: string ,
targetResourceGroup: string ,
targetResourceType: string ,
monitorService: enum ,
alertRule: string ,
sourceCreatedId: string ,
smartGroupId: string ,
smartGroupingReason: string ,
startDateTime: string ,
lastModifiedDateTime: string ,
monitorConditionResolvedDateTime: string ,
lastModifiedUserName: string ,
actionStatus:
{
isSuppressed: boolean ,
}
,
description: string ,
}
,
context: object ,
egressConfig: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Alerts_GetHistory (new)
Description :  Get the history of an alert, which captures any monitor condition changes (Fired/Resolved) and alert state changes (New/Acknowledged/Closed).
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 :  Get a summarized count of your alerts grouped by various parameters (e.g. grouping by 'Severity' returns the count of alerts for each severity).
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alertsSummary
{
subscriptionId: string ,
groupby: string ,
includeSmartGroupsCount: boolean ,
targetResource: string ,
targetResourceType: string ,
targetResourceGroup: string ,
monitorService: string ,
monitorCondition: string ,
severity: string ,
alertState: string ,
alertRule: string ,
timeRange: string ,
customTimeRange: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
total: integer ,
smartGroupsCount: integer ,
groupedby: string ,
values:
[
{
name: string ,
count: integer ,
groupedby: string ,
values:
[
string ,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
SmartGroups_GetAll (new)
Description :  List all the Smart Groups within a 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 information related to a specific 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 of a Smart Group.
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 a smart group, which captures any Smart Group state changes (New/Acknowledged/Closed) .
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_ListBySubscription (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 ,
impactedScope: string ,
description: string ,
alertRuleId: string ,
actionGroup: string ,
name: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
nextLink: string ,
value:
[
{
properties:
{
scope:
{
scopeType: enum ,
values:
[
string ,
]
,
}
,
conditions:
{
severity:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorService:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorCondition:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleId:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleName:
{
operator: enum ,
values:
[
string ,
]
,
}
,
description:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertContext:
{
operator: enum ,
values:
[
string ,
]
,
}
,
}
,
description: string ,
createdAt: string ,
lastModifiedAt: string ,
createdBy: string ,
lastModifiedBy: string ,
status: enum ,
type: enum ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ActionRules_ListByResourceGroup (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/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules
{
subscriptionId: string ,
resourceGroupName: string ,
targetResourceGroup: string ,
targetResourceType: string ,
targetResource: string ,
severity: string ,
monitorService: string ,
impactedScope: string ,
description: string ,
alertRuleId: string ,
actionGroup: string ,
name: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
nextLink: string ,
value:
[
{
properties:
{
scope:
{
scopeType: enum ,
values:
[
string ,
]
,
}
,
conditions:
{
severity:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorService:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorCondition:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleId:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleName:
{
operator: enum ,
values:
[
string ,
]
,
}
,
description:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertContext:
{
operator: enum ,
values:
[
string ,
]
,
}
,
}
,
description: string ,
createdAt: string ,
lastModifiedAt: string ,
createdBy: string ,
lastModifiedBy: string ,
status: enum ,
type: 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/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{actionRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
actionRuleName: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
properties:
{
scope:
{
scopeType: enum ,
values:
[
string ,
]
,
}
,
conditions:
{
severity:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorService:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorCondition:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleId:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleName:
{
operator: enum ,
values:
[
string ,
]
,
}
,
description:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertContext:
{
operator: enum ,
values:
[
string ,
]
,
}
,
}
,
description: string ,
createdAt: string ,
lastModifiedAt: string ,
createdBy: string ,
lastModifiedBy: string ,
status: enum ,
type: 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/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{actionRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
actionRuleName: string ,
actionRule:
{
properties:
{
scope:
{
scopeType: enum ,
values:
[
string ,
]
,
}
,
conditions:
{
severity:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorService:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorCondition:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleId:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleName:
{
operator: enum ,
values:
[
string ,
]
,
}
,
description:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertContext:
{
operator: enum ,
values:
[
string ,
]
,
}
,
}
,
description: string ,
createdAt: string ,
lastModifiedAt: string ,
createdBy: string ,
lastModifiedBy: string ,
status: enum ,
type: enum ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
properties:
{
scope:
{
scopeType: enum ,
values:
[
string ,
]
,
}
,
conditions:
{
severity:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorService:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorCondition:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleId:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleName:
{
operator: enum ,
values:
[
string ,
]
,
}
,
description:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertContext:
{
operator: enum ,
values:
[
string ,
]
,
}
,
}
,
description: string ,
createdAt: string ,
lastModifiedAt: string ,
createdBy: string ,
lastModifiedBy: string ,
status: enum ,
type: 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/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{actionRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
actionRuleName: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema: boolean ,
}

⚐ Response (default)

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

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{actionRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
actionRuleName: string ,
actionRulePatch:
{
properties:
{
status: enum ,
}
,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
properties:
{
scope:
{
scopeType: enum ,
values:
[
string ,
]
,
}
,
conditions:
{
severity:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorService:
{
operator: enum ,
values:
[
string ,
]
,
}
,
monitorCondition:
{
operator: enum ,
values:
[
string ,
]
,
}
,
targetResourceType:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleId:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertRuleName:
{
operator: enum ,
values:
[
string ,
]
,
}
,
description:
{
operator: enum ,
values:
[
string ,
]
,
}
,
alertContext:
{
operator: enum ,
values:
[
string ,
]
,
}
,
}
,
description: string ,
createdAt: string ,
lastModifiedAt: string ,
createdBy: string ,
lastModifiedBy: string ,
status: enum ,
type: enum ,
}
,
}
,
}

⚐ 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 ,
}
,
origin: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Alerts_MetaData (removed)
Description :  List alerts meta data information based on value of identifier parameter.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
metadataIdentifier: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Alerts_GetAll (removed)
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.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
essentials:
{
severity: enum ,
signalType: enum ,
alertState: enum ,
monitorCondition: enum ,
targetResource: string ,
targetResourceName: string ,
targetResourceGroup: string ,
targetResourceType: string ,
monitorService: enum ,
alertRule: string ,
sourceCreatedId: string ,
smartGroupId: string ,
smartGroupingReason: string ,
startDateTime: string ,
lastModifiedDateTime: string ,
monitorConditionResolvedDateTime: string ,
lastModifiedUserName: string ,
actionStatus:
{
isSuppressed: boolean ,
}
,
description: string ,
}
,
context: object ,
egressConfig: 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:
{
essentials:
{
severity: enum ,
signalType: enum ,
alertState: enum ,
monitorCondition: enum ,
targetResource: string ,
targetResourceName: string ,
targetResourceGroup: string ,
targetResourceType: string ,
monitorService: enum ,
alertRule: string ,
sourceCreatedId: string ,
smartGroupId: string ,
smartGroupingReason: string ,
startDateTime: string ,
lastModifiedDateTime: string ,
monitorConditionResolvedDateTime: string ,
lastModifiedUserName: string ,
actionStatus:
{
isSuppressed: boolean ,
}
,
description: string ,
}
,
context: object ,
egressConfig: object ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
essentials:
{
severity: enum ,
signalType: enum ,
alertState: enum ,
monitorCondition: enum ,
targetResource: string ,
targetResourceName: string ,
targetResourceGroup: string ,
targetResourceType: string ,
monitorService: enum ,
alertRule: string ,
sourceCreatedId: string ,
smartGroupId: string ,
smartGroupingReason: string ,
startDateTime: string ,
lastModifiedDateTime: string ,
monitorConditionResolvedDateTime: string ,
lastModifiedUserName: string ,
actionStatus:
{
isSuppressed: boolean ,
}
,
description: string ,
}
,
context: object ,
egressConfig: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Alerts_GetHistory (removed)
Description :  Get the history of an alert, which captures any monitor condition changes (Fired/Resolved) and alert state changes (New/Acknowledged/Closed).
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 :  Get a summarized count of your alerts grouped by various parameters (e.g. grouping by 'Severity' returns the count of alerts for each severity).
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alertsSummary
{
subscriptionId: string ,
groupby: string ,
includeSmartGroupsCount: boolean ,
targetResource: string ,
targetResourceType: string ,
targetResourceGroup: string ,
monitorService: string ,
monitorCondition: string ,
severity: string ,
alertState: string ,
alertRule: string ,
timeRange: string ,
customTimeRange: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
total: integer ,
smartGroupsCount: integer ,
groupedby: string ,
values:
[
{
name: string ,
count: integer ,
groupedby: string ,
values:
[
string ,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
SmartGroups_GetAll (removed)
Description :  List all the Smart Groups within a 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 information related to a specific 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 of a Smart Group.
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 a smart group, which captures any Smart Group state changes (New/Acknowledged/Closed) .
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 ,
]
,
}
,
}