对于 AI 代理:可在 https://www.mongodb.com/zh-cn/docs/llms.txt 获取文档索引—通过在任何 URL 路径后添加 .md 可获取所有页面的 Markdown 版本。
Docs 菜单

Atlas Streams 实例更新

更新项目的 Atlas Stream Processing 实例。

在更新Atlas Streams Processing实例之前,必须先停止与其关联的所有进程。要使用此命令,您必须使用具有“项目所有者”角色的用户帐户、服务帐户或API密钥进行身份验证。

命令语法
atlas streams instances update <name> [options]
名称
类型
必需
说明

名称

字符串

true

Atlas Stream Processing 实例的名称。 创建后,您无法更改实例的名称。 名称可以包含 ASCII 字母、数字和连字符。

名称
类型
必需
说明

-h,--help

false

更新帮助

-o, --output

字符串

false

输出格式。 有效值为 json、json-path、go-template 或 go-template-file。 要查看完整输出,请使用 -o json 选项。

--projectId

字符串

false

标识要使用的项目的十六进制字符串。 此选项会覆盖配置文件或环境变量中的设置。

--provider

字符串

true

适用于预配Atlas Stream Processing实例的云服务提供商。有效值为Amazon Web Services或Azure。 该值默认为“Amazon Web Services”。

-r, --region

字符串

true

Human-readable label that identifies the physical location of your Atlas Stream Processing instance. The region can affect network latency and performance if it is far from your source or sink. For AWS, region name must be in the following format: VIRGINIA_USA. For a list of valid values, see https://www.mongodb.com/zh-cn/docs/atlas/reference/amazon-aws/#stream-processing-workspaces. For Azure, region name must be in the following format: eastus. For a list of valid values, see https://www.mongodb.com/zh-cn/docs/atlas/reference/microsoft-azure/#stream-processing-workspaces. For GCP, region name must be in the following format: us-central1. For a list of valid values, see https://www.mongodb.com/zh-cn/docs/atlas/reference/google-gcp/#stream-processing-workspaces.

名称
类型
必需
说明

-P, --profile

字符串

false

要从您的配置文件中使用的配置文件的名称。要学习;了解Atlas CLI配置文件,请参阅 https://dochub.mongodb.org/core/atlas-cli-save-connection-settings.

如果命令成功,CLI 将返回类似于以下示例的输出。 括号中的值代表您的价值观。

Atlas Streams Processor Instance '<Name>' successfully updated.
# Modify the Atlas Stream Processing instance configuration with the name MyInstance:
atlas streams instance update MyInstance --provider AWS --region VIRGINIA_USA