ManagedInstanceLongTermRetentionPoliciesClient.get(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName) Method

Definition

Gets a managed database's long term retention policy.

public abstract ManagedInstanceLongTermRetentionPolicyInner get(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName 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.

managedInstanceName
java.lang.String

The name of the managed instance.

databaseName
java.lang.String

The name of the database.

policyName
ManagedInstanceLongTermRetentionPolicyName

The policy name. Should always be Default.

Returns

a managed database's long term retention policy.

Applies to