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);
member this.GetManagedDatabaseLongTermRetentionBackups : string * string * string * string * Nullable<bool> * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.ManagedInstanceLongTermRetentionBackup>
Public Function GetManagedDatabaseLongTermRetentionBackups (locationName As String, instanceName As String, databaseName As String, resourceGroupName As String, onlyLatestPerDatabase As Nullable(Of Boolean), databaseState As String) As IPage(Of ManagedInstanceLongTermRetentionBackup)

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