调用GetLindormInstance获取Lindorm实例的详细信息。

请求参数

名称 类型 是否必选 示例值 描述
InstanceId String ld-xxxxxxxxxxxxxxx

实例ID

RegionId String cn-shanghai

区域ID

返回数据

名称 类型 示例值 描述
AliUid Long 1000000000000000

用户的16位AliUid

AutoRenew Boolean false

付费类型为包年包月的实例,是否开通自动续费

ColdStorage Integer 800

冷存储容量

CreateTime String 2021-01-12 20:40:20

实例创建时间,格式为YYYY-MM-DD HH:MM:SS

DeletionProtection String false

是否开启删除保护

DiskCategory String cloud_efficiency

存储类型,cloud_efficiency-标准云存储,cloud_ssd-性能云存储,capacity_cloud_storage-容量云存储,local_ssd_pro-本地SSD盘

EngineList Array of Engine

引擎信息列表

CoreCount String 2

引擎节点数量

CpuCount String 4

引擎节点CPU数量

Engine String lindorm

引擎类型,lindorm-宽表引擎,tsdb-时序引擎,solr-搜索引擎

IsLastVersion Boolean false

引擎是否最新版本

MemorySize String 8

引擎节点内存大小

Version String 2.2.3

引擎版本号

EngineType Integer 4

支持引擎的类型,值与下列引擎类型的值做 & 运算后结果为1则支持,否则不支持,

1: 搜索引擎

2: 时序引擎

4: 宽表引擎

8: 文件引擎

例如,EngineType值为7,7 & 4 = 1,即该实例支持宽表引擎

ExpireTime String 2020-12-17 00:00:00

付费类型为包年包月的实例的到期时间,格式为yyyy-MM-dd HH:mm:ss

InstanceAlias String lindorm_test

实例名称

InstanceId String ld-xxxxxxxxxxxxxxx

实例ID

InstanceStatus String ACTIVATION

实例状态

InstanceStorage String 480

存储容量

NetworkType String vpc

网络类型

PayType String POSTPAY

付费类型,PREPAY-包年包月;POSTPAY-按量付费

RegionId String cn-shanghai

区域ID

RequestId String 1986EB6C-B50B-4F41-B365-38A1095DA5C2

请求ID

ServiceType String lindorm

实例类型,lindorm-普通实例;serverless_lindorm-serverless实例

VpcId String vpc-xxxxxxxxxxxxxxxxxxxxx

专有网络ID

VswitchId String vsw-xxxxxxxxxxxxxxxxxxxxx

虚拟交换机ID

ZoneId String cn-shanghai-f

可用区ID

示例

请求示例

http(s)://[Endpoint]/?Action=GetLindormInstance
&InstanceId=ld-xxxxxxxxxxxxxxx
&<公共请求参数>

正常返回示例

XML 格式

<InstanceStorage>480</InstanceStorage>
<EngineList>
    <MemorySize>8</MemorySize>
    <CpuCount>4</CpuCount>
    <Version>2.2.3</Version>
    <IsLastVersion>false</IsLastVersion>
    <Engine>lindorm</Engine>
    <CoreCount>2</CoreCount>
</EngineList>
<ZoneId>cn-shanghai-f</ZoneId>
<RequestId>1986EB6C-B50B-4F41-B365-38A1095DA5C2</RequestId>
<InstanceId>ld-xxxxxxxxxxxxxxx</InstanceId>
<ColdStorage>800</ColdStorage>
<AutoRenew>false</AutoRenew>
<CreateTime>2021-01-12 20:40:20</CreateTime>
<DiskCategory>cloud_efficiency</DiskCategory>
<DeletionProtection>false</DeletionProtection>
<PayType>POSTPAY</PayType>
<VswitchId>vsw-xxxxxxxxxxxxxxxxxxxxx</VswitchId>
<VpcId>vpc-xxxxxxxxxxxxxxxxxxxxx</VpcId>
<ServiceType>lindorm</ServiceType>
<NetworkType>vpc</NetworkType>
<InstanceStatus>ACTIVATION</InstanceStatus>
<InstanceAlias>lindorm_test</InstanceAlias>
<EngineType>4</EngineType>
<RegionId>cn-shanghai</RegionId>
<ExpireTime>2020-12-17 00:00:00</ExpireTime>
<AliUid>1000000000000000</AliUid>

JSON 格式

{
  "InstanceStorage": "480",
  "EngineList": [
    {
      "MemorySize": "8",
      "CpuCount": "4",
      "Version": "2.2.3",
      "IsLastVersion": "false",
      "Engine": "lindorm",
      "CoreCount": "2"
    }
  ],
  "ZoneId": "cn-shanghai-f",
  "RequestId": "1986EB6C-B50B-4F41-B365-38A1095DA5C2",
  "InstanceId": "ld-xxxxxxxxxxxxxxx",
  "ColdStorage": "800",
  "AutoRenew": "false",
  "CreateTime": "2021-01-12 20:40:20",
  "DiskCategory": "cloud_efficiency",
  "DeletionProtection": "false",
  "PayType": "POSTPAY",
  "VswitchId": "vsw-xxxxxxxxxxxxxxxxxxxxx",
  "VpcId": "vpc-xxxxxxxxxxxxxxxxxxxxx",
  "ServiceType": "lindorm",
  "NetworkType": "vpc",
  "InstanceStatus": "ACTIVATION",
  "InstanceAlias": "lindorm_test",
  "EngineType": "4",
  "RegionId": "cn-shanghai",
  "ExpireTime": "2020-12-17 00:00:00",
  "AliUid": "1000000000000000"
}

错误码

HttpCode 错误码 错误信息 描述
400 Lindorm.Errorcode.ParameterInvaild The parameter is invalid. 参数无效

访问错误中心查看更多错误码。