IDatabaseBackupOperations.ListDatabaseBackupLongTermRetentionPoliciesAsync Method

Definition

Returns a list of Azure SQL Database backup LongTermRetention policies

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseBackupLongTermRetentionPolicyListResponse> ListDatabaseBackupLongTermRetentionPoliciesAsync (string resourceGroupName, string serverName, string databaseName, System.Threading.CancellationToken cancellationToken);
abstract member ListDatabaseBackupLongTermRetentionPoliciesAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseBackupLongTermRetentionPolicyListResponse>
Public Function ListDatabaseBackupLongTermRetentionPoliciesAsync (resourceGroupName As String, serverName As String, databaseName As String, cancellationToken As CancellationToken) As Task(Of DatabaseBackupLongTermRetentionPolicyListResponse)

Parameters

resourceGroupName
String

The name of the Resource Group to which the resource belongs.

serverName
String

The name of the Azure SQL Server.

databaseName
String

The name of the Azure SQL Database.

cancellationToken
CancellationToken

Cancellation token.

Returns

Represents the response to a List Azure Sql Database backup LongTermRetention policy request.

Applies to