跳转到主要内容
PATCH
Stop a release a deployment keeps

授权

Authorization
string
header
必填

A workspace-scoped Cloud JWT.

路径参数

id
string
必填
releaseId
string
必填

A release the deployment keeps from an earlier update.

请求体

application/json
status
enum<string>
必填

The state the release's copy moves to; stopped is the only one.

可用选项:
stopped

响应

Accepted; the release's copy is stopping.

releaseId
string
必填
status
enum<string>
必填

Lifecycle state. unhealthy is a recoverable post-ready state: the deployment was serving but its endpoint degraded or vanished, and the control plane will move it back to ready if it recovers. stop_failed means a stop ran but could not release the compute, so the deployment may still be holding (and billing for) its endpoint; it is not terminal, and stopping it again retries the release. stopped and failed are terminal.

可用选项:
queued,
provisioning,
starting,
ready,
unhealthy,
stopping,
stop_failed,
stopped,
failed