AI エージェント向け: ドキュメントインデックスは https://www.mongodb.com/ja-jp/docs/llms.txt で利用できます。すべてのページの markdown バージョンは、いずれかの URL パスに .md を追加することで利用できます。
Docs Menu

Atlas Streams インスタンス作成

プロジェクトの Atlas Stream Processing インスタンスを作成する

すぐに開始するには、名前、クラウドプロバイダー、および Atlas Stream Processingインスタンスを構成するリージョンを指定します。このコマンドを使用するには、ユーザー アカウント、サービス アカウント、またはプロジェクト オーナーのロールを持つAPIキーで認証する必要があります。 。

コマンド構文
atlas streams instances create <name> [options]
名前
タイプ
必須
説明

name

string

true

Atlas Stream Processing インスタンスの名前。 作成後は、インスタンスの名前を変更することはできません。 名前には、ASCII 文字、数字、ハイフンを含めることができます。

名前
タイプ
必須
説明

-h, --help

false

作成用ヘルプ

-o, --output

string

false

出力形式。 有効な値は、 JSON 、 JSON -path、go-template、または go-template-file です。 完全な出力を表示するには、 -o JSONオプションを使用します。

--projectId

string

false

使用するプロジェクトを識別する 16 進数の string。 このオプションは、構成ファイルまたは環境変数の 設定を上書きします。

--provider

string

true

プロビジョニングされた Atlas Stream Processingインスタンスに適用されるクラウド サービス プロバイダー。有効な値はAmazon Web ServicesまたはAzureです。 この値のデフォルトは "Amazon Web Services" です。

-r, --region

string

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/ja-jp/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/ja-jp/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/ja-jp/docs/atlas/reference/google-gcp/#stream-processing-workspaces.

--tier

string

false

ストリーム インスタンスの階層。 この値のデフォルトは "SP 30 " です。

名前
タイプ
必須
説明

-P, --profile

string

false

構成ファイルから使用するプロファイルの名前。Atlas CLI のプロファイルの詳細については、 https://docub.mongodb.org/core/atlas-cli-save- connection-settings を参照してください。

コマンドが成功すると、CLI は次のサンプルのような出力を返します。 括弧内の値は 値を表します。

Atlas Streams Processor Instance '<Name>' successfully created.
# Deploy an Atlas Stream Processing instance called myProcessor for the project with the ID 5e2211c17a3e5a48f5497de3:
atlas streams instance create myProcessor --projectId 5e2211c17a3e5a48f5497de3 --provider AWS --region VIRGINIA_USA --tier SP30