You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2023/03/30 03:20:59 UTC

[inlong-website] branch master updated: [INLONG-740][Doc] Add suspend and restart command docs (#741)

This is an automated email from the ASF dual-hosted git repository.

dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong-website.git


The following commit(s) were added to refs/heads/master by this push:
     new b8c015701c [INLONG-740][Doc] Add suspend and restart command docs (#741)
b8c015701c is described below

commit b8c015701c26f5e043e408c5179248f091580acf
Author: haifxu <xh...@gmail.com>
AuthorDate: Thu Mar 30 11:20:54 2023 +0800

    [INLONG-740][Doc] Add suspend and restart command docs (#741)
---
 docs/user_guide/command_line_tools.md              | 40 ++++++++++++++++++++++
 .../current/user_guide/command_line_tools.md       | 40 ++++++++++++++++++++++
 2 files changed, 80 insertions(+)

diff --git a/docs/user_guide/command_line_tools.md b/docs/user_guide/command_line_tools.md
index e333dd29d7..39d0188808 100644
--- a/docs/user_guide/command_line_tools.md
+++ b/docs/user_guide/command_line_tools.md
@@ -547,6 +547,46 @@ options:
 | `-p`, `--password` | new password   |         |
 | `-d`, `--day`      | new valid days |         |
 
+## Suspend
+
+`suspend` is used to suspend inlong group task.
+
+command:
+
+- `group`
+
+### `group`
+
+```
+$ bin/inlongctl suspend group
+```
+
+options:
+
+| parameter       | description     | default |
+|-----------------|-----------------|---------|
+| `-g`, `--group` | inlong group id |         |
+
+## Restart
+
+`restart` is used to restart inlong group task.
+
+command:
+
+- `group`
+
+### `group`
+
+```
+$ bin/inlongctl restart group
+```
+
+options:
+
+| parameter       | description     | default |
+|-----------------|-----------------|---------|
+| `-g`, `--group` | inlong group id |         |
+
 ## Delete
 
 `delete` is used to delete resources.
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/user_guide/command_line_tools.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/user_guide/command_line_tools.md
index 434c11996a..02df2ad350 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/user_guide/command_line_tools.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/user_guide/command_line_tools.md
@@ -546,6 +546,46 @@ $ bin/inlongctl update user
 | `-p`, `--password` | 新密码  |     |
 | `-d`, `--day`      | 新有效期 |     |
 
+## Suspend
+
+`suspend` 用于暂停 inlong 任务
+
+命令:
+
+- `group`
+
+### `group`
+
+```
+$ bin/inlongctl suspend group
+```
+
+选项:
+
+| 参数              | 描述              | 默认值 |
+|-----------------|-----------------|-----|
+| `-g`, `--group` | inlong group id |     |
+
+## Restart
+
+`restart` 用于重启 inlong 任务
+
+命令:
+
+- `group`
+
+### `group`
+
+```
+$ bin/inlongctl restart group
+```
+
+选项:
+
+| 参数              | 描述              | 默认值 |
+|-----------------|-----------------|-----|
+| `-g`, `--group` | inlong group id |     |
+
 ## Delete
 
 `delete` 用于删除相关资源。