LongTermRetentionBackupsClient Interface

public interface LongTermRetentionBackupsClient

An instance of this class provides access to all the operations defined in LongTermRetentionBackupsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<LongTermRetentionBackupOperationResultInner>,LongTermRetentionBackupOperationResultInner> beginCopy(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters)

Copy an existing long term retention backup.

abstract SyncPoller<PollResult<LongTermRetentionBackupOperationResultInner>,LongTermRetentionBackupOperationResultInner> beginCopy(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters, Context context)

Copy an existing long term retention backup.

abstract PollerFlux<PollResult<LongTermRetentionBackupOperationResultInner>,LongTermRetentionBackupOperationResultInner> beginCopyAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters)

Copy an existing long term retention backup.

abstract SyncPoller<PollResult<LongTermRetentionBackupOperationResultInner>,LongTermRetentionBackupOperationResultInner> beginCopyByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters)

Copy an existing long term retention backup to a different server.

abstract SyncPoller<PollResult<LongTermRetentionBackupOperationResultInner>,LongTermRetentionBackupOperationResultInner> beginCopyByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters, Context context)

Copy an existing long term retention backup to a different server.

abstract PollerFlux<PollResult<LongTermRetentionBackupOperationResultInner>,LongTermRetentionBackupOperationResultInner> beginCopyByResourceGroupAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters)

Copy an existing long term retention backup to a different server.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Deletes a long term retention backup.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, Context context)

Deletes a long term retention backup.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Deletes a long term retention backup.

abstract SyncPoller<PollResult<Void>,Void> beginDeleteByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Deletes a long term retention backup.

abstract SyncPoller<PollResult<Void>,Void> beginDeleteByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, Context context)

Deletes a long term retention backup.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteByResourceGroupAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Deletes a long term retention backup.

abstract SyncPoller<PollResult<LongTermRetentionBackupOperationResultInner>,LongTermRetentionBackupOperationResultInner> beginUpdate(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters)

Updates an existing long term retention backup.

abstract SyncPoller<PollResult<LongTermRetentionBackupOperationResultInner>,LongTermRetentionBackupOperationResultInner> beginUpdate(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters, Context context)

Updates an existing long term retention backup.

abstract PollerFlux<PollResult<LongTermRetentionBackupOperationResultInner>,LongTermRetentionBackupOperationResultInner> beginUpdateAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters)

Updates an existing long term retention backup.

abstract SyncPoller<PollResult<LongTermRetentionBackupOperationResultInner>,LongTermRetentionBackupOperationResultInner> beginUpdateByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters)

Updates an existing long term retention backup.

abstract SyncPoller<PollResult<LongTermRetentionBackupOperationResultInner>,LongTermRetentionBackupOperationResultInner> beginUpdateByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters, Context context)

Updates an existing long term retention backup.

abstract PollerFlux<PollResult<LongTermRetentionBackupOperationResultInner>,LongTermRetentionBackupOperationResultInner> beginUpdateByResourceGroupAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters)

Updates an existing long term retention backup.

abstract LongTermRetentionBackupOperationResultInner copy(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters)

Copy an existing long term retention backup.

abstract LongTermRetentionBackupOperationResultInner copy(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters, Context context)

Copy an existing long term retention backup.

abstract Mono<LongTermRetentionBackupOperationResultInner> copyAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters)

Copy an existing long term retention backup.

abstract LongTermRetentionBackupOperationResultInner copyByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters)

Copy an existing long term retention backup to a different server.

abstract LongTermRetentionBackupOperationResultInner copyByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters, Context context)

Copy an existing long term retention backup to a different server.

abstract Mono<LongTermRetentionBackupOperationResultInner> copyByResourceGroupAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters)

Copy an existing long term retention backup to a different server.

abstract Mono<Response<Flux<ByteBuffer>>> copyByResourceGroupWithResponseAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters)

Copy an existing long term retention backup to a different server.

