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 privateEndpoints GCPインターフェースの説明

プロジェクトの特定の GCP プライベートエンドポイント インターフェースを返します。

このコマンドを使用するには、ユーザーアカウントまたはプロジェクト読み取り専用ロールの API キーで認証する必要があります。

コマンド構文
atlas privateEndpoints gcp interfaces describe <id> [options]
名前
タイプ
必須
説明

id

string

true

検索対象のプライベートエンドポイントの一意の識別子。

名前
タイプ
必須
説明

--endpointServiceId

string

true

内のプライベートエンドポイントを識別する一意の 24 文字の英数字stringAtlas 。

-h, --help

false

説明用のヘルプ

-o, --output

string

false

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

--projectId

string

false

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

名前
タイプ
必須
説明

-P, --profile

string

false

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

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

ENDPOINT STATUS DELETE REQUESTED
<EndpointGroupName> <Status> <DeleteRequested>
atlas privateEndpoints gcp interfaces describe endpoint-1 \
--endpointServiceId 61eaca605af86411903de1dd

戻る

削除

項目一覧