AzureSqlManagedDatabaseBackupCommunicator.GetManagedDatabaseLongTermRetentionPolicy 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.
Get a backup LongTermRetention policy for a Azure SQL Database
public Microsoft.Azure.Management.Sql.Models.ManagedInstanceLongTermRetentionPolicy GetManagedDatabaseLongTermRetentionPolicy (string resourceGroupName, string instanceName, string databaseName);
member this.GetManagedDatabaseLongTermRetentionPolicy : string * string * string -> Microsoft.Azure.Management.Sql.Models.ManagedInstanceLongTermRetentionPolicy
Public Function GetManagedDatabaseLongTermRetentionPolicy (resourceGroupName As String, instanceName As String, databaseName As String) As ManagedInstanceLongTermRetentionPolicy
Parameters
- resourceGroupName
- String
The name of the resource group
- instanceName
- String
The name of the Managed Instance
- databaseName
- String
The name of the Managed Database
Returns
A backup LongTermRetention policy