Queries information about all assets, such as asset group IDs and asset names.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeAllEntity |
The operation that you want to perform. Set the value to DescribeAllEntity. |
All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.
For more information about sample requests, see the "Examples" section of this topic.
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
EntityList | Array of Entity |
The details of the instance. |
|
GroupId | Integer | 281801 |
The ID of the asset group. |
InstanceName | String | abc |
The name of the instance. |
InternetIp | String | 172.19.XX.XX |
The public IP address. |
IntranetIp | String | 10.XX.XX.10 |
The private IP address. |
Ip | String | 101.132.XX.XX |
The IP address of the server. |
Os | String | windows |
The operating system of the server. Valid values:
|
Uuid | String | 4fe8e1cd-3c37-4851-b9de-124da32c**** |
The UUID of the server. |
RequestId | String | 7E0618A9-D5EF-4220-9471-C42B5E92719F |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeAllEntity
&<Common request parameters>
Sample success responses
XML
format
<DescribeAllEntityResponse>
<RequestId>04A9E7B7-877A-40C7-BC0F-A08AFEA2260A</RequestId>
<EntityList>
<InstanceName>abc</InstanceName>
<Uuid>d74e88b1-d05c-4a2c-ba27-70f2ea8c****</Uuid>
<Os>windows</Os>
<InternetIp>101.132.XX.XX</InternetIp>
<Ip>101.132.XX.XX</Ip>
<IntranetIp>172.19.XX.XX</IntranetIp>
<GroupId>9165712</GroupId>
</EntityList>
<EntityList>
<InstanceName>efg</InstanceName>
<Uuid>2ad45cd7-a1d5-4954-9871-a2f74f13****</Uuid>
<Os>linux</Os>
<InternetIp>47.99.XX.XX</InternetIp>
<Ip>47.99.XX.XX</Ip>
<IntranetIp>192.168.XX.XX</IntranetIp>
<GroupId>9569544</GroupId>
</EntityList>
</DescribeAllEntityResponse>
JSON
format
{
"RequestId": "04A9E7B7-877A-40C7-BC0F-A08AFEA2260A",
"EntityList": [
{
"InstanceName": "abc",
"Uuid": "d74e88b1-d05c-4a2c-ba27-70f2ea8c****",
"Os": "windows",
"InternetIp": "101.132.XX.XX",
"Ip": "101.132.XX.XX",
"IntranetIp": "172.19.XX.XX",
"GroupId": 9165712
},
{
"InstanceName": "efg",
"Uuid": "2ad45cd7-a1d5-4954-9871-a2f74f13****",
"Os": "linux",
"InternetIp": "47.99.XX.XX",
"Ip": "47.99.XX.XX",
"IntranetIp": "192.168.XX.XX",
"GroupId": 9569544
}
]
}
Error codes
For a list of error codes, visit the API Error Center.