# The Sandbox object

A Sandbox resource representing an execution environment.

## Attributes

- `metadata` (object, Beta)
  Metadata associated with the sandbox.
  - `custom_tags` (object, Beta)
    Key-value tags associated with the sandbox. Supports up to 54 tags. Keys must be between
     1 and 512 characters, and values must not exceed 256 characters.
- `spec` (object, Beta)
  The desired configuration of the sandbox, supplied by the caller at creation time.
  - `compute` (object, Beta)
    Compute configuration (size, inactivity timeout) requested for the sandbox.
    - `inactivity_timeout` (string, Beta)
      Idle duration after which the sandbox is automatically terminated.
  - `environment` (object, Beta)
    The execution environment to use for the sandbox.
    - `image_uri` (string, Beta)
      The Unity Catalog container image to use for the sandbox environment
       (for example, `catalog.schema.folder.image:tag`). See
       [Artifact Registry](https://docs.databricks.com/en/artifact-registry/).
- `status` (object, Beta, Output only)
  The observed runtime state of the sandbox, populated by the server.
  - `state` (string, Beta, Output only)
    Lifecycle state of the sandbox.
    Possible values:
    - `SANDBOX_STATE_PENDING`
    - `SANDBOX_STATE_RUNNING`
    - `SANDBOX_STATE_STOPPED`
    - `SANDBOX_STATE_STOPPING`
- `name` (string, Beta, ID, Immutable)
  The sandbox resource name, in the form `sandboxes/{sandbox_id}`. Derived from
   `sandbox_id`; any value supplied in a create or update request body is ignored.
- `create_time` (string, Beta, Output only)
  Output only. The creation time of the sandbox.
- `update_time` (string, Beta, Output only)
  Output only. The last update time of the sandbox metadata and spec.
- `display_name` (string, Beta)
  Human-readable display label for the sandbox. At most 256 characters.

## Example

```json
{
  "metadata": {
    "custom_tags": {}
  },
  "spec": {
    "compute": {},
    "environment": {}
  },
  "status": {
    "state": "SANDBOX_STATE_PENDING"
  },
  "name": "string",
  "create_time": "string",
  "update_time": "string",
  "display_name": "string"
}
```


