def METHOD_NAME(project_id, username, resource_name, description, status):
    """操作记录"""
    client = activity_client.ContextActivityLogClient(
        project_id=project_id, user=username, resource_type="hpa", resource=resource_name
    )
    if status is True:
        client.log_delete(activity_status="succeed", description=description)
    else:
        client.log_delete(activity_status="failed", description=description)