abstract Mono<Response<Flux<ByteBuffer>>> copyWithResponseAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters)

Copy an existing long term retention backup.

abstract void delete(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Deletes a long term retention backup.

abstract void delete(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, Context context)

Deletes a long term retention backup.

abstract Mono<Void> deleteAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Deletes a long term retention backup.

abstract void deleteByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Deletes a long term retention backup.

abstract void deleteByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, Context context)

Deletes a long term retention backup.

abstract Mono<Void> deleteByResourceGroupAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Deletes a long term retention backup.

abstract Mono<Response<Flux<ByteBuffer>>> deleteByResourceGroupWithResponseAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Deletes a long term retention backup.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Deletes a long term retention backup.

abstract LongTermRetentionBackupInner get(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Gets a long term retention backup.

abstract Mono<LongTermRetentionBackupInner> getAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Gets a long term retention backup.

abstract LongTermRetentionBackupInner getByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Gets a long term retention backup.

abstract Mono<LongTermRetentionBackupInner> getByResourceGroupAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Gets a long term retention backup.

abstract Response<LongTermRetentionBackupInner> getByResourceGroupWithResponse(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, Context context)

Gets a long term retention backup.

abstract Mono<Response<LongTermRetentionBackupInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Gets a long term retention backup.

abstract Response<LongTermRetentionBackupInner> getWithResponse(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, Context context)

Gets a long term retention backup.

abstract Mono<Response<LongTermRetentionBackupInner>> getWithResponseAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Gets a long term retention backup.

abstract PagedIterable<LongTermRetentionBackupInner> listByDatabase(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName)

Lists all long term retention backups for a database.

abstract PagedIterable<LongTermRetentionBackupInner> listByDatabase(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, Boolean onlyLatestPerDatabase, DatabaseState databaseState, Context context)

Lists all long term retention backups for a database.

abstract PagedFlux<LongTermRetentionBackupInner> listByDatabaseAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName)

Lists all long term retention backups for a database.

abstract PagedFlux<LongTermRetentionBackupInner> listByDatabaseAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, Boolean onlyLatestPerDatabase, DatabaseState databaseState)

Lists all long term retention backups for a database.

abstract PagedIterable<LongTermRetentionBackupInner> listByLocation(String locationName)

Lists the long term retention backups for a given location.

abstract PagedIterable<LongTermRetentionBackupInner> listByLocation(String locationName, Boolean onlyLatestPerDatabase, DatabaseState databaseState, Context context)

Lists the long term retention backups for a given location.

abstract PagedFlux<LongTermRetentionBackupInner> listByLocationAsync(String locationName)

Lists the long term retention backups for a given location.

abstract PagedFlux<LongTermRetentionBackupInner> listByLocationAsync(String locationName, Boolean onlyLatestPerDatabase, DatabaseState databaseState)

Lists the long term retention backups for a given location.

abstract PagedIterable<LongTermRetentionBackupInner> listByResourceGroupDatabase(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName)

Lists all long term retention backups for a database.

abstract PagedIterable<LongTermRetentionBackupInner> listByResourceGroupDatabase(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, Boolean onlyLatestPerDatabase, DatabaseState databaseState, Context context)

Lists all long term retention backups for a database.

abstract PagedFlux<LongTermRetentionBackupInner> listByResourceGroupDatabaseAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName)

Lists all long term retention backups for a database.

abstract PagedFlux<LongTermRetentionBackupInner> listByResourceGroupDatabaseAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, Boolean onlyLatestPerDatabase, DatabaseState databaseState)

Lists all long term retention backups for a database.

abstract PagedIterable<LongTermRetentionBackupInner> listByResourceGroupLocation(String resourceGroupName, String locationName)

Lists the long term retention backups for a given location.

abstract PagedIterable<LongTermRetentionBackupInner> listByResourceGroupLocation(String resourceGroupName, String locationName, Boolean onlyLatestPerDatabase, DatabaseState databaseState, Context context)

Lists the long term retention backups for a given location.

