Partager via


AzureSqlDatabaseBackupCommunicator.GetDatabaseLongTermRetentionBackups Method

Definition

Overloads

GetDatabaseLongTermRetentionBackups(String, String, String, Nullable<Boolean>, String)
GetDatabaseLongTermRetentionBackups(String, String, String, String, Nullable<Boolean>, String)

Gets the Long Term Retention backups.

GetDatabaseLongTermRetentionBackups(String, String, String, Nullable<Boolean>, String)

public Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.LongTermRetentionBackup> GetDatabaseLongTermRetentionBackups (string locationName, string serverName, string databaseName, bool? onlyLatestPerDatabase, string databaseState);
member this.GetDatabaseLongTermRetentionBackups : string * string * string * Nullable<bool> * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.LongTermRetentionBackup>
Public Function GetDatabaseLongTermRetentionBackups (locationName As String, serverName As String, databaseName As String, onlyLatestPerDatabase As Nullable(Of Boolean), databaseState As String) As IPage(Of LongTermRetentionBackup)

Parameters

locationName
String
serverName
String
databaseName
String
onlyLatestPerDatabase
Nullable<Boolean>
databaseState
String

Returns

Applies to

GetDatabaseLongTermRetentionBackups(String, String, String, String, Nullable<Boolean>, String)

Gets the Long Term Retention backups.

public Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.LongTermRetentionBackup> GetDatabaseLongTermRetentionBackups (string locationName, string serverName, string databaseName, string resourceGroupName, bool? onlyLatestPerDatabase, string databaseState);
member this.GetDatabaseLongTermRetentionBackups : string * string * string * string * Nullable<bool> * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.LongTermRetentionBackup>
Public Function GetDatabaseLongTermRetentionBackups (locationName As String, serverName As String, databaseName As String, resourceGroupName As String, onlyLatestPerDatabase As Nullable(Of Boolean), databaseState As String) As IPage(Of LongTermRetentionBackup)

Parameters

locationName
String

The location name.

serverName
String

The server 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