Partager via


LongTermRetentionManagedInstanceBackupsClient Interface

public interface LongTermRetentionManagedInstanceBackupsClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<Void>,Void> beginDelete(String locationName, String managedInstanceName, String databaseName, String backupName)

Deletes a long term retention backup.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String locationName, String managedInstanceName, String databaseName, String backupName, Context context)

Deletes a long term retention backup.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String locationName, String managedInstanceName, String databaseName, String backupName)

Deletes a long term retention backup.

abstract SyncPoller<PollResult<Void>,Void> beginDeleteByResourceGroup(String resourceGroupName, String locationName, String managedInstanceName, String databaseName, String backupName)

Deletes a long term retention backup.

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

Deletes a long term retention backup.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteByResourceGroupAsync(String resourceGroupName, String locationName, String managedInstanceName, String databaseName, String backupName)

Deletes a long term retention backup.

abstract void delete(String locationName, String managedInstanceName, String databaseName, String backupName)

Deletes a long term retention backup.

abstract void delete(String locationName, String managedInstanceName, String databaseName, String backupName, Context context)

Deletes a long term retention backup.

abstract Mono<Void> deleteAsync(String locationName, String managedInstanceName, String databaseName, String backupName)

Deletes a long term retention backup.

abstract void deleteByResourceGroup(String resourceGroupName, String locationName, String managedInstanceName, String databaseName, String backupName)

Deletes a long term retention backup.

abstract void deleteByResourceGroup(String resourceGroupName, String locationName, String managedInstanceName, String databaseName, String backupName, Context context)

Deletes a long term retention backup.

abstract Mono<Void> deleteByResourceGroupAsync(String resourceGroupName, String locationName, String managedInstanceName, String databaseName, String backupName)

Deletes a long term retention backup.

abstract Mono<Response<Flux<ByteBuffer>>> deleteByResourceGroupWithResponseAsync(String resourceGroupName, String locationName, String managedInstanceName, String databaseName, String backupName)

Deletes a long term retention backup.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String locationName, String managedInstanceName, String databaseName, String backupName)

Deletes a long term retention backup.

abstract ManagedInstanceLongTermRetentionBackupInner get(String locationName, String managedInstanceName, String databaseName, String backupName)

Gets a long term retention backup for a managed database.

abstract Mono<ManagedInstanceLongTermRetentionBackupInner> getAsync(String locationName, String managedInstanceName, String databaseName, String backupName)

Gets a long term retention backup for a managed database.

abstract ManagedInstanceLongTermRetentionBackupInner getByResourceGroup(String resourceGroupName, String locationName, String managedInstanceName, String databaseName, String backupName)

Gets a long term retention backup for a managed database.

abstract Mono<ManagedInstanceLongTermRetentionBackupInner> getByResourceGroupAsync(String resourceGroupName, String locationName, String managedInstanceName, String databaseName, String backupName)

Gets a long term retention backup for a managed database.

abstract Response<ManagedInstanceLongTermRetentionBackupInner> getByResourceGroupWithResponse(String resourceGroupName, String locationName, String managedInstanceName, String databaseName, String backupName, Context context)

Gets a long term retention backup for a managed database.

abstract Mono<Response<ManagedInstanceLongTermRetentionBackupInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String locationName, String managedInstanceName, String databaseName, String backupName)

Gets a long term retention backup for a managed database.

abstract Response<ManagedInstanceLongTermRetentionBackupInner> getWithResponse(String locationName, String managedInstanceName, String databaseName, String backupName, Context context)

Gets a long term retention backup for a managed database.

abstract Mono<Response<ManagedInstanceLongTermRetentionBackupInner>> getWithResponseAsync(String locationName, String managedInstanceName, String databaseName, String backupName)

Gets a long term retention backup for a managed database.

abstract PagedIterable<ManagedInstanceLongTermRetentionBackupInner> listByDatabase(String locationName, String managedInstanceName, String databaseName)

Lists all long term retention backups for a managed database.

abstract PagedIterable<ManagedInstanceLongTermRetentionBackupInner> listByDatabase(String locationName, String managedInstanceName, String databaseName, Boolean onlyLatestPerDatabase, DatabaseState databaseState, Context context)

Lists all long term retention backups for a managed database.

abstract PagedFlux<ManagedInstanceLongTermRetentionBackupInner> listByDatabaseAsync(String locationName, String managedInstanceName, String databaseName)

Lists all long term retention backups for a managed database.

abstract PagedFlux<ManagedInstanceLongTermRetentionBackupInner> listByDatabaseAsync(String locationName, String managedInstanceName, String databaseName, Boolean onlyLatestPerDatabase, DatabaseState databaseState)

Lists all long term retention backups for a managed database.

abstract PagedIterable<ManagedInstanceLongTermRetentionBackupInner> listByInstance(String locationName, String managedInstanceName)

Lists the long term retention backups for a given managed instance.

abstract PagedIterable<ManagedInstanceLongTermRetentionBackupInner> listByInstance(String locationName, String managedInstanceName, Boolean onlyLatestPerDatabase, DatabaseState databaseState, Context context)

Lists the long term retention backups for a given managed instance.

abstract PagedFlux<ManagedInstanceLongTermRetentionBackupInner> listByInstanceAsync(String locationName, String managedInstanceName)

Lists the long term retention backups for a given managed instance.

abstract PagedFlux<ManagedInstanceLongTermRetentionBackupInner> listByInstanceAsync(String locationName, String managedInstanceName, Boolean onlyLatestPerDatabase, DatabaseState databaseState)

Lists the long term retention backups for a given managed instance.

abstract PagedIterable<ManagedInstanceLongTermRetentionBackupInner> listByLocation(String locationName)

Lists the long term retention backups for managed databases in a given location.

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

Lists the long term retention backups for managed databases in a given location.

abstract PagedFlux<ManagedInstanceLongTermRetentionBackupInner> listByLocationAsync(String locationName)

Lists the long term retention backups for managed databases in a given location.

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

Lists the long term retention backups for managed databases in a given location.

abstract PagedIterable<ManagedInstanceLongTermRetentionBackupInner> listByResourceGroupDatabase(String resourceGroupName, String locationName, String managedInstanceName, String databaseName)

Lists all long term retention backups for a managed database.

abstract PagedIterable<ManagedInstanceLongTermRetentionBackupInner> listByResourceGroupDatabase(String resourceGroupName, String locationName, String managedInstanceName, String databaseName, Boolean onlyLatestPerDatabase, DatabaseState databaseState, Context context)

Lists all long term retention backups for a managed database.

abstract PagedFlux<ManagedInstanceLongTermRetentionBackupInner> listByResourceGroupDatabaseAsync(String resourceGroupName, String locationName, String managedInstanceName, String databaseName)

Lists all long term retention backups for a managed database.

abstract PagedFlux<ManagedInstanceLongTermRetentionBackupInner> listByResourceGroupDatabaseAsync(String resourceGroupName, String locationName, String managedInstanceName, String databaseName, Boolean onlyLatestPerDatabase, DatabaseState databaseState)

Lists all long term retention backups for a managed database.

abstract PagedIterable<ManagedInstanceLongTermRetentionBackupInner> listByResourceGroupInstance(String resourceGroupName, String locationName, String managedInstanceName)

Lists the long term retention backups for a given managed instance.

abstract PagedIterable<ManagedInstanceLongTermRetentionBackupInner> listByResourceGroupInstance(String resourceGroupName, String locationName, String managedInstanceName, Boolean onlyLatestPerDatabase, DatabaseState databaseState, Context context)

Lists the long term retention backups for a given managed instance.

abstract PagedFlux<ManagedInstanceLongTermRetentionBackupInner> listByResourceGroupInstanceAsync(String resourceGroupName, String locationName, String managedInstanceName)

Lists the long term retention backups for a given managed instance.

abstract PagedFlux<ManagedInstanceLongTermRetentionBackupInner> listByResourceGroupInstanceAsync(String resourceGroupName, String locationName, String managedInstanceName, Boolean onlyLatestPerDatabase, DatabaseState databaseState)

Lists the long term retention backups for a given managed instance.

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

Lists the long term retention backups for managed databases in a given location.

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

Lists the long term retention backups for managed databases in a given location.

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

Lists the long term retention backups for managed databases in a given location.

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

Lists the long term retention backups for managed databases in a given location.

Method Details

beginDelete

public abstract SyncPoller,Void> beginDelete(String locationName, String managedInstanceName, String databaseName, String backupName)

Deletes a long term retention backup.

Parameters:

locationName - The location of the database.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed 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 managedInstanceName, String databaseName, String backupName, Context context)

Deletes a long term retention backup.

Parameters:

locationName - The location of the database.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed 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 managedInstanceName, String databaseName, String backupName)

Deletes a long term retention backup.

Parameters:

locationName - The location of the database.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed 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 managedInstanceName, String databaseName, 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed 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 managedInstanceName, String databaseName, 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed 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 managedInstanceName, String databaseName, 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database.
backupName - The backup name.

Returns:

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

delete

public abstract void delete(String locationName, String managedInstanceName, String databaseName, String backupName)

