修改SAG裝置全域路由協議,適用於裝置類型為SCG5000或SCG5000-5G的Smart Access Gateway執行個體,且裝置版本為3.4.2及以上。
介面說明
目前僅裝置版本為 3.4.2 及以上的 SCG5000 和 SCG5000-5G 裝置支援修改Smart Access Gateway裝置全域路由協議。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
smartag:UpdateSmartAccessGatewayGlobalRouteProtocol |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| SagInsId |
string |
是 |
Smart Access Gateway執行個體 ID。 |
sag-3manef62evrfr6**** |
| SagSn |
string |
是 |
Smart Access Gateway裝置序號。 |
sagf4dk**** |
| RegionId |
string |
是 |
Smart Access Gateway執行個體所屬的地區 ID。 您可以通過調用 DescribeRegions 介面擷取地區 ID。 |
cn-hangzhou |
| RouteProtocol |
string |
是 |
路由協議。取值:
|
BGP |
| CrossAccount |
boolean |
否 |
是否只查詢跨帳號所屬的Smart Access Gateway執行個體。取值:
|
false |
| ResourceUid |
string |
否 |
Smart Access Gateway執行個體所屬的阿里雲帳號(主帳號)ID。 |
109790620697**** |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| Code |
string |
響應碼。200 標識查詢任務成功。 |
200 |
| Success |
boolean |
修改是否成功。取值:
|
true |
| RequestId |
string |
請求 ID。 |
407E391C-7FB6-5552-AF39-DBB5CB062E3C |
| Message |
string |
響應訊息。Successful 標識查詢任務成功。 |
Successful |
樣本
正常返回樣本
JSON格式
{
"Code": "200",
"Success": true,
"RequestId": "407E391C-7FB6-5552-AF39-DBB5CB062E3C",
"Message": "Successful"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | GATEWAY.InvalidSN | The specified gateway serial number does not exist. | |
| 400 | InternalError | Internal server error | |
| 400 | MissParameter.GatewayId | The input parameter GatewayId that is mandatory for processing this model is not supplied. | |
| 400 | MissParameter.GlobalRouteType | The input parameter GlobalRouteType that is mandatory for processing this model is not supplied. | |
| 400 | InvalidParameter.GlobalRouteType | The input parameter GlobalRouteType is illegal, please check your input. | |
| 400 | DeviceNotExist | The specified device does not exist |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。