特定の ApsaraDB for ClickHouse クラスターの詳細を取得します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
clickhouse:DescribeDBClusterAttribute |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| DBClusterId |
string |
必須 |
クラスター ID。DescribeDBClusters 操作を呼び出して、リージョン内のすべてのクラスターの詳細 (ID を含む) を照会できます。 |
cc-bp108z124a8o7**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
返されるデータ。 |
||
| DBCluster |
object |
クラスターの詳細。 |
|
| VpcId |
string |
VPC ID。 |
vpc-bp10tr8k9qasioaty**** |
| SupportBackup |
integer |
クラスターがデータバックアップをサポートしているかどうか。有効値:
|
1 |
| SupportOss |
integer |
クラスターがホットデータとコールドデータの階層化ストレージをサポートしているかどうか。有効値:
|
1 |
| EncryptionType |
string |
暗号化タイプ。有効値:
|
CloudDisk |
| DBNodeCount |
integer |
クラスター内のノード数。
|
1 |
| MaintainTime |
string |
クラスターのメンテナンスウィンドウ。時刻は たとえば、 |
00:00Z-01:00Z |
| CreateTime |
string |
クラスターの作成時刻。 |
2021-12-13T11:33:11Z |
| PayType |
string |
課金方法。有効値:
|
Prepaid |
| Tags |
object |
クラスターのタグ。 |
|
| Tag |
array<object> |
タグのリスト。 |
|
|
object |
タグオブジェクト。 |
||
| Key |
string |
タグのキー。 |
department |
| Value |
string |
タグの値。 |
it |
| PublicConnectionString |
string |
パブリックエンドポイント。 |
cc-bp1199ya710s7****.public.clickhouse.ads.aliyuncs.com |
| StorageType |
string |
ストレージタイプ。有効値:
|
CloudESSD |
| Port |
integer |
HTTP ポート。 |
8123 |
| LockMode |
string |
クラスターのロックモード。有効値:
|
Unlock |
| Bid |
string |
サイト ID。有効値:
|
26842 |
| EngineVersion |
string |
エンジンバージョン。 |
21.8.10.19 |
| IsExpired |
string |
クラスターの有効期限が切れているかどうか。有効値:
|
false |
| ScaleOutStatus |
object |
データ移行のステータス。 |
|
| Progress |
string |
データ移行の進捗状況 (パーセンテージ)。 説明
このパラメーターは、クラスターが |
0 |
| Ratio |
string |
データ移行の進捗状況。「移行されたデータ量/合計データ量」として表示されます。 説明
このパラメーターは、クラスターが |
0MB/60469MB |
| LbKind |
string |
ロードバランサーのタイプ。 |
clb |
| DBClusterId |
string |
クラスター ID。 |
cc-bp108z124a8o7**** |
| ConnectionString |
string |
VPC エンドポイント。 |
cc-bp1qx68m06981****.ads.rds.aliyuncs.com |
| EncryptionKey |
string |
Key Management Service (KMS) のキー ID。 説明
|
685f416f-87c9-4554-8d3a-75b6ce25**** |
| DBClusterType |
string |
クラスタータイプ。有効値:
|
Common |
| CommodityCode |
string |
商品コード。 |
clickhouse_go_public_cn |
| ExpireTime |
string |
クラスターの有効期限。 説明
このパラメーターは、従量課金クラスターの場合は空です。 |
2022-11-11T16:00:00Z |
| DBNodeStorage |
integer |
ノードあたりのストレージ容量 (GB)。 値の範囲は 100~32000 です。 説明
値は 100 の倍数である必要があります。 |
100 |
| DBNodeClass |
string |
クラスターノードのインスタンスタイプ。
|
C8 |
| AliUid |
string |
Alibaba Cloud アカウント ID。 |
140692647406**** |
| LockReason |
string |
クラスターがロックされた理由。 説明
|
DISK_FULL |
| RegionId |
string |
リージョン ID。 |
cn-hangzhou |
| PublicPort |
string |
パブリック TCP ポート。 |
3306 |
| VSwitchId |
string |
vSwitch ID。 |
vsw-bp1n874li1t5y57wi**** |
| DBClusterStatus |
string |
クラスターのステータス。有効値:
|
Running |
| DBClusterNetworkType |
string |
ネットワークタイプ。VPC のみがサポートされています。 |
vpc |
| DBClusterDescription |
string |
クラスターの説明。 |
cc-bp108z124a8o7**** |
| ZoneId |
string |
ゾーン ID。 |
cn-hangzhou-h |
| Category |
string |
クラスターのエディション。有効値:
|
HighAvailability |
| Engine |
string |
データベースエンジン。 |
ClickHouse |
| SupportMysqlPort |
boolean |
MySQL ポートがサポートされているかどうか。有効値:
|
false |
| SupportHttpsPort |
boolean |
HTTPS ポートがサポートされているかどうか。有効値:
|
false |
| ControlVersion |
string |
バックエンド管理システムのバージョン。有効値:
|
v1 |
| PublicIpAddr |
string |
パブリックエンドポイントの IP アドレス。 |
121.40.xx.xx |
| EngineMinorVersion |
string |
エンジンの現在のマイナーバージョン。 |
1.6.0 |
| EngineLatestMinorVersion |
string |
クラスターをアップグレードできる最新のマイナーバージョン。 |
1.34.0 |
| MaintainAutoType |
boolean |
アップグレード方法。値が |
false |
| ExtStorageType |
string |
拡張ストレージタイプ。有効値:
|
CloudESSD |
| ExtStorageSize |
integer |
拡張ストレージ容量 (GB)。 |
500 |
| ResourceGroupId |
string |
リソースグループ ID。 |
rg-acfmyf65je6**** |
| ZookeeperClass |
string |
ZooKeeper ノードの仕様。 |
4 Core 8 GB |
| AppointmentRestartTime |
string |
スケジュールされた再起動時刻。時刻は |
2023-11-06T12:00:00Z |
| ZoneIdVswitchMap |
object |
マルチゾーンクラスターのゾーン ID と vSwitch ID のマップ。 |
cn-shanghai-f: vsw-zm0n42d5vvuo**** |
| AvailableUpgradeMajorVersion |
object |
クラスターをアップグレードできる利用可能なメジャーバージョンとその最新のマイナーバージョン。 |
{"MajorVersion":"MinorVersion"} |
| AppointmentRestartNodeTime |
string |
特定のノードを再起動するスケジュール時刻。時刻は |
2023-11-06T12:00:00Z |
| AppointmentRestartNodeList |
string |
再起動がスケジュールされているノードのリスト。 |
ck-k1a976p3n********-****-clickhouse-s-0-r-0,ck-k1a976p3n********-****-clickhouse-s-0-r-1 |
| AppointmentElectZookeeperTime |
string |
プライマリ/セカンダリ スイッチオーバーのスケジュール時刻。時刻は |
2023-11-06T12:00:00Z |
| AppointmentElectZookeeperDisableWrite |
boolean |
プライマリ/セカンダリ スイッチオーバー中に書き込み操作を停止するかどうかを指定します。有効値:
|
true |
| VpcIpAddr |
string |
VPC エンドポイントの IP アドレス。 |
192.168.xx.xx |
| VpcCloudInstanceId |
string |
VPC ID。 |
vpc-bp10tr8k9qasioaty**** |
| WebUIStatus |
string |
active |
|
| WebUISnatStatus |
string |
active |
|
| RequestId |
string |
リクエスト ID。 |
05321590-BB65-4720-8CB6-8218E041CDD0 |
例
成功レスポンス
JSONJSON
{
"DBCluster": {
"VpcId": "vpc-bp10tr8k9qasioaty****",
"SupportBackup": 1,
"SupportOss": 1,
"EncryptionType": "CloudDisk",
"DBNodeCount": 1,
"MaintainTime": "00:00Z-01:00Z",
"CreateTime": "2021-12-13T11:33:11Z",
"PayType": "Prepaid",
"Tags": {
"Tag": [
{
"Key": "department",
"Value": "it"
}
]
},
"PublicConnectionString": "cc-bp1199ya710s7****.public.clickhouse.ads.aliyuncs.com",
"StorageType": "CloudESSD",
"Port": 8123,
"LockMode": "Unlock",
"Bid": "26842",
"EngineVersion": "21.8.10.19",
"IsExpired": "false",
"ScaleOutStatus": {
"Progress": "0",
"Ratio": "0MB/60469MB"
},
"LbKind": "clb",
"DBClusterId": "cc-bp108z124a8o7****",
"ConnectionString": "cc-bp1qx68m06981****.ads.rds.aliyuncs.com",
"EncryptionKey": "685f416f-87c9-4554-8d3a-75b6ce25****",
"DBClusterType": "Common",
"CommodityCode": "clickhouse_go_public_cn",
"ExpireTime": "2022-11-11T16:00:00Z",
"DBNodeStorage": 100,
"DBNodeClass": "C8",
"AliUid": "140692647406****",
"LockReason": "DISK_FULL",
"RegionId": "cn-hangzhou",
"PublicPort": "3306",
"VSwitchId": "vsw-bp1n874li1t5y57wi****",
"DBClusterStatus": "Running",
"DBClusterNetworkType": "vpc",
"DBClusterDescription": "cc-bp108z124a8o7****",
"ZoneId": "cn-hangzhou-h",
"Category": "HighAvailability",
"Engine": "ClickHouse",
"SupportMysqlPort": false,
"SupportHttpsPort": false,
"ControlVersion": "v1",
"PublicIpAddr": "121.40.xx.xx",
"EngineMinorVersion": "1.6.0",
"EngineLatestMinorVersion": "1.34.0",
"MaintainAutoType": false,
"ExtStorageType": "CloudESSD",
"ExtStorageSize": 500,
"ResourceGroupId": "rg-acfmyf65je6****",
"ZookeeperClass": "4 Core 8 GB",
"AppointmentRestartTime": "2023-11-06T12:00:00Z",
"ZoneIdVswitchMap": {
"test": "test",
"test2": 1
},
"AvailableUpgradeMajorVersion": {
"MajorVersion": "MinorVersion"
},
"AppointmentRestartNodeTime": "2023-11-06T12:00:00Z",
"AppointmentRestartNodeList": "ck-k1a976p3n********-****-clickhouse-s-0-r-0,ck-k1a976p3n********-****-clickhouse-s-0-r-1",
"AppointmentElectZookeeperTime": "2023-11-06T12:00:00Z",
"AppointmentElectZookeeperDisableWrite": true,
"VpcIpAddr": "192.168.xx.xx",
"VpcCloudInstanceId": "vpc-bp10tr8k9qasioaty****",
"WebUIStatus": "active",
"WebUISnatStatus": "active"
},
"RequestId": "05321590-BB65-4720-8CB6-8218E041CDD0"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The DBClusterId provided does not exist in our records. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。