CLI fixes (#2844)
* fix: missing bracket in examples * fix: add note that auth env variables are assumed to be set in `influx config` for CLI examples (#2843). Co-Authored-By: kerry-cho <cdh0012@naver.com> * Update styles-default.scss Co-authored-by: kerry-cho <cdh0012@naver.com>pull/2855/head
parent
1cf0cc393d
commit
c97a268740
|
@ -1,4 +1,4 @@
|
|||
// InfluxData Docs Default Theme (Light)
|
||||
// InfluxData Docs Default Theme (Light)
|
||||
|
||||
// Import Tools
|
||||
@import "tools/icomoon",
|
||||
|
|
|
@ -57,14 +57,16 @@ to update a bucket. Updating a bucket requires the following:
|
|||
- The bucket ID _(provided in the output of `influx bucket list`)_
|
||||
- The name or ID of the organization the bucket belongs to.
|
||||
|
||||
{{< cli/influx-creds-note >}}
|
||||
|
||||
##### Update the name of a bucket
|
||||
|
||||
```sh
|
||||
# Syntax
|
||||
influx bucket update -i <bucket-id> -o <org-name> -n <new-bucket-name>
|
||||
influx bucket update -i <bucket-id> -n <new-bucket-name>
|
||||
|
||||
# Example
|
||||
influx bucket update -i 034ad714fdd6f000 -o my-org -n my-new-bucket
|
||||
influx bucket update -i 034ad714fdd6f000 -n my-new-bucket
|
||||
```
|
||||
|
||||
##### Update a bucket's retention period
|
||||
|
|
|
@ -37,7 +37,7 @@ to create an `influx` CLI config and set it as active:
|
|||
influx config create --config-name <config-name> \
|
||||
--host-url http://localhost:8086 \
|
||||
--org <your-org> \
|
||||
--token <your-auth-token \
|
||||
--token <your-auth-token> \
|
||||
--active
|
||||
```
|
||||
|
||||
|
|
|
@ -50,14 +50,16 @@ to update a bucket. Updating a bucket requires the following:
|
|||
- The bucket ID _(provided in the output of `influx bucket list`)_
|
||||
- The name or ID of the organization the bucket belongs to.
|
||||
|
||||
{{< cli/influx-creds-note >}}
|
||||
|
||||
##### Update the name of a bucket
|
||||
|
||||
```sh
|
||||
# Syntax
|
||||
influx bucket update -i <bucket-id> -o <org-name> -n <new-bucket-name>
|
||||
influx bucket update -i <bucket-id> -n <new-bucket-name>
|
||||
|
||||
# Example
|
||||
influx bucket update -i 034ad714fdd6f000 -o my-org -n my-new-bucket
|
||||
influx bucket update -i 034ad714fdd6f000 -n my-new-bucket
|
||||
```
|
||||
|
||||
##### Update a bucket's retention period
|
||||
|
|
|
@ -35,7 +35,7 @@ to create an `influx` CLI config and set it as active:
|
|||
influx config create --config-name <config-name> \
|
||||
--host-url http://localhost:8086 \
|
||||
--org <your-org> \
|
||||
--token <your-auth-token \
|
||||
--token <your-auth-token> \
|
||||
--active
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue