Docs Menu

atlas privateEndpoints gcp describe

返回项目的特定 GCP 私有端点。

要使用此命令,您必须使用具有“项目只读”角色的用户帐户或 API 密钥进行身份验证。

命令语法
atlas privateEndpoints gcp describe <privateEndpointId> [options]
名称
类型
必需
说明

privateEndpointId

字符串

true

唯一的 22 字符构成的字母数字字符串,用于标识私有端点。

名称
类型
必需
说明

-h,--help

false

描述帮助

-o, --output

字符串

false

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

--projectId

字符串

false

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

名称
类型
必需
说明

-P, --profile

字符串

false

Name of the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings.

atlas privateEndpoint gcp describe tester-1