Skip to content

Latest commit

 

History

History
85 lines (76 loc) · 5.29 KB

DeploymentResponse.md

File metadata and controls

85 lines (76 loc) · 5.29 KB

DeploymentResponse

Properties

Name Type Description Notes
creator_email str
cluster_id int
id int
name str
endpoint_url str
image_url str [optional]
type DeploymentType
status DeploymentStatus
created_at datetime
hardware_instance_id int
revision_number int
chart_revision str Saved catalog Git reference for this revision; null if not recorded. Informational: omit chart_revision from edit or clone requests to use the current platform default. [optional]
user_annotations Dict[str, str] [optional]
priority str [optional]
volume_mounts List[VolumeMount] [optional]
hf_token_ref int [optional]
serving_mode DynamoServingMode [optional]
worker_pools DynamoWorkerPools Hardware and scaling per worker role. Aggregated mode uses exactly `worker`; disaggregated mode uses exactly `prefill` and `decode`. Unused roles are null. [optional]
communications DynamoCommunicationsInput Requested communication policy; null for revisions using the legacy configuration. [optional]
weight_transfer DynamoWeightTransferConfiguration Requested weight transfer policy; null when the workers use the native loader. [optional]
model str
model_revision str Commit SHA of `model` this revision loads; null when the workers load the default branch. [optional]
served_model_name str [optional]
runtime_version str Dynamo runtime version tag this revision renders with. [optional]
min_replicas int
max_replicas int
concurrency int [optional]
cooldown_period int [optional] [default to 1800]
extra_args str [optional]
env_vars Dict[str, str] [optional]
env_vars_refs object [optional]
endpoint_certificate_authority str [optional]
endpoint_bearer_token str [optional]
bearer_token_ref int [optional]
image_pull_ref int [optional]
enable_logging bool [optional] [default to True]
enable_node_model_cache bool [optional] [default to False]
backend_protocol BackendProtocol [optional]
frontend DynamoFrontendConfigResponse Frontend replica bounds and size this revision requests; the defaults for revisions created before these fields. [optional]
container_port int
healthcheck str [optional]
command List[str] [optional]
command_args List[str] [optional]
original_command str [optional]
image_pull_secret_credentials ImagePullSecretCredentials [optional]
image_pull_secret_name str Name of a pre-existing image pull Secret in the deployment namespace. Created, refreshed and deleted externally. Mutually exclusive with inline registry credentials and image_pull_ref. Include on updates to retain it; null clears it. [optional]
session_affinity bool Enable best-effort sticky routing via the `X-Session-Id` request header. Requests carrying the same header value land on the same pod, improving KV cache reuse for agentic workloads. Requests without the header are routed at random. Affinity is NOT durable: scaling, rollouts, restarts, or readiness-probe transitions will remap sessions to different pods. Do not use for irreplaceable in-pod state. [optional] [default to False]
config_file ConfigFileMount [optional]
metrics MetricsConfig [optional]
exposed_port int
ssh_public_key str [optional]
ssh_password str [optional]
args List[str] [optional]
completions int [optional] [default to 1]
parallelism int [optional] [default to 1]
backoff_limit int [optional] [default to 3]
active_deadline_seconds int [optional]

Example

from platform_api_python_client.models.deployment_response import DeploymentResponse

# TODO update the JSON string below
json = "{}"
# create an instance of DeploymentResponse from a JSON string
deployment_response_instance = DeploymentResponse.from_json(json)
# print the JSON string representation of the object
print(DeploymentResponse.to_json())

# convert the object into a dict
deployment_response_dict = deployment_response_instance.to_dict()
# create an instance of DeploymentResponse from a dict
deployment_response_from_dict = DeploymentResponse.from_dict(deployment_response_dict)

[Back to Model list] [Back to API list] [Back to README]