added infinite retention period of 0 (#4122)
* added infinite retention period of 0 * suggestions Co-authored-by: Kelly <kelly@influxdata.com> Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>pull/4063/head^2
parent
e279202e9b
commit
be203b054d
|
@ -35,7 +35,7 @@ influx bucket update [flags]
|
|||
| `-i` | `--id` | ({{< req >}}) Bucket ID | string | |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-n` | `--name` | New bucket name | string | `INFLUX_BUCKET_NAME` |
|
||||
| `-r` | `--retention` | New duration bucket will retain data | duration | |
|
||||
| `-r` | `--retention` | New duration bucket will retain data. For detail, see [Retention periods](/influxdb/v2.2/reference/cli/influx/bucket/update/#retention-periods). | duration | |
|
||||
| | `--shard-group-duration` | Custom shard group duration for the bucket (OSS only) | string | |
|
||||
| | `--skip-verify` | Skip TLS certificate verification | | `INFLUX_SKIP_VERIFY` |
|
||||
| `-t` | `--token` | API token | string | `INFLUX_TOKEN` |
|
||||
|
@ -52,8 +52,12 @@ The minimum retention period is **one hour**. Valid `--retention` units:
|
|||
- hours (`h`)
|
||||
- days (`d`)
|
||||
- weeks (`w`)
|
||||
|
||||
For an **infinite** retention period, set the number to 0. For example, `0s`.
|
||||
{{% /note %}}
|
||||
|
||||
|
||||
|
||||
## Examples
|
||||
|
||||
{{< cli/influx-creds-note >}}
|
||||
|
|
Loading…
Reference in New Issue