Interface ResourceProvidersClient
public interface ResourceProvidersClient
An instance of this class provides access to all the operations defined in ResourceProvidersClient.
-
Method Summary
Modifier and TypeMethodDescriptionbeginCreateRecommendedActionSession
(String resourceGroupName, String serverName, String advisorName, String databaseName) Create recommendation action session for the advisor.beginCreateRecommendedActionSession
(String resourceGroupName, String serverName, String advisorName, String databaseName, com.azure.core.util.Context context) Create recommendation action session for the advisor.void
createRecommendedActionSession
(String resourceGroupName, String serverName, String advisorName, String databaseName) Create recommendation action session for the advisor.void
createRecommendedActionSession
(String resourceGroupName, String serverName, String advisorName, String databaseName, com.azure.core.util.Context context) Create recommendation action session for the advisor.resetQueryPerformanceInsightData
(String resourceGroupName, String serverName) Reset data for Query Performance Insight.com.azure.core.http.rest.Response<QueryPerformanceInsightResetDataResultInner>
resetQueryPerformanceInsightDataWithResponse
(String resourceGroupName, String serverName, com.azure.core.util.Context context) Reset data for Query Performance Insight.
-
Method Details
-
resetQueryPerformanceInsightDataWithResponse
com.azure.core.http.rest.Response<QueryPerformanceInsightResetDataResultInner> resetQueryPerformanceInsightDataWithResponse(String resourceGroupName, String serverName, com.azure.core.util.Context context) Reset data for Query Performance Insight.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.serverName
- The name of the server.context
- The context to associate with this operation.- Returns:
- result of Query Performance Insight data reset 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.
-
resetQueryPerformanceInsightData
QueryPerformanceInsightResetDataResultInner resetQueryPerformanceInsightData(String resourceGroupName, String serverName) Reset data for Query Performance Insight.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.serverName
- The name of the server.- Returns:
- result of Query Performance Insight data reset.
- 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.
-
beginCreateRecommendedActionSession
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginCreateRecommendedActionSession(String resourceGroupName, String serverName, String advisorName, String databaseName) Create recommendation action session for 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.databaseName
- The name of the database.- Returns:
- the
SyncPoller
for polling of long-running operation. - 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.
-
beginCreateRecommendedActionSession
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginCreateRecommendedActionSession(String resourceGroupName, String serverName, String advisorName, String databaseName, com.azure.core.util.Context context) Create recommendation action session for 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.databaseName
- The name of the database.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - 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.
-
createRecommendedActionSession
void createRecommendedActionSession(String resourceGroupName, String serverName, String advisorName, String databaseName) Create recommendation action session for 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.databaseName
- The name of the database.- 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.
-
createRecommendedActionSession
void createRecommendedActionSession(String resourceGroupName, String serverName, String advisorName, String databaseName, com.azure.core.util.Context context) Create recommendation action session for 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.databaseName
- The name of the database.context
- The context to associate with this operation.- 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.
-