Retrieves the performance profiling results for a cluster task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ehpc:GetCloudMetricProfiling |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| ClusterId |
string |
Yes |
The cluster ID. |
ehpc-hz-jeJki6**** |
| ProfilingId |
string |
Yes |
The profiling ID. Call ListCloudMetricProfilings to query profiling IDs. |
ehpc-hz-i-bplukzqgl****_21687_2019-09-09-02-37-40 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0DD6F715-85EE-4EA6-BDC4-48A75B719068 |
| SvgUrls |
object |
||
| SvgInfo |
array<object> |
The profiling results. |
|
|
object |
|||
| Type |
string |
The SVG file type. |
file |
| Url |
string |
The OSS URL of the SVG file. |
https://cloudmetrics-****-hz.oss-cn-hangzhou.aliyuncs.com/112****/ehpc-hz-faRavb****njuik%Oxlftyhujmi0Y**** |
| Name |
string |
The profiling result SVG file name. |
ehpc-hz-faRavbPf6b_i-bdrftgyh890654****_21687_2019-09-09-02-37-40.bottomup.svg |
| Size |
integer |
The SVG file size, in bytes. |
648 |
Examples
Success response
JSON format
{
"RequestId": "0DD6F715-85EE-4EA6-BDC4-48A75B719068",
"SvgUrls": {
"SvgInfo": [
{
"Type": "file",
"Url": "https://cloudmetrics-****-hz.oss-cn-hangzhou.aliyuncs.com/112****/ehpc-hz-faRavb****njuik%Oxlftyhujmi0Y****",
"Name": "ehpc-hz-faRavbPf6b_i-bdrftgyh890654****_21687_2019-09-09-02-37-40.bottomup.svg",
"Size": 648
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParams | The specified parameter %s is invalid. | The specified parameter %s is invalid. |
| 400 | NotEnabled | You have not enabled this service | You have not enabled this service |
| 400 | InDebt | Your account has overdue payments. | Your account has overdue payments. |
| 500 | UnknownError | An unknown error occurred. | An unknown error occurred. |
| 403 | InvalidClusterStatus | The operation failed due to invalid cluster status. | The cluster status does not support the operation. |
| 403 | ConflictOpt | A conflicting operation is running. | A conflicting operation is running. Please try again later. |
| 404 | ClusterNotFound | The specified cluster does not exist. | The specified instance does not exist. |
| 404 | ObjectNotFound | The specified object is not found. | The specified object does not exist. Please verify the parameter. |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server | The request has failed due to a temporary failure of the server. |
| 407 | NotAuthorized | You are not authorized by RAM for this request. | The request is not authorized by RAM. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.