VPC プライベートエンドポイントを取得する
特定のプライベートエンドポイント構成を取得します。
path パラメータ
-
Atlas Project/Group ID。
-
アプリケーションの ObjectID。App Services API プロジェクトとアプリケーション ID のセクションでは、この値を見つける方法が示されています。
-
VPC プライベートエンドポイントの _id ObjectID。
GET /groups/{groupId}/apps/{appId}/security/private_endpoints/{privateEndpointId}
curl \
--request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/security/private_endpoints/{privateEndpointId}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
応答の例(200)
{
"_id": "string",
"cloud_provider_region": "aws-us-east-1",
"cloud_provider_endpoint_id": "vpce-12345678",
"comment": "string",
"endpoint_type": "sync"
}