BackupLongTermRetentionPoliciesClientImpl.get(String resourceGroupName, String serverName, String databaseName, LongTermRetentionPolicyName policyName) Method

Definition

Gets a database's long term retention policy.

public BackupLongTermRetentionPolicyInner get(String resourceGroupName, String serverName, String databaseName, LongTermRetentionPolicyName policyName)

Parameters

resourceGroupName
java.lang.String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName
java.lang.String

The name of the server.

databaseName
java.lang.String

The name of the database.

policyName
LongTermRetentionPolicyName

The policy name. Should always be Default.

Returns

a database's long term retention policy.

Applies to