Interface ServiceTierAdvisorsClient
-
public interface ServiceTierAdvisorsClientAn instance of this class provides access to all the operations defined in ServiceTierAdvisorsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceTierAdvisorInnerget(String resourceGroupName, String serverName, String databaseName, String serviceTierAdvisorName)Gets a service tier advisor.Mono<ServiceTierAdvisorInner>getAsync(String resourceGroupName, String serverName, String databaseName, String serviceTierAdvisorName)Gets a service tier advisor.com.azure.core.http.rest.Response<ServiceTierAdvisorInner>getWithResponse(String resourceGroupName, String serverName, String databaseName, String serviceTierAdvisorName, com.azure.core.util.Context context)Gets a service tier advisor.Mono<com.azure.core.http.rest.Response<ServiceTierAdvisorInner>>getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String serviceTierAdvisorName)Gets a service tier advisor.com.azure.core.http.rest.PagedIterable<ServiceTierAdvisorInner>listByDatabase(String resourceGroupName, String serverName, String databaseName)Returns service tier advisors for specified database.com.azure.core.http.rest.PagedIterable<ServiceTierAdvisorInner>listByDatabase(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context)Returns service tier advisors for specified database.com.azure.core.http.rest.PagedFlux<ServiceTierAdvisorInner>listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName)Returns service tier advisors for specified database.
-
-
-
Method Detail
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<ServiceTierAdvisorInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String serviceTierAdvisorName)
Gets a service tier advisor.- 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 database.serviceTierAdvisorName- The name of service tier advisor.- Returns:
- a service tier advisor.
- 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<ServiceTierAdvisorInner> getAsync(String resourceGroupName, String serverName, String databaseName, String serviceTierAdvisorName)
Gets a service tier advisor.- 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 database.serviceTierAdvisorName- The name of service tier advisor.- Returns:
- a service tier advisor.
- 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
ServiceTierAdvisorInner get(String resourceGroupName, String serverName, String databaseName, String serviceTierAdvisorName)
Gets a service tier advisor.- 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 database.serviceTierAdvisorName- The name of service tier advisor.- Returns:
- a service tier advisor.
- 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<ServiceTierAdvisorInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, String serviceTierAdvisorName, com.azure.core.util.Context context)
Gets a service tier advisor.- 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 database.serviceTierAdvisorName- The name of service tier advisor.context- The context to associate with this operation.- Returns:
- a service tier advisor.
- 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.
-
listByDatabaseAsync
com.azure.core.http.rest.PagedFlux<ServiceTierAdvisorInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName)
Returns service tier advisors for specified database.- 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 database.- Returns:
- represents the response to a list service tier advisor request.
- 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.
-
listByDatabase
com.azure.core.http.rest.PagedIterable<ServiceTierAdvisorInner> listByDatabase(String resourceGroupName, String serverName, String databaseName)
Returns service tier advisors for specified database.- 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 database.- Returns:
- represents the response to a list service tier advisor request.
- 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.
-
listByDatabase
com.azure.core.http.rest.PagedIterable<ServiceTierAdvisorInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context)
Returns service tier advisors for specified database.- 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 database.context- The context to associate with this operation.- Returns:
- represents the response to a list service tier advisor request.
- 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.
-
-