AzureSqlManagedDatabaseBackupCommunicator.GetManagedDatabaseLongTermRetentionBackups 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.
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
- databaseState
- String
The state of databases to get backups for: All, Live, Deleted.