All Products
Search
Document Center

Lindorm:GetLindormInstanceList

Last Updated:Sep 05, 2024

Queries the instances that meet the specified conditions.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
lindorm:GetLindormInstanceListget
  • Instance
    acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The ID of the region in which the instances that you want to query is located. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou
QueryStrstringNo

The keyword contained in the names of Lindorm instances you want to query. Fuzzy queries based on the keyword is supported.

test
PageNumberintegerYes

The number of the pages to return,

1
PageSizeintegerYes

The number of instances to return on each page.

20
ServiceTypestringNo

The series of instances that you want to query. Valid values:

  • lindorm: The instance is a single-zone Lindorm instance.
  • lindorm_multizone: The instance is a multi-zone Lindorm instance.
  • serverless_lindorm: The instance is a Lindorm Serverless instance.
  • lindorm_standalone: The instance is a single-node Lindorm instance.
  • lts: The instance is an LTS instance.
lindorm
SupportEngineintegerNo

The engine supported by the instances that you want to query. The engines are indicated by different numbers:

  • 1: LindormSearch.
  • 2: LindormTSDB.
  • 4: LindormTable.
  • 8: LindormDFS.
Note The value of this parameter is the sum of all numbers that indicate the engines supported by the instance. For example, if you set the value of this parameter to 15, which is the sum of 1, 2, 4, and 8, this operation queries instances that support all four engines. If you set the value of this parameter to 6, which is the sum of 2 and 4, this operation queries instances that support LindormTSDB and LindormTable.
15
Tagarray<object>No

The list of tags associated with the specified instances.

objectNo

The tags associated with the specified instances.

KeystringNo

The key of tag N of the instances you want to query. You can specify 1 to 20 tag keys.

Note You can specify the keys of multiple tags. For example, you can specify the key of the first tag in the first key-value pair contained in the value of this parameter and specify the key of the second tag in the second key-value pair.
test
ValuestringNo

The value of tag N of the instances you want to query. You can specify 1 to 20 tag values.

Note You can specify the values of multiple tags. For example, you can specify the value of the first tag in the first key-value pair contained in the value of this parameter and specify the value of the second tag in the second key-value pair.
2.2.18
ResourceGroupIdstringNo

The ID of the resource group to which the instance belongs.

rg-aek3b63arvg27vi

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

1CA1FAFD-E8DC-51C2-AA7E-CA6E2D049BA0
PageNumberinteger

The number of returned pages.

1
PageSizeinteger

The number of instances that are returned on each page.

20
Totalinteger

The total number of returned instances.

1
InstanceListarray<object>

The list of instance.

object
VpcIdstring

The ID of the VPC in which the instance is deployed.

vpc-bp1n3i15v90el48nx****
EngineTypestring

The engine supported by the instance. The engines are indicated by different numbers:

  • 1: LindormSearch.
  • 2: LindormTSDB.
  • 4: LindormTable.
  • 8: LindormDFS.
Note The value of this parameter is the sum of all numbers that indicate the engines supported by the instance. For example, if the value of this parameter is 15, which is the sum of 1, 2, 4, and 8, the instance supports all four engines. If the value of this parameter is 6, which is the sum of 2 and 4, the instance supports LindormTSDB and LindormTable.
15
ExpireTimestring

The time when the instance expires.

Note This parameter is returned only if the billing method of the instance is subscription.
2022-04-26 00:00:00
CreateTimestring

The time when the instance is created.

2021-09-16 14:13:13
PayTypestring

The billing method of the instance. Valid values:

  • PREPAY: subscription.
  • POSTPAY: pay-as-you-go.
PREPAY
AliUidlong

The 16-digit AliUid of the Alibaba Cloud account that owns the instance.

164901546557****
InstanceStoragestring

The storage capacity of the instance.

960
InstanceIdstring

The ID of the instance

ld-bp17pwu1541ia****
NetworkTypestring

The network type of the instance.

vpc
ServiceTypestring

