Queries the details of a new architecture instance.
Operation description
For Lindorm clusters with an underlying storage version of 4.1.9 or later, refer to the LStorageUsageList parameter 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. |
ld-bp1mq0tdzbx1m**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| VpcId |
string |
The ID of the virtual private cloud (VPC) where the instance resides. |
vpc-bp1xxxxxxxxxxxxxxxxxx |
| VswitchId |
string |
The virtual switch 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 class. Valid values:
|
PerformanceStorage |
| RequestId |
string |
The request ID. |
1556DCB0-043A-4444-8BD9-CF4A68E7EE64 |
| ColdStorage |
integer |
The capacity of the storage-optimized cloud storage. |
800 |
| ExpiredMilliseconds |
integer |
The number of milliseconds between the instance expiration time and 00:00:00 on January 1, 1970. |
1629993600000 |
| AutoRenew |
boolean |
Indicates whether auto-renewal is enabled. Valid values:
Note
This parameter is returned only for subscription instances. |
true |
| DeletionProtection |
string |
Indicates whether deletion protection is enabled. Valid values:
|
false |
| AliUid |
integer |
The 16-digit ID of the Alibaba Cloud account. |
164901546557**** |
| InstanceId |
string |
The instance ID. |
ld-bp1mq0tdzbx1m**** |
| InstanceType |
string |
The instance type. Valid value:
|
basic |
| RegionId |
string |
The region ID. |
cn-hangzhou |
| CreateMilliseconds |
integer |
The number of milliseconds between the instance creation time and 00:00:00 on January 1, 1970. |
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 |
For a multi-zone instance, this is the ID of the primary zone. |
cn-shanghai-e |
| PrimaryVSwitchId |
string |
For a multi-zone instance, this is the ID of the virtual switch in the primary zone. The vSwitch must be in the zone specified by `PrimaryZoneId`. |
vsw-uf6fdqa7c0pipnqzq**** |
| StandbyZoneId |
string |
For a multi-zone instance, this is the ID of the secondary zone. |
cn-shanghai-f |
| StandbyVSwitchId |
string |
For a multi-zone instance, this is the ID of the virtual switch in the secondary zone. The vSwitch must be in the zone specified by `StandbyZoneId`. |
vsw-2zec0kcn08cgdtr6**** |
| ArbiterZoneId |
string |
For a multi-zone instance, this is the ID of the arbiter zone. |
cn-shanghai-g |
| ArbiterVSwitchId |
string |
For a multi-zone instance, this is the ID of the virtual switch in the arbiter zone. 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 the latest version. Valid values:
|
false |
| LatestVersion |
string |
The latest version number for the engine type. |
2.2.19.2 |
| ConnectAddressList |
array<object> |
A list of engine endpoints. |
|
|
object |
A list of engine endpoints. |
||
| Address |
string |
The endpoint. |
ld-mxj9asg***-proxy-lindorm-vpc.lindorm.aliyuncs.com:33060 |
| Type |
string |
The endpoint type.
|
INTRANET |
| Port |
string |
The port number of the database endpoint. |
33060 |
| NodeGroup |
array<object> |
A list of engine node groups. |
|
|
object |
A list of engine node groups. |
||
| NodeSpec |
string |
The node specifications. If you select Performance cloud storage or Standard cloud storage, this parameter can be set to one of the following values:
If you select Local SSD, this parameter can be set to one of the following values:
If you select Big Data, this parameter can be set to one of the following values:
|
lindorm.g.2xlarge |
| EnableAttachLocalDisk |
boolean |
Indicates whether a local disk is attached to the node. |
false |
| LocalDiskCategory |
string |
The type of the local disk.
|
cloud_essd |
| LocalDiskCapacity |
integer |
The capacity of the local disk in GB. |
100 |
| CpuCoreCount |
integer |
The number of vCPUs for 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 name of the node group. Required. This must be the same as the name used during creation. |
job_debug |
| SpecId |
string |
The unique ID that 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. The name can contain only letters, digits, and underscores (_). |
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. |
|
| CapacityByDiskCategory |
array<object> |
The instance storage usage. |
|
|
object |
The instance storage usage. |
Capacity |
|
| EngineUsage |
object |
The storage usage of each engine. |
16 |
| ZoneEngineInfoMap |
object |
The deployment details of the engine in the zone. |
ZoneEngineInfoMap |
| InitialRootPassword |
string |
The default initial password. |
***** |
| DiskThreshold |
string |
The disk space threshold. |
80% |
| EnableCompute |
boolean |
Indicates whether the compute engine is enabled for the instance. Valid values:
|
true |
| MaintainStartTime |
string |
The start time of the maintenance window. |
00:00Z |
| MaintainEndTime |
string |
The end time of the maintenance window. |
20:00Z |
| CloudStorageSize |
integer |
The cloud storage capacity in GB. |
480 |
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
}
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.