IDatabaseBackupOperations.GetDatabaseBackupLongTermRetentionPolicyAsync 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.
Returns an Azure SQL Database backup LongTermRetention policy
public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseBackupLongTermRetentionPolicyGetResponse> GetDatabaseBackupLongTermRetentionPolicyAsync (string resourceGroupName, string serverName, string databaseName, string backupLongTermRetentionPolicyName, System.Threading.CancellationToken cancellationToken);
abstract member GetDatabaseBackupLongTermRetentionPolicyAsync : string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseBackupLongTermRetentionPolicyGetResponse>
Public Function GetDatabaseBackupLongTermRetentionPolicyAsync (resourceGroupName As String, serverName As String, databaseName As String, backupLongTermRetentionPolicyName As String, cancellationToken As CancellationToken) As Task(Of DatabaseBackupLongTermRetentionPolicyGetResponse)
Parameters
- resourceGroupName
- String
The name of the Resource Group to which the resource belongs.
- serverName
- String
The name of the Azure SQL Database Server.
- databaseName
- String
The name of the Azure SQL Database.
- backupLongTermRetentionPolicyName
- String
The name of the Azure SQL Database backup LongTermRetention policy.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Represents the response to a Get Azure Sql Database backup LongTermRetention policy request.