AgenticDB クラスターのブランチ接続情報を照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
polardb:DescribeAgenticDBBranchEndpoints |
get |
*DBCluster。
|
なし | なし |
リクエスト構文
POST HTTP/1.1
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
リージョン ID。 |
cn-hangzhou |
| DBClusterId |
string |
必須 |
AgenticDB クラスターの ID。 |
pagc-bp1abcdef1234567 |
| TenantId |
string |
必須 |
ブランチが属するテナントの ID。 |
t-4b83e0da66674951 |
| ProjectId |
string |
必須 |
ブランチが属するプロジェクトの ID。 |
proj-a1b2c3d4e5f6 |
| BranchId |
string |
必須 |
ブランチの ID。 |
br-7g8h9i0j1k2l |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスのスキーマ。 |
||
| RequestId |
string |
リクエストの ID。 |
E5F6A7B8-C9D0-1234-EFAB-567890123EFA |
| Items |
array<object> |
エンドポイントのリスト。 |
|
|
array<object> |
エンドポイント情報。 |
||
| EndpointId |
string |
エンドポイントの ID。 |
ep-3m4n5o6p7q8r |
| EndpointType |
string |
エンドポイントタイプ。 |
ReadWrite |
| Address |
string |
互換接続エンドポイント。パブリックエンドポイントが最初に返されます。パブリックエンドポイントが利用できない場合は、プライベートエンドポイントが返されます。 |
10.0.1.100 |
| Port |
integer |
Address パラメーターに対応する互換接続ポート。 |
5432 |
| Database |
string |
データベース名。 |
neondb |
| Account |
string |
アカウント名。 |
cloud_admin |
| Password |
string |
パスワード。 |
****** |
| ConnectionString |
string |
互換接続文字列。パブリック接続文字列が最初に返されます。利用可能なパブリック接続文字列がない場合は、プライベート接続文字列が返されます。 |
postgresql://cloud_admin:******@10.0.1.100:5432/neondb |
| AddressItems |
array<object> |
パブリックおよびプライベートネットワークエンドポイントのリスト。 |
|
|
object |
ネットワーク接続エンドポイント。 |
||
| NetType |
string |
ネットワークタイプ。有効な値:
|
Private |
| Address |
string |
エンドポイント。 |
pe-cedar-cygfzprh775g.polaragentic.pre.rds.aliyuncs.com |
| Port |
integer |
ポート。 |
5460 |
| ConnectionString |
string |
完全な PostgreSQL 接続文字列。 |
postgresql://cloud_admin:******@pe-cedar-cygfzprh775g.polaragentic.pre.rds.aliyuncs.com:5460/neondb |
例
成功レスポンス
JSONJSON
{
"RequestId": "E5F6A7B8-C9D0-1234-EFAB-567890123EFA",
"Items": [
{
"EndpointId": "ep-3m4n5o6p7q8r",
"EndpointType": "ReadWrite",
"Address": "10.0.1.100",
"Port": 5432,
"Database": "neondb",
"Account": "cloud_admin",
"Password": "******",
"ConnectionString": "postgresql://cloud_admin:******@10.0.1.100:5432/neondb",
"AddressItems": [
{
"NetType": "Private",
"Address": "pe-cedar-cygfzprh775g.polaragentic.pre.rds.aliyuncs.com",
"Port": 5460,
"ConnectionString": "postgresql://cloud_admin:******@pe-cedar-cygfzprh775g.polaragentic.pre.rds.aliyuncs.com:5460/neondb"
}
]
}
]
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。