update influx config set
parent
a5633dc3a3
commit
b9f6098a64
|
@ -23,7 +23,7 @@ influx config [command]
|
|||
| [create](/v2.0/reference/cli/influx/config/create) | Create a new connection to include in the configuration (`config`) file (by default, at `~/.influxdbv2/config`).
|
||||
| [list](/v2.0/reference/cli/influx/config/create) | List connection configurations.
|
||||
| [delete](/v2.0/reference/cli/influx/config/delete | Delete a connection configuration.
|
||||
| [update](/v2.0/reference/cli/influx/config/update) | Update a connection configuration.
|
||||
| [set](/v2.0/reference/cli/influx/config/set) | Set or update a connection configuration.
|
||||
| `-h`, `--help` | Help for the `config` command.
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
|
|
@ -15,9 +15,13 @@ The `influx config list` command lists all InfluxDB connection configurations in
|
|||
influx config list [flags]
|
||||
```
|
||||
|
||||
#### Aliases
|
||||
|
||||
`list`, `ls`
|
||||
|
||||
## Flags
|
||||
| Flag | Description
|
||||
|:---- |:-----------
|
||||
| Flag | Description |
|
||||
|:---- |:----------- |
|
||||
| `-h`, `--help` | Help for the `find` command
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
title: influx config set
|
||||
description: The 'influx config set' command updates an InfluxDB connection configuration.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx config update
|
||||
parent: influx config
|
||||
weight: 201
|
||||
---
|
||||
|
||||
The `influx config update` command updates information in an InfluxDB connection configuration in the `config` file (by default, stored at `~/.influxdbv2/config`).
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx config update [flags]
|
||||
```
|
||||
|
||||
#### Aliases
|
||||
|
||||
`set` , `update`
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type |
|
||||
|:---- |:----------- |:----------: |
|
||||
| `-a`, `--active` | Set the specified connection to active | |
|
||||
| `-h`, `--help` | Help for the `update` command | |
|
||||
| `-n`, `--name` | Name for the InfluxDB connection configuration to set or update | string |
|
||||
| `-o` , `--org` | Organization name for the connection configuration | string |
|
||||
| `-u`, `--url` | (**Required**) URL for InfluxDB connection configuration to set or update | string |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
|
@ -1,26 +0,0 @@
|
|||
---
|
||||
title: influx config update
|
||||
description: The 'influx config update' command updates an InfluxDB connection configuration.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: influx config update
|
||||
parent: influx config
|
||||
weight: 201
|
||||
---
|
||||
|
||||
The `influx config update` command updates information in an InfluxDB connection configuration in the `config` file (by default, stored at `~/.influxdbv2/config`).
|
||||
|
||||
## Usage
|
||||
```
|
||||
influx config update [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:----------- |:----------: |:------------------ |
|
||||
| `-a`, `--active` | Set the specified connection to active | | |
|
||||
| `-h`, `--help` | Help for the `update` command | | |
|
||||
| `--org` | Organization name for the connection configuration | string | |
|
||||
| `-n`, `--name` | Name of InfluxDB connection configuration to update | string | |
|
||||
|
||||
{{% cli/influx-global-flags %}}
|
Loading…
Reference in New Issue