> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SandboxStatus

> サンドボックスのライフサイクルステータス値。

ソース: [src/cwsandbox/\_sandbox.py:286](https://github.com/coreweave/cwsandbox-client/blob/v1.14.2/src/cwsandbox/_sandbox.py#L286)

サンドボックスのライフサイクルステータス値。

ライフサイクル: CREATING | PREPARING -> RUNNING -> TERMINATING -> COMPLETED | FAILED

<h2 id="members">
  メンバー
</h2>

* `RUNNING` = `'running'`
* `CREATING` = `'creating'`
* `PREPARING` = `'preparing'`
* `PENDING` = `'pending'`
* `PAUSED` = `'paused'`
* `TERMINATING` = `'terminating'`
* `COMPLETED` = `'completed'`
* `FAILED` = `'failed'`
* `TERMINATED` = `'terminated'`
* `UNSPECIFIED` = `'unspecified'`

<h2 id="methods">
  メソッド
</h2>

<h3 id="from_proto">
  from\_proto
</h3>

```python theme={"system"}
from_proto(proto_status: int) -> SandboxStatus
```

protobuf の State 列挙型 を SandboxStatus に変換します。

<h3 id="to_proto">
  to\_proto
</h3>

```python theme={"system"}
to_proto() -> int
```

SandboxStatus を protobuf の State 列挙型に変換します。
