Fix nav icon formatting inside cloud-only and oss-only (#4290)

pull/4291/head
Scott Anderson 2022-08-01 10:28:02 -06:00 committed by GitHub
parent 74ac510c47
commit 34250f0642
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 24 additions and 56 deletions

View File

@ -9,48 +9,4 @@ menu:
weight: 203
---
Use the InfluxDB user interface (UI) or the `influx` command line interface (CLI)
to delete a bucket.
## Delete a bucket in the InfluxDB UI
1. In the navigation menu on the left, select **Data (Load Data)** > **Buckets**.
{{< nav-icon "data" >}}
2. Hover over the bucket you would like to delete.
3. Click **{{< icon "delete" >}} Delete Bucket** and **Confirm** to delete the bucket.
## Delete a bucket using the influx CLI
Use the [`influx bucket delete` command](/influxdb/cloud/reference/cli/influx/bucket/delete)
to delete a bucket a bucket by name or ID.
### Delete a bucket by name
**To delete a bucket by name, you need:**
- Bucket name
- Bucket's organization name or ID
<!-- -->
```sh
# Syntax
influx bucket delete -n <bucket-name> -o <org-name>
# Example
influx bucket delete -n my-bucket -o my-org
```
### Delete a bucket by ID
**To delete a bucket by ID, you need:**
- Bucket ID _(provided in the output of `influx bucket list`)_
<!-- -->
```sh
# Syntax
influx bucket delete -i <BUCKET_ID>
# Example
influx bucket delete -i 034ad714fdd6f000
```
{{< duplicate-oss >}}

View File

@ -32,7 +32,7 @@ Manage your notebooks in the UI:
1. In the navigation menu on the left, click **Notebooks**.
{{< nav-icon "notebooks" >}}
{{< nav-icon "notebooks" >}}
2. Click the notebook to open it, and then click the **{{< icon "share" >}}** icon.
3. Select an API token with read-access to all resources in the notebook,

View File

@ -18,21 +18,24 @@ to delete a bucket.
1. In the navigation menu on the left, select **Data (Load Data)** > **Buckets**.
{{< nav-icon "data" >}}
{{< nav-icon "data" >}}
2. Hover over the bucket you would like to delete.
3. Click the **{{< icon "delete" >}}** icon located far right of the bucket name.
4. Click **Delete** to delete the bucket.
{{% /oss-only %}}
{{% cloud-only %}}
1. In the navigation menu on the left, select **Load Data** > **Buckets**.
{{< nav-icon "data" >}}
{{< nav-icon "data" >}}
2. Find the bucket that you would like to delete.
3. Click the **{{< icon "delete" >}}** icon located far right of the bucket name.
4. Click **{{< caps >}}Confirm{{< /caps >}}** to delete the bucket.
{{% /cloud-only %}}
## Delete a bucket using the influx CLI

View File

@ -25,7 +25,7 @@ have access to your InfluxDB instance.
1. In the navigation menu on the left, select **Data (Load Data)** > **Tokens**.
{{< nav-icon "load-data" >}}
{{< nav-icon "load-data" >}}
2. Hover over the token you want to delete.
3. Click the **{{< icon "delete" >}}** icon located far right of the token description.
@ -37,7 +37,7 @@ have access to your InfluxDB instance.
1. In the navigation menu on the left, select **Load Data** > **API Tokens**.
{{< nav-icon "data" >}}
{{< nav-icon "data" >}}
2. Find the token that you would like to delete.
3. Click the **{{< icon "delete" >}}** icon located far right of the token description.

View File

@ -35,7 +35,7 @@ using the InfluxDB user interface (UI).
1. In the navigation menu on the left, select **Data (Load Data)** > **Tokens**.
{{< nav-icon "load-data" >}}
{{< nav-icon "load-data" >}}
2. Click the **{{< icon "toggle-green" >}} Status** toggle.
@ -45,7 +45,7 @@ using the InfluxDB user interface (UI).
1. In the navigation menu on the left, select **Load Data** > **API Tokens**.
{{< nav-icon "data" >}}
{{< nav-icon "data" >}}
2. Find the token that you would like to enable or disable.
3. Click the token description.

View File

@ -40,7 +40,7 @@ We recommend the following for managing your tokens:
1. In the navigation menu on the left, select **Data (Load Data)** > **API Tokens**.
{{< nav-icon "load-data" >}}
{{< nav-icon "load-data" >}}
2. Click a token name in the list to view the token and a summary of access permissions.
@ -50,7 +50,7 @@ We recommend the following for managing your tokens:
1. In the navigation menu on the left, select **Load Data** > **API Tokens**.
{{< nav-icon "load-data" >}}
{{< nav-icon "load-data" >}}
2. Click a token description in the list to view the token status and a list of access permissions.
@ -105,6 +105,6 @@ To filter tokens by user, include `userID` as a query parameter in your request.
[***Operator tokens***](/{{% latest "influxdb" %}}/security/tokens/#operator-token) have access to all organizations' authorizations.
To filter authorizations by organization when using an operator token, include an `org` or `orgID` query parameter in your request.
{{% oss-only %}}
{{% /oss-only %}}
See the [`/authorizations` endpoint documentation](/influxdb/v2.3/api/#tag/Authorizations) for more information about available parameters.

View File

@ -24,7 +24,9 @@ Load data from the following sources in the InfluxDB user interface (UI):
Load CSV or line protocol data by uploading a file or pasting the data manually into the UI.
1. In the navigation menu on the left, click **Load Data** > **Sources**.
{{< nav-icon "data" >}}
2. Under **File Upload**, select the type of data to upload:
- **Annotated CSV**. Verify your CSV file follows the supported [annotated CSV](/influxdb/cloud/reference/syntax/annotated-csv/) syntax.
- **Line Protocol**. Verify your line protocol file adheres to the following conventions:
@ -46,7 +48,9 @@ Load CSV or line protocol data by uploading a file or pasting the data manually
### Load data from a client library in the UI
1. In the navigation menu on the left, click **Load Data** > **Sources**.
{{< nav-icon "data" >}}
2. Do one of the following:
- Enter a specific client library to search for in the **Search data writing methods** field.
- Scroll down to browse available client libraries.
@ -61,7 +65,9 @@ Load CSV or line protocol data by uploading a file or pasting the data manually
### Load data from a Telegraf plugin in the UI
1. In the navigation menu on the left, click **Load Data** > **Sources**.
{{< nav-icon "data" >}}
{{< nav-icon "data" >}}
2. Do one of the following:
- Enter a specific Telegraf plugin to search for in the **Search data writing methods** field.
- Scroll down to **Telegraf Plugins** and browse available input plugins.
@ -95,6 +101,9 @@ For troubleshooting help, see [Troubleshoot MQTT ingest errors](/influxdb/cloud/
#### Subscribe to an MQTT topic
1. In the navigation menu on the left, click **Load Data** > **Native Subscriptions**.
{{< nav-icon "data" >}}
2. Click **+ Create Subscription**.
3. On the **Setting Up - MQTT Subscriber** page, under **Connect to Broker**, enter the following:
- Subscription Name