AzureSqlDatabaseBackupCommunicator.GetDatabaseLongTermRetentionBackups Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
- 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
- databaseState
- String
The state of databases to get backups for: All, Live, Deleted.