MongoDBMongoDB Atlas 管理 API v2
POST/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment
管理create Group Cluster Search Deployment。
MongoDB Atlas Administration API 中用于 create Group Cluster Search Deployment 的保留合约 POST Endpoint。资源相关值由调用方在运行时提供。
覆盖固定 Apache-2.0 OpenAPI revision 中全部 540 个 MongoDB Atlas 管理 Endpoint。Hub 提供文档与独立 SDK/CLI,但不代理账户、组织、项目、网络、备份或运行数据;调用方通过本地凭证直连。
请求
- operationId
createGroupClusterSearchDeployment- 服务器
https://cloud.mongodb.com- 认证
- ServiceAccounts, DigestAuth
请求参数
envelope
queryboolean
Atlas Administration API 合约中的 envelope 值。
pretty
queryboolean
Atlas Administration API 合约中的 pretty 值。
groupId
pathstring必填
Atlas Administration API 合约中的 group Id 值。
32b6e34b3d91647abb20e7b8
clusterName
pathstring必填
Atlas Administration API 合约中的 cluster Name 值。
Body 参数
ApiSearchDeploymentRequestView必填
Content-Type: application/vnd.atlas.2023-01-01+json, application/vnd.atlas.2024-05-30+json
字段: defaultNodeCountspecs
响应
200
ApiSearchDeploymentResponseViewapplication/vnd.atlas.2023-01-01+json
供应商成功响应。
字段: effectiveSpecsencryptionAtRestProvidergroupIdidspecsstateName
201
ApiSearchDeploymentResponseViewapplication/vnd.atlas.2024-05-30+json
供应商成功响应。
字段: effectiveSpecsencryptionAtRestProvidergroupIdidspecsstateName
400
ApiErrorapplication/json
供应商返回 HTTP 状态 400。
字段: badRequestDetaildetailerrorerrorCodeparametersreason
401
ApiErrorapplication/json
供应商返回 HTTP 状态 401。
字段: badRequestDetaildetailerrorerrorCodeparametersreason
403
ApiErrorapplication/json
供应商返回 HTTP 状态 403。
字段: badRequestDetaildetailerrorerrorCodeparametersreason
404
ApiErrorapplication/json
供应商返回 HTTP 状态 404。
字段: badRequestDetaildetailerrorerrorCodeparametersreason
409
ApiErrorapplication/json
供应商返回 HTTP 状态 409。
字段: badRequestDetaildetailerrorerrorCodeparametersreason
429
ApiErrorapplication/json
供应商返回 HTTP 状态 429。
字段: badRequestDetaildetailerrorerrorCodeparametersreason
500
ApiErrorapplication/json
供应商返回 HTTP 状态 500。
字段: badRequestDetaildetailerrorerrorCodeparametersreason
{
"effectiveSpecs": {
"cloudProvider": "AWS",
"instanceSize": "S10_HIGHCPU",
"nodeCount": 2,
"regionName": "US_EAST_1"
},
"encryptionAtRestProvider": "NONE",
"groupId": "32b6e34b3d91647abb20e7b8",
"id": "32b6e34b3d91647abb20e7b8",
"specs": {
"instanceSize": "S10_HIGHCPU",
"nodeCount": 2
},
"stateName": "IDLE"
}