abstract PagedFlux<LongTermRetentionBackupInner> listByResourceGroupLocationAsync(String resourceGroupName, String locationName)

Lists the long term retention backups for a given location.

abstract PagedFlux<LongTermRetentionBackupInner> listByResourceGroupLocationAsync(String resourceGroupName, String locationName, Boolean onlyLatestPerDatabase, DatabaseState databaseState)

Lists the long term retention backups for a given location.

abstract PagedIterable<LongTermRetentionBackupInner> listByResourceGroupServer(String resourceGroupName, String locationName, String longTermRetentionServerName)

Lists the long term retention backups for a given server.

abstract PagedIterable<LongTermRetentionBackupInner> listByResourceGroupServer(String resourceGroupName, String locationName, String longTermRetentionServerName, Boolean onlyLatestPerDatabase, DatabaseState databaseState, Context context)

Lists the long term retention backups for a given server.

abstract PagedFlux<LongTermRetentionBackupInner> listByResourceGroupServerAsync(String resourceGroupName, String locationName, String longTermRetentionServerName)

Lists the long term retention backups for a given server.

abstract PagedFlux<LongTermRetentionBackupInner> listByResourceGroupServerAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, Boolean onlyLatestPerDatabase, DatabaseState databaseState)

Lists the long term retention backups for a given server.

abstract PagedIterable<LongTermRetentionBackupInner> listByServer(String locationName, String longTermRetentionServerName)

Lists the long term retention backups for a given server.

abstract PagedIterable<LongTermRetentionBackupInner> listByServer(String locationName, String longTermRetentionServerName, Boolean onlyLatestPerDatabase, DatabaseState databaseState, Context context)

Lists the long term retention backups for a given server.

abstract PagedFlux<LongTermRetentionBackupInner> listByServerAsync(String locationName, String longTermRetentionServerName)

Lists the long term retention backups for a given server.

abstract PagedFlux<LongTermRetentionBackupInner> listByServerAsync(String locationName, String longTermRetentionServerName, Boolean onlyLatestPerDatabase, DatabaseState databaseState)

Lists the long term retention backups for a given server.

abstract LongTermRetentionBackupOperationResultInner update(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters)

Updates an existing long term retention backup.

abstract LongTermRetentionBackupOperationResultInner update(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters, Context context)

Updates an existing long term retention backup.

abstract Mono<LongTermRetentionBackupOperationResultInner> updateAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters)

Updates an existing long term retention backup.

abstract LongTermRetentionBackupOperationResultInner updateByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters)

Updates an existing long term retention backup.

abstract LongTermRetentionBackupOperationResultInner updateByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters, Context context)

Updates an existing long term retention backup.

abstract Mono<LongTermRetentionBackupOperationResultInner> updateByResourceGroupAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters)

Updates an existing long term retention backup.

abstract Mono<Response<Flux<ByteBuffer>>> updateByResourceGroupWithResponseAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters)

Updates an existing long term retention backup.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters)

Updates an existing long term retention backup.

Method Details

beginCopy

public abstract SyncPoller,LongTermRetentionBackupOperationResultInner> beginCopy(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters)

Copy an existing long term retention backup.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The parameters needed for long term retention copy request.

Returns:

the SyncPoller<T,U> for polling of a LongTermRetentionBackup operation result resource.

beginCopy

public abstract SyncPoller,LongTermRetentionBackupOperationResultInner> beginCopy(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters, Context context)

Copy an existing long term retention backup.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The parameters needed for long term retention copy request.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a LongTermRetentionBackup operation result resource.

beginCopyAsync

public abstract PollerFlux,LongTermRetentionBackupOperationResultInner> beginCopyAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters)

Copy an existing long term retention backup.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The parameters needed for long term retention copy request.

Returns:

the PollerFlux<T,U> for polling of a LongTermRetentionBackup operation result resource.

beginCopyByResourceGroup

public abstract SyncPoller,LongTermRetentionBackupOperationResultInner> beginCopyByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters)

