返回您的项目的指定Data Federation私有端点的详细信息。
要使用此命令,您必须使用具有“项目所有者”角色的用户帐户、服务帐户或API密钥进行身份验证。
语法
命令语法
atlas dataFederation privateEndpoints describe <endpointId> [options] 
参数
名称  | 类型  | 必需  | 说明  | 
|---|---|---|---|
endpointId  | 字符串  | true  | Data Federation私有端点的端点标识符。  | 
选项
名称  | 类型  | 必需  | 说明  | 
|---|---|---|---|
-h,--help  | false  | 描述帮助  | |
-o, --output  | 字符串  | false  | 输出格式。 有效值为 json、json-path、go-template 或 go-template-file。 要查看完整输出,请使用 -o json 选项。  | 
--projectId  | 字符串  | false  | 标识要使用的项目的十六进制字符串。 此选项会覆盖配置文件或环境变量中的设置。  | 
继承选项
名称  | 类型  | 必需  | 说明  | 
|---|---|---|---|
-P, --profile  | 字符串  | false  | 要从您的配置文件中使用的配置文件的名称。要学习;了解Atlas CLI配置文件,请参阅 https://dochub.mongodb.org/core/atlas-cli-save-connection-settings。  | 
示例
# retrieves data federation private endpoint '507f1f77bcf86cd799439011': atlas dataFederation privateEndpoints describe 507f1f77bcf86cd799439011