Interface RestorePointsClient
public interface RestorePointsClient
An instance of this class provides access to all the operations defined in RestorePointsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RestorePointInner>, RestorePointInner> beginCreate(String resourceGroupName, String serverName, String databaseName, CreateDatabaseRestorePointDefinition parameters) Creates a restore point for a data warehouse.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RestorePointInner>, RestorePointInner> beginCreate(String resourceGroupName, String serverName, String databaseName, CreateDatabaseRestorePointDefinition parameters, com.azure.core.util.Context context) Creates a restore point for a data warehouse.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RestorePointInner>, RestorePointInner> beginCreateAsync(String resourceGroupName, String serverName, String databaseName, CreateDatabaseRestorePointDefinition parameters) Creates a restore point for a data warehouse.create(String resourceGroupName, String serverName, String databaseName, CreateDatabaseRestorePointDefinition parameters) Creates a restore point for a data warehouse.create(String resourceGroupName, String serverName, String databaseName, CreateDatabaseRestorePointDefinition parameters, com.azure.core.util.Context context) Creates a restore point for a data warehouse.createAsync(String resourceGroupName, String serverName, String databaseName, CreateDatabaseRestorePointDefinition parameters) Creates a restore point for a data warehouse.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String serverName, String databaseName, CreateDatabaseRestorePointDefinition parameters) Creates a restore point for a data warehouse.voidDeletes a restore point.deleteAsync(String resourceGroupName, String serverName, String databaseName, String restorePointName) Deletes a restore point.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String serverName, String databaseName, String restorePointName, com.azure.core.util.Context context) Deletes a restore point.deleteWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String restorePointName) Deletes a restore point.Gets a restore point.Gets a restore point.com.azure.core.http.rest.Response<RestorePointInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, String restorePointName, com.azure.core.util.Context context) Gets a restore point.Mono<com.azure.core.http.rest.Response<RestorePointInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String restorePointName) Gets a restore point.com.azure.core.http.rest.PagedIterable<RestorePointInner> listByDatabase(String resourceGroupName, String serverName, String databaseName) Gets a list of database restore points.com.azure.core.http.rest.PagedIterable<RestorePointInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context) Gets a list of database restore points.com.azure.core.http.rest.PagedFlux<RestorePointInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName) Gets a list of database restore points.
-
Method Details
-
listByDatabaseAsync
com.azure.core.http.rest.PagedFlux<RestorePointInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName) Gets a list of database restore points.- 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 database restore points as paginated response with
PagedFlux. - 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<RestorePointInner> listByDatabase(String resourceGroupName, String serverName, String databaseName) Gets a list of database restore points.- 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 database restore points as paginated response with
PagedIterable. - 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<RestorePointInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context) Gets a list of database restore points.- 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 database restore points as paginated response with
PagedIterable. - 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.
-
createWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String serverName, String databaseName, CreateDatabaseRestorePointDefinition parameters) Creates a restore point for a data warehouse.- 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.parameters- The definition for creating the restore point of this database.- Returns:
- database restore points 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.
-
beginCreateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RestorePointInner>, RestorePointInner> beginCreateAsync(String resourceGroupName, String serverName, String databaseName, CreateDatabaseRestorePointDefinition parameters) Creates a restore point for a data warehouse.- 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.parameters- The definition for creating the restore point of this database.- Returns:
- the
PollerFluxfor polling of database restore points. - 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RestorePointInner>, RestorePointInner> beginCreate(String resourceGroupName, String serverName, String databaseName, CreateDatabaseRestorePointDefinition parameters) Creates a restore point for a data warehouse.- 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.parameters- The definition for creating the restore point of this database.- Returns:
- the
SyncPollerfor polling of database restore points. - 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RestorePointInner>, RestorePointInner> beginCreate(String resourceGroupName, String serverName, String databaseName, CreateDatabaseRestorePointDefinition parameters, com.azure.core.util.Context context) Creates a restore point for a data warehouse.- 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.parameters- The definition for creating the restore point of this database.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of database restore points. - 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.
-
createAsync
Mono<RestorePointInner> createAsync(String resourceGroupName, String serverName, String databaseName, CreateDatabaseRestorePointDefinition parameters) Creates a restore point for a data warehouse.- 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.parameters- The definition for creating the restore point of this database.- Returns:
- database restore points 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.
-
create
RestorePointInner create(String resourceGroupName, String serverName, String databaseName, CreateDatabaseRestorePointDefinition parameters) Creates a restore point for a data warehouse.- 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.parameters- The definition for creating the restore point of this database.- Returns:
- database restore points.
- 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.
-
create
RestorePointInner create(String resourceGroupName, String serverName, String databaseName, CreateDatabaseRestorePointDefinition parameters, com.azure.core.util.Context context) Creates a restore point for a data warehouse.- 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.parameters- The definition for creating the restore point of this database.context- The context to associate with this operation.- Returns:
- database restore points.
- 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<RestorePointInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String restorePointName) Gets a restore point.- 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.restorePointName- The name of the restore point.- Returns:
- a restore point 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
Mono<RestorePointInner> getAsync(String resourceGroupName, String serverName, String databaseName, String restorePointName) Gets a restore point.- 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.restorePointName- The name of the restore point.- Returns:
- a restore point 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<RestorePointInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, String restorePointName, com.azure.core.util.Context context) Gets a restore point.- 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.restorePointName- The name of the restore point.context- The context to associate with this operation.- Returns:
- a restore point 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
RestorePointInner get(String resourceGroupName, String serverName, String databaseName, String restorePointName) Gets a restore point.- 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.restorePointName- The name of the restore point.- Returns:
- a restore point.
- 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String restorePointName) Deletes a restore point.- 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.restorePointName- The name of the restore point.- Returns:
- the
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.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String serverName, String databaseName, String restorePointName) Deletes a restore point.- 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.restorePointName- The name of the restore point.- Returns:
- A
Monothat completes when a successful response is received. - 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String serverName, String databaseName, String restorePointName, com.azure.core.util.Context context) Deletes a restore point.- 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.restorePointName- The name of the restore point.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.
-
delete
void delete(String resourceGroupName, String serverName, String databaseName, String restorePointName) Deletes a restore point.- 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.restorePointName- The name of the restore point.- 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.
-