Copy an existing long term retention backup to a different 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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The parameters needed for long term retention copy request.

Returns:

the SyncPoller<T,U> for polling of a LongTermRetentionBackup operation result resource.

beginCopyByResourceGroup

public abstract SyncPoller,LongTermRetentionBackupOperationResultInner> beginCopyByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters, Context context)

Copy an existing long term retention backup to a different 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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The parameters needed for long term retention copy request.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a LongTermRetentionBackup operation result resource.

beginCopyByResourceGroupAsync

public abstract PollerFlux,LongTermRetentionBackupOperationResultInner> beginCopyByResourceGroupAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters)

Copy an existing long term retention backup to a different 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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The parameters needed for long term retention copy request.

Returns:

the PollerFlux<T,U> for polling of a LongTermRetentionBackup operation result resource.

beginDelete

public abstract SyncPoller,Void> beginDelete(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Deletes a long term retention backup.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, Context context)

Deletes a long term retention backup.

Parameters:

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.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Deletes a long term retention backup.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginDeleteByResourceGroup

public abstract SyncPoller,Void> beginDeleteByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Deletes a long term retention backup.

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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteByResourceGroup

public abstract SyncPoller,Void> beginDeleteByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, Context context)

Deletes a long term retention backup.

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.
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.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteByResourceGroupAsync

public abstract PollerFlux,Void> beginDeleteByResourceGroupAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Deletes a long term retention backup.

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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller,LongTermRetentionBackupOperationResultInner> beginUpdate(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters)

Updates an existing long term retention backup.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The requested backup resource state.

Returns:

the SyncPoller<T,U> for polling of a LongTermRetentionBackup operation result resource.

beginUpdate

public abstract SyncPoller,LongTermRetentionBackupOperationResultInner> beginUpdate(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters, Context context)

Updates an existing long term retention backup.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The requested backup resource state.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a LongTermRetentionBackup operation result resource.

beginUpdateAsync

public abstract PollerFlux,LongTermRetentionBackupOperationResultInner> beginUpdateAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters)

Updates an existing long term retention backup.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The requested backup resource state.

Returns:

the PollerFlux<T,U> for polling of a LongTermRetentionBackup operation result resource.

beginUpdateByResourceGroup

public abstract SyncPoller,LongTermRetentionBackupOperationResultInner> beginUpdateByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters)

Updates an existing long term retention backup.

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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The requested backup resource state.

Returns:

the SyncPoller<T,U> for polling of a LongTermRetentionBackup operation result resource.

beginUpdateByResourceGroup

public abstract SyncPoller,LongTermRetentionBackupOperationResultInner> beginUpdateByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters, Context context)

Updates an existing long term retention backup.

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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The requested backup resource state.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a LongTermRetentionBackup operation result resource.

beginUpdateByResourceGroupAsync

public abstract PollerFlux,LongTermRetentionBackupOperationResultInner> beginUpdateByResourceGroupAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters)

Updates an existing long term retention backup.

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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The requested backup resource state.

Returns:

the PollerFlux<T,U> for polling of a LongTermRetentionBackup operation result resource.

copy

public abstract LongTermRetentionBackupOperationResultInner copy(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters)

Copy an existing long term retention backup.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The parameters needed for long term retention copy request.

Returns:

a LongTermRetentionBackup operation result resource.

copy

public abstract LongTermRetentionBackupOperationResultInner copy(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters, Context context)

Copy an existing long term retention backup.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The parameters needed for long term retention copy request.
context - The context to associate with this operation.

Returns:

a LongTermRetentionBackup operation result resource.

copyAsync

public abstract Mono copyAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters)

Copy an existing long term retention backup.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The parameters needed for long term retention copy request.

Returns:

a LongTermRetentionBackup operation result resource on successful completion of Mono.

copyByResourceGroup

public abstract LongTermRetentionBackupOperationResultInner copyByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters)

Copy an existing long term retention backup to a different 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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The parameters needed for long term retention copy request.

Returns:

a LongTermRetentionBackup operation result resource.

copyByResourceGroup

public abstract LongTermRetentionBackupOperationResultInner copyByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters, Context context)

Copy an existing long term retention backup to a different 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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The parameters needed for long term retention copy request.
context - The context to associate with this operation.

Returns:

a LongTermRetentionBackup operation result resource.

copyByResourceGroupAsync

public abstract Mono copyByResourceGroupAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters)

Copy an existing long term retention backup to a different 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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The parameters needed for long term retention copy request.

Returns:

a LongTermRetentionBackup operation result resource on successful completion of Mono.

copyByResourceGroupWithResponseAsync

public abstract Mono>> copyByResourceGroupWithResponseAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters)

Copy an existing long term retention backup to a different 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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The parameters needed for long term retention copy request.

Returns:

a LongTermRetentionBackup operation result resource along with Response<T> on successful completion of Mono.

copyWithResponseAsync

public abstract Mono>> copyWithResponseAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, CopyLongTermRetentionBackupParameters parameters)

Copy an existing long term retention backup.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The parameters needed for long term retention copy request.

Returns:

a LongTermRetentionBackup operation result resource along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Deletes a long term retention backup.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.

delete

public abstract void delete(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, Context context)

Deletes a long term retention backup.

Parameters:

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.

deleteAsync

public abstract Mono deleteAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Deletes a long term retention backup.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.

Returns:

A Mono that completes when a successful response is received.

deleteByResourceGroup

public abstract void deleteByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Deletes a long term retention backup.

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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.

deleteByResourceGroup

public abstract void deleteByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, Context context)

Deletes a long term retention backup.

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.
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.

deleteByResourceGroupAsync

public abstract Mono deleteByResourceGroupAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Deletes a long term retention backup.

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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.

Returns:

A Mono that completes when a successful response is received.

deleteByResourceGroupWithResponseAsync

public abstract Mono>> deleteByResourceGroupWithResponseAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Deletes a long term retention backup.

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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.

Returns:

the Response<T> on successful completion of Mono.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Deletes a long term retention backup.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract LongTermRetentionBackupInner get(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Gets a long term retention backup.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.

Returns:

a long term retention backup.

getAsync

public abstract Mono getAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Gets a long term retention backup.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.

Returns:

a long term retention backup on successful completion of Mono.

getByResourceGroup

public abstract LongTermRetentionBackupInner getByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Gets a long term retention backup.

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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.

Returns:

a long term retention backup.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Gets a long term retention backup.

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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.

Returns:

a long term retention backup on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, Context context)

Gets a long term retention backup.

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.
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.

Returns:

a long term retention backup along with Response<T>.

getByResourceGroupWithResponseAsync

public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Gets a long term retention backup.

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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.

Returns:

a long term retention backup along with Response<T> on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, Context context)

Gets a long term retention backup.

Parameters:

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.

Returns:

a long term retention backup along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName)

Gets a long term retention backup.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.

Returns:

a long term retention backup along with Response<T> on successful completion of Mono.

listByDatabase

public abstract PagedIterable listByDatabase(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName)

Lists all long term retention backups for a database.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.

Returns:

a list of long term retention backups as paginated response with PagedIterable<T>.

listByDatabase

public abstract PagedIterable listByDatabase(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, Boolean onlyLatestPerDatabase, DatabaseState databaseState, Context context)

Lists all long term retention backups for a database.

Parameters:

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.

Returns:

a list of long term retention backups as paginated response with PagedIterable<T>.

listByDatabaseAsync

public abstract PagedFlux listByDatabaseAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName)

Lists all long term retention backups for a database.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.

Returns:

a list of long term retention backups as paginated response with PagedFlux<T>.

listByDatabaseAsync

public abstract PagedFlux listByDatabaseAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, Boolean onlyLatestPerDatabase, DatabaseState databaseState)

Lists all long term retention backups for a database.

Parameters:

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.

Returns:

a list of long term retention backups as paginated response with PagedFlux<T>.