The series of the instance. Valid values:

  • lindorm: The instance is a Lindorm instance.
  • serverless_lindorm: The instance is a Lindorm Serverless instance.
  • lindorm_standalone: The instance is a single-node Lindorm instance.
  • lts: The instance is an LTS instance.
lindorm
RegionIdstring

The region ID of the instance.

cn-hangzhou
CreateMillisecondslong

The time when the instance is created. This value is a UNIX timestamp that indicates the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.

1631772842000
InstanceAliasstring

The name of the VPC.

test
ZoneIdstring

The ID of the zone in which the instance is created.

cn-hangzhou-h
InstanceStatusstring

The status of the instance. Valid values:

  • CREATING: The instance is being created.
  • ACTIVATION: The instance is running.
  • COLD_EXPANDING: The Capacity storage of the instance is being scaled up.
  • MINOR_VERSION_TRANSING: The minor version of the instance is being updated.
  • RESIZING: The nodes in the instance are being scaled up.
  • SHRINKING: The nodes in the instance are being scaled down.
  • CLASS_CHANGING: The specification of the instance is being changed.
  • SSL_SWITCHING: SSL: The SSL configurations of the instance are being changed.
  • CDC_OPENING: Data subscription is being enabled for the instance.
  • TRANSFER: The data of the instance is being transferred.
  • DATABASE_TRANSFER: The data of the instance is being transferred to databases.
  • GUARD_CREATING: A disaster recovery instance is being created.
  • BACKUP_RECOVERING: The data of the instance is being restored from a backup.
  • DATABASE_IMPORTING: Data is being imported to the instance.
  • NET_MODIFYING: The network configurations of the instance are being changed.
  • NET_SWITCHING: The network of the instance is being switched between a virtual private cloud (VPC) and the Internet.
  • NET_CREATING: The connection to the instance is being created.
  • NET_DELETING: The connection to the instance is being deleted.
  • DELETING: The instance is being deleted.
  • RESTARTING: The instance is restarting.
  • LOCKED: The instance is locked because it expires.
ACTIVATION
ExpiredMillisecondslong

The time when the instance expires. This value is a UNIX timestamp that indicates the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.

1650902400000
EnableStreamboolean

Indicates whether the Lindorm streaming engine is activated for the instance. Valid values:

  • true: The Lindorm streaming engine is activated for the instance.
  • false: The Lindorm streaming engine is not activated for the instance.
true
Tagsarray<object>

The list of tags associated with the specified instances.

object
Keystring

The key of the tag.

test
Valuestring

The value of the tag.

2.2.18
EnableComputeboolean

Indicates whether LDPS is activated for the instance. Valid values:

  • true: LDPS is activated for the instance.
  • false: LDPS is not activated for the instance.
true
ResourceGroupIdstring

The ID of the resource group to which the instance belongs.

rg-aekzledqeat****
EnableMessageboolean

Indicates whether the message engine is enabled, returning:

  • true: Enabled. - false: Not enabled.
true
EnableVectorboolean

Whether the vector engine is enabled, returns:

  • true: Enabled. - false: Not enabled.
true
EnableLtsboolean

Indicates whether the LTS engine is enabled, returning:

  • true: Enabled. - false: Not enabled.
true
EnableColumnboolean

Indicates whether the column storage engine is enabled, returning:

  • true: Enabled. - false: Not enabled.
true

Examples

Sample success responses

JSONformat

{
  "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
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
400Instance.IsDeletedThe instance is deleted.The specified instance is already deleted.
400Instance.IsNotAvailableThe instance is unavailable.The specified instance is unavailable.
403Lindorm.Errorcode.OperationDeniedYou are not authorized to operate on the specified resource.-
403API.ForbiddenThe API operation is forbidden in this environment.This operation is not supported in the current environment.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-05-23The Error code has changed. The response structure of the API has changedView Change Details
2024-03-29The Error code has changed. The response structure of the API has changedView Change Details
2024-02-19The Error code has changedView Change Details
2023-11-15The Error code has changedView Change Details