擷取Lindorm執行個體的詳細資料,包括執行個體類型、付費類型、所屬專用網路等。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
lindorm:GetLindormInstance |
get |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| InstanceId |
string |
是 |
執行個體 ID,可調用 GetLindormInstanceList 介面擷取。 |
ld-bp1o3y0yme2i2**** |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| VpcId |
string |
執行個體所屬的Virtual Private Cloud的 ID。 |
vpc-bp1n3i15v90el48nx**** |
| VswitchId |
string |
虛擬交換器 ID。 |
vsw-bp1vbjzmod9q3l9eo**** |
| CreateTime |
string |
執行個體建立時間,格式:yyyy-MM-dd HH:mm:ss。 |
2021-07-26 17:10:26 |
| PayType |
string |
執行個體的付費類型,返回:
|
POSTPAY |
| NetworkType |
string |
執行個體的網路類型。 |
vpc |
| ServiceType |
string |
執行個體類型,取值:
|
lindorm |
| EnableKms |
boolean |
是否開啟Key Management Service,返回:
|
false |
| EnableStoreTDE |
boolean |
是否開啟儲存Data Encryption Service,返回:
|
false |
| DiskUsage |
string |
磁碟空間使用率。 |
0.0% |
| DiskCategory |
string |
儲存類型,返回:
|
cloud_efficiency |
| RequestId |
string |
請求 ID。 |
633F1BE4-C8DA-5744-8FDF-A3075C3FE37F |
| ColdStorage |
integer |
容量型雲端儲存容量。 |
0GB |
| ArchiveStorage |
integer |
Archive Storage類型的計費儲存量,單位 GB。 |
0GB |
| ExpiredMilliseconds |
integer |
執行個體到期時間與 1970-01-01 00:00:00 之間的毫秒值。 |
1629993600000 |
| EngineType |
integer |
支援引擎的類型,傳回值是由下列引擎類型的值做加法運算後得到的。
說明
例如:EngineType 值為 15,15=8+4+2+1,表示該執行個體支援搜尋引擎、時序引擎、寬表引擎和檔案引擎。EngineType 值為 6,6=4+2,表示該執行個體支援時序引擎和寬表引擎。 |
15 |
| ExpireTime |
string |
執行個體的到期時間,格式:yyyy-MM-dd HH:mm:ss。 說明
付費類型為訂用帳戶,才會返回本參數。 |
2021-08-27 00:00:00 |
| AutoRenew |
boolean |
是否開通自動續約,返回:
說明
執行個體的付費類型為訂用帳戶會返回此參數。 |
false |
| DeletionProtection |
string |
是否開啟刪除保護,返回:
|
false |
| InstanceStorage |
string |
執行個體的儲存容量。 |
480 |
| AliUid |
integer |
阿里雲帳號(主帳號)的 16 位 AliUid。 |
164901546557**** |
| InstanceId |
string |
執行個體 ID。 |
ld-bp1o3y0yme2i2**** |
| RegionId |
string |
地區 ID。 |
cn-hangzhou |
| CreateMilliseconds |
integer |
表示執行個體建立時間與 1970-01-01 00:00:00 之間的毫秒值。 |
1627290664000 |
| InstanceAlias |
string |
執行個體名稱。 |
test0726 |
| DiskThreshold |
string |
磁碟空間的閾值。 |
80% |
| ZoneId |
string |
可用性區域 ID。 |
cn-hangzhou-h |
| InstanceStatus |
string |
執行個體狀態,返回:
|
ACTIVATION |
| EngineList |
array<object> |
引擎資訊列表。 |
|
|
object |
引擎資訊列表。 |
||
| Version |
string |
引擎類型的版本號碼。 |
2.2.3 |
| CpuCount |
string |
引擎節點 CPU 數量。 |
4 |
| CoreCount |
string |
引擎節點數量。 |
2 |
| Engine |
string |
引擎類型,返回:
|
lindorm |
| Specification |
string |
引擎節點規格 |
lindorm.g.2xlarge |
| MemorySize |
string |
引擎類型的節點記憶體大小。 |
8GB |
| IsLastVersion |
boolean |
引擎類型是否最新版本,返回:
|
false |
| LatestVersion |
string |
引擎類型對應的最新的版本號碼。 |
2.2.19.2 |
| PrimaryCoreCount |
string |
主可用性區域節點數 |
2 |
| StandbyCoreCount |
string |
備可用性區域節點數 |
2 |
| ArbiterCoreCount |
string |
協調可用性區域節點數 |
2 |
| EnableCompute |
boolean |
是否開通執行個體的計算引擎,返回:
|
true |
| EnableSSL |
boolean |
是否開啟 SSL 鏈路加密功能,返回:
|
false |
| EnableMLCtrl |
boolean |
是否開通 AI 控制節點
|
False |
| EnableCdc |
boolean |
是否開通執行個體的資料訂閱功能,返回:
|
false |
| EnableStream |
boolean |
執行個體是否開通流引擎,傳回值:
|
true |
| EnableLTS |
boolean |
執行個體是否開通 LTS 引擎,傳回值:
|
true |
| EnableShs |
boolean |
是否開通計算引擎 History Server。 |
true |
| EnableBlob |
boolean |
執行個體是否開通 LBlob,傳回值: true:開通 LBlob。 false:未開通 LBlob。 |
true |
| MaintainStartTime |
string |
可維護開始時間。 |
00:00Z |
| MaintainEndTime |
string |
可維護結束時間。 |
20:00Z |
| ResourceGroupId |
string |
資源群組 ID。 |
rg-aek2wvd6oia**** |
| PrimaryZoneId |
string |
多可用性區域執行個體,主可用性區域的可用性區域 ID。 |
cn-shanghai-e |
| StandbyZoneId |
string |
多可用性區域執行個體,備可用性區域的可用性區域 ID。 |
cn-shanghai-f |
| ArbiterZoneId |
string |
多可用性區域執行個體,協調可用性區域的可用性區域 ID。 |
cn-shanghai-g |
| PrimaryVSwitchId |
string |
多可用性區域執行個體,主可用性區域的虛擬交換器 ID,必須在 PrimaryZoneId 對應的可用性區域下。 |
vsw-uf6fdqa7c0pipnqzq**** |
| StandbyVSwitchId |
string |
多可用性區域執行個體,備可用性區域的虛擬交換器 ID,必須在 StandbyZoneId 對應的可用性區域下。 |
vsw-2zec0kcn08cgdtr6**** |
| ArbiterVSwitchId |
string |
多可用性區域執行個體,協調可用性區域虛擬交換器 ID,交換器需位於 ArbiterZoneId 對應的可用性區域下。 |
vsw-uf6664pqjawb87k36**** |
| MultiZoneCombination |
string |
多可用性區域組合。可用性區域組合支援情況可前往售賣頁查看。
|
cn-shanghai-efg-aliyun |
| CoreDiskCategory |
string |
多可用性區域執行個體,core 節點磁碟類型,返回:
|
cloud_efficiency |
| CoreSpec |
string |
多可用性區域執行個體,core 節點規格。 |
lindorm.g.xlarge |
| CoreNum |
integer |
多可用性區域執行個體,core 節點數量。 |
4 |
| CoreSingleStorage |
integer |
多可用性區域執行個體,core 單節點磁碟容量。 |
400 |
| LogDiskCategory |
string |
多可用性區域執行個體,log 節點磁碟類型,返回:
|
cloud_ssd |
| LogSpec |
string |
多可用性區域執行個體,log 節點規格。 |
lindorm.sn1.large |
| LogNum |
integer |
多可用性區域執行個體,log 節點數量。 |
4 |
| LogSingleStorage |
integer |
多可用性區域執行個體,log 單節點磁碟容量。 |
400GB |
| BackupInstance |
string |
備份執行個體 |
ld-xxxx |
| EnableLsqlVersionV3 |
boolean |
寬表引擎是否支援 LindormSQL-V3 能力,其相容 MySQL 協議, 2023-10-24 號之後新購的執行個體預設支援;存量執行個體需要聯絡值班同學評估後再開啟。
|
True |
| EnableLProxy |
boolean |
寬表引擎是否支援 Thrift、CQL 協議。如不支援的話,可以通過 SwitchLProxyService 介面進行開通與關閉。 True 表示支援 False 表示不支援 |
False |
| ArchVersion |
string |
部署架構,取值:
|
1.0 |
樣本
正常返回樣本
JSON格式
{
"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"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | Instance.IsDeleted | The instance is deleted. | |
| 400 | Instance.IsNotValid | The 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. | 操作失敗,當前環境中該API無法使用。 |
| 403 | Lindorm.Errorcode.ServiceLinkedRoleNoPermission | No permission to create service linked role. | 操作失敗,請先申請建立服務關聯角色的許可權。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。