def METHOD_NAME(database_name: Optional[pulumi.Input[str]] = None,
                                                           managed_instance_name: Optional[pulumi.Input[str]] = None,
                                                           policy_name: Optional[pulumi.Input[str]] = None,
                                                           resource_group_name: Optional[pulumi.Input[str]] = None,
                                                           opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedInstanceLongTermRetentionPolicyResult]:
    """
    Gets a managed database's long term retention policy.
    :param str database_name: The name of the database.
    :param str managed_instance_name: The name of the managed instance.
    :param str policy_name: The policy name. Should always be Default.
    :param str resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    """
    ...