code: def __init__(
      self,
      deployment_config: DeploymentConfig,
      replica_config: ReplicaConfig,
      start_time_ms: int,
      deployer_job_id: str,
      actor_name: Optional[str] = None,
      version: Optional[str] = None,
      end_time_ms: Optional[int] = None,
      route_prefix: str = None,
      docs_path: str = None,
      ingress: bool = False,
      target_capacity: Optional[float] = None,
      target_capacity_direction: Optional[
          TargetCapacityDirection
      ] = None,
  ):
      self.deployment_config = deployment_config
      self.replica_config = replica_config
      # The time when .deploy() was first called for this deployment.
      self.start_time_ms = start_time_ms
      self.actor_name = actor_name
      self.version = version
      self.deployer_job_id = deployer_job_id
      # The time when this deployment was deleted.
      self.end_time_ms = end_time_ms
  
      # ephermal state
      self._cached_actor_def = None
  
      self.route_prefix = route_prefix
      self.docs_path = docs_path
      self.ingress = ingress
  
      self.target_capacity = target_capacity
      self.target_capacity_direction = target_capacity_direction
  
      self.autoscaling_policy_manager = AutoscalingPolicyManager(
          config=deployment_config.autoscaling_config
      )
  
file_path: ray/python/ray/serve/_private/deployment_info.py
imports: from typing import Any, Dict, Optional
  import ray
  from ray.serve._private.autoscaling_policy import AutoscalingPolicyManager
  from ray.serve._private.common import TargetCapacityDirection
  from ray.serve._private.config import DeploymentConfig, ReplicaConfig
  from ray.serve._private.constants import REPLICA_CONTROL_PLANE_CONCURRENCY_GROUP
  from ray.serve.generated.serve_pb2 import DeploymentInfo
  from ray.serve.generated.serve_pb2 import TargetCapacityDirection
label_desc: Use image node_id 1 to create a new DeploymentInfo object  with example: obj = DeploymentInfo(deployment_config, replica_config, start_time_ms, deployer_job_id, actor_name, version, end_time_ms, route_prefix, docs_path, ingress, target_capacity, target_capacity_direction)