It is time to say goodbye: This version of Elastic Cloud Enterprise has reached end-of-life (EOL) and is no longer supported.
The documentation for this version is no longer being maintained. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Get Deployment APM Resource Info
editGet Deployment APM Resource Info
editGet info about an APM Resource belonging to a given Deployment.
Request
editGET /api/v1/deployments/{deployment_id}/apm/{ref_id}
Path parameters
editName | Type | Required | Description |
---|---|---|---|
|
|
Y |
Identifier for the Deployment |
|
|
Y |
User-specified RefId for the Resource |
Query parameters
editName | Type | Required | Description |
---|---|---|---|
|
|
N |
Whether to include the full cluster metadata in the response - can be large per cluster and also include credentials. |
|
|
N |
If showing plans, whether to show values that are left at their default value (less readable but more informative). |
|
|
N |
Whether to include with the current and pending plan information the plan history- can be very large per cluster. |
|
|
N |
Whether to include with the current and pending plan information the attempt log - can be very large per cluster. |
|
|
N |
Whether to include the full current and pending plan information in the response - can be large per cluster. |
|
|
N |
Whether to show cluster settings in the response. |
Responses
edit-
200
-
(
ApmResourceInfo
) Standard response. -
404
-
(
BasicFailedReply
) The Deployment specified by {deployment_id} cannot be found. (code:deployments.deployment_not_found
)Headers
-
x-cloud-error-codes
(string
; allowed values: [deployments.deployment_not_found
]) - The error codes associated with the response
-
-
500
-
(
BasicFailedReply
) We have failed you. (code:deployments.deployment_resource_no_longer_exists
)Headers
-
x-cloud-error-codes
(string
; allowed values: [deployments.deployment_resource_no_longer_exists
]) - The error codes associated with the response
-
To perform this operation, you must be authenticated by means of one of the following methods: apiKey, basicAuth.
Request example
editcurl -XGET https://{{hostname}}/api/v1/deployments/{deployment_id}/apm/{ref_id} \ -H "Authorization: ApiKey $ECE_API_KEY"