Join us Sept 17 at .local NYC! Use code WEB50 to save 50% on tickets. Learn more >
MongoDB Event
Docs Menu
Docs Home
/ /
Atlas CLI
/ / / /

Atlas 組織作成

組織を作成します。

パブリック プレビュー: MongoDB Atlas Admin APIから自動的に生成される Atlas APIサブコマンドは、Admin APIの完全なカバレッジを提供し、現在パブリック プレビュー段階です(フィードバックでフィードバックを提供してくださいフォーラム/930808-Atlas-cli)。管理API機能には独自のリリース ライフサイクルがあり、提供されているAPIエンドポイントのドキュメント リンクから確認できます。

API キーを使用して認証する場合、API キーが属する組織は、組織横断請求を有効にする必要があります。 結果組織は、支払い組織にリンクされます。

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

name

string

true

組織を識別するラベル。

名前
タイプ
必須
説明

--apiKeyDescription

string

false

API キーの説明。 API キーで認証された組織を作成するときに必要です。

--apiKeyRole

string

false

Role or roles that you want to assign to the API key. To assign more than one role, specify each role with a separate role flag or specify all of the roles as a comma-separated list using one role flag. For the full list of accepted values, see the Items Enum for the corresponding Atlas API endpoint: https://www.mongodb.com/ja-jp/docs/api/doc/atlas-admin-api-v2/operation/operation-createapikey. To learn more about organization level user roles, see: https://dochub.mongodb.org/core/atlas-org-roles. Required when creating organizations authenticated with API Keys.

--federationSettingsId

string

false

フェデレーション設定を識別する一意な 24 桁の 16 進数のstring 。

-h, --help

false

作成用ヘルプ

-o, --output

string

false

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

--ownerId

string

false

指定された組織で組織所有者ロールを付与されるstring を識別する、一意な 24Atlas user 桁の 。API キーを使用する場合は必須です。

名前
タイプ
必須
説明

-P, --profile

string

false

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

# Create an Atlas organization with the name myOrg:
atlas organizations create myOrg --output json

項目一覧