全部產品
Search
文件中心

PolarDB:DescribeGatewayAttribute - 查詢網關執行個體詳情

更新時間:May 09, 2026

查詢網關執行個體詳情

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求文法

POST  HTTP/1.1

請求參數

名稱

類型

必填

描述

樣本值

GwClusterId

string

網關執行個體 ID。

pg-xxxxxxx

RegionId

string

地區 ID。

cn-beijing

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

RequestId

string

Id of the request

3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF

VpcId

string

交換器所屬專用網路 ID。

vpc-*************

VSwitchId

string

虛擬交換器 ID。

vsw-*********************

PayType

string

付費類型。取值範圍如下:

  • Postpaid:隨用隨付。

  • Prepaid:預付費(訂用帳戶)。

Postpaid

GwClusterId

string

網關執行個體 ID。

pg-xxxxxxx

GwDescription

string

網關描述

xxx

Status

string

應用狀態,取值範圍

  • CREATE: 建立中

  • ACTIVATION: 運行中

ACTIVATION

RegionId

string

地區 ID。

cn-beijing

DbType

string

資料庫類型。

MySQL

CreateTime

string

建立時間

2020-02-24T11:57:54Z

ModifyTime

string

最後修改時間。

2025-10-07T02:19:55Z

ClassCode

string

規格代碼。

polar.app.g2.medium

ExpireTime

string

到期時間。

付費類型為 Postpaid 時為空白

2027-04-22T16:00:00Z

Endpoints

array<object>

串連地址清單

object

串連地址對象

Address

string

串連地址

pg-xxxxx.polardbaigateway.pre.rds.aliyuncs.com

EndpointId

string

串連節點 ID。

xxx

GwClusterId

string

網關執行個體 ID。

pg-xxxxxxx

Port

string

連接埠

8080

TunnelId

string

隧道 ID。

1874631

VpcId

string

交換器所屬專用網路 ID。

vpc-*************

NetType

string

串連地址類型

  • Private: VPC 地址

  • Public: 公網地址

Public

Expired

boolean

是否叢集已到期。取值範圍如下:

  • true

  • false

False

SecurityIPArrays

array<object>

應用層級的白名單

object

應用層級的白名單

SecurityIPArrayTag

string

IP 位址組的標籤

mytag

SecurityIPList

string

白名單 IP 位址,英文逗號分隔

127.0.0.1

SecurityIPArrayName

string

該 IP 位址組的名稱,預設為default

default

LatestVersion

string

CurrentVersion

string

RunningVersion

string

樣本

正常返回樣本

JSON格式

{
  "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": ""
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情