All Products
Search
Document Center

Lindorm:GetLindormInstanceEngineList

Last Updated:Sep 20, 2024

Obtains the engine types supported by the specified Lindorm instance.

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:GetLindormInstanceEngineListget
  • instance
    acs:lindorm:{#regionId}:{#accountId}:instance/{#instanceId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringNo

Region ID.

cn-hangzhou
InstanceIdstringYes

Instance ID, which can be obtained by calling the GetLindormInstanceList interface.

ld-bp1nq34mv3smk****

Response parameters

ParameterTypeDescriptionExample
object
InstanceIdstring

Instance ID.

ld-bp1nq34mv3smk****
RequestIdstring

Request ID.

B496BA0E-520C-59FC-BA04-196D8F3B07EF
EngineListarray<object>

The list of engines that can run on the specified instance.

object
EngineTypestring

The type of engine that can run on the instance. Valid values:

  • lindorm: LindormTable.
  • tsdb: LindormTSDB.
  • solr: LindormSearch.
  • store: LindormDFS.
lindorm
NetInfoListarray<object>

The list of connection information about the engine.

object
AccessTypeinteger

The method by which the connection information can be used to access LindormTable. Valid values:

  • 0: The default value. This value can be ignored.
  • 1: The connection information can be used to access LindormTable by using ApsaraDB for HBase API for Java.
  • 2: The connection information can be used to access LindormTable by using ApsaraDB for HBase API for a non-Java language.
  • 3: The connection information can be used to access LindormTable by using the LindormTable endpoint for CQL.
  • 4: The connection information can be used to access LindormTable by using the LindormTable endpoint for SQL.
  • 5: The connection information can be used to access Lindorm by using the LindormTable endpoint for Amazon S3.
  • 6: The connection information can be used to access Lindorm by using the LindormTable endpoint for MySQL.
1
Portinteger

The port number used to connect to the engine.

30020
ConnectionStringstring

The endpoint that is used to connect to the engine.

ld-bp1nq34mv3smk****-proxy-lindorm.lindorm.rds.aliyuncs.com
NetTypestring

The network type of the endpoint. Valid values:

  • 0: Internet
  • 2: virtual private cloud (VPC)
2
AccessDeniedDetailstring

The details about the access denial.

{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}

Examples

Sample success responses

JSONformat

{
  "InstanceId": "ld-bp1nq34mv3smk****",
  "RequestId": "B496BA0E-520C-59FC-BA04-196D8F3B07EF",
  "EngineList": [
    {
      "EngineType": "lindorm",
      "NetInfoList": [
        {
          "AccessType": 1,
          "Port": 30020,
          "ConnectionString": "ld-bp1nq34mv3smk****-proxy-lindorm.lindorm.rds.aliyuncs.com",
          "NetType": "2"
        }
      ]
    }
  ],
  "AccessDeniedDetail": "{\"AuthAction\":\"xxx\",\"AuthPrincipalDisplayName\":\"222\",\"AuthPrincipalOwnerId\":\"111\",\"AuthPrincipalType\":\"SubUser\",,\"NoPermissionType\":\"ImplicitDeny\",\"PolicyType\":\"AccountLevelIdentityBasedPolicy\",\"EncodedDiagnosticMessage\":\"xxxxxx\"}"
}

Error codes

HTTP status codeError codeError messageDescription
400Instance.IsDeletedThe instance is deleted.The specified instance is already deleted.
400Instance.IsNotValidThe instance is invalid.The specified instance is invalid.
403API.ForbiddenThe API operation is forbidden in this environment.This operation is not supported in the current environment.
403Lindorm.Errorcode.OperationDeniedYou are not authorized to operate on the specified resource.You are not authorized to manage the specified resource.
403Lindorm.Errorcode.ServiceLinkedRoleNoPermissionNo permission to create service linked role.You are not authorized to create the service-linked role.

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

Change history

Change timeSummary of changesOperation
2024-09-18The Error code has changed. The response structure of the API has changedView Change Details