ModifySagRemoteAccess_智能接入网关_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

流控信息

当前云产品API请求速率暂未透出。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
smartag:ModifySagRemoteAccess
Update
全部资源
*

请求参数

字段名称字段详情
SmartAGIdstring

智能接入网关实例 ID。

示例值:sag-r79m060r6oy55******参考取值来源:
    AddSnatEntry
    BindSmartAccessGateway
    CreateSmartAccessGateway
    ListSmartAGByAccessPoint
SerialNumberstring

智能接入网关设备序列号。

示例值:sag-100-v1p7-9参考取值来源:
    BindSerialNumber
RemoteAccessIpstring

远程访问 IP。

示例值:10.10.10.2参考取值来源:
    DescribeSagRemoteAccess

返回参数

字段名称字段详情
SerialNumberstring

智能接入网关的设备 SN 号。

示例值:sag61a344**
RequestIdstring

请求 ID。

示例值:4FF203D7-462D-498E-94F9-2B2FA462DD23
Messagestring

接口调用返回的信息。

示例值:Successful
RemoteAccessIpstring

远程访问 IP。

示例值:10.10.10.2
Codestring

返回的状态码。

示例值:200
Successboolean

接口调用是否成功。

示例值:true

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
VersionNotExist
The specified version does not exist.诊断
403
FeatureNotSupport
The current edition of the smart access gateway does not support this feature.诊断
403
InvalidId.SMARTAG
The specified smart access gateway instance id is invalid.诊断
403
SmartAccessGatewayNotOnline
The specified smart access gateway is not online.诊断
403
FeatureNotSupportForStandBySmartAG
The current edition of the standby smart access gateway does not support this feature.诊断
403
FeatureNotSupportForActiveSmartAG
The current edition of the active smart access gateway does not support this feature.诊断
403
IllegalRemoteIp.Conflict
The specified IP address has been used.诊断
403
IllegalRemoteIp.RouteTableEntryConflict
The specified IP address conflicts with route table entries.诊断

变更历史

暂无变更历史

相关示例