GetLindormInstance
Retrieves the details of a Lindorm instance, including the instance type, billing method, and associated virtual private cloud (VPC).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
lindorm:GetLindormInstance |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. You can call the GetLindormInstanceList operation to obtain the instance ID. |
ld-bp1o3y0yme2i2**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| VpcId |
string |
The ID of the virtual private cloud (VPC) to which the instance belongs. |
vpc-bp1n3i15v90el48nx**** |
| VswitchId |
string |
The vSwitch ID. |
vsw-bp1vbjzmod9q3l9eo**** |
| CreateTime |
string |
The time when the instance was created. Format: yyyy-MM-dd HH:mm:ss. |
2021-07-26 17:10:26 |
| PayType |
string |
The billing method of the instance. Valid values:
|
POSTPAY |
| NetworkType |
string |
The network type of the instance. |
vpc |
| ServiceType |
string |
The instance type. Valid values:
|
lindorm |
| EnableKms |
boolean |
Indicates whether Key Management Service (KMS) is enabled. Valid values:
|
false |
| EnableStoreTDE |
boolean |
Indicates whether storage encryption is enabled. Valid values:
|
false |
| DiskUsage |
string |
The disk space usage. |
0.0% |
| DiskCategory |
string |
The storage type. Valid values:
|
cloud_efficiency |
| RequestId |
string |
The request ID. |
633F1BE4-C8DA-5744-8FDF-A3075C3FE37F |
| ColdStorage |
integer |
Storage capacity of storage capacity cloud storage. |
0GB |
| ArchiveStorage |
integer |
The billable storage capacity of the archive storage type. Unit: GB. |
0GB |
| ExpiredMilliseconds |
integer |
The number of milliseconds between the time when the instance expires and 1970-01-01 00:00:00. |
1629993600000 |
| EngineType |
integer |
The type of supported engines. The return value is the sum of the values of the following engine types.
Note
For example, if the EngineType value is 15 (15 = 8 + 4 + 2 + 1), the instance supports the search index, LindormTSDB, LindormTable, and file engine. If the EngineType value is 6 (6 = 4 + 2), the instance supports LindormTSDB and LindormTable. |
15 |
| ExpireTime |
string |
The expiration time of the instance. Format: yyyy-MM-dd HH:mm:ss. Note
This parameter is returned only when the billing method is subscription. |
2021-08-27 00:00:00 |
| AutoRenew |
boolean |
Indicates whether auto-renewal is enabled. Valid values:
Note
This parameter is returned only when the billing method of the instance is subscription. |
false |
| DeletionProtection |
string |
Indicates whether deletion protection is enabled. Valid values:
|
false |
| InstanceStorage |
string |
The storage capacity of the instance. |
480 |
| AliUid |
integer |
The 16-digit AliUid of the Alibaba Cloud account. |
164901546557**** |
| InstanceId |
string |
The instance ID. |
ld-bp1o3y0yme2i2**** |
| RegionId |
string |
The region ID. |
cn-hangzhou |
| CreateMilliseconds |
integer |
The number of milliseconds between the instance creation time and 1970-01-01 00:00:00. |
1627290664000 |
| InstanceAlias |
string |
The instance name. |
test0726 |
| DiskThreshold |
string |
The disk space threshold. |
80% |
| ZoneId |
string |
The zone ID. |
cn-hangzhou-h |
| InstanceStatus |
string |
The instance status. Valid values:
|
ACTIVATION |
| EngineList |
array<object> |
The list of engine information. |
|
|
object |
The list of engine information. |
||
| Version |
string |
The version number of the engine type. |
2.2.3 |
| CpuCount |
string |
The number of CPUs for the engine node. |
4 |
| CoreCount |
string |
The number of engine nodes. |
2 |
| Engine |
string |
The engine type. Valid values:
|
lindorm |
| Specification |
string |
The node specifications of the engine. |
lindorm.g.2xlarge |
| MemorySize |
string |
The memory size of the engine node. |
8GB |
| IsLastVersion |
boolean |
Indicates whether the engine type is the latest version. Valid values:
|
false |
| LatestVersion |
string |
The latest version number of the engine type. |
2.2.19.2 |
| PrimaryCoreCount |
string |
The number of nodes in the primary zone. |
2 |
| StandbyCoreCount |
string |
The number of nodes in the secondary zone. |
2 |
| ArbiterCoreCount |
string |
The number of nodes in the arbiter zone. |
2 |
| EnableCompute |
boolean |
Indicates whether the compute engine is enabled for the instance. Valid values:
|
true |
| EnableSSL |
boolean |
Indicates whether SSL link encryption is enabled. Valid values:
|
false |
| EnableMLCtrl |
boolean |
Indicates whether the AI control node is enabled. Valid values:
|
False |
| EnableCdc |
boolean |
Indicates whether the data subscription feature is enabled for the instance. Valid values:
|
false |
| EnableStream |
boolean |
Indicates whether the stream engine is enabled for the instance. Valid values:
|
true |
| EnableLTS |
boolean |
Indicates whether the LTS engine is enabled for the instance. Valid values:
|
true |
| EnableShs |
boolean |
Indicates whether the compute engine History Server is enabled. |
true |
| EnableBlob |
boolean |
Indicates whether LBlob is enabled for the instance. Valid values: true: LBlob is enabled. false: LBlob is not enabled. |
true |
| MaintainStartTime |
string |
The start time of the maintenance window. Format: HH:mmZ (UTC). |
00:00Z |
| MaintainEndTime |
string |
The end time of the maintenance window. Format: HH:mmZ (UTC). |
20:00Z |
| ResourceGroupId |
string |
The resource group ID. |
rg-aek2wvd6oia**** |
| PrimaryZoneId |
string |
The zone ID of the primary zone for a multi-zone instance. |
cn-shanghai-e |
| StandbyZoneId |
string |
The zone ID of the secondary zone for a multi-zone instance. |
cn-shanghai-f |
| ArbiterZoneId |
string |
The zone ID of the arbiter zone for a multi-zone instance. |
cn-shanghai-g |
| PrimaryVSwitchId |
string |
The vSwitch ID of the primary zone for a multi-zone instance. The vSwitch must be in the zone specified by PrimaryZoneId. |
vsw-uf6fdqa7c0pipnqzq**** |
| StandbyVSwitchId |
string |
The vSwitch ID of the secondary zone for a multi-zone instance. The vSwitch must be in the zone specified by StandbyZoneId. |
vsw-2zec0kcn08cgdtr6**** |
| ArbiterVSwitchId |
string |
The vSwitch ID of the arbiter zone for a multi-zone instance. The vSwitch must be in the zone specified by ArbiterZoneId. |
vsw-uf6664pqjawb87k36**** |
| MultiZoneCombination |
string |
The multi-zone combination. You can check the supported zone combinations on the buy page.
|
cn-shanghai-efg-aliyun |
| CoreDiskCategory |
string |
The disk type of the core node for a multi-zone instance. Valid values:
|
cloud_efficiency |
| CoreSpec |
string |
The node specifications of the core node for a multi-zone instance. |
lindorm.g.xlarge |
| CoreNum |
integer |
The number of core nodes for a multi-zone instance. |
4 |
| CoreSingleStorage |
integer |
The disk capacity of a single core node for a multi-zone instance. |
400 |
| LogDiskCategory |
string |
The disk type of the log node for a multi-zone instance. Valid values:
|
cloud_ssd |
| LogSpec |
string |
The node specifications of the log node for a multi-zone instance. |
lindorm.sn1.large |
| LogNum |
integer |
The number of log nodes for a multi-zone instance. |
4 |
| LogSingleStorage |
integer |
The disk capacity of a single log node for a multi-zone instance. |
400GB |
| BackupInstance |
string |
The backup instance. |
ld-xxxx |
| EnableLsqlVersionV3 |
boolean |
Indicates whether the LindormTable engine supports LindormSQL-V3, which is compatible with the MySQL protocol. Instances purchased after October 24, 2023 support this feature by default. For existing instances, contact technical support for evaluation before enabling this feature.
|
True |
| EnableLProxy |
boolean |
Indicates whether the LindormTable engine supports the Thrift and CQL protocols. If not supported, you can call the SwitchLProxyService operation to enable or disable this feature. True: Supported. False: Not supported. |
False |
| ArchVersion |
string |
The deployment architecture. Valid values:
|
1.0 |
| SingleZoneRiskAlert |
object |
The single-zone risk alert information. |
|
| NeedAlert |
boolean |
Indicates whether a single-zone risk alert is required. |
|
| DispositionType |
string |
The disposition type for the single-zone risk. |
|
| PlannedCompletionDate |
string |
The planned completion date for risk disposition. Format: yyyy-MM-dd. |
|
| ConfirmDate |
string |
The confirmation date for risk disposition. |
Examples
Success response
JSON format
{
"VpcId": "vpc-bp1n3i15v90el48nx****",
"VswitchId": "vsw-bp1vbjzmod9q3l9eo****",
"CreateTime": "2021-07-26 17:10:26",
"PayType": "POSTPAY",
"NetworkType": "vpc",
"ServiceType": "lindorm",
"EnableKms": false,
"EnableStoreTDE": false,
"DiskUsage": "0.0%",
"DiskCategory": "cloud_efficiency",
"RequestId": "633F1BE4-C8DA-5744-8FDF-A3075C3FE37F",
"ColdStorage": 0,
"ArchiveStorage": 0,
"ExpiredMilliseconds": 1629993600000,
"EngineType": 15,
"ExpireTime": "2021-08-27 00:00:00",
"AutoRenew": false,
"DeletionProtection": "false",
"InstanceStorage": "480",
"AliUid": 0,
"InstanceId": "ld-bp1o3y0yme2i2****",
"RegionId": "cn-hangzhou",
"CreateMilliseconds": 1627290664000,
"InstanceAlias": "test0726",
"DiskThreshold": "80%",
"ZoneId": "cn-hangzhou-h",
"InstanceStatus": "ACTIVATION",
"EngineList": [
{
"Version": "2.2.3",
"CpuCount": "4",
"CoreCount": "2",
"Engine": "lindorm",
"Specification": "lindorm.g.2xlarge",
"MemorySize": "8GB",
"IsLastVersion": false,
"LatestVersion": "2.2.19.2",
"PrimaryCoreCount": "2",
"StandbyCoreCount": "2",
"ArbiterCoreCount": "2"
}
],
"EnableCompute": true,
"EnableSSL": false,
"EnableMLCtrl": true,
"EnableCdc": false,
"EnableStream": true,
"EnableLTS": true,
"EnableShs": true,
"EnableBlob": true,
"MaintainStartTime": "00:00Z",
"MaintainEndTime": "20:00Z",
"ResourceGroupId": "rg-aek2wvd6oia****",
"PrimaryZoneId": "cn-shanghai-e",
"StandbyZoneId": "cn-shanghai-f",
"ArbiterZoneId": "cn-shanghai-g",
"PrimaryVSwitchId": "vsw-uf6fdqa7c0pipnqzq****",
"StandbyVSwitchId": "vsw-2zec0kcn08cgdtr6****",
"ArbiterVSwitchId": "vsw-uf6664pqjawb87k36****",
"MultiZoneCombination": "cn-shanghai-efg-aliyun",
"CoreDiskCategory": "cloud_efficiency",
"CoreSpec": "lindorm.g.xlarge",
"CoreNum": 4,
"CoreSingleStorage": 400,
"LogDiskCategory": "cloud_ssd",
"LogSpec": "lindorm.sn1.large",
"LogNum": 4,
"LogSingleStorage": 0,
"BackupInstance": "ld-xxxx",
"EnableLsqlVersionV3": true,
"EnableLProxy": true,
"ArchVersion": "1.0",
"SingleZoneRiskAlert": {
"NeedAlert": false,
"DispositionType": "",
"PlannedCompletionDate": "",
"ConfirmDate": ""
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Instance.IsDeleted | The instance is deleted. | |
| 400 | Instance.IsNotValid | The instance is invalid. | The specified instance is invalid. |
| 400 | LindormErrorCode.%s | %s. | %s. |
| 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. |
| 403 | Lindorm.Errorcode.ServiceLinkedRoleNoPermission | No permission to create service linked role. | You are not authorized to create the service-linked role. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.