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

# nebius compute disk create

## Name

`nebius compute disk create`

Creates a new disk with the specified configuration.\

For details, see [https://docs.nebius.com/compute/storage/manage](https://docs.nebius.com/compute/storage/manage.md).

## Synopsis

```
nebius compute disk create
  --block-size-bytes
  --disk-encryption-type
  --forbid-deletion
  --labels
  --name
  --parent-id [required]
  --resource-version
  --size-bytes
  --size-gibibytes
  --size-kibibytes
  --size-mebibytes
  --source-image-family-image-family
  --source-image-family-parent-id
  --source-image-id
  --source-snapshot-id
  --type [required]
  --async
  -i, --interactive
```

## Examples

**Create an empty disk**

```
nebius compute disk create \
  --name <additional_disk_name> \
  --size-gibibytes 10 \
  --type network_ssd \
  --block-size-bytes 4096
```

**Create a disk from an image**

```
nebius compute disk create \
   --name <disk_name> \
   --type network_<ssd|ssd_non_replicated|ssd_io_m3> \
   --size-gibibytes <size> \
   --block-size-bytes <block_size> \
   --source-image-id computeimage-***
```

**Create a disk from a snapshot**

```
nebius compute disk create \
   --name <disk_name> \
   --type network_<ssd|ssd_non_replicated|ssd_io_m3> \
   --size-gibibytes <size> \
   --block-size-bytes <block_size> \
   --source-snapshot-id <snapshot_ID>
```

## Options

`--block-size-bytes` (int64)

Block size in bytes.\

The block size must be a power of two between 4096 bytes (4 KiB) and 131072 bytes (128 KiB).\

The default value is 4096 bytes (4 KiB).

`--disk-encryption-type` (string)

A value must be one of:

<ul>
  <li>
    `disk_encryption_unspecified`
  </li>

  <li>
    `disk_encryption_managed`
  </li>
</ul>

`--forbid-deletion` (bool)

Prevents deletion whilst set.

`--labels` (string->string)

Labels associated with the resource.

`--name` (string)

Human-readable name for the resource.

`--parent-id` (string)* \[required]*

Identifier of the parent resource to which the resource belongs.

`--resource-version` (int64)

Version of the resource for safe concurrent modifications and consistent reads.\

Positive and monotonically increases on each resource spec change (but *not* on each change of the\

resource's container(s) or status).\

Service allows zero value or current.

`--size-bytes` (int64)

Mutually exclusive with: `--size-gibibytes`, `--size-kibibytes`, `--size-mebibytes`.

`--size-gibibytes` (int64)

Mutually exclusive with: `--size-bytes`, `--size-kibibytes`, `--size-mebibytes`.

`--size-kibibytes` (int64)

Mutually exclusive with: `--size-bytes`, `--size-gibibytes`, `--size-mebibytes`.

`--size-mebibytes` (int64)

Mutually exclusive with: `--size-bytes`, `--size-gibibytes`, `--size-kibibytes`.

`--source-image-family-image-family` (string)

Mutually exclusive with: `--source-image-id`, `--source-snapshot-id`.

`--source-image-family-parent-id` (string)

Mutually exclusive with: `--source-image-id`, `--source-snapshot-id`.

`--source-image-id` (string)

Mutually exclusive with: `--source-image-family-image-family`, `--source-image-family-parent-id`, `--source-snapshot-id`.

`--source-snapshot-id` (string)

Mutually exclusive with: `--source-image-family-image-family`, `--source-image-family-parent-id`, `--source-image-id`.

`--type` (string)* \[required]*

The type of disk defines the performance and reliability characteristics of the block device.\

For details, see [https://docs.nebius.com/compute/storage/types#disks-types](https://docs.nebius.com/compute/storage/types.md#disks-types).

A value must be one of:

<ul>
  <li>
    `network_ssd`
  </li>

  <li>
    `network_hdd`
  </li>

  <li>
    `network_ssd_non_replicated`
  </li>

  <li>
    `network_ssd_io_m3`
  </li>
</ul>

`--async` (bool)

If set, returns operation id. Otherwise, waits for the operation to complete and returns its resource.

`-i, --interactive` (bool)

If set, suggests to insert field values in interactive mode.

## Global Options

`-h, --help` (bool)

Show this message.

`-p, --profile` (string)

Set a profile for interacting with the cloud.

`--format` (string)

Output format. Supported values: yaml|json|jsonpath|table|text.

`-f, --file` (string)

Input file. For 'update' commands automatically set --full=true.

`-c, --config` (string)

Provide path to config file.

`--debug` (bool)

Write debug logs to stderr. Commands save debug logs in the config directory under logs/, except help and shell completion.

`-I, --impersonate-service-account-id` (string)

Impersonate into the service account and use its token for a command.

`--color` (bool)

Enable colored output.

`--no-browser` (bool)

Do not open browser automatically on auth.

`--insecure` (bool)

Disable transport security.

`--auth-timeout` (duration: 2h30m10s)

Set the timeout for the request including authentication process, default is 15m0s.

`--per-retry-timeout` (duration: 2h30m10s)

Set the timeout for each retry attempt, default is 20s.

`--retries` (uint)

Set the number of retry attempts, 1 is disable retries, default is 3.

`--timeout` (duration: 2h30m10s)

Set the timeout for the main request, default is 1m0s.

`--no-check-update` (bool)

Suppress check for updates.

`--no-progress` (bool)

Suppress progress indicators and spinners.

**Input argument JSON Schema**

> [tab] Full
>
> ```json theme={null}
> {              
>   "metadata": {               
>     "labels": {                // [map]
>                                // Labels associated with the resource.
>       string: string                  
>     },
>     "name": string,            // Human-readable name for the resource.
>     "parent_id": string,       // [required]
>                                // Identifier of the parent resource to which the resource belongs.
>     "resource_version": int64  // Version of the resource for safe concurrent modifications and consistent reads.
>                                // Positive and monotonically increases on each resource spec change (but *not* on each change of the
>                                // resource's container(s) or status).
>                                // Service allows zero value or current.
>   },
>   "spec": {                      
>     "block_size_bytes": int64,    // [immutable]
>                                   // Block size in bytes.
>                                   // The block size must be a power of two between 4096 bytes (4 KiB) and 131072 bytes (128 KiB).
>                                   // The default value is 4096 bytes (4 KiB).
>     "disk_encryption": { // [immutable]
>                          // Defines how data on the disk is encrypted. By default, no encryption is applied.
>       "type": enum(                   
>         "DISK_ENCRYPTION_UNSPECIFIED", // No encryption is applied unless explicitly specified.
>         "DISK_ENCRYPTION_MANAGED"      // Enables encryption using the platform's default root key from KMS.
>                                        // Available for disks with NETWORK_SSD_NON_REPLICATED and NETWORK_SSD_IO_M3 types only.
>       )
>     },
>     "forbid_deletion": bool,      // Prevents deletion whilst set.
>     "size_bytes": int64,          // Cannot be set together with: size_kibibytes, size_mebibytes, size_gibibytes
>     "size_gibibytes": int64,      // Cannot be set together with: size_bytes, size_kibibytes, size_mebibytes
>     "size_kibibytes": int64,      // Cannot be set together with: size_bytes, size_mebibytes, size_gibibytes
>     "size_mebibytes": int64,      // Cannot be set together with: size_bytes, size_kibibytes, size_gibibytes
>     "source_image_family": {  // [immutable]
>                               // Cannot be set together with: source_image_id, source_snapshot_id
>       "image_family": string, // [required]
>       "parent_id": string    
>     },
>     "source_image_id": string,    // [immutable]
>                                   // Cannot be set together with: source_image_family, source_snapshot_id
>     "source_snapshot_id": string, // [immutable]
>                                   // Cannot be set together with: source_image_id, source_image_family
>     "type": enum(                   // [required] [immutable]
>                                     // The type of disk defines the performance and reliability characteristics of the block device.
>                                     // For details, see https://docs.nebius.com/compute/storage/types#disks-types.
>       "UNSPECIFIED",               
>       "NETWORK_SSD",               
>       "NETWORK_HDD",               
>       "NETWORK_SSD_NON_REPLICATED",
>       "NETWORK_SSD_IO_M3"          
>     )
>   }
> }
> ```

> [tab] CopyPaste Friendly
>
> ```json theme={null}
> nebius compute disk create '
> {              
>   "metadata": {           
>     "labels": {           
>       "": ""                  
>     },
>     "name": "",           
>     "parent_id": "",      
>     "resource_version": 0 
>   },
>   "spec": {                                                                                           
>     "block_size_bytes": 0,                                                                            
>     "disk_encryption": {                                             
>       "type": "disk_encryption_unspecified"|"disk_encryption_managed"
>     },
>     "forbid_deletion": false,                                                                         
>     "size_bytes": 0,                                                                                  
>     "source_image_family": {
>       "image_family": "",   
>       "parent_id": ""       
>     },
>     "type": "unspecified"|"network_ssd"|"network_hdd"|"network_ssd_non_replicated"|"network_ssd_io_m3"
>   }
> }
> '
> ```

*Auto generated on 23-Nov-2026*
