Microsoft.AlertsManagement (preview:2024-03-01)

2024/12/16 • 6 deleted methods

AlertProcessingRules_ListBySubscription (removed)
Description List all alert processing rules in a subscription.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
nextLink: string ,
value:
[
{
properties:
{
scopes:
[
string ,
]
,
conditions:
[
{
field: enum ,
operator: enum ,
values:
[
string ,
]
,
}
,
]
,
schedule:
{
effectiveFrom: string ,
effectiveUntil: string ,
timeZone: string ,
recurrences:
[
{
recurrenceType: enum ,
startTime: string ,
endTime: string ,
}
,
]
,
}
,
actions:
[
{
actionType: enum ,
}
,
]
,
description: string ,
enabled: boolean ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
AlertProcessingRules_ListByResourceGroup (removed)
Description List all alert processing rules in a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
nextLink: string ,
value:
[
{
properties:
{
scopes:
[
string ,
]
,
conditions:
[
{
field: enum ,
operator: enum ,
values:
[
string ,
]
,
}
,
]
,
schedule:
{
effectiveFrom: string ,
effectiveUntil: string ,
timeZone: string ,
recurrences:
[
{
recurrenceType: enum ,
startTime: string ,
endTime: string ,
}
,
]
,
}
,
actions:
[
{
actionType: enum ,
}
,
]
,
description: string ,
enabled: boolean ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
AlertProcessingRules_GetByName (removed)
Description Get an alert processing rule by name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{alertProcessingRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
alertProcessingRuleName: string ,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
properties:
{
scopes:
[
string ,
]
,
conditions:
[
{
field: enum ,
operator: enum ,
values:
[
string ,
]
,
}
,
]
,
schedule:
{
effectiveFrom: string ,
effectiveUntil: string ,
timeZone: string ,
recurrences:
[
{
recurrenceType: enum ,
startTime: string ,
endTime: string ,
}
,
]
,
}
,
actions:
[
{
actionType: enum ,
}
,
]
,
description: string ,
enabled: boolean ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
AlertProcessingRules_CreateOrUpdate (removed)
Description Create or update an alert processing rule.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{alertProcessingRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
alertProcessingRuleName: string ,
alertProcessingRule:
{
properties:
{
scopes:
[
string ,
]
,
conditions:
[
{
field: enum ,
operator: enum ,
values:
[
string ,
]
,
}
,
]
,
schedule:
{
effectiveFrom: string ,
effectiveUntil: string ,
timeZone: string ,
recurrences:
[
{
recurrenceType: enum ,
startTime: string ,
endTime: string ,
}
,
]
,
}
,
actions:
[
{
actionType: enum ,
}
,
]
,
description: string ,
enabled: boolean ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
properties:
{
scopes:
[
string ,
]
,
conditions:
[
{
field: enum ,
operator: enum ,
values:
[
string ,
]
,
}
,
]
,
schedule:
{
effectiveFrom: string ,
effectiveUntil: string ,
timeZone: string ,
recurrences:
[
{
recurrenceType: enum ,
startTime: string ,
endTime: string ,
}
,
]
,
}
,
actions:
[
{
actionType: enum ,
}
,
]
,
description: string ,
enabled: boolean ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (201)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
properties:
{
scopes:
[
string ,
]
,
conditions:
[
{
field: enum ,
operator: enum ,
values:
[
string ,
]
,
}
,
]
,
schedule:
{
effectiveFrom: string ,
effectiveUntil: string ,
timeZone: string ,
recurrences:
[
{
recurrenceType: enum ,
startTime: string ,
endTime: string ,
}
,
]
,
}
,
actions:
[
{
actionType: enum ,
}
,
]
,
description: string ,
enabled: boolean ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
AlertProcessingRules_Delete (removed)
Description Delete an alert processing rule.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{alertProcessingRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
alertProcessingRuleName: string ,
api-version: string ,
}

⚐ Response (200)

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

⚐ Response (204)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
AlertProcessingRules_Update (removed)
Description Enable, disable, or update tags for an alert processing rule.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{alertProcessingRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
alertProcessingRuleName: string ,
alertProcessingRulePatch:
{
properties:
{
enabled: boolean ,
}
,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
}
,
$schema:
{
properties:
{
scopes:
[
string ,
]
,
conditions:
[
{
field: enum ,
operator: enum ,
values:
[
string ,
]
,
}
,
]
,
schedule:
{
effectiveFrom: string ,
effectiveUntil: string ,
timeZone: string ,
recurrences:
[
{
recurrenceType: enum ,
startTime: string ,
endTime: string ,
}
,
]
,
}
,
actions:
[
{
actionType: enum ,
}
,
]
,
description: string ,
enabled: boolean ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (default)

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