RecommendedActions Interface

public interface RecommendedActions

Resource collection API of RecommendedActions.

Method Summary

Modifier and Type Method and Description
abstract RecommendationAction get(String resourceGroupName, String serverName, String advisorName, String recommendedActionName)

Retrieve recommended actions from the advisor.

abstract Response<RecommendationAction> getWithResponse(String resourceGroupName, String serverName, String advisorName, String recommendedActionName, Context context)

Retrieve recommended actions from the advisor.

abstract PagedIterable<RecommendationAction> listByServer(String resourceGroupName, String serverName, String advisorName)

Retrieve recommended actions from the advisor.

abstract PagedIterable<RecommendationAction> listByServer(String resourceGroupName, String serverName, String advisorName, String sessionId, Context context)

Retrieve recommended actions from the advisor.

Method Details

get

public abstract RecommendationAction get(String resourceGroupName, String serverName, String advisorName, String recommendedActionName)

Retrieve recommended actions from the advisor.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
advisorName - The advisor name for recommendation action.
recommendedActionName - The recommended action name.

Returns:

represents a Recommendation Action.

getWithResponse

public abstract Response<RecommendationAction> getWithResponse(String resourceGroupName, String serverName, String advisorName, String recommendedActionName, Context context)

Retrieve recommended actions from the advisor.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
advisorName - The advisor name for recommendation action.
recommendedActionName - The recommended action name.
context - The context to associate with this operation.

Returns:

represents a Recommendation Action along with Response<T>.

listByServer

public abstract PagedIterable<RecommendationAction> listByServer(String resourceGroupName, String serverName, String advisorName)

Retrieve recommended actions from the advisor.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
advisorName - The advisor name for recommendation action.

Returns:

a list of recommendation actions.

listByServer

public abstract PagedIterable<RecommendationAction> listByServer(String resourceGroupName, String serverName, String advisorName, String sessionId, Context context)

Retrieve recommended actions from the advisor.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
advisorName - The advisor name for recommendation action.
sessionId - The recommendation action session identifier.
context - The context to associate with this operation.

Returns:

a list of recommendation actions.

Applies to