グローバルデータベースネットワーク (GDN) の詳細を説明します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
polardb:DescribeGlobalDatabaseNetwork |
get |
*dbcluster
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| GDNId |
string |
必須 |
GDN の ID。 |
gdn-bp1fttxsrmv***** |
| ResourceGroupId |
string |
任意 |
リソースグループの ID。 |
rg-************ |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| GDNStatus |
string |
GDN のステータス。有効な値:
|
active |
| Connections |
array<object> |
接続情報。 |
|
|
object |
|||
| ConnectionString |
string |
接続文字列。 |
abc.polardb.rds.aliyuncs.com |
| NetType |
string |
ネットワークタイプ。 |
Private |
| Port |
string |
接続文字列のポート番号。 |
3306 |
| DBVersion |
string |
データベースエンジンのバージョン。バージョン 8.0 のみがサポートされています。 |
8.0 |
| RequestId |
string |
リクエスト ID。 |
67F2E75F-AE67-4FB2-821F-A81237EACD15 |
| GDNId |
string |
GDN の ID。 |
gdn-bp1fttxsrmv***** |
| CreateTime |
string |
GDN が作成された時刻。 |
2020-02-24T11:57:54Z |
| DBType |
string |
データベースエンジンのタイプ。MySQL のみがサポートされています。 |
MySQL |
| GDNDescription |
string |
GDN の説明。説明は、次の要件を満たす必要があります:
|
GDN-fortest |
| GlobalDomainName |
string |
グローバルドメイン名。 |
[gdnid].gdn.rds.aliyuncs.com |
| DBClusters |
array<object> |
GDN 内のクラスター。 |
|
|
array<object> |
|||
| ReplicaLag |
string |
プライマリクラスターとセカンダリクラスター間のクロスリージョンレプリケーションの遅延。単位:秒。 |
1 |
| ExpireTime |
string |
クラスターの有効期限。 説明
このパラメーターは、サブスクリプションクラスターに対してのみ返されます。従量課金クラスターの場合は、空の値が返されます。 |
2020-11-14T16:00:00Z |
| Expired |
string |
クラスターの有効期限が切れているかどうかを示します。
説明
このパラメーターは、サブスクリプションクラスターに対してのみ返されます。 |
false |
| DBNodeClass |
string |
データベースノードの仕様。 |
polar.mysql.x4.large |
| PayType |
string |
課金方法:
|
Prepaid |
| DBType |
string |
データベースエンジンのタイプ。MySQL のみがサポートされています。 |
MySQL |
| RegionId |
string |
リージョン ID。 |
cn-hangzhou |
| DBVersion |
string |
データベースエンジンのバージョン。バージョン 8.0 のみがサポートされています。 |
8.0 |
| DBClusterId |
string |
GDN 内のクラスターの ID。 |
pc-wz9fb5nn44u1d**** |
| DBClusterStatus |
string |
GDN 内のクラスターのステータス。詳細については、「クラスターの状態」をご参照ください。 |
Running |
| StorageUsed |
string |
使用済みストレージ容量。単位:バイト。 |
3012558848 |
| DBClusterDescription |
string |
クラスターの説明。 |
test |
| Category |
string |
クラスターのエディション。有効な値: Normal:クラスター版 Basic:シングルノード版 Archive:X-Engine 版 NormalMultimaster:マルチマスタークラスター版 SENormal:Standard Edition 説明
|
Normal |
| Role |
string |
クラスターのロール。有効な値:
説明
GDN には、1 つのプライマリクラスターと最大 4 つのセカンダリクラスターが含まれます。 |
primary |
| ServerlessType |
string |
Serverless クラスターのタイプ。値は AgileServerless に固定されています。 説明
このパラメーターは、Serverless クラスターでのみサポートされています。 |
AgileServerless |
| DBNodes |
array<object> |
データベースノードの詳細。 |
|
|
object |
|||
| DBNodeClass |
string |
データベースノードの仕様。 |
polar.mysql.x4.large |
| ZoneId |
string |
ゾーン ID。 |
cn-hangzhou-i |
| CreationTime |
string |
データベースノードが作成された時刻。 |
2020-03-23T21:35:43Z |
| DBNodeRole |
string |
データベースノードのロール。有効な値:
|
Reader |
| DBNodeStatus |
string |
ノードのステータス。有効な値:
|
Running |
| FailoverPriority |
integer |
フェールオーバーの優先度。各ノードにはフェールオーバーの優先度があります。優先度が高いほど、フェールオーバー中にノードがプライマリノードとして選択される可能性が高くなります。値は 1 から 15 までの整数です。 |
1 |
| MaxConnections |
integer |
クラスターへの最大同時接続数。 |
8000 |
| MaxIOPS |
integer |
最大 IOPS (input/output operations per second)。 |
32000 |
| DBNodeId |
string |
データベースノードの ID。 |
pi-**************** |
| DBClusterId |
string |
クラスター ID。 |
pc-bp1s826a1up****** |
| ResourceGroupId |
string |
リソースグループ ID。 |
rg-************ |
| Labels |
object |
||
| GDNVersion |
string |
例
成功レスポンス
JSONJSON
{
"GDNStatus": "active",
"Connections": [
{
"ConnectionString": "abc.polardb.rds.aliyuncs.com",
"NetType": "Private",
"Port": "3306"
}
],
"DBVersion": "8.0",
"RequestId": "67F2E75F-AE67-4FB2-821F-A81237EACD15",
"GDNId": "gdn-bp1fttxsrmv*****",
"CreateTime": "2020-02-24T11:57:54Z",
"DBType": "MySQL",
"GDNDescription": "GDN-fortest",
"GlobalDomainName": "[gdnid].gdn.rds.aliyuncs.com",
"DBClusters": [
{
"ReplicaLag": "1",
"ExpireTime": "2020-11-14T16:00:00Z",
"Expired": "false",
"DBNodeClass": "polar.mysql.x4.large",
"PayType": "Prepaid",
"DBType": "MySQL",
"RegionId": "cn-hangzhou",
"DBVersion": "8.0",
"DBClusterId": "pc-wz9fb5nn44u1d****",
"DBClusterStatus": "Running",
"StorageUsed": "3012558848",
"DBClusterDescription": "test",
"Category": "Normal",
"Role": "primary",
"ServerlessType": "AgileServerless",
"DBNodes": [
{
"DBNodeClass": "polar.mysql.x4.large",
"ZoneId": "cn-hangzhou-i",
"CreationTime": "2020-03-23T21:35:43Z",
"DBNodeRole": "Reader",
"DBNodeStatus": "Running",
"FailoverPriority": 1,
"MaxConnections": 8000,
"MaxIOPS": 32000,
"DBNodeId": "pi-****************"
}
]
}
],
"DBClusterId": "pc-bp1s826a1up******",
"ResourceGroupId": "rg-************",
"Labels": {
"GDNVersion": ""
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | GDN.NotFound | Failed to found GdnInstance by name:%s | |
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。