AlertRuleRecommendations Interface

public interface AlertRuleRecommendations

Resource collection API of AlertRuleRecommendations.

Method Summary

Modifier and Type Method and Description
abstract PagedIterable<AlertRuleRecommendationResource> list(String targetType)

Retrieve alert rule recommendations for a target type.

abstract PagedIterable<AlertRuleRecommendationResource> list(String targetType, Context context)

Retrieve alert rule recommendations for a target type.

abstract PagedIterable<AlertRuleRecommendationResource> listByResource(String resourceUri)

Retrieve alert rule recommendations for a resource.

abstract PagedIterable<AlertRuleRecommendationResource> listByResource(String resourceUri, Context context)

Retrieve alert rule recommendations for a resource.

Method Details

list

public abstract PagedIterable<AlertRuleRecommendationResource> list(String targetType)

Retrieve alert rule recommendations for a target type.

Parameters:

targetType - The recommendations target type.

Returns:

list of alert rule recommendations as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<AlertRuleRecommendationResource> list(String targetType, Context context)

Retrieve alert rule recommendations for a target type.

Parameters:

targetType - The recommendations target type.
context - The context to associate with this operation.

Returns:

list of alert rule recommendations as paginated response with PagedIterable<T>.

listByResource

public abstract PagedIterable<AlertRuleRecommendationResource> listByResource(String resourceUri)

Retrieve alert rule recommendations for a resource.

Parameters:

resourceUri - The identifier of the resource.

Returns:

list of alert rule recommendations as paginated response with PagedIterable<T>.

listByResource

public abstract PagedIterable<AlertRuleRecommendationResource> listByResource(String resourceUri, Context context)

Retrieve alert rule recommendations for a resource.

Parameters:

resourceUri - The identifier of the resource.
context - The context to associate with this operation.

Returns:

list of alert rule recommendations as paginated response with PagedIterable<T>.

Applies to