Queries the details of a Lindorm V2 instance.
Operation description
For Lindorm clusters with an underlying storage version of 4.1.9 or later, refer to the list values returned by LStorageUsageList for storage usage details.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
lindorm:GetLindormV2InstanceDetails |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. This operation supports only Lindorm V2 architecture instances where ServiceType is lindorm_v2, lindorm_v2_multizone, or lindorm_v2_multizone_ha. For V1 instances, use the GetLindormInstance operation. GetLindormInstanceList does not return V2 architecture instances. When you create a V2 instance, you can obtain this value from the InstanceId response parameter of CreateLindormV2Instance. |
ld-bp1mq0tdzbx1m**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| VpcId |
string |
The ID of the virtual private cloud (VPC) to which the instance belongs. |
vpc-bp1xxxxxxxxxxxxxxxxxx |
| VswitchId |
string |
The vSwitch ID. |
vsw-bp1xxxxxxxxxxxxxxxxxx |
| PayType |
string |
The billing method of the instance. Valid values:
|
POSTPAY |
| NetworkType |
string |
The network type of the instance. |
VPC |
| DiskUsage |
string |
The disk space usage. |
0.0% |
| DiskCategory |
string |
The storage type. Valid values:
|
PerformanceStorage |
| RequestId |
string |
The request ID. |
1556DCB0-043A-4444-8BD9-CF4A68E7EE64 |
| ColdStorage |
integer |
The storage-optimized cloud storage capacity. |
800 |
| ExpiredMilliseconds |
integer |
The number of milliseconds between the instance expires time and 1970-01-01 00:00:00. |
1629993600000 |
| AutoRenew |
boolean |
Indicates whether to enable auto-renewal. Valid values:
Note
This parameter is returned only when the billing method of the instance is subscription. |
true |
| DeletionProtection |
string |
Indicates whether deletion protection is enabled. Valid values:
|
false |
| AliUid |
integer |
The 16-digit AliUid of the Alibaba Cloud account. |
164901546557**** |
| InstanceId |
string |
The instance ID. |
ld-bp1mq0tdzbx1m**** |
| InstanceType |
string |
The instance form factor. Valid values:
|
basic |
| 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. |
lindorm-test |
| ZoneId |
string |
The zone ID. |
cn-hangzhou-h |
| InstanceStatus |
string |
The instance status. Valid values:
|
ACTIVATION |
| PrimaryZoneId |
string |
The zone ID of the primary zone for a multi-zone instance. |
cn-shanghai-e |
| 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**** |
| StandbyZoneId |
string |
The zone ID of the secondary zone for a multi-zone instance. |
cn-shanghai-f |
| 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**** |
| ArbiterZoneId |
string |
The zone ID of the arbitration zone for a multi-zone instance. |
cn-shanghai-g |
| ArbiterVSwitchId |
string |
The vSwitch ID of the arbitration zone for a multi-zone instance. The vSwitch must be in the zone specified by ArbiterZoneId. |
vsw-uf6664pqjawb87k36**** |
| EngineList |
array<object> |
The list of engine information. |
|
|
array<object> |
The list of engine information. |
||
| Version |
string |
The version number of the engine type. |
2.2.3 |
| Engine |
string |
The engine type. Valid values:
|
TABLE |
| IsLastVersion |
boolean |
Indicates whether the engine is running the latest version. Valid values:
|
false |
| LatestVersion |
string |
The latest version number for the engine type. |
2.2.19.2 |
| ConnectAddressList |
array<object> |
The list of engine connection addresses. |
|
|
object |
The list of engine connection addresses. |
||
| Address |
string |
The connection address. |
ld-mxj9asg***-proxy-lindorm-vpc.lindorm.aliyuncs.com:33060 |
| Type |
string |
The connection address type. Valid values:
|
INTRANET |
| Port |
string |
The port number of the database endpoint. |
33060 |
| NodeGroup |
array<object> |
The list of engine node groups. |
|
|
object |
The list of engine node groups. |
||
| NodeSpec |
string |
The node specifications. If you select performance cloud storage or standard cloud storage, valid values are:
If you select local SSD storage, valid values are:
If you select big data instance type, valid values are:
|
lindorm.g.2xlarge |
| EnableAttachLocalDisk |
boolean |
Indicates whether a local cloud disk is attached to the node. |
false |
| LocalDiskCategory |
string |
The local cloud disk type. Valid values:
|
cloud_essd |
| LocalDiskCapacity |
integer |
The local cloud disk capacity, in GB. |
100 |
| CpuCoreCount |
integer |
The number of vCPU cores on the node. |
32 |
| MemorySizeGiB |
integer |
The memory size of the node. |
64 |
| Quantity |
integer |
The number of nodes. |
10 |
| Category |
string |
Deprecated. |
caculated |
| ResourceGroupName |
string |
The node group name. Required. Must match the name specified at creation time. |
job_debug |
| SpecId |
string |
The ID that uniquely corresponds to the delivery group ID. |
ecs.c6.large |
| Status |
string |
The node status. |
ACTIVATION |
| ResourceGroupId |
string |
The resource group ID. |
rg-aek2i6weeb4nfii |
| ServiceType |
string |
The instance type. Valid values:
|
lindorm_v2 |
| WhiteIpList |
array<object> |
The instance access whitelist. |
|
|
object |
The instance access whitelist. |
||
| GroupName |
string |
The group name. Only letters, digits, and underscores are allowed. |
swhy |
| IpList |
string |
The IP addresses in the whitelist. |
['10.2.0.0/18', '10.0.0.0/24', '119.23.188.139/32'] |
| StorageUsage |
object |
The instance storage usage level. |
|
| CapacityByDiskCategory |
array<object> |
The instance storage usage level. |
|
|
object |
The instance storage usage level. |
Capacity |
|
| EngineUsage |
object |
The storage usage of each engine. |
16 |
| ZoneEngineInfoMap |
object |
The details of engine deployment by zone. |
ZoneEngineInfoMap |
| InitialRootPassword |
string |
The initial default password. |
***** |
| DiskThreshold |
string |
The disk space threshold. |
80% |
| EnableCompute |
boolean |
Indicates whether the compute engine is activated for the instance. Valid values:
|
true |
| MaintainStartTime |
string |
The start time of the maintenance window, in HH:mmZ format (UTC). |
00:00Z |
| MaintainEndTime |
string |
The end time of the maintenance window, in HH:mmZ format (UTC). |
20:00Z |
| CloudStorageSize |
integer |
The cloud storage capacity, in GB. |
480 |
| EnableFs |
string |
Indicates whether the file engine is activated. |
false |
| EnableStoreTDE |
string |
Indicates whether storage TDE encryption is enabled. |
false |
Examples
Success response
JSON format
{
"VpcId": "vpc-bp1xxxxxxxxxxxxxxxxxx",
"VswitchId": "vsw-bp1xxxxxxxxxxxxxxxxxx",
"PayType": "POSTPAY",
"NetworkType": "VPC",
"DiskUsage": "0.0%",
"DiskCategory": "PerformanceStorage",
"RequestId": "1556DCB0-043A-4444-8BD9-CF4A68E7EE64",
"ColdStorage": 800,
"ExpiredMilliseconds": 1629993600000,
"AutoRenew": true,
"DeletionProtection": "false",
"AliUid": 0,
"InstanceId": "ld-bp1mq0tdzbx1m****",
"InstanceType": "basic",
"RegionId": "cn-hangzhou",
"CreateMilliseconds": 1627290664000,
"InstanceAlias": "lindorm-test",
"ZoneId": "cn-hangzhou-h",
"InstanceStatus": "ACTIVATION",
"PrimaryZoneId": "cn-shanghai-e",
"PrimaryVSwitchId": "vsw-uf6fdqa7c0pipnqzq****",
"StandbyZoneId": "cn-shanghai-f",
"StandbyVSwitchId": "vsw-2zec0kcn08cgdtr6****",
"ArbiterZoneId": "cn-shanghai-g",
"ArbiterVSwitchId": "vsw-uf6664pqjawb87k36****",
"EngineList": [
{
"Version": "2.2.3",
"Engine": "TABLE",
"IsLastVersion": false,
"LatestVersion": "2.2.19.2",
"ConnectAddressList": [
{
"Address": "ld-mxj9asg***-proxy-lindorm-vpc.lindorm.aliyuncs.com:33060",
"Type": "INTRANET",
"Port": "33060"
}
],
"NodeGroup": [
{
"NodeSpec": "lindorm.g.2xlarge",
"EnableAttachLocalDisk": false,
"LocalDiskCategory": "cloud_essd",
"LocalDiskCapacity": 100,
"CpuCoreCount": 32,
"MemorySizeGiB": 64,
"Quantity": 10,
"Category": "caculated",
"ResourceGroupName": "job_debug",
"SpecId": "ecs.c6.large",
"Status": "ACTIVATION"
}
]
}
],
"ResourceGroupId": "rg-aek2i6weeb4nfii",
"ServiceType": "lindorm_v2",
"WhiteIpList": [
{
"GroupName": "swhy",
"IpList": "['10.2.0.0/18', '10.0.0.0/24', '119.23.188.139/32']"
}
],
"StorageUsage": {
"CapacityByDiskCategory": [
{
"test": "test",
"test2": 1
}
],
"EngineUsage": 16
},
"ZoneEngineInfoMap": {
"test": "test",
"test2": 1
},
"InitialRootPassword": "*****",
"DiskThreshold": "80%",
"EnableCompute": true,
"MaintainStartTime": "00:00Z",
"MaintainEndTime": "20:00Z",
"CloudStorageSize": 480,
"EnableFs": "false",
"EnableStoreTDE": "false"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Lindorm.Errorcode.ParameterInvaild | The parameter is invalid. | |
| 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.