Interface ServerAutomaticTuningsClient
public interface ServerAutomaticTuningsClient
An instance of this class provides access to all the operations defined in ServerAutomaticTuningsClient.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves server automatic tuning options.Retrieves server automatic tuning options.com.azure.core.http.rest.Response<ServerAutomaticTuningInner>getWithResponse(String resourceGroupName, String serverName, com.azure.core.util.Context context) Retrieves server automatic tuning options.Mono<com.azure.core.http.rest.Response<ServerAutomaticTuningInner>>getWithResponseAsync(String resourceGroupName, String serverName) Retrieves server automatic tuning options.update(String resourceGroupName, String serverName, ServerAutomaticTuningInner parameters) Update automatic tuning options on server.updateAsync(String resourceGroupName, String serverName, ServerAutomaticTuningInner parameters) Update automatic tuning options on server.com.azure.core.http.rest.Response<ServerAutomaticTuningInner>updateWithResponse(String resourceGroupName, String serverName, ServerAutomaticTuningInner parameters, com.azure.core.util.Context context) Update automatic tuning options on server.Mono<com.azure.core.http.rest.Response<ServerAutomaticTuningInner>>updateWithResponseAsync(String resourceGroupName, String serverName, ServerAutomaticTuningInner parameters) Update automatic tuning options on server.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<ServerAutomaticTuningInner>> getWithResponseAsync(String resourceGroupName, String serverName) Retrieves server automatic tuning options.- 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:
- server-level Automatic Tuning 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
Retrieves server automatic tuning options.- 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:
- server-level Automatic Tuning 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<ServerAutomaticTuningInner> getWithResponse(String resourceGroupName, String serverName, com.azure.core.util.Context context) Retrieves server automatic tuning options.- 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:
- server-level Automatic Tuning 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
Retrieves server automatic tuning options.- 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:
- server-level Automatic Tuning.
- 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<ServerAutomaticTuningInner>> updateWithResponseAsync(String resourceGroupName, String serverName, ServerAutomaticTuningInner parameters) Update automatic tuning options on server.- 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.parameters- The requested automatic tuning resource state.- Returns:
- server-level Automatic Tuning 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<ServerAutomaticTuningInner> updateAsync(String resourceGroupName, String serverName, ServerAutomaticTuningInner parameters) Update automatic tuning options on server.- 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.parameters- The requested automatic tuning resource state.- Returns:
- server-level Automatic Tuning 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<ServerAutomaticTuningInner> updateWithResponse(String resourceGroupName, String serverName, ServerAutomaticTuningInner parameters, com.azure.core.util.Context context) Update automatic tuning options on server.- 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.parameters- The requested automatic tuning resource state.context- The context to associate with this operation.- Returns:
- server-level Automatic Tuning 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
ServerAutomaticTuningInner update(String resourceGroupName, String serverName, ServerAutomaticTuningInner parameters) Update automatic tuning options on server.- 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.parameters- The requested automatic tuning resource state.- Returns:
- server-level Automatic Tuning.
- 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.
-