Deletes a long term retention backup.

Parameters:

locationName - The location of the database.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database.
backupName - The backup name.

delete

public abstract void delete(String locationName, String managedInstanceName, String databaseName, String backupName, Context context)

Deletes a long term retention backup.

Parameters:

locationName - The location of the database.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database.
backupName - The backup name.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String locationName, String managedInstanceName, String databaseName, String backupName)

Deletes a long term retention backup.

Parameters:

locationName - The location of the database.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed 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 managedInstanceName, String databaseName, 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database.
backupName - The backup name.

deleteByResourceGroup

public abstract void deleteByResourceGroup(String resourceGroupName, String locationName, String managedInstanceName, String databaseName, 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database.
backupName - The backup name.
context - The context to associate with this operation.

deleteByResourceGroupAsync

public abstract Mono deleteByResourceGroupAsync(String resourceGroupName, String locationName, String managedInstanceName, String databaseName, 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed 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 managedInstanceName, String databaseName, 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database.
backupName - The backup name.

Returns:

the Response<T> on successful completion of Mono.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String locationName, String managedInstanceName, String databaseName, String backupName)

Deletes a long term retention backup.

Parameters:

locationName - The location of the database.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database.
backupName - The backup name.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract ManagedInstanceLongTermRetentionBackupInner get(String locationName, String managedInstanceName, String databaseName, String backupName)

Gets a long term retention backup for a managed database.

Parameters:

locationName - The location of the database.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database.
backupName - The backup name.

Returns:

a long term retention backup for a managed database.

getAsync

public abstract Mono getAsync(String locationName, String managedInstanceName, String databaseName, String backupName)

Gets a long term retention backup for a managed database.

Parameters:

locationName - The location of the database.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database.
backupName - The backup name.

Returns:

a long term retention backup for a managed database on successful completion of Mono.

getByResourceGroup

public abstract ManagedInstanceLongTermRetentionBackupInner getByResourceGroup(String resourceGroupName, String locationName, String managedInstanceName, String databaseName, String backupName)

Gets a long term retention backup for a managed 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database.
backupName - The backup name.

Returns:

a long term retention backup for a managed database.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String locationName, String managedInstanceName, String databaseName, String backupName)

Gets a long term retention backup for a managed 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database.
backupName - The backup name.

Returns:

a long term retention backup for a managed database on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String locationName, String managedInstanceName, String databaseName, String backupName, Context context)

Gets a long term retention backup for a managed 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database.
backupName - The backup name.
context - The context to associate with this operation.

Returns:

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

getByResourceGroupWithResponseAsync

public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String locationName, String managedInstanceName, String databaseName, String backupName)

Gets a long term retention backup for a managed 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database.
backupName - The backup name.

Returns:

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

getWithResponse

public abstract Response getWithResponse(String locationName, String managedInstanceName, String databaseName, String backupName, Context context)

Gets a long term retention backup for a managed database.

Parameters:

locationName - The location of the database.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database.
backupName - The backup name.
context - The context to associate with this operation.

Returns:

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

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String locationName, String managedInstanceName, String databaseName, String backupName)

Gets a long term retention backup for a managed database.

Parameters:

locationName - The location of the database.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database.
backupName - The backup name.

Returns:

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

listByDatabase

public abstract PagedIterable listByDatabase(String locationName, String managedInstanceName, String databaseName)

Lists all long term retention backups for a managed database.

Parameters:

locationName - The location of the database.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database.

Returns:

a list of long term retention backups for managed database(s) as paginated response with PagedIterable<T>.

listByDatabase

public abstract PagedIterable listByDatabase(String locationName, String managedInstanceName, String databaseName, Boolean onlyLatestPerDatabase, DatabaseState databaseState, Context context)

Lists all long term retention backups for a managed database.

Parameters:

locationName - The location of the database.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed 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 for managed database(s) as paginated response with PagedIterable<T>.

listByDatabaseAsync

public abstract PagedFlux listByDatabaseAsync(String locationName, String managedInstanceName, String databaseName)

Lists all long term retention backups for a managed database.

Parameters:

locationName - The location of the database.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database.

Returns:

a list of long term retention backups for managed database(s) as paginated response with PagedFlux<T>.

listByDatabaseAsync

public abstract PagedFlux listByDatabaseAsync(String locationName, String managedInstanceName, String databaseName, Boolean onlyLatestPerDatabase, DatabaseState databaseState)

Lists all long term retention backups for a managed database.

Parameters:

locationName - The location of the database.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed 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 for managed database(s) as paginated response with PagedFlux<T>.

listByInstance

public abstract PagedIterable listByInstance(String locationName, String managedInstanceName)

