public interface LongTermRetentionBackupsClient
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
String backupName)
Deletes a long term retention backup.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
String backupName,
com.azure.core.util.Context context)
Deletes a long term retention backup.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
String backupName)
Deletes a long term retention backup.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteByResourceGroup(String resourceGroupName,
String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
String backupName)
Deletes a long term retention backup.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteByResourceGroup(String resourceGroupName,
String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
String backupName,
com.azure.core.util.Context context)
Deletes a long term retention backup.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteByResourceGroupAsync(String resourceGroupName,
String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
String backupName)
Deletes a long term retention backup.
|
void |
delete(String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
String backupName)
Deletes a long term retention backup.
|
void |
delete(String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
String backupName,
com.azure.core.util.Context context)
Deletes a long term retention backup.
|
Mono<Void> |
deleteAsync(String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
String backupName)
Deletes a long term retention backup.
|
void |
deleteByResourceGroup(String resourceGroupName,
String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
String backupName)
Deletes a long term retention backup.
|
void |
deleteByResourceGroup(String resourceGroupName,
String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
String backupName,
com.azure.core.util.Context context)
Deletes a long term retention backup.
|
Mono<Void> |
deleteByResourceGroupAsync(String resourceGroupName,
String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
String backupName)
Deletes a long term retention backup.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteByResourceGroupWithResponseAsync(String resourceGroupName,
String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
String backupName)
Deletes a long term retention backup.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
String backupName)
Deletes a long term retention backup.
|
LongTermRetentionBackupInner |
get(String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
String backupName)
Gets a long term retention backup.
|
Mono<LongTermRetentionBackupInner> |
getAsync(String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
String backupName)
Gets a long term retention backup.
|
LongTermRetentionBackupInner |
getByResourceGroup(String resourceGroupName,
String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
String backupName)
Gets a long term retention backup.
|
Mono<LongTermRetentionBackupInner> |
getByResourceGroupAsync(String resourceGroupName,
String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
String backupName)
Gets a long term retention backup.
|
com.azure.core.http.rest.Response<LongTermRetentionBackupInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
String backupName,
com.azure.core.util.Context context)
Gets a long term retention backup.
|
Mono<com.azure.core.http.rest.Response<LongTermRetentionBackupInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
String backupName)
Gets a long term retention backup.
|
com.azure.core.http.rest.Response<LongTermRetentionBackupInner> |
getWithResponse(String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
String backupName,
com.azure.core.util.Context context)
Gets a long term retention backup.
|
Mono<com.azure.core.http.rest.Response<LongTermRetentionBackupInner>> |
getWithResponseAsync(String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
String backupName)
Gets a long term retention backup.
|
com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> |
listByDatabase(String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName)
Lists all long term retention backups for a database.
|
com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> |
listByDatabase(String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
Boolean onlyLatestPerDatabase,
LongTermRetentionDatabaseState databaseState,
com.azure.core.util.Context context)
Lists all long term retention backups for a database.
|
com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> |
listByDatabaseAsync(String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName)
Lists all long term retention backups for a database.
|
com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> |
listByDatabaseAsync(String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
Boolean onlyLatestPerDatabase,
LongTermRetentionDatabaseState databaseState)
Lists all long term retention backups for a database.
|
com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> |
listByLocation(String locationName)
Lists the long term retention backups for a given location.
|
com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> |
listByLocation(String locationName,
Boolean onlyLatestPerDatabase,
LongTermRetentionDatabaseState databaseState,
com.azure.core.util.Context context)
Lists the long term retention backups for a given location.
|
com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> |
listByLocationAsync(String locationName)
Lists the long term retention backups for a given location.
|
com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> |
listByLocationAsync(String locationName,
Boolean onlyLatestPerDatabase,
LongTermRetentionDatabaseState databaseState)
Lists the long term retention backups for a given location.
|
com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> |
listByResourceGroupDatabase(String resourceGroupName,
String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName)
Lists all long term retention backups for a database.
|
com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> |
listByResourceGroupDatabase(String resourceGroupName,
String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
Boolean onlyLatestPerDatabase,
LongTermRetentionDatabaseState databaseState,
com.azure.core.util.Context context)
Lists all long term retention backups for a database.
|
com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> |
listByResourceGroupDatabaseAsync(String resourceGroupName,
String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName)
Lists all long term retention backups for a database.
|
com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> |
listByResourceGroupDatabaseAsync(String resourceGroupName,
String locationName,
String longTermRetentionServerName,
String longTermRetentionDatabaseName,
Boolean onlyLatestPerDatabase,
LongTermRetentionDatabaseState databaseState)
Lists all long term retention backups for a database.
|
com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> |
listByResourceGroupLocation(String resourceGroupName,
String locationName)
Lists the long term retention backups for a given location.
|
com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> |
listByResourceGroupLocation(String resourceGroupName,
String locationName,
Boolean onlyLatestPerDatabase,
LongTermRetentionDatabaseState databaseState,
com.azure.core.util.Context context)
Lists the long term retention backups for a given location.
|
com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> |
listByResourceGroupLocationAsync(String resourceGroupName,
String locationName)
Lists the long term retention backups for a given location.
|
com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> |
listByResourceGroupLocationAsync(String resourceGroupName,
String locationName,
Boolean onlyLatestPerDatabase,
LongTermRetentionDatabaseState databaseState)
Lists the long term retention backups for a given location.
|
com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> |
listByResourceGroupServer(String resourceGroupName,
String locationName,
String longTermRetentionServerName)
Lists the long term retention backups for a given server.
|
com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> |
listByResourceGroupServer(String resourceGroupName,
String locationName,
String longTermRetentionServerName,
Boolean onlyLatestPerDatabase,
LongTermRetentionDatabaseState databaseState,
com.azure.core.util.Context context)
Lists the long term retention backups for a given server.
|
com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> |
listByResourceGroupServerAsync(String resourceGroupName,
String locationName,
String longTermRetentionServerName)
Lists the long term retention backups for a given server.
|
com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> |
listByResourceGroupServerAsync(String resourceGroupName,
String locationName,
String longTermRetentionServerName,
Boolean onlyLatestPerDatabase,
LongTermRetentionDatabaseState databaseState)
Lists the long term retention backups for a given server.
|
com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> |
listByServer(String locationName,
String longTermRetentionServerName)
Lists the long term retention backups for a given server.
|
com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> |
listByServer(String locationName,
String longTermRetentionServerName,
Boolean onlyLatestPerDatabase,
LongTermRetentionDatabaseState databaseState,
com.azure.core.util.Context context)
Lists the long term retention backups for a given server.
|
com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> |
listByServerAsync(String locationName,
String longTermRetentionServerName)
Lists the long term retention backups for a given server.
|
com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> |
listByServerAsync(String locationName,
String longTermRetentionServerName,
Boolean onlyLatestPerDatabase,
LongTermRetentionDatabaseState databaseState)
Lists the long term retention backups for a given server.
|
Mono<com.azure.core.http.rest.Response<LongTermRetentionBackupInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)
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.locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.backupName - The backup name.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.Mono<LongTermRetentionBackupInner> getByResourceGroupAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)
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.locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.backupName - The backup name.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.LongTermRetentionBackupInner getByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)
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.locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.backupName - The backup name.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.com.azure.core.http.rest.Response<LongTermRetentionBackupInner> getByResourceGroupWithResponse(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, com.azure.core.util.Context context)
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.locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.backupName - The backup name.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteByResourceGroupWithResponseAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)
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.locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.backupName - The backup name.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteByResourceGroupAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)
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.locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.backupName - The backup name.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)
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.locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.backupName - The backup name.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, com.azure.core.util.Context context)
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.locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.backupName - The backup name.context - The context to associate with this operation.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.Mono<Void> deleteByResourceGroupAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)
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.locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.backupName - The backup name.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.void deleteByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)
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.locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.backupName - The backup name.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.void deleteByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, com.azure.core.util.Context context)
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.locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.backupName - The backup name.context - The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> listByResourceGroupDatabaseAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, Boolean onlyLatestPerDatabase, LongTermRetentionDatabaseState databaseState)
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.locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.onlyLatestPerDatabase - Whether or not to only get the latest backup for each database.databaseState - Whether to query against just live databases, just deleted databases, or all databases.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.com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> listByResourceGroupDatabaseAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName)
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.locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.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.com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> listByResourceGroupDatabase(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, Boolean onlyLatestPerDatabase, LongTermRetentionDatabaseState databaseState, com.azure.core.util.Context context)
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.locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.onlyLatestPerDatabase - Whether or not to only get the latest backup for each database.databaseState - Whether to query against just live databases, just deleted databases, or all databases.context - The context to associate with this operation.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.com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> listByResourceGroupDatabase(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName)
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.locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.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.com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> listByResourceGroupLocationAsync(String resourceGroupName, String locationName, Boolean onlyLatestPerDatabase, LongTermRetentionDatabaseState databaseState)
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.locationName - The location of the database.onlyLatestPerDatabase - Whether or not to only get the latest backup for each database.databaseState - Whether to query against just live databases, just deleted databases, or all databases.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.com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> listByResourceGroupLocationAsync(String resourceGroupName, String locationName)
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.locationName - The location of the database.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.com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> listByResourceGroupLocation(String resourceGroupName, String locationName, Boolean onlyLatestPerDatabase, LongTermRetentionDatabaseState databaseState, com.azure.core.util.Context context)
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.locationName - The location of the database.onlyLatestPerDatabase - Whether or not to only get the latest backup for each database.databaseState - Whether to query against just live databases, just deleted databases, or all databases.context - The context to associate with this operation.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.com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> listByResourceGroupLocation(String resourceGroupName, String locationName)
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.locationName - The location of the database.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.com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> listByResourceGroupServerAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, Boolean onlyLatestPerDatabase, LongTermRetentionDatabaseState databaseState)
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.locationName - The location of the database.longTermRetentionServerName - The name of the server.onlyLatestPerDatabase - Whether or not to only get the latest backup for each database.databaseState - Whether to query against just live databases, just deleted databases, or all databases.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.com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> listByResourceGroupServerAsync(String resourceGroupName, String locationName, String longTermRetentionServerName)
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.locationName - The location of the database.longTermRetentionServerName - The name of the server.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.com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> listByResourceGroupServer(String resourceGroupName, String locationName, String longTermRetentionServerName, Boolean onlyLatestPerDatabase, LongTermRetentionDatabaseState databaseState, com.azure.core.util.Context context)
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.locationName - The location of the database.longTermRetentionServerName - The name of the server.onlyLatestPerDatabase - Whether or not to only get the latest backup for each database.databaseState - Whether to query against just live databases, just deleted databases, or all databases.context - The context to associate with this operation.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.com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> listByResourceGroupServer(String resourceGroupName, String locationName, String longTermRetentionServerName)
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.locationName - The location of the database.longTermRetentionServerName - The name of the server.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.Mono<com.azure.core.http.rest.Response<LongTermRetentionBackupInner>> getWithResponseAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)
locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.backupName - The backup name.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.Mono<LongTermRetentionBackupInner> getAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)
locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.backupName - The backup name.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.LongTermRetentionBackupInner get(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)
locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.backupName - The backup name.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.com.azure.core.http.rest.Response<LongTermRetentionBackupInner> getWithResponse(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, com.azure.core.util.Context context)
locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.backupName - The backup name.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)
locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.backupName - The backup name.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)
locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.backupName - The backup name.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)
locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.backupName - The backup name.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, com.azure.core.util.Context context)
locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.backupName - The backup name.context - The context to associate with this operation.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.Mono<Void> deleteAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)
locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.backupName - The backup name.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.void delete(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)
locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.backupName - The backup name.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.void delete(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, com.azure.core.util.Context context)
locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.backupName - The backup name.context - The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> listByDatabaseAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, Boolean onlyLatestPerDatabase, LongTermRetentionDatabaseState databaseState)
locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.onlyLatestPerDatabase - Whether or not to only get the latest backup for each database.databaseState - Whether to query against just live databases, just deleted databases, or all databases.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.com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> listByDatabaseAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName)
locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.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.com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> listByDatabase(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, Boolean onlyLatestPerDatabase, LongTermRetentionDatabaseState databaseState, com.azure.core.util.Context context)
locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.onlyLatestPerDatabase - Whether or not to only get the latest backup for each database.databaseState - Whether to query against just live databases, just deleted databases, or all databases.context - The context to associate with this operation.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.com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> listByDatabase(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName)
locationName - The location of the database.longTermRetentionServerName - The name of the server.longTermRetentionDatabaseName - The name of the database.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.com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> listByLocationAsync(String locationName, Boolean onlyLatestPerDatabase, LongTermRetentionDatabaseState databaseState)
locationName - The location of the database.onlyLatestPerDatabase - Whether or not to only get the latest backup for each database.databaseState - Whether to query against just live databases, just deleted databases, or all databases.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.com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> listByLocationAsync(String locationName)
locationName - The location of the database.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.com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> listByLocation(String locationName, Boolean onlyLatestPerDatabase, LongTermRetentionDatabaseState databaseState, com.azure.core.util.Context context)
locationName - The location of the database.onlyLatestPerDatabase - Whether or not to only get the latest backup for each database.databaseState - Whether to query against just live databases, just deleted databases, or all databases.context - The context to associate with this operation.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.com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> listByLocation(String locationName)
locationName - The location of the database.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.com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> listByServerAsync(String locationName, String longTermRetentionServerName, Boolean onlyLatestPerDatabase, LongTermRetentionDatabaseState databaseState)
locationName - The location of the database.longTermRetentionServerName - The name of the server.onlyLatestPerDatabase - Whether or not to only get the latest backup for each database.databaseState - Whether to query against just live databases, just deleted databases, or all databases.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.com.azure.core.http.rest.PagedFlux<LongTermRetentionBackupInner> listByServerAsync(String locationName, String longTermRetentionServerName)
locationName - The location of the database.longTermRetentionServerName - The name of the server.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.com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> listByServer(String locationName, String longTermRetentionServerName, Boolean onlyLatestPerDatabase, LongTermRetentionDatabaseState databaseState, com.azure.core.util.Context context)
locationName - The location of the database.longTermRetentionServerName - The name of the server.onlyLatestPerDatabase - Whether or not to only get the latest backup for each database.databaseState - Whether to query against just live databases, just deleted databases, or all databases.context - The context to associate with this operation.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.com.azure.core.http.rest.PagedIterable<LongTermRetentionBackupInner> listByServer(String locationName, String longTermRetentionServerName)
locationName - The location of the database.longTermRetentionServerName - The name of the server.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.Copyright © 2020 Microsoft Corporation. All rights reserved.