DatabaseBackupOperationsExtensions.GetDatabaseBackupLongTermRetentionPolicy Method

Definition

Returns an Azure SQL Database backup LongTermRetention policy

public static Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseBackupLongTermRetentionPolicyGetResponse GetDatabaseBackupLongTermRetentionPolicy (this Microsoft.Azure.Management.Sql.LegacySdk.IDatabaseBackupOperations operations, string resourceGroupName, string serverName, string databaseName, string backupLongTermRetentionPolicyName);
static member GetDatabaseBackupLongTermRetentionPolicy : Microsoft.Azure.Management.Sql.LegacySdk.IDatabaseBackupOperations * string * string * string * string -> Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseBackupLongTermRetentionPolicyGetResponse
<Extension()>
Public Function GetDatabaseBackupLongTermRetentionPolicy (operations As IDatabaseBackupOperations, resourceGroupName As String, serverName As String, databaseName As String, backupLongTermRetentionPolicyName As String) As DatabaseBackupLongTermRetentionPolicyGetResponse

Parameters

operations
IDatabaseBackupOperations

Reference to the Microsoft.Azure.Management.Sql.LegacySdk.IDatabaseBackupOperations.

resourceGroupName
String

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

serverName
String

Required. The name of the Azure SQL Database Server.

databaseName
String

Required. The name of the Azure SQL Database.

backupLongTermRetentionPolicyName
String

Required. The name of the Azure SQL Database backup LongTermRetention policy.

Returns

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

Applies to