Lists the long term retention backups for a given managed instance.

Parameters:

locationName - The location of the database.
managedInstanceName - The name of the managed instance.

Returns:

a list of long term retention backups for managed database(s) as paginated response with PagedIterable<T>.

listByInstance

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

Lists the long term retention backups for a given managed instance.

Parameters:

locationName - The location of the database.
managedInstanceName - The name of the managed instance.
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 for managed database(s) as paginated response with PagedIterable<T>.

listByInstanceAsync

public abstract PagedFlux listByInstanceAsync(String locationName, String managedInstanceName)

Lists the long term retention backups for a given managed instance.

Parameters:

locationName - The location of the database.
managedInstanceName - The name of the managed instance.

Returns:

a list of long term retention backups for managed database(s) as paginated response with PagedFlux<T>.

listByInstanceAsync

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

Lists the long term retention backups for a given managed instance.

Parameters:

locationName - The location of the database.
managedInstanceName - The name of the managed instance.
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 for managed database(s) as paginated response with PagedFlux<T>.

listByLocation

public abstract PagedIterable listByLocation(String locationName)

Lists the long term retention backups for managed databases in a given location.

Parameters:

locationName - The location of the database.

Returns:

a list of long term retention backups for managed database(s) 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 managed databases in 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 for managed database(s) as paginated response with PagedIterable<T>.

listByLocationAsync

public abstract PagedFlux listByLocationAsync(String locationName)

Lists the long term retention backups for managed databases in a given location.

Parameters:

locationName - The location of the database.

Returns:

a list of long term retention backups for managed database(s) as paginated response with PagedFlux<T>.

listByLocationAsync

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

Lists the long term retention backups for managed databases in 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 for managed database(s) as paginated response with PagedFlux<T>.

listByResourceGroupDatabase

public abstract PagedIterable listByResourceGroupDatabase(String resourceGroupName, String locationName, String managedInstanceName, String databaseName)

Lists all long term retention backups for a managed 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database.

Returns:

a list of long term retention backups for managed database(s) as paginated response with PagedIterable<T>.

listByResourceGroupDatabase

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

Lists all long term retention backups for a managed 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed 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 for managed database(s) as paginated response with PagedIterable<T>.

listByResourceGroupDatabaseAsync

public abstract PagedFlux listByResourceGroupDatabaseAsync(String resourceGroupName, String locationName, String managedInstanceName, String databaseName)

Lists all long term retention backups for a managed 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed database.

Returns:

a list of long term retention backups for managed database(s) as paginated response with PagedFlux<T>.

listByResourceGroupDatabaseAsync

public abstract PagedFlux listByResourceGroupDatabaseAsync(String resourceGroupName, String locationName, String managedInstanceName, String databaseName, Boolean onlyLatestPerDatabase, DatabaseState databaseState)

Lists all long term retention backups for a managed 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the managed 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 for managed database(s) as paginated response with PagedFlux<T>.

listByResourceGroupInstance

public abstract PagedIterable listByResourceGroupInstance(String resourceGroupName, String locationName, String managedInstanceName)

Lists the long term retention backups for a given managed instance.

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.
managedInstanceName - The name of the managed instance.

Returns:

a list of long term retention backups for managed database(s) as paginated response with PagedIterable<T>.

listByResourceGroupInstance

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

Lists the long term retention backups for a given managed instance.

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.
managedInstanceName - The name of the managed instance.
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 for managed database(s) as paginated response with PagedIterable<T>.

listByResourceGroupInstanceAsync

public abstract PagedFlux listByResourceGroupInstanceAsync(String resourceGroupName, String locationName, String managedInstanceName)

Lists the long term retention backups for a given managed instance.

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.
managedInstanceName - The name of the managed instance.

Returns:

a list of long term retention backups for managed database(s) as paginated response with PagedFlux<T>.

listByResourceGroupInstanceAsync

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

Lists the long term retention backups for a given managed instance.

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.
managedInstanceName - The name of the managed instance.
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 for managed database(s) as paginated response with PagedFlux<T>.

listByResourceGroupLocation

public abstract PagedIterable listByResourceGroupLocation(String resourceGroupName, String locationName)

Lists the long term retention backups for managed databases in 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 for managed database(s) 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 managed databases in 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 for managed database(s) as paginated response with PagedIterable<T>.

listByResourceGroupLocationAsync

public abstract PagedFlux listByResourceGroupLocationAsync(String resourceGroupName, String locationName)

Lists the long term retention backups for managed databases in 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 for managed database(s) 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 managed databases in 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 for managed database(s) as paginated response with PagedFlux<T>.

Applies to