Interface ServiceObjectivesClient
-
public interface ServiceObjectivesClientAn instance of this class provides access to all the operations defined in ServiceObjectivesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceObjectiveInnerget(String resourceGroupName, String serverName, String serviceObjectiveName)Gets a database service objective.Mono<ServiceObjectiveInner>getAsync(String resourceGroupName, String serverName, String serviceObjectiveName)Gets a database service objective.com.azure.core.http.rest.Response<ServiceObjectiveInner>getWithResponse(String resourceGroupName, String serverName, String serviceObjectiveName, com.azure.core.util.Context context)Gets a database service objective.Mono<com.azure.core.http.rest.Response<ServiceObjectiveInner>>getWithResponseAsync(String resourceGroupName, String serverName, String serviceObjectiveName)Gets a database service objective.com.azure.core.http.rest.PagedIterable<ServiceObjectiveInner>listByServer(String resourceGroupName, String serverName)Returns database service objectives.com.azure.core.http.rest.PagedIterable<ServiceObjectiveInner>listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)Returns database service objectives.com.azure.core.http.rest.PagedFlux<ServiceObjectiveInner>listByServerAsync(String resourceGroupName, String serverName)Returns database service objectives.
-
-
-
Method Detail
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<ServiceObjectiveInner>> getWithResponseAsync(String resourceGroupName, String serverName, String serviceObjectiveName)
Gets a database service objective.- 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.serviceObjectiveName- The name of the service objective to retrieve.- Returns:
- a database service objective.
- 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<ServiceObjectiveInner> getAsync(String resourceGroupName, String serverName, String serviceObjectiveName)
Gets a database service objective.- 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.serviceObjectiveName- The name of the service objective to retrieve.- Returns:
- a database service objective.
- 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
ServiceObjectiveInner get(String resourceGroupName, String serverName, String serviceObjectiveName)
Gets a database service objective.- 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.serviceObjectiveName- The name of the service objective to retrieve.- Returns:
- a database service objective.
- 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<ServiceObjectiveInner> getWithResponse(String resourceGroupName, String serverName, String serviceObjectiveName, com.azure.core.util.Context context)
Gets a database service objective.- 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.serviceObjectiveName- The name of the service objective to retrieve.context- The context to associate with this operation.- Returns:
- a database service objective.
- 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.
-
listByServerAsync
com.azure.core.http.rest.PagedFlux<ServiceObjectiveInner> listByServerAsync(String resourceGroupName, String serverName)
Returns database service objectives.- 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.- Returns:
- represents the response to a get database service objectives 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.
-
listByServer
com.azure.core.http.rest.PagedIterable<ServiceObjectiveInner> listByServer(String resourceGroupName, String serverName)
Returns database service objectives.- 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.- Returns:
- represents the response to a get database service objectives 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.
-
listByServer
com.azure.core.http.rest.PagedIterable<ServiceObjectiveInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)
Returns database service objectives.- 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.context- The context to associate with this operation.- Returns:
- represents the response to a get database service objectives 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.
-
-