Interface ResourceProviders


public interface ResourceProviders
Resource collection API of ResourceProviders.
  • Method Details

    • resetQueryPerformanceInsightDataWithResponse

      com.azure.core.http.rest.Response<QueryPerformanceInsightResetDataResult> 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

      QueryPerformanceInsightResetDataResult 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.
    • 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.