<!-- DO NOT EDIT: this file is automatically generated using scw-doc-gen -->
# Documentation for `scw datalab`
Data Lab API.
  
- [](#)
  - [List datalab resources](#list-datalab-resources)
- [](#)
  - [Create datalab resources](#create-datalab-resources)
  - [Delete datalab resources](#delete-datalab-resources)
  - [Get datalab resources](#get-datalab-resources)
  - [List datalab resources](#list-datalab-resources)
  - [Update datalab resources](#update-datalab-resources)
- [](#)
  - [List datalab resources](#list-datalab-resources)
- [](#)
  - [List datalab resources](#list-datalab-resources)

  
## 

Lists the Spark versions available for Data Lab creation.


### List datalab resources

List datalab resources.

**Usage:**

```
scw datalab cluster-version list [arg=value ...]
```


**Args:**

| Name |   | Description |
|------|---|-------------|
| order-by | One of: `name_asc`, `name_desc` | The order by field. |
| region | Default: `fr-par`<br />One of: `fr-par`, `all` | Region to target. If none is passed will use default region from the config |



## 

Manage your Data Labs.


### Create datalab resources

Create datalab resources.

**Usage:**

```
scw datalab datalab create [arg=value ...]
```


**Args:**

| Name |   | Description |
|------|---|-------------|
| project-id |  | Project ID to use. If none is passed the default project ID will be used |
| name |  | The name of the Data Lab. |
| description |  | The description of the Data Lab. |
| tags.{index} |  | The tags of the Data Lab. |
| main.node-type |  |  |
| worker.node-type |  |  |
| worker.node-count |  |  |
| has-notebook |  | Select this option to include a notebook as part of the Data Lab. |
| spark-version |  | The version of Spark running inside the Data Lab, available options can be viewed at ListClusterVersions. |
| total-storage.type | One of: `unknown_type`, `sbs_5k` |  |
| total-storage.size |  |  |
| private-network-id |  | The unique identifier of the private network the Data Lab will be attached to. |
| region | Default: `fr-par`<br />One of: `fr-par` | Region to target. If none is passed will use default region from the config |



### Delete datalab resources

Delete datalab resources.

**Usage:**

```
scw datalab datalab delete [arg=value ...]
```


**Args:**

| Name |   | Description |
|------|---|-------------|
| datalab-id | Required | The unique identifier of the Data Lab. |
| region | Default: `fr-par`<br />One of: `fr-par` | Region to target. If none is passed will use default region from the config |



### Get datalab resources

Get datalab resources.

**Usage:**

```
scw datalab datalab get [arg=value ...]
```


**Args:**

| Name |   | Description |
|------|---|-------------|
| datalab-id | Required | The unique identifier of the Data Lab |
| region | Default: `fr-par`<br />One of: `fr-par` | Region to target. If none is passed will use default region from the config |



### List datalab resources

List datalab resources.

**Usage:**

```
scw datalab datalab list [arg=value ...]
```


**Args:**

| Name |   | Description |
|------|---|-------------|
| project-id |  | The unique identifier of the project whose Data Labs you want to list. |
| name |  | The name of the Data Lab you want to list. |
| tags.{index} |  | The tags associated with the Data Lab you want to list. |
| order-by | One of: `name_asc`, `name_desc`, `created_at_asc`, `created_at_desc`, `updated_at_asc`, `updated_at_desc` | The order by field, available options are `name_asc`, `name_desc`, `created_at_asc`, `created_at_desc`, `updated_at_asc`, `updated_at_desc`. |
| organization-id |  | The unique identifier of the organization whose Data Labs you want to list. |
| region | Default: `fr-par`<br />One of: `fr-par`, `all` | Region to target. If none is passed will use default region from the config |



### Update datalab resources

Update datalab resources.

**Usage:**

```
scw datalab datalab update [arg=value ...]
```


**Args:**

| Name |   | Description |
|------|---|-------------|
| datalab-id | Required | The unique identifier of the Data Lab. |
| name |  | The updated name of the Data Lab. |
| description |  | The updated description of the Data Lab. |
| tags.{index} |  | The updated tags of the Data Lab. |
| node-count |  | The updated node count of the Data Lab. Scale up or down the number of worker nodes. |
| region | Default: `fr-par`<br />One of: `fr-par` | Region to target. If none is passed will use default region from the config |



## 

List available node types.


### List datalab resources

List datalab resources.

**Usage:**

```
scw datalab node-type list [arg=value ...]
```


**Args:**

| Name |   | Description |
|------|---|-------------|
| order-by | One of: `name_asc`, `name_desc`, `vcpus_asc`, `vcpus_desc`, `memory_gigabytes_asc`, `memory_gigabytes_desc`, `vram_bytes_asc`, `vram_bytes_desc`, `gpus_asc`, `gpus_desc` | The order by field. Available fields are `name_asc`, `name_desc`, `vcpus_asc`, `vcpus_desc`, `memory_gigabytes_asc`, `memory_gigabytes_desc`, `vram_bytes_asc`, `vram_bytes_desc`, `gpus_asc`, `gpus_desc`. |
| targets.{index} | One of: `unknown_target`, `notebook`, `worker` | Filter based on the target of the nodes. Allows to filter the nodes based on their purpose which can be main or worker node. |
| resource-type | One of: `all`, `gpu`, `cpu` | Filter based on node type ( `cpu`/`gpu`/`all` ). |
| region | Default: `fr-par`<br />One of: `fr-par`, `all` | Region to target. If none is passed will use default region from the config |



## 

List available notebook versions.


### List datalab resources

List datalab resources.

**Usage:**

```
scw datalab notebook-version list [arg=value ...]
```


**Args:**

| Name |   | Description |
|------|---|-------------|
| order-by | One of: `name_asc`, `name_desc` | The order by field. Available options are `name_asc` and `name_desc`. |
| region | Default: `fr-par`<br />One of: `fr-par`, `all` | Region to target. If none is passed will use default region from the config |



