Interface DatabaseRecommendedActionsClient
public interface DatabaseRecommendedActionsClient
An instance of this class provides access to all the operations defined in DatabaseRecommendedActionsClient.
-
Method Summary
Modifier and TypeMethodDescriptionget(String resourceGroupName, String serverName, String databaseName, String advisorName, String recommendedActionName) Gets a database recommended action.getAsync(String resourceGroupName, String serverName, String databaseName, String advisorName, String recommendedActionName) Gets a database recommended action.com.azure.core.http.rest.Response<RecommendedActionInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, String advisorName, String recommendedActionName, com.azure.core.util.Context context) Gets a database recommended action.Mono<com.azure.core.http.rest.Response<RecommendedActionInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String advisorName, String recommendedActionName) Gets a database recommended action.listByDatabaseAdvisor(String resourceGroupName, String serverName, String databaseName, String advisorName) Gets list of Database Recommended Actions.listByDatabaseAdvisorAsync(String resourceGroupName, String serverName, String databaseName, String advisorName) Gets list of Database Recommended Actions.com.azure.core.http.rest.Response<List<RecommendedActionInner>> listByDatabaseAdvisorWithResponse(String resourceGroupName, String serverName, String databaseName, String advisorName, com.azure.core.util.Context context) Gets list of Database Recommended Actions.Mono<com.azure.core.http.rest.Response<List<RecommendedActionInner>>> listByDatabaseAdvisorWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String advisorName) Gets list of Database Recommended Actions.update(String resourceGroupName, String serverName, String databaseName, String advisorName, String recommendedActionName, RecommendedActionInner parameters) Updates a database recommended action.updateAsync(String resourceGroupName, String serverName, String databaseName, String advisorName, String recommendedActionName, RecommendedActionInner parameters) Updates a database recommended action.com.azure.core.http.rest.Response<RecommendedActionInner> updateWithResponse(String resourceGroupName, String serverName, String databaseName, String advisorName, String recommendedActionName, RecommendedActionInner parameters, com.azure.core.util.Context context) Updates a database recommended action.Mono<com.azure.core.http.rest.Response<RecommendedActionInner>> updateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String advisorName, String recommendedActionName, RecommendedActionInner parameters) Updates a database recommended action.
-
Method Details
-
listByDatabaseAdvisorWithResponseAsync
Mono<com.azure.core.http.rest.Response<List<RecommendedActionInner>>> listByDatabaseAdvisorWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String advisorName) Gets list of Database Recommended Actions.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.advisorName- The name of the Database Advisor.- Returns:
- list of Database Recommended Actions along with
Responseon successful completion ofMono. - 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.
-
listByDatabaseAdvisorAsync
Mono<List<RecommendedActionInner>> listByDatabaseAdvisorAsync(String resourceGroupName, String serverName, String databaseName, String advisorName) Gets list of Database Recommended Actions.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.advisorName- The name of the Database Advisor.- Returns:
- list of Database Recommended Actions on successful completion of
Mono. - 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.
-
listByDatabaseAdvisorWithResponse
com.azure.core.http.rest.Response<List<RecommendedActionInner>> listByDatabaseAdvisorWithResponse(String resourceGroupName, String serverName, String databaseName, String advisorName, com.azure.core.util.Context context) Gets list of Database Recommended Actions.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.advisorName- The name of the Database Advisor.context- The context to associate with this operation.- Returns:
- list of Database Recommended Actions 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.
-
listByDatabaseAdvisor
List<RecommendedActionInner> listByDatabaseAdvisor(String resourceGroupName, String serverName, String databaseName, String advisorName) Gets list of Database Recommended Actions.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.advisorName- The name of the Database Advisor.- Returns:
- list of Database Recommended Actions.
- 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<RecommendedActionInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String advisorName, String recommendedActionName) Gets a database recommended action.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.advisorName- The name of the Database Advisor.recommendedActionName- The name of Database Recommended Action.- Returns:
- a database recommended action along with
Responseon successful completion ofMono. - 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.
-
getAsync
Mono<RecommendedActionInner> getAsync(String resourceGroupName, String serverName, String databaseName, String advisorName, String recommendedActionName) Gets a database recommended action.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.advisorName- The name of the Database Advisor.recommendedActionName- The name of Database Recommended Action.- Returns:
- a database recommended action on successful completion of
Mono. - 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.
-
getWithResponse
com.azure.core.http.rest.Response<RecommendedActionInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, String advisorName, String recommendedActionName, com.azure.core.util.Context context) Gets a database recommended action.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.advisorName- The name of the Database Advisor.recommendedActionName- The name of Database Recommended Action.context- The context to associate with this operation.- Returns:
- a database recommended 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
RecommendedActionInner get(String resourceGroupName, String serverName, String databaseName, String advisorName, String recommendedActionName) Gets a database recommended action.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.advisorName- The name of the Database Advisor.recommendedActionName- The name of Database Recommended Action.- Returns:
- a database recommended 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.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<RecommendedActionInner>> updateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String advisorName, String recommendedActionName, RecommendedActionInner parameters) Updates a database recommended action.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.advisorName- The name of the Database Advisor.recommendedActionName- The name of Database Recommended Action.parameters- The requested recommended action resource state.- Returns:
- database, Server or Elastic Pool Recommended Action along with
Responseon successful completion ofMono. - 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.
-
updateAsync
Mono<RecommendedActionInner> updateAsync(String resourceGroupName, String serverName, String databaseName, String advisorName, String recommendedActionName, RecommendedActionInner parameters) Updates a database recommended action.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.advisorName- The name of the Database Advisor.recommendedActionName- The name of Database Recommended Action.parameters- The requested recommended action resource state.- Returns:
- database, Server or Elastic Pool Recommended Action on successful completion of
Mono. - 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.
-
updateWithResponse
com.azure.core.http.rest.Response<RecommendedActionInner> updateWithResponse(String resourceGroupName, String serverName, String databaseName, String advisorName, String recommendedActionName, RecommendedActionInner parameters, com.azure.core.util.Context context) Updates a database recommended action.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.advisorName- The name of the Database Advisor.recommendedActionName- The name of Database Recommended Action.parameters- The requested recommended action resource state.context- The context to associate with this operation.- Returns:
- database, Server or Elastic Pool Recommended 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.
-
update
RecommendedActionInner update(String resourceGroupName, String serverName, String databaseName, String advisorName, String recommendedActionName, RecommendedActionInner parameters) Updates a database recommended action.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.advisorName- The name of the Database Advisor.recommendedActionName- The name of Database Recommended Action.parameters- The requested recommended action resource state.- Returns:
- database, Server or Elastic Pool Recommended 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.
-