Lindorm インスタンスのリストをクエリします。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
lindorm:GetLindormInstanceList |
get |
*Instance
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
任意 |
インスタンスが配置されているリージョンの ID。DescribeRegions を呼び出してリージョン ID を取得します。 |
cn-hangzhou |
| QueryStr |
string |
任意 |
インスタンス名であいまい検索するためのキーワード。 |
test |
| PageNumber |
integer |
任意 |
返すページ番号。 |
1 |
| PageSize |
integer |
任意 |
ページングクエリで各ページに返すエントリ数。 |
20 |
| ServiceType |
string |
任意 |
インスタンスのタイプ。 有効値:
|
lindorm |
| SupportEngine |
integer |
任意 |
クエリするインスタンスがサポートするエンジンのタイプ。 有効値:
説明
例えば、値が 15 (8 + 4 + 2 + 1) の場合、インスタンスがファイルエンジン、LindormTable、LindormTSDB、および検索エンジンをサポートすることを示します。 値が 6 (4 + 2) の場合、インスタンスが LindormTSDB と LindormTable をサポートすることを示します。 |
15 |
| Tag |
array<object> |
任意 |
タグのリスト。 最大 20 個のタグを指定できます。 |
|
|
object |
任意 |
タグのリスト。 |
||
| Key |
string |
任意 |
タグのキー。 説明
複数のタグのキーを渡すことができます。 例えば、最初のペアの Key は最初のタグのキーを表し、2 番目のペアの Key は 2 番目のタグのキーを表します。 |
test |
| Value |
string |
任意 |
タグの値。 説明
複数のタグの値を指定できます。 例えば、最初のペアの Value は最初のタグの値であり、2 番目のペアの Value は 2 番目のタグの値です。 |
2.2.18 |
| ResourceGroupId |
string |
任意 |
リソースグループの ID。 |
rg-aek3b63arvg27vi |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエストの ID。 |
1CA1FAFD-E8DC-51C2-AA7E-CA6E2D049BA0 |
| PageNumber |
integer |
返されたページのページ番号。 |
1 |
| PageSize |
integer |
ページに返されたエントリ数。 |
20 |
| Total |
integer |
見つかったインスタンスの総数。 |
1 |
| InstanceList |
array<object> |
インスタンスのリスト。 |
|
|
array<object> |
|||
| VpcId |
string |
インスタンスがデプロイされている VPC の ID。 |
vpc-bp1n3i15v90el48nx**** |
| EngineType |
string |
インスタンスがサポートするエンジンのタイプ。 このパラメーターの値は、サポートされているエンジンの値の合計です。
説明
例えば、値が 15 (8 + 4 + 2 + 1) の場合、インスタンスがファイルエンジン、LindormTable、LindormTSDB、および検索エンジンをサポートすることを示します。 値が 6 (4 + 2) の場合、インスタンスが LindormTSDB と LindormTable をサポートすることを示します。 |
15 |
| ExpireTime |
string |
インスタンスの有効期限。 説明
このパラメーターは、サブスクリプションインスタンスに対してのみ返されます。 |
2022-04-26 00:00:00 |
| CreateTime |
string |
インスタンスが作成された時間。 |
2021-09-16 14:13:13 |
| PayType |
string |
インスタンスの課金方法。 有効値:
|
PREPAY |
| AliUid |
integer |
Alibaba Cloud アカウントの 16 桁の ID。 |
164901546557**** |
| InstanceStorage |
string |
インスタンスのストレージ容量。 |
960 |
| InstanceId |
string |
インスタンスの ID。 |
ld-bp17pwu1541ia**** |
| NetworkType |
string |
インスタンスのネットワークタイプ。 |
vpc |
| ServiceType |
string |
インスタンスのタイプ。 有効値:
|
lindorm |
| RegionId |
string |
リージョンの ID。 |
cn-hangzhou |
| CreateMilliseconds |
integer |
インスタンスが作成されたときのタイムスタンプ。 値は、1970 年 1 月 1 日 00:00:00 (協定世界時) から経過したミリ秒数です。 |
1631772842000 |
| InstanceAlias |
string |
インスタンスの名前。 |
test |
| ZoneId |
string |
ゾーンの ID。 |
cn-hangzhou-h |
| InstanceStatus |
string |
インスタンスのステータス。 有効値:
|
ACTIVATION |
| ExpiredMilliseconds |
integer |
インスタンスの有効期限が切れるときのタイムスタンプ。 値は、1970 年 1 月 1 日 00:00:00 (協定世界時) から経過したミリ秒数です。 |
1650902400000 |
| EnableStream |
boolean |
インスタンスでストリームエンジンが有効になっているかどうかを示します。 有効値:
|
true |
| Tags |
array<object> |
タグのリスト。 |
|
|
object |
|||
| Key |
string |
タグのキー。 |
test |
| Value |
string |
タグの値。 |
2.2.18 |
| EnableCompute |
boolean |
インスタンスでコンピュートエンジンが有効になっているかどうかを示します。 有効値:
|
true |
| ResourceGroupId |
string |
リソースグループの ID。 |
rg-aekzledqeat**** |
| EnableMessage |
boolean |
メッセージングエンジンが有効になっているかどうかを示します。 有効値:
|
true |
| EnableVector |
boolean |
ベクトルエンジンが有効になっているかどうかを示します。 有効値:
|
true |
| EnableLts |
boolean |
LTS エンジンが有効になっているかどうかを示します。 有効値:
|
true |
| EnableColumn |
boolean |
列ストアエンジンが有効になっているかどうかを示します。 有効値:
|
true |
| EnableRow |
boolean |
LindormTable 3.0 エンジンが有効になっているかどうかを示します。 有効値: true:有効。 false:有効ではありません。 |
true |
| CreateErrorCode |
string |
インスタンスの作成に失敗した理由。 |
Resource is not enough |
例
成功レスポンス
JSONJSON
{
"RequestId": "1CA1FAFD-E8DC-51C2-AA7E-CA6E2D049BA0",
"PageNumber": 1,
"PageSize": 20,
"Total": 1,
"InstanceList": [
{
"VpcId": "vpc-bp1n3i15v90el48nx****",
"EngineType": "15",
"ExpireTime": "2022-04-26 00:00:00",
"CreateTime": "2021-09-16 14:13:13",
"PayType": "PREPAY",
"AliUid": 0,
"InstanceStorage": "960",
"InstanceId": "ld-bp17pwu1541ia****",
"NetworkType": "vpc",
"ServiceType": "lindorm",
"RegionId": "cn-hangzhou",
"CreateMilliseconds": 1631772842000,
"InstanceAlias": "test",
"ZoneId": "cn-hangzhou-h",
"InstanceStatus": "ACTIVATION",
"ExpiredMilliseconds": 1650902400000,
"EnableStream": true,
"Tags": [
{
"Key": "test",
"Value": "2.2.18"
}
],
"EnableCompute": true,
"ResourceGroupId": "rg-aekzledqeat****",
"EnableMessage": true,
"EnableVector": true,
"EnableLts": true,
"EnableColumn": true,
"EnableRow": true,
"CreateErrorCode": "Resource is not enough"
}
]
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | Instance.IsDeleted | The instance is deleted. | |
| 400 | Instance.IsNotAvailable | The instance is unavailable. | |
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。