LongTermRetentionManagedInstanceBackupsClientImpl.listByResourceGroupLocationAsync Method

Definition

Overloads

listByResourceGroupLocationAsync(String resourceGroupName, String locationName)

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

listByResourceGroupLocationAsync(String resourceGroupName, String locationName, Boolean onlyLatestPerDatabase, DatabaseState databaseState)

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

listByResourceGroupLocationAsync(String resourceGroupName, String locationName)

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

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

Parameters

resourceGroupName
java.lang.String

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
java.lang.String

The location of the database.

Returns

a list of long term retention backups for managed database(s).

listByResourceGroupLocationAsync(String resourceGroupName, String locationName, Boolean onlyLatestPerDatabase, DatabaseState databaseState)

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

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

Parameters

resourceGroupName
java.lang.String

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
java.lang.String

The location of the database.

onlyLatestPerDatabase
java.lang.Boolean

Whether or not to only get the latest backup for each database.

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

Applies to