文档

ModifySagRemoteAccess - 修改智能接入网关设备的远程访问IP

调用ModifySagRemoteAccess修改智能接入网关设备的远程访问IP。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。
  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:
    • 对于必选的资源类型,用背景高亮的方式表示。
    • 对于不支持资源级授权的操作,用全部资源表示。
  • 条件关键字:是指云产品自身定义的条件关键字。
  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作访问级别资源类型条件关键字关联操作
smartag:ModifySagRemoteAccessWrite
  • 全部资源
    *

请求参数

名称类型必填描述示例值
SmartAGIdstring

智能接入网关实例 ID。

sag-r79m060r6oy55******
SerialNumberstring

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

sag-100-v1p7-9
RemoteAccessIpstring

远程访问 IP。

10.10.10.2

返回参数

名称类型描述示例值
object
SerialNumberstring

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

sag61a344**
RemoteAccessIpstring

远程访问 IP。

10.10.10.2
RequestIdstring

请求 ID。

4FF203D7-462D-498E-94F9-2B2FA462DD23
Successboolean

接口调用是否成功。

true
Codestring

返回的状态码。

200
Messagestring

接口调用返回的信息。

Successful

示例

正常返回示例

JSON格式

{
  "SerialNumber": "sag61a344**",
  "RemoteAccessIp": "10.10.10.2",
  "RequestId": "4FF203D7-462D-498E-94F9-2B2FA462DD23",
  "Success": true,
  "Code": "200",
  "Message": "Successful"
}

JSON格式

{
  "SerialNumber": "sag61a344**",
  "RemoteAccessIp": "10.10.10.2",
  "RequestId": "4FF203D7-462D-498E-94F9-2B2FA462DD23",
  "Success": true,
  "Code": "200",
  "Message": "Successful"
}

错误码

HTTP status code错误码错误信息描述
400VersionNotExistThe specified version does not exist.当前指定的版本不存在。
403FeatureNotSupportThe current edition of the smart access gateway does not support this feature.智能接入网关当前版本不支持该功能特性。
403InvalidId.SMARTAGThe specified smart access gateway instance id is invalid.无效的智能接入网关实例ID。
403SmartAccessGatewayNotOnlineThe specified smart access gateway is not online.该智能接入网关当前不是在线状态,无法完成操作。
403FeatureNotSupportForStandBySmartAGThe current edition of the standby smart access gateway does not support this feature.备智能接入网关的当前版本不支持该功能特性。
403FeatureNotSupportForActiveSmartAGThe current edition of the active smart access gateway does not support this feature.主智能接入网关的当前版本不支持该功能特性。
403IllegalRemoteIp.ConflictThe specified IP address has been used.指定的IP地址已经被使用过。
403IllegalRemoteIp.RouteTableEntryConflictThe specified IP address conflicts with route table entries.指定的IP地址与路由表条目冲突。

访问错误中心查看更多错误码。

  • 本页导读 (1)
文档反馈