修改執行個體位址連結字串。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
polardbx:ModifyDBInstanceConnectionString |
none |
*全部資源。
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| RegionId |
string |
是 |
地域 ID。 |
cn-hangzhou |
| DBInstanceName |
string |
是 |
執行個體 ID。 |
pxc-unrf5ssig0ecg8 |
| NewPrefix |
string |
是 |
新的位址前置詞。 |
test2 |
| ConnectionString |
string |
是 |
原位址連結資訊。 |
pxc-unrf5ssig0ecg8.polarx.huhehaote.rds.aliyuncs.com |
| NewPort |
string |
是 |
新的位址連接埠。 |
3300 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| Message |
string |
介面返回資訊,一般為錯誤資訊。 |
success |
| Data |
object |
新的位址連結字串資訊。 |
|
| ConnectionString |
string |
位址連結字串。 |
test2.polarx.huhehaote.rds.aliyuncs.com |
| DBInstanceName |
string |
執行個體 ID。 |
pxc-unrf5ssig0ecg8 |
| DBInstanceNetType |
string |
位址連結字串的網路類型。 |
1 |
| Port |
string |
位址連接埠。 |
3300 |
| Code |
integer |
介面返回 Code。 |
200 |
| RequestId |
string |
請求 RequestId,唯一識別碼。 |
c3cf535c-a585-11ea-8263-00163e04d3a7 |
樣本
正常返回樣本
JSON格式
{
"Message": "success",
"Data": {
"ConnectionString": "test2.polarx.huhehaote.rds.aliyuncs.com",
"DBInstanceName": "pxc-unrf5ssig0ecg8",
"DBInstanceNetType": "1",
"Port": "3300"
},
"Code": 200,
"RequestId": "c3cf535c-a585-11ea-8263-00163e04d3a7"
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。