列出 VPC 私有端点服务

获取 /groups/{groupId}/apps/{appId}/security/private_endpoint_service_infos

获取为应用程序配置的所有私有端点服务的列表。

路径参数

响应

  • 200 application/json

    已成功列出服务。

    隐藏响应属性 显示响应属性 对象
    • cloud_provider_region 字符串
    • service_name 字符串
    • endpoint_type 字符串

      端点的类型。有关迁移已弃用的 "legacy" 端点的更多信息,请参阅迁移传统端点

      值为 syncgenerallegacy

GET /groups/{groupId}/apps/{appId}/security/private_endpoint_service_infos
curl \
 --request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/security/private_endpoint_service_infos' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
响应示例 (200)
[
  {
    "cloud_provider_region": "aws-us-east-1",
    "service_name": "com.amazonaws.vpce.us-east-1.vpce-svc-0f24fc6e6de007e5e",
    "endpoint_type": "sync"
  }
]