ManagedInstanceLongTermRetentionPoliciesClient.listByDatabase Method

Definition

Overloads

listByDatabase(String resourceGroupName, String managedInstanceName, String databaseName)

Gets a database's long term retention policy.

listByDatabase(String resourceGroupName, String managedInstanceName, String databaseName, Context context)

Gets a database's long term retention policy.

listByDatabase(String resourceGroupName, String managedInstanceName, String databaseName)

Gets a database's long term retention policy.

public abstract PagedIterable<ManagedInstanceLongTermRetentionPolicyInner> listByDatabase(String resourceGroupName, String managedInstanceName, String databaseName)

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.

Returns

a database's long term retention policy.

listByDatabase(String resourceGroupName, String managedInstanceName, String databaseName, Context context)

Gets a database's long term retention policy.

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

context
Context

The context to associate with this operation.

Returns

a database's long term retention policy.

Applies to