Interface DatabaseOperationsClient
-
public interface DatabaseOperationsClientAn instance of this class provides access to all the operations defined in DatabaseOperationsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancel(String resourceGroupName, String serverName, String databaseName, UUID operationId)Cancels the asynchronous operation on the database.Mono<Void>cancelAsync(String resourceGroupName, String serverName, String databaseName, UUID operationId)Cancels the asynchronous operation on the database.com.azure.core.http.rest.Response<Void>cancelWithResponse(String resourceGroupName, String serverName, String databaseName, UUID operationId, com.azure.core.util.Context context)Cancels the asynchronous operation on the database.Mono<com.azure.core.http.rest.Response<Void>>cancelWithResponseAsync(String resourceGroupName, String serverName, String databaseName, UUID operationId)Cancels the asynchronous operation on the database.com.azure.core.http.rest.PagedIterable<DatabaseOperationInner>listByDatabase(String resourceGroupName, String serverName, String databaseName)Gets a list of operations performed on the database.com.azure.core.http.rest.PagedIterable<DatabaseOperationInner>listByDatabase(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context)Gets a list of operations performed on the database.com.azure.core.http.rest.PagedFlux<DatabaseOperationInner>listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName)Gets a list of operations performed on the database.
-
-
-
Method Detail
-
cancelWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> cancelWithResponseAsync(String resourceGroupName, String serverName, String databaseName, UUID operationId)
Cancels the asynchronous operation on the 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 the database.operationId- The operation identifier.- Returns:
- the completion.
- 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.
-
cancelAsync
Mono<Void> cancelAsync(String resourceGroupName, String serverName, String databaseName, UUID operationId)
Cancels the asynchronous operation on the 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 the database.operationId- The operation identifier.- Returns:
- the completion.
- 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.
-
cancel
void cancel(String resourceGroupName, String serverName, String databaseName, UUID operationId)
Cancels the asynchronous operation on the 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 the database.operationId- The operation identifier.- 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.
-
cancelWithResponse
com.azure.core.http.rest.Response<Void> cancelWithResponse(String resourceGroupName, String serverName, String databaseName, UUID operationId, com.azure.core.util.Context context)
Cancels the asynchronous operation on the 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 the database.operationId- The operation identifier.context- The context to associate with this operation.- Returns:
- the 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.
-
listByDatabaseAsync
com.azure.core.http.rest.PagedFlux<DatabaseOperationInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName)
Gets a list of operations performed on the 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 the database.- Returns:
- a list of operations performed on 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.
-
listByDatabase
com.azure.core.http.rest.PagedIterable<DatabaseOperationInner> listByDatabase(String resourceGroupName, String serverName, String databaseName)
Gets a list of operations performed on the 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 the database.- Returns:
- a list of operations performed on 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.
-
listByDatabase
com.azure.core.http.rest.PagedIterable<DatabaseOperationInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context)
Gets a list of operations performed on the 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 the database.context- The context to associate with this operation.- Returns:
- a list of operations performed on 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.
-
-