GetLindormInstanceList
Retrieves a list of Lindorm instances.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
lindorm:GetLindormInstanceList |
get |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID of the instance. You can call the DescribeRegions operation to query the region ID. |
cn-hangzhou |
| QueryStr |
string |
No |
The keyword used to perform a fuzzy search by instance name. |
test |
| PageNumber |
integer |
No |
The page number. |
1 |
| PageSize |
integer |
No |
The number of entries to return per page for paging in a paged query. |
20 |
| ServiceType |
string |
No |
The instance type. Valid values:
|
lindorm |
| SupportEngine |
integer |
No |
The data engine types supported by the instance. Valid values:
Note
For example, if the value is 15 (15 = 8 + 4 + 2 + 1), the instance supports the search engine, LindormTSDB, LindormTable, and file engine. If the value is 6 (6 = 4 + 2), the instance supports LindormTSDB and LindormTable. |
6 |
| Tag |
array<object> |
No |
The list of tags. |
|
|
object |
No |
The list of tags. |
||
| Key |
string |
No |
The tag key. Valid values of N: 1 to 20. Note
You can specify multiple tag keys. For example, the first Key specifies the first tag key, and the second Key specifies the second tag key. |
test |
| Value |
string |
No |
The tag value. Valid values of N: 1 to 20. Note
You can specify multiple tag values. For example, the first Value specifies the first tag value, and the second Value specifies the second tag value. |
2.2.18 |
| ResourceGroupId |
string |
No |
The resource group ID. |
rg-aek3b63arvg27vi |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
1CA1FAFD-E8DC-51C2-AA7E-CA6E2D049BA0 |
| PageNumber |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries returned per page. |
20 |
| Total |
integer |
The total number of instances returned. |
1 |
| InstanceList |
array<object> |
The list of instances. |
|
|
array<object> |
|||
| VpcId |
string |
The VPC ID of the instance. |
vpc-bp1n3i15v90el48nx**** |
| EngineType |
string |
The engine types supported by the instance. The return value is the sum of the following engine type values:
Note
For example, if the value is 15 (15 = 8 + 4 + 2 + 1), the instance supports the search engine, LindormTSDB, LindormTable, and file engine. If the value is 6 (6 = 4 + 2), the instance supports LindormTSDB and LindormTable. |
15 |
| ExpireTime |
string |
The expiration time of the instance. The time is in the yyyy-MM-dd HH:mm:ss format. Note
This parameter is returned only when the billing method of the instance is subscription. |
2022-04-26 00:00:00 |
| CreateTime |
string |
The creation time of the instance. The time is in the yyyy-MM-dd HH:mm:ss format. |
2021-09-16 14:13:13 |
| PayType |
string |
The billing method of the instance. Valid values:
|
PREPAY |
| AliUid |
integer |
The 16-character AliUid of the Alibaba Cloud account. |
164901546557**** |
| InstanceStorage |
string |
The storage capacity of the instance. |
960 |
| InstanceId |
string |
The instance ID. |
ld-bp17pwu1541ia**** |
| NetworkType |
string |
The network type of the instance. |
vpc |
| ServiceType |
string |
The instance type. Valid values:
|
lindorm |
| RegionId |
string |
The region ID. |
cn-hangzhou |
| CreateMilliseconds |
integer |
The number of milliseconds between the instance creation time and 00:00:00 on January 1, 1970. |
1631772842000 |
| InstanceAlias |
string |
The instance name. |
test |
| ZoneId |
string |
The zone ID. |
cn-hangzhou-h |
| InstanceStatus |
string |
The instance status. Valid values:
|
ACTIVATION |
| ExpiredMilliseconds |
integer |
The number of milliseconds between the time when the instance expires and 00:00:00 on January 1, 1970. |
1650902400000 |
| EnableStream |
boolean |
Indicates whether the streaming engine is enabled for the instance. Valid values:
|
true |
| Tags |
array<object> |
The list of tags. |
|
|
object |
|||
| Key |
string |
The tag key. |
test |
| Value |
string |
The tag value. |
2.2.18 |
| EnableCompute |
boolean |
Indicates whether the compute engine is enabled for the instance. Valid values:
|
true |
| ResourceGroupId |
string |
The resource group ID. |
rg-aekzledqeat**** |
| EnableMessage |
boolean |
Indicates whether the message engine is enabled. Valid values:
|
true |
| EnableVector |
boolean |
Indicates whether the vector engine is enabled. Valid values:
|
true |
| EnableLts |
boolean |
Indicates whether Lindorm Tunnel Service (LTS) is enabled. Valid values:
|
true |
| EnableColumn |
boolean |
Indicates whether the column store engine is enabled. Valid values:
|
true |
| EnableRow |
boolean |
Indicates whether LindormTable 3.0 is enabled. Valid values:
|
true |
| CreateErrorCode |
string |
The cause of the creation failure. |
Resource is not enough |
Examples
Success response
JSON format
{
"RequestId": "1CA1FAFD-E8DC-51C2-AA7E-CA6E2D049BA0",
"PageNumber": 1,
"PageSize": 20,
"Total": 1,
"InstanceList": [
{
"VpcId": "vpc-bp1n3i15v90el48nx****",
"EngineType": "15",
"ExpireTime": "2022-04-26 00:00:00",
"CreateTime": "2021-09-16 14:13:13",
"PayType": "PREPAY",
"AliUid": 0,
"InstanceStorage": "960",
"InstanceId": "ld-bp17pwu1541ia****",
"NetworkType": "vpc",
"ServiceType": "lindorm",
"RegionId": "cn-hangzhou",
"CreateMilliseconds": 1631772842000,
"InstanceAlias": "test",
"ZoneId": "cn-hangzhou-h",
"InstanceStatus": "ACTIVATION",
"ExpiredMilliseconds": 1650902400000,
"EnableStream": true,
"Tags": [
{
"Key": "test",
"Value": "2.2.18"
}
],
"EnableCompute": true,
"ResourceGroupId": "rg-aekzledqeat****",
"EnableMessage": true,
"EnableVector": true,
"EnableLts": true,
"EnableColumn": true,
"EnableRow": true,
"CreateErrorCode": "Resource is not enough"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Instance.IsDeleted | The instance is deleted. | The specified instance is already deleted. |
| 400 | Instance.IsNotAvailable | The instance is unavailable. | The specified instance is unavailable. |
| 403 | Lindorm.Errorcode.OperationDenied | You are not authorized to operate on the specified resource. | |
| 403 | API.Forbidden | The API operation is forbidden in this environment. | This operation is not supported in the current environment. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.