Retrieves all values of a specific type of instance information.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sysom:ListInstanceInfo |
list |
*All Resource
|
None | None |
Request syntax
GET /api/v1/am/instance/listInstanceInfo HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| region |
string |
No |
The region ID. |
cn-hangzhou |
| infoType |
string |
No |
The information type. |
instance_tag |
| managedType |
string |
No |
The managed type. |
managed |
| pluginId |
string |
No |
The plugin ID. |
01fc4a0b-f199-4885-9861-b4054a310fe7 |
| instanceType |
string |
No |
The instance type. |
ecs |
| maxResults |
integer |
No |
The number of entries per page. |
10 |
| nextToken |
string |
No |
The pagination token. |
xiF/wDgaeitjjhVJYYzLwJ4dD+2BRJj42DLT6GrZysw= |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| code |
string |
The status code. |
Success |
| data |
array<object> |
The returned data. |
|
|
object |
The returned results. |
||
| infoKey |
string |
The information key. |
sysom |
| infoType |
string |
The information type. |
instance_tag |
| infoValue |
string |
The information value. |
diagnosis |
| maxResults |
integer |
The maximum number of records returned in a single request. |
20 |
| message |
string |
The error message.
|
success |
| nextToken |
string |
The pagination token for the next request. |
U+w1wv2R4ZWR5oZLXD0+Dp4dD+2BRJj42DLT6GrZysw= |
| requestId |
string |
Id of the request |
2D693121-C925-5154-8DF6-C09A8B369822 |
Examples
Success response
JSON format
{
"code": "Success",
"data": [
{
"infoKey": "sysom",
"infoType": "instance_tag",
"infoValue": "diagnosis"
}
],
"maxResults": 20,
"message": "success",
"nextToken": "U+w1wv2R4ZWR5oZLXD0+Dp4dD+2BRJj42DLT6GrZysw=\n",
"requestId": "2D693121-C925-5154-8DF6-C09A8B369822\n"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.