- Accounts
- Authentication
- BillingCostsAnalysis
- DeploymentTemplates
- Deployments
- Shutdown Deployment Elasticsearch ResourcePOST
- Start all instancesPOST
- Restores a shutdown resourcePOST
- Restores a shutdown DeploymentPOST
- Set remote clustersPUT
- Get remote clustersGET
- Stop instancesPOST
- Reset the secret token for an APM resource.POST
- Get Deployment Enterprise Search Resource InfoGET
- Get Deployment Kibana Resource InfoGET
- Set AppSearch read-only statusPUT
- Set AppSearch read-only statusGET
- Start instancesPOST
- Restart Deployment Stateless ResourcePOST
- Shuts down DeploymentPOST
- Migrate Elasticsearch resource to use SLMPOST
- Start maintenance modePOST
- Restart Deployment Elasticsearch ResourcePOST
- Start maintenance mode (all instances)POST
- Reset 'elastic' user passwordPOST
- Stop all instancesPOST
- Migrate Elasticsearch and associated Kibana resources to enable CCRPOST
- Add or remove settings from the Elasticsearch resource keystorePATCH
- Get the settings from the Elasticsearch resource keystoreGET
- Search DeploymentsPOST
- Get eligible remote clustersPOST
- Update DeploymentPUT
- Get DeploymentGET
- Get Deployment Elasticsearch Resource InfoGET
- Stop maintenance mode (all instances)POST
- Migrate Elasticsearch resource to use ILMPOST
- Shutdown Deployment Stateless ResourcePOST
- Get Deployment APM Resource InfoGET
- Stop maintenance modePOST
- Cancel resource pending planDELETE
- Get Deployment App Search Resource InfoGET
- Get eligible remote clustersPOST
- Create DeploymentPOST
- List DeploymentsGET
- Upgrade Kibana, APM, AppSearch inside DeploymentPOST
- DeploymentsTrafficFilter
- Extensions
- Stack
Search Deployments
开发环境
http://127.0.0.1
开发环境
http://127.0.0.1
POST
/deployments/_search
Deployments
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1/deployments/_search' \
--header 'Authorization: ApiKey {{EC_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw ''
响应示例响应示例
请求参数
Header 参数
Authorization
string
可选
默认值:
ApiKey {{EC_API_KEY}}
Body 参数application/json
An Elasticsearch search request with a subset of options.
sort
array [object]
可选
query
object (QueryContainer)
可选
match_all
object (MatchAllQuery)
可选
exists
object (ExistsQuery)
可选
null
value in the original field.term
object
可选
nested
object (NestedQuery)
可选
prefix
object
可选
bool
object (BoolQuery)
可选
query_string
object (QueryStringQuery)
可选
SimpleQueryParser
for parsing.range
object
可选
match_none
object (MatchNoneQuery)
可选
match
object
可选
from
integer <int32>
可选
size
integer <int32>
可选
示例
返回响应
🟢200The list of deployments that match the specified query and belong to the authenticated user.
application/json
Body
Contains a list of Deployments as result of a search request.
match_count
integer <int32>
可选
return_count
integer <int32>
必需
deployments
array[object (DeploymentSearchResponse) {7}]
必需
name
string
必需
settings
object (DeploymentSettings)
可选
healthy
boolean
必需
alias
string
可选
id
string
必需
resources
object (DeploymentResources)
必需
metadata
object (DeploymentMetadata)
可选