ModifySmartAccessGateway_智能接入网关_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:ModifySmartAccessGateway
Update
SmartAccessGateway
acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}

请求参数

字段名称字段详情
SmartAGIdstring

智能接入网关实例 ID。

示例值:sag-0ovhf732a9j0******参考取值来源:
    AddSnatEntry
    BindSmartAccessGateway
    ListSmartAGByAccessPoint
    CreateSmartAccessGateway
Namestring

智能接入网关的名称。 展开详情

示例值:SAG
Descriptionstring

智能接入网关的描述。 展开详情

示例值:SAG描述
CidrBlockstring

线下机构客户端用来通信的私网网段,确保各私网网段不冲突。 展开详情

示例值:172.16.0.0/24
RegionIdstring

智能接入网关的所属区域。

示例值:cn-hangzhou参考取值来源:
    DescribeRegions
SecurityLockThresholdinteger<int32>

离线锁定功能用户设定的阈值,大于等于 0。展开详情

示例值:3取值 <= 2147483647
RoutingStrategystring

线下路由同步方式:展开详情

示例值:static
Positionstring

智能接入网关所部署的位置。

示例值:[ { "adcode":"", "label":"浙江省杭州市xx区xx路xx号", "value":"B0FFGxxxx", "center":"120.190xxxx, 30.182xxxx", "_new":"true" } ]
EnableSoftwareConnectionAuditboolean

是否开启 SAG App 连接日志审计。展开详情

示例值:true

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:CE6642D4-21EB-4168-9BF9-F217953F9892

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
SAG.IpCountTooLittle
The number of available IP addresses of the CIDR block is fewer than the number of SslConnectionSpec.诊断
400
SAG.SslConnectionSpecInvalid
The number of SslConnectionSpec is invalid.诊断
400
SAG.CcnCidrNoConfig
You must configure the CIDR block of CCN.诊断
400
SAG.CidrEmpty
You must specify the CIDR blocks of SAG.诊断
400
SAG.ConflictCidr.CcnSnatCidr
The SAG CIDR block is in conflict with the CCN CIDR block.诊断
400
SAG.ConflictSnatIp
The specified SNAT IP address is invalid.诊断
400
SAG.InstanceIdEmpty
You must specify the SAG instance ID.诊断
400
SAG.InstanceNoFound
The specified SAG instance does not exist.诊断
400
SAG.InvalidCidr
The specified CIDR block is invalid.诊断
400
SAG.InvalidCidr.NoBelongCcnCidr
The specified SAG CIDR block does not belong to the CCN CIDR block.诊断
400
SAG.InvalidSnatCidr
The specified SNAT CIDR block is invalid.诊断
400
SAG.InvalidSnatIp
The specified SNAT IP address is invalid.诊断
400
CCN.CidrEmpty
You must specify the CCN CIDR block.诊断
400
CCN.SnatCidrConflict
The specified SNAT CIDR block is invalid.诊断
400
ActionNotSupport
The specified instance does not support this action.诊断
400
CCN.SnatCidrNoConfig
You must configure the SNAT CIDR block of the CCN.诊断
400
SAG.CidrUsedByRoutableAddress
A routable internal IP address belongs to the specified internal CIDR block. You cannot modify this CIDR block.诊断
400
InvalidName
The specified name is invalid.诊断
400
SAG.CidrAmountLimit
The maximum number of static routes for the SAG instance is exceeded.诊断
400
SAG.InvalidCidrFormat
The specified CIDR format is invalid.诊断
400
SAG.CidrOverlap
The specified CIDR overlaps with an existing CIDR.诊断
400
SAG.Arrearage
The specified SAG instance has overdue payments. Renew the instance first.诊断
400
SAG.NoActive
The specified SAG instance has not been activated.诊断
400
SAG.NotAllowConfigCidr
You cannot specify a static CIDR block when the dynamic routing strategy is used.诊断
403
CidrConflict
Cidr is conflict, Please Check your input.诊断
403
MissingParameter
The input parameter is missing, please check your input.诊断
403
InvalidId.SMARTAG
The specified smart access gateway instance id is invalid.诊断
403
InvalidCidr
Cidr is illegal, please check your input.诊断
403
Forbidden
User not authorized to operate on the specified resource.诊断
403
VbrConflict.ChangeSubnet
The subnet of the gateway conflicts with the VBR. Modify the subnet first.诊断
403
VbrConflict.CreateBackup
The subnet of the gateway conflicts with the VBR. Create a backup relationship first.诊断
403
SmartAccessGatewayNotBind
The instance has not yet been bound.诊断
403
FeatureNotSupport
The current edition of the smart access gateway does not support this feature.诊断
500
SmartAccessGatewayInArrears
The specified Smart Access Gateway has expired.诊断
500
SmartAccessGatewayNotActivated
The specified Smart Access Gateway has not been activated.诊断
500
InternalError
An error occurred while processing your request.诊断

变更历史

变更时间变更内容概要操作
2022-09-06
新增请求参数EnableSoftwareConnectionAudit

相关示例