全部產品
Search
文件中心

Database Gateway - Deprecated:DownloadGatewayProgram

更新時間:Feb 28, 2025

調用DownloadGatewayProgram擷取網關程式的下載地址。阿里雲使用者均可下載,無需許可權認證。

調試

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

請求參數

名稱 類型 是否必選 樣本值 描述
Action String DownloadGatewayProgram

系統規定參數。取值:DownloadGatewayProgram

UserOS String your OS

您使用的系統。

返回資料

名稱 類型 樣本值 描述
Code String OK

狀態代碼。

Data String https://public-buk.oss-cn-hangzhou.aliyuncs.com/db-gateway-pkgs/gateway-daemon-pkgs/aliyun-db-gateway.tar.gz?Expires=xxx/YV56pzE%3D

網關程式的下載地址。

ErrorMsg String

異常資訊。

RequestId String 028D8614-5940-4BC4-86BB-428E115F27DC

請求ID。

Success Boolean true

是否成功。

樣本

請求樣本

http(s)://dg.[regionId].aliyuncs.com/?Action=DownloadGatewayProgram
&<公用請求參數>

正常返回樣本

XML格式

<RequestId>028D8614-5940-4BC4-86BB-428E115F27DC</RequestId>
<ErrorMsg>無</ErrorMsg>
<Data>https://public-buk.oss-cn-hangzhou.aliyuncs.com/db-gateway-pkgs/gateway-daemon-pkgs/aliyun-db-gateway.tar.gz?Expires=xxx/YV56pzE%3D</Data>
<Code>OK</Code>
<Success>true</Success>

JSON格式

{"RequestId":"028D8614-5940-4BC4-86BB-428E115F27DC","ErrorMsg":"無","Data":"https://public-buk.oss-cn-hangzhou.aliyuncs.com/db-gateway-pkgs/gateway-daemon-pkgs/aliyun-db-gateway.tar.gz?Expires=xxx/YV56pzE%3D","Code":"OK","Success":"true"}

錯誤碼

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