Interface RecommendedActionsClient
public interface RecommendedActionsClient
An instance of this class provides access to all the operations defined in RecommendedActionsClient.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve recommended actions from the advisor.com.azure.core.http.rest.Response<RecommendationActionInner>
getWithResponse
(String resourceGroupName, String serverName, String advisorName, String recommendedActionName, com.azure.core.util.Context context) Retrieve recommended actions from the advisor.com.azure.core.http.rest.PagedIterable<RecommendationActionInner>
listByServer
(String resourceGroupName, String serverName, String advisorName) Retrieve recommended actions from the advisor.com.azure.core.http.rest.PagedIterable<RecommendationActionInner>
listByServer
(String resourceGroupName, String serverName, String advisorName, String sessionId, com.azure.core.util.Context context) Retrieve recommended actions from the advisor.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<RecommendationActionInner> getWithResponse(String resourceGroupName, String serverName, String advisorName, String recommendedActionName, com.azure.core.util.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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
RecommendationActionInner 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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByServer
com.azure.core.http.rest.PagedIterable<RecommendationActionInner> 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 as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByServer
com.azure.core.http.rest.PagedIterable<RecommendationActionInner> listByServer(String resourceGroupName, String serverName, String advisorName, String sessionId, com.azure.core.util.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 as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-