SmartGroups Interface
public interface SmartGroups
Resource collection API of SmartGroups.
Method Summary
Method Details
changeState
public abstract SmartGroup changeState(String smartGroupId, AlertState newState)
Change the state of a Smart Group.
Parameters:
Returns:
changeStateWithResponse
public abstract Response<SmartGroup> changeStateWithResponse(String smartGroupId, AlertState newState, Context context)
Change the state of a Smart Group.
Parameters:
Returns:
getById
public abstract SmartGroup getById(String smartGroupId)
Get information related to a specific Smart Group.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<SmartGroup> getByIdWithResponse(String smartGroupId, Context context)
Get information related to a specific Smart Group.
Parameters:
Returns:
getHistory
public abstract SmartGroupModification getHistory(String smartGroupId)
Get the history a smart group, which captures any Smart Group state changes (New/Acknowledged/Closed) .
Parameters:
Returns:
getHistoryWithResponse
public abstract Response<SmartGroupModification> getHistoryWithResponse(String smartGroupId, Context context)
Get the history a smart group, which captures any Smart Group state changes (New/Acknowledged/Closed) .
Parameters:
Returns:
list
public abstract PagedIterable<SmartGroup> list()
Get all Smart Groups within a specified subscription List all the Smart Groups within a specified subscription.
Returns:
list
public abstract PagedIterable<SmartGroup> list(String targetResource, String targetResourceGroup, String targetResourceType, MonitorService monitorService, MonitorCondition monitorCondition, Severity severity, AlertState smartGroupState, TimeRange timeRange, Long pageCount, SmartGroupsSortByFields sortBy, SortOrder sortOrder, Context context)
Get all Smart Groups within a specified subscription List all the Smart Groups within a specified subscription.
Parameters:
Returns: