Merge branch 'org-management' of https://github.com/influxdata/docs-v2 into org-management

pull/30/head
Nora 2019-01-23 10:37:28 -08:00
commit 329fec45e3
14 changed files with 108 additions and 11 deletions

View File

@ -1,5 +1,6 @@
---
title: Manage buckets in InfluxDB
title: Manage buckets
seotitle: Manage buckets in InfluxDB
description: >
How to manage buckets in InfluxDB.
A bucket is a named location where time series data is stored with a retention policy.

View File

@ -27,6 +27,7 @@ to create a bucket.
5. Click **Create** to create the bucket.
## Create a bucket using the influx CLI
Use the the [`influx bucket create` command](/v2.0/reference/cli/influx/bucket/create)
to create a new bucket. A bucket requires the following:

View File

@ -25,7 +25,7 @@ to delete a bucket.
## Delete a bucket using the influx CLI
Use the the [`influx bucket delete` command](/v2.0/reference/cli/influx/bucket/delete)
to delete a new bucket. Deleting a bucket requires the following:
to delete a bucket. Deleting a bucket requires the following:
- The bucket ID _(provided in the output of `influx bucket find`)_.

View File

@ -24,4 +24,26 @@ to update a bucket.
## Update a bucket using the influx CLI
_Complete content coming soon_
Use the the [`influx bucket update` command](/v2.0/reference/cli/influx/bucket/update)
to update a bucket. Updating a bucket requires the following:
- The bucket ID _(provided in the output of `influx bucket find`)_
- The name or ID of the organization to which the bucket belongs
##### Update the name of a bucket
```sh
# Pattern
influx bucket update -i <bucket-id> -o <org-name> -n <new-bucket-name>
# Example
influx bucket update -i 034ad714fdd6f000 -o my-org -n my-new-bucket
```
##### Update a bucket's retention policy
```sh
# Pattern
influx bucket update -i <bucket-id> -o <org-name> -r <retention period in nanoseconds>
# Example
influx bucket update -i 034ad714fdd6f000 -o my-org -r 1209600000000000
```

View File

@ -20,4 +20,14 @@ menu:
## View buckets using the influx CLI
_Complete content coming soon_
Use the the [`influx bucket find` command](/v2.0/reference/cli/influx/bucket/find)
to view a buckets in an organization. Viewing bucket requires the following:
```sh
influx bucket find
```
Other filtering options such as filtering by organization, name, or ID are available.
See the [`influx bucket find` documentation](/v2.0/reference/cli/influx/bucket/find)
for information about other available flags.

View File

@ -22,4 +22,15 @@ _Complete content coming soon_
## Create an organization using the influx CLI
_Complete content coming soon_
Use the the [`influx org create` command](/v2.0/reference/cli/influx/org/create)
to create a new organization. A new organization requires the following:
- A name for the organization
```sh
# Pattern
influx org create -n <org-name>
# Example
influx org create -n my-org
```

View File

@ -22,4 +22,15 @@ The list of organizations appears.
## Delete an organization using the influx CLI
_Complete content coming soon_
Use the the [`influx org delete` command](/v2.0/reference/cli/influx/org/delete)
to delete an organization. Deleting a organization requires the following:
- The organization ID _(provided in the output of `influx org find`)_
```sh
# Pattern
influx org delete -i <org-id>
# Example
influx org delete -i 034ad714fdd6f000
```

View File

@ -1,5 +1,6 @@
---
title: Manage members of an organization in InfluxDB
title: Manage members of an organization
seotitle: Manage members of an organization in InfluxDB
description: placeholder
menu:
v2_0:

View File

@ -7,6 +7,7 @@ menu:
name: Add a member
parent: Manage members
weight: 1
draft: true
---
Use the InfluxDB user interface (UI) or the `influx` command line interface (CLI)
@ -24,4 +25,7 @@ _Complete content coming soon_
## Add a member to an organization using the influx CLI
Use the the [`influx org members add` command](/v2.0/reference/cli/influx/org/members/add)
to add a user to an organization. Adding a user requires the following:
_Complete content coming soon_

View File

@ -7,6 +7,7 @@ menu:
name: Remove a member
parent: Manage members
weight: 3
draft: true
---
Use the InfluxDB user interface (UI) or the `influx` command line interface (CLI)
@ -24,4 +25,7 @@ _Complete content coming soon_
## Remove a member from an organization using the influx CLI
Use the the [`influx org members add` command](/v2.0/reference/cli/influx/org/members/add)
to remove a member from an organization. Removing a member requires the following:
_Complete content coming soon_

View File

@ -23,4 +23,15 @@ to view members of an organization.
## View members of organization using the influx CLI
_Complete content coming soon_
Use the the [`influx org members list` command](/v2.0/reference/cli/influx/org/members/list)
to list members of an organization. Listing an organization's members requires the following:
- The name or ID of the organization
```sh
# Pattern
influx org members list -n <org-name>
# Example
influx org members list -n my-org
```

View File

@ -24,4 +24,16 @@ to update an organization.
## Update an organization using the influx CLI
_Complete content coming soon_
Use the the [`influx org update` command](/v2.0/reference/cli/influx/org/update)
to update an organization. Updating a organization requires the following:
- The org ID _(provided in the output of `influx org find`)_
##### Update the name of a organization
```sh
# Pattern
influx org update -i <org-id> -n <new-org-name>
# Example
influx org update -i 034ad714fdd6f000 -n my-new-org
```

View File

@ -23,4 +23,13 @@ The list of organizations appears.
## View organizations using the influx CLI
_Complete content coming soon_
Use the the [`influx org find` command](/v2.0/reference/cli/influx/org/find)
to view organizations.
```sh
influx org find
```
Filtering options such as filtering by name or ID are available.
See the [`influx org find` documentation](/v2.0/reference/cli/influx/org/find)
for information about other available flags.

View File

@ -32,6 +32,6 @@ influx task find
#### Filter tasks using the CLI
Other filtering options such as filtering by organization or user,
or limiting the number of tasks returned are available.
or limiting the number of tasks returned, are available.
See the [`influx task find` documentation](/v2.0/reference/cli/influx/task/find)
for information about other available flags.