listByLocation

public abstract PagedIterable listByLocation(String locationName)

Lists the long term retention backups for a given location.

Parameters:

locationName - The location of the database.

Returns:

a list of long term retention backups as paginated response with PagedIterable<T>.

listByLocation

public abstract PagedIterable listByLocation(String locationName, Boolean onlyLatestPerDatabase, DatabaseState databaseState, Context context)

Lists the long term retention backups for a given location.

Parameters:

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.

Returns:

a list of long term retention backups as paginated response with PagedIterable<T>.

listByLocationAsync

public abstract PagedFlux listByLocationAsync(String locationName)

Lists the long term retention backups for a given location.

Parameters:

locationName - The location of the database.

Returns:

a list of long term retention backups as paginated response with PagedFlux<T>.

listByLocationAsync

public abstract PagedFlux listByLocationAsync(String locationName, Boolean onlyLatestPerDatabase, DatabaseState databaseState)

Lists the long term retention backups for a given location.

Parameters:

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.

Returns:

a list of long term retention backups as paginated response with PagedFlux<T>.

listByResourceGroupDatabase

public abstract PagedIterable listByResourceGroupDatabase(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName)

Lists all long term retention backups for a 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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.

Returns:

a list of long term retention backups as paginated response with PagedIterable<T>.

listByResourceGroupDatabase

public abstract PagedIterable listByResourceGroupDatabase(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, Boolean onlyLatestPerDatabase, DatabaseState databaseState, Context context)

Lists all long term retention backups for a 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.
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.

Returns:

a list of long term retention backups as paginated response with PagedIterable<T>.

listByResourceGroupDatabaseAsync

public abstract PagedFlux listByResourceGroupDatabaseAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName)

Lists all long term retention backups for a 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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.

Returns:

a list of long term retention backups as paginated response with PagedFlux<T>.

listByResourceGroupDatabaseAsync

public abstract PagedFlux listByResourceGroupDatabaseAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, Boolean onlyLatestPerDatabase, DatabaseState databaseState)

Lists all long term retention backups for a 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.
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.

Returns:

a list of long term retention backups as paginated response with PagedFlux<T>.

listByResourceGroupLocation

public abstract PagedIterable listByResourceGroupLocation(String resourceGroupName, String locationName)

Lists the long term retention backups for a given location.

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.
locationName - The location of the database.

Returns:

a list of long term retention backups as paginated response with PagedIterable<T>.

listByResourceGroupLocation

public abstract PagedIterable listByResourceGroupLocation(String resourceGroupName, String locationName, Boolean onlyLatestPerDatabase, DatabaseState databaseState, Context context)

Lists the long term retention backups for a given location.

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.
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.

Returns:

a list of long term retention backups as paginated response with PagedIterable<T>.

listByResourceGroupLocationAsync

public abstract PagedFlux listByResourceGroupLocationAsync(String resourceGroupName, String locationName)

Lists the long term retention backups for a given location.

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.
locationName - The location of the database.

Returns:

a list of long term retention backups as paginated response with PagedFlux<T>.

listByResourceGroupLocationAsync

public abstract PagedFlux listByResourceGroupLocationAsync(String resourceGroupName, String locationName, Boolean onlyLatestPerDatabase, DatabaseState databaseState)

Lists the long term retention backups for a given location.

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.
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.

Returns:

a list of long term retention backups as paginated response with PagedFlux<T>.

listByResourceGroupServer

public abstract PagedIterable listByResourceGroupServer(String resourceGroupName, String locationName, String longTermRetentionServerName)

Lists the long term retention backups for a given 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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.

Returns:

a list of long term retention backups as paginated response with PagedIterable<T>.

listByResourceGroupServer

public abstract PagedIterable listByResourceGroupServer(String resourceGroupName, String locationName, String longTermRetentionServerName, Boolean onlyLatestPerDatabase, DatabaseState databaseState, Context context)

Lists the long term retention backups for a given 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.
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.

Returns:

a list of long term retention backups as paginated response with PagedIterable<T>.

listByResourceGroupServerAsync

public abstract PagedFlux listByResourceGroupServerAsync(String resourceGroupName, String locationName, String longTermRetentionServerName)

Lists the long term retention backups for a given 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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.

Returns:

a list of long term retention backups as paginated response with PagedFlux<T>.

listByResourceGroupServerAsync

public abstract PagedFlux listByResourceGroupServerAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, Boolean onlyLatestPerDatabase, DatabaseState databaseState)

Lists the long term retention backups for a given 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.
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.

Returns:

a list of long term retention backups as paginated response with PagedFlux<T>.

listByServer

public abstract PagedIterable listByServer(String locationName, String longTermRetentionServerName)

Lists the long term retention backups for a given server.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.

Returns:

a list of long term retention backups as paginated response with PagedIterable<T>.

listByServer

public abstract PagedIterable listByServer(String locationName, String longTermRetentionServerName, Boolean onlyLatestPerDatabase, DatabaseState databaseState, Context context)

Lists the long term retention backups for a given server.

Parameters:

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.

Returns:

a list of long term retention backups as paginated response with PagedIterable<T>.

listByServerAsync

public abstract PagedFlux listByServerAsync(String locationName, String longTermRetentionServerName)

Lists the long term retention backups for a given server.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.

Returns:

a list of long term retention backups as paginated response with PagedFlux<T>.

listByServerAsync

public abstract PagedFlux listByServerAsync(String locationName, String longTermRetentionServerName, Boolean onlyLatestPerDatabase, DatabaseState databaseState)

Lists the long term retention backups for a given server.

Parameters:

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.

Returns:

a list of long term retention backups as paginated response with PagedFlux<T>.

update

public abstract LongTermRetentionBackupOperationResultInner update(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters)

Updates an existing long term retention backup.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The requested backup resource state.

Returns:

a LongTermRetentionBackup operation result resource.

update

public abstract LongTermRetentionBackupOperationResultInner update(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters, Context context)

Updates an existing long term retention backup.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The requested backup resource state.
context - The context to associate with this operation.

Returns:

a LongTermRetentionBackup operation result resource.

updateAsync

public abstract Mono updateAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters)

Updates an existing long term retention backup.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The requested backup resource state.

Returns:

a LongTermRetentionBackup operation result resource on successful completion of Mono.

updateByResourceGroup

public abstract LongTermRetentionBackupOperationResultInner updateByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters)

Updates an existing long term retention backup.

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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The requested backup resource state.

Returns:

a LongTermRetentionBackup operation result resource.

updateByResourceGroup

public abstract LongTermRetentionBackupOperationResultInner updateByResourceGroup(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters, Context context)

Updates an existing long term retention backup.

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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The requested backup resource state.
context - The context to associate with this operation.

Returns:

a LongTermRetentionBackup operation result resource.

updateByResourceGroupAsync

public abstract Mono updateByResourceGroupAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters)

Updates an existing long term retention backup.

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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The requested backup resource state.

Returns:

a LongTermRetentionBackup operation result resource on successful completion of Mono.

updateByResourceGroupWithResponseAsync

public abstract Mono>> updateByResourceGroupWithResponseAsync(String resourceGroupName, String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters)

Updates an existing long term retention backup.

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.
locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The requested backup resource state.

Returns:

a LongTermRetentionBackup operation result resource along with Response<T> on successful completion of Mono.

updateWithResponseAsync

public abstract Mono>> updateWithResponseAsync(String locationName, String longTermRetentionServerName, String longTermRetentionDatabaseName, String backupName, UpdateLongTermRetentionBackupParameters parameters)

Updates an existing long term retention backup.

Parameters:

locationName - The location of the database.
longTermRetentionServerName - The name of the server.
longTermRetentionDatabaseName - The name of the database.
backupName - The backup name.
parameters - The requested backup resource state.

Returns:

a LongTermRetentionBackup operation result resource along with Response<T> on successful completion of Mono.

Applies to