Melihat detail instance gateway
Coba sekarang
Test
RAM authorization
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| GwClusterId |
string |
Yes |
ID instance gateway. |
pg-xxxxxxx |
| RegionId |
string |
No |
ID region. |
cn-beijing |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons |
||
| RequestId |
string |
ID permintaan. |
3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF |
| VpcId |
string |
ID VPC tempat instance gateway di-deploy. |
vpc-************* |
| VSwitchId |
string |
ID VSwitch tempat instance gateway di-deploy. |
vsw-********************* |
| PayType |
string |
Metode penagihan instance gateway. Nilai yang valid:
|
Postpaid |
| GwClusterId |
string |
ID instance gateway. |
pg-xxxxxxx |
| GwDescription |
string |
Deskripsi instance gateway. |
xxx |
| Status |
string |
Status instance gateway. Nilai yang valid:
|
ACTIVATION |
| RegionId |
string |
ID region. |
cn-beijing |
| DbType |
string |
Tipe basis data. |
MySQL |
| CreateTime |
string |
Waktu saat instance gateway dibuat. |
2020-02-24T11:57:54Z |
| ModifyTime |
string |
Waktu saat instance gateway terakhir diubah. |
2025-10-07T02:19:55Z |
| ClassCode |
string |
Kode spesifikasi untuk instance gateway. |
polar.app.g2.medium |
| ExpireTime |
string |
Waktu saat langganan untuk instance gateway berakhir. Parameter ini kosong untuk instance bayar sesuai pemakaian. |
2027-04-22T16:00:00Z |
| Endpoints |
array<object> |
Daftar endpoint untuk instance gateway. |
|
|
object |
Berisi detail dari sebuah endpoint. |
||
| Address |
string |
Alamat endpoint. |
pg-xxxxx.polardbaigateway.pre.rds.aliyuncs.com |
| EndpointId |
string |
ID endpoint. |
xxx |
| GwClusterId |
string |
ID instance gateway. |
pg-xxxxxxx |
| Port |
string |
Nomor port. |
8080 |
| TunnelId |
string |
ID tunnel. |
1874631 |
| VpcId |
string |
ID VPC tempat endpoint berada. |
vpc-************* |
| NetType |
string |
Tipe jaringan endpoint. Nilai yang valid:
|
Public |
| Expired |
boolean |
Menunjukkan apakah langganan untuk instance gateway telah berakhir. Nilai yang valid:
|
False |
| SecurityIPArrays |
array<object> |
Daftar whitelist IP untuk instance gateway. |
|
|
object |
Berisi detail dari sebuah whitelist IP. |
||
| SecurityIPArrayTag |
string |
Tag dari whitelist IP. |
mytag |
| SecurityIPList |
string |
Daftar alamat IP yang dipisahkan koma dalam whitelist IP. |
127.0.0.1 |
| SecurityIPArrayName |
string |
Nama whitelist IP. Nilai default adalah |
default |
| LatestVersion |
string |
||
| CurrentVersion |
string |
||
| RunningVersion |
string |
Contoh
Respons sukses
JSONformat
{
"RequestId": "3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF",
"VpcId": "vpc-*************",
"VSwitchId": "vsw-*********************",
"PayType": "Postpaid",
"GwClusterId": "pg-xxxxxxx",
"GwDescription": "xxx",
"Status": "ACTIVATION",
"RegionId": "cn-beijing",
"DbType": "MySQL",
"CreateTime": "2020-02-24T11:57:54Z",
"ModifyTime": "2025-10-07T02:19:55Z",
"ClassCode": "polar.app.g2.medium",
"ExpireTime": "2027-04-22T16:00:00Z",
"Endpoints": [
{
"Address": "pg-xxxxx.polardbaigateway.pre.rds.aliyuncs.com",
"EndpointId": "xxx",
"GwClusterId": "pg-xxxxxxx",
"Port": "8080",
"TunnelId": "1874631",
"VpcId": "vpc-*************",
"NetType": "Public"
}
],
"Expired": true,
"SecurityIPArrays": [
{
"SecurityIPArrayTag": "mytag",
"SecurityIPList": "127.0.0.1",
"SecurityIPArrayName": "default"
}
],
"LatestVersion": "",
"CurrentVersion": "",
"RunningVersion": ""
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.