ManagedInstanceLongTermRetentionPoliciesClient.getWithResponse(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName, Context context) Method

Definition

Gets a managed database's long term retention policy.

public abstract Response<ManagedInstanceLongTermRetentionPolicyInner> getWithResponse(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName, Context context)

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.

context
Context

The context to associate with this operation.

Returns

a managed database's long term retention policy.

Applies to