> ## 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 storage inventory update

## Name

`nebius storage inventory update`

## Synopsis

```
nebius storage inventory update [id]
  --destination-bucket-id
  --destination-prefix
  --enabled
  --id
  --labels
  --labels-add
  --labels-remove
  --name
  --noncurrent-versions
  --optional-fields
  --output-format
  --parent-id
  --resource-version
  --schedule
  --source-prefix
  --async
  --clear-mask
  --diff
  --full
  --patch
```

## Positional Arguments

`id`

Identifier for the resource, unique for its resource type.

## Options

`--destination-bucket-id` (string)

ID of the destination bucket.

`--destination-prefix` (string)

Prefix under which bucket inventory will be stored in the destination bucket.

`--enabled` (bool)

Enable or disable inventory generation.

`--id` (string)

Identifier for the resource, unique for its resource type.

`--labels` (string->string)

Labels associated with the resource.

`--labels-add` (string->string)

Add values to Labels associated with the resource.

`--labels-remove` (string array)

Remove values from Labels associated with the resource.

`--name` (string)

Human-readable name for the resource.

`--noncurrent-versions` (bool)

Include noncurrent versions in inventory if set to true.

`--optional-fields` (enum array)

Optional fields to include in inventory.

`--output-format` (string)

Inventory format.

A value must be one of:

<ul>
  <li>
    `output_format_unspecified`
  </li>

  <li>
    `csv_gzip`
  </li>

  <li>
    `parquet_snappy`
  </li>
</ul>

`--parent-id` (string)

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.

`--schedule` (string)

How often to generate the inventory.

A value must be one of:

<ul>
  <li>
    `schedule_unspecified`
  </li>

  <li>
    `daily`
  </li>

  <li>
    `weekly`
  </li>
</ul>

`--source-prefix` (string)

Prefix to filter objects in the source bucket.

`--async` (bool)

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

`--clear-mask` (string array)

Reset-mask field paths to clear in patch mode. Can be repeated.

`--diff` (bool)

Show diff of resource before committing update.

`--full` (bool)

Update full resource state. Automatically set to true if the --file or argument provided.

`--patch` (bool)

Update only specified fields.

## 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": {                // [required]
>     "id": string,              // [identifier]
>                                // Identifier for the resource, unique for its resource type.
>     "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": {                          // [required]
>     "destination_bucket_id": string, // [required]
>                                      // ID of the destination bucket.
>     "destination_prefix": string,    // Prefix under which bucket inventory will be stored in the destination bucket.
>     "enabled": bool,                 // Enable or disable inventory generation.
>     "noncurrent_versions": bool,     // Include noncurrent versions in inventory if set to true.
>     "optional_fields": enum(        // Optional fields to include in inventory.
>       "OPTIONAL_FIELD_UNSPECIFIED",
>       "LAST_ACCESS",                // Timestamp of the last access.
>       "CHECKSUM_ALGORITHMS",        // Checksum algorithms used.
>       "INTELLIGENT_TIER",           // Current intelligent tier (for Intelligent Storage Class).
>       "IS_MULTIPART_UPLOAD",        // True for multipart uploads, false for simple objects.
>       "LIFECYCLE_EXPIRATION",       // Timestamp of lifecycle expiration.
>       "TAGS"                        // Object tags.
>     ),
>     "output_format": enum(         // [required]
>                                    // Inventory format.
>       "OUTPUT_FORMAT_UNSPECIFIED",
>       "CSV_GZIP",                  // CSV compressed with GZIP.
>       "PARQUET_SNAPPY"             // Parquet compressed with Snappy.
>     ),
>     "schedule": enum(         // [required]
>                               // How often to generate the inventory.
>       "SCHEDULE_UNSPECIFIED",
>       "DAILY",                // Run once a day.
>       "WEEKLY"                // Run once a week.
>     ),
>     "source_prefix": string          // Prefix to filter objects in the source bucket.
>   }
> }
> ```

> [tab] CopyPaste Friendly
>
> ```json theme={null}
> nebius storage inventory update '
> {              
>   "metadata": {           
>     "id": "",             
>     "labels": {           
>       "": ""                  
>     },
>     "name": "",           
>     "parent_id": "",      
>     "resource_version": 0 
>   },
>   "spec": {                                                                                                                                                   
>     "destination_bucket_id": "",                                                                                                                              
>     "destination_prefix": "",                                                                                                                                 
>     "enabled": false,                                                                                                                                         
>     "noncurrent_versions": false,                                                                                                                             
>     "optional_fields": "optional_field_unspecified"|"last_access"|"checksum_algorithms"|"intelligent_tier"|"is_multipart_upload"|"lifecycle_expiration"|"tags",
>     "output_format": "output_format_unspecified"|"csv_gzip"|"parquet_snappy"                                                                                  ,
>     "schedule": "schedule_unspecified"|"daily"|"weekly"                                                                                                       ,
>     "source_prefix": ""                                                                                                                                       
>   }
> }
> '
> ```

*Auto generated on 23-Nov-2026*
