ray.serve.schema.ServeInstanceDetails#
- class ray.serve.schema.ServeInstanceDetails(*, controller_info: ServeActorDetails, proxy_location: ProxyLocation | None = None, http_options: HTTPOptionsSchema | None = None, grpc_options: gRPCOptionsSchema | None = None, proxies: Dict[str, ProxyDetails], deploy_mode: ServeDeployMode = ServeDeployMode.MULTI_APP, applications: Dict[str, ApplicationDetails], target_capacity: ConstrainedFloatValue | None = None)[source]#
Bases:
BaseModel
Serve metadata with system-level info and details on all applications deployed to the Ray cluster.
This is the response JSON schema for v2 REST API
GET /api/serve/applications
.Methods
Create a new model by parsing and validating input data from keyword arguments.
Creates a new model setting __dict__ and __fields_set__ from trusted or pre-validated data.
Duplicate a model, optionally choose which fields to include, exclude and change.
Generate a dictionary representation of the model, optionally specifying which fields to include or exclude.
Empty Serve instance details dictionary.
Generate a JSON representation of the model,
include
andexclude
arguments as perdict()
.Try to update ForwardRefs on fields based on this Model, globalns and localns.
Attributes