v18

latestSwagger 2.0raw.githubusercontent.com2022-09-2672335.7 KB

Change the state of an alert.

post/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}/changestate

Path parameters

subscriptionIdstring required

The ID of the target subscription.

alertIdstring required

Unique ID of an alert instance.

Query parameters

api-version'2019-05-05-preview' required

client API version

newState'New' | 'Acknowledged' | 'Closed' required

New state of the alert.

Request body

commentsstring

Response

OK. Alert state updated.

idstring

Azure resource Id

typestring

Azure resource type

namestring

Azure resource name