Share via


AzureSqlManagedDatabaseBackupCommunicator.GetManagedDatabaseLongTermRetentionBackups Method

Definition

Gets the Long Term Retention backups.

public Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.ManagedInstanceLongTermRetentionBackup> GetManagedDatabaseLongTermRetentionBackups (string locationName, string instanceName, string databaseName, string resourceGroupName, bool? onlyLatestPerDatabase, string databaseState);

Parameters

locationName
String

The location name.

instanceName
String

The instance name.

databaseName
String

The database name.

resourceGroupName
String

The resource group name

onlyLatestPerDatabase
Nullable<Boolean>

Whether or not to only get the latest backup per database.

databaseState
String

The state of databases to get backups for: All, Live, Deleted.

Returns

Applies to