Interface AlertApi
@Path("/{resourceid}")
@Consumes("application/json")
public interface AlertApi
This Azure Resource Manager API provides all the alerts available for a given
resource
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionchangeState
(String alertId, String newState) getHistory
(String alertId) getSummary
(AlertRequestOptions... getSummaryOptions) list
(AlertRequestOptions... getAllOptions)
-
Method Details
-
list
@Named("alerts:getAll") @Path("/providers/Microsoft.AlertsManagement/alerts") @GET List<Alert> list(@Nullable AlertRequestOptions... getAllOptions) -
get
-
changeState
-
getHistory
@Named("alerts:history") @Path("/providers/Microsoft.AlertsManagement/alerts/{alertId}/history") @GET AlertModification getHistory(@PathParam("alertId") String alertId) -
getSummary
@Named("alerts:summary") @Path("providers/Microsoft.AlertsManagement/alertsSummary") @GET AlertSummary getSummary(AlertRequestOptions... getSummaryOptions)
-