Queries the AccessKey ID and AccessKey secret that are required to install the CloudMonitor agent on a third-party host.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:DescribeMonitoringAgentAccessKey |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccessKey |
string |
The AccessKey ID that is required to install the agent. |
E7A27f9**** |
| SecretKey |
string |
The AccessKey secret that is required to install the agent. |
sBjNOUhLylrxMX-Xv1**** |
| RequestId |
string |
The request ID. |
C0F655E9-D793-51E6-BD78-CABBCCFC1047 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Code |
integer |
The status code. Note
The status code 200 indicates that the request was successful. |
200 |
| Message |
string |
The error message. |
The specified resource is not found. |
Examples
Success response
JSON format
{
"AccessKey": "E7A27f9****",
"SecretKey": "sBjNOUhLylrxMX-Xv1****",
"RequestId": "C0F655E9-D793-51E6-BD78-CABBCCFC1047",
"Success": true,
"Code": 200,
"Message": "The specified resource is not found."
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ParameterInvalid | Illegal parameters. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | AccessForbidden | User not authorized to operate on the specified resource. | |
| 404 | ResourceNotFound | The specified resource is not found. | The specified resource is not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.