> ## 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 create

<div>
  <h2>Name</h2>

  <p style={{ paddingLeft: "4ch" }}>
    <code>nebius storage inventory create</code>
  </p>
</div>

<div>
  <h2>Synopsis</h2>

  <p style={{ paddingLeft: "4ch" }}>
    ```
    nebius storage inventory create
      --destination-bucket-id [required]
      --destination-prefix
      --enabled
      --labels
      --name
      --noncurrent-versions
      --optional-fields
      --output-format [required]
      --parent-id [required]
      --resource-version
      --schedule [required]
      --source-prefix
      --async
      -i, --interactive
    ```
  </p>
</div>

<div>
  <h2>Options</h2>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--destination-bucket-id` (string)<em> \[required]</em>
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      ID of the destination bucket.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--destination-prefix` (string)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Prefix under which bucket inventory will be stored in the destination bucket.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--enabled` (bool)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Enable or disable inventory generation.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--labels` (string->string)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Labels associated with the resource.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--name` (string)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Human readable name for the resource.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--noncurrent-versions` (bool)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Include noncurrent versions in inventory if set to true.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--optional-fields` (enum array)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Optional fields to include in inventory.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--output-format` (string)<em> \[required]</em>
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Inventory format.
    </p>

    <p style={{ paddingLeft: "4ch" }}>A value must be one of:</p>

    <ul style={{ paddingLeft: "8ch" }}>
      <li>
        <code>csv\_gzip</code>
      </li>

      <li>
        <code>parquet\_snappy</code>
      </li>
    </ul>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--parent-id` (string)<em> \[required]</em>
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Identifier of the parent resource to which the resource belongs.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--resource-version` (int64)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Version of the resource for safe concurrent modifications and consistent reads.<br />
      Positive and monotonically increases on each resource spec change (but *not* on each change of the<br />
      resource's container(s) or status).<br />
      Service allows zero value or current.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--schedule` (string)<em> \[required]</em>
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      How often to generate the inventory.
    </p>

    <p style={{ paddingLeft: "4ch" }}>A value must be one of:</p>

    <ul style={{ paddingLeft: "8ch" }}>
      <li>
        <code>daily</code>
      </li>

      <li>
        <code>weekly</code>
      </li>
    </ul>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--source-prefix` (string)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Prefix to filter objects in the source bucket.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--async` (bool)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      If set, returns operation id. Otherwise, waits for the operation to complete and returns its resource.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `-i, --interactive` (bool)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      If set, suggests to insert field values in interactive mode.
    </p>
  </div>
</div>

<div>
  <h2>Global Options</h2>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `-h, --help` (bool)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Show this message.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `-p, --profile` (string)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Set a profile for interacting with the cloud.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--format` (string)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Output format. Supported values: yaml|json|jsonpath|table|text.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `-f, --file` (string)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Input file. For 'update' commands automatically set --full=true.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `-c, --config` (string)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Provide path to config file.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--debug` (bool)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Enable debug logs.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `-I, --impersonate-service-account-id` (string)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Impersonate into the service account and use its token for a command.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--color` (bool)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Enable colored output.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--no-browser` (bool)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Do not open browser automatically on auth.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--insecure` (bool)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Disable transport security.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--auth-timeout` (duration: 2h30m10s)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Set the timeout for the request including authentication process, default is 15m0s.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--per-retry-timeout` (duration: 2h30m10s)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Set the timeout for each retry attempt, default is 20s.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--retries` (uint)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Set the number of retry attempts, 1 is disable retries, default is 3.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--timeout` (duration: 2h30m10s)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Set the timeout for the main request, default is 1m0s.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--no-check-update` (bool)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Suppress check for updates.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--no-progress` (bool)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Suppress progress indicators and spinners.
    </p>
  </div>
</div>

<Expandable title="Input argument JSON Schema">
  <Tabs>
    <Tab title="Full">
      ```json theme={null}
      {              
        "metadata": {                // [required]
          "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>

    <Tab title="CopyPaste Friendly">
      ```json theme={null}
      nebius storage inventory create '
      {              
        "metadata": {           
          "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": ""                                                                                                                                       
        }
      }
      '
      ```
    </Tab>
  </Tabs>
</Expandable>

*Auto generated on 25-Aug-2026*
