绑定智能接入网关实例。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
smartag:AssociateFlowLog |
*SmartAccessGateway
*FlowLog
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
是 |
流日志的地域 ID。 |
cn-shanghai |
| FlowLogId |
string |
是 |
流日志实例 ID。 |
fl-l934tsa5504yuc**** |
| SmartAGId |
string |
是 |
智能接入网关实例 ID。 |
sag-39u6j9a49i03wk**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
A6E1680B-B34F-4BB7-B504-F8ED675E721C |
示例
正常返回示例
JSON格式
{
"RequestId": "A6E1680B-B34F-4BB7-B504-F8ED675E721C"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | DependencyViolation.FlowLog | This FlowLog instance is bound to an SAG instance. | FlowLog存在资源依赖。 |
| 400 | IncorrectStatus.FlowLog | The current FlowLog instance status does not support this operation. | FlowLog状态非法。 |
| 400 | InvalidFlowLogId.NotFound | The specified FlowLogId does not exist. | 根据FlowLogId未找到对应实例。 |
| 400 | MissingParam.FlowLogId | Specify the FlowLogId parameter. | 缺少参数FlowLogId。 |
| 400 | OperationFailed.AssociateFlowLog | The operation failed. The specified SAG instance has already been associated with another FlowLog instance. | 由于智能接入网关实例已经关联其他FlowLog实例,操作失败。 |
| 400 | OperationUnsupported.AssociateFlowLog | You cannot bind the SAG device of the current version or model to a FlowLog instance. | 设备版本或者款型不支持关联FlowLog操作。 |
| 400 | QuotaExceeded.Flowlog | The maximum number of FlowLog instances is exceeded. | flowlog数量超过配额。 |
| 400 | IllegalParam.ActiveAging | The specified ActiveAging is invalid. | 参数ActiveAging不合法。 |
| 400 | IllegalParam.InactiveAging | The specified InactiveAging is invalid. | 参数InactiveAging不合法。 |
| 400 | IllegalParam.NetflowServerIp | The specified NetflowServerIp is invalid. | 参数NetflowServerIp不合法。 |
| 400 | IllegalParam.NetflowServerPort | The specified NetflowServerPort is invalid. | 参数NetflowServerPort不合法。 |
| 400 | IllegalParam.NetflowVersion | The specified NetflowVersion is invalid. | 参数NetflowVersion不合法。 |
| 400 | IllegalParam.OutputType | The specified OutputType is invalid. | 参数OutputType不合法。 |
| 400 | IllegalParam.RegionId | The specified RegionId is invalid. | 参数RegionId不合法。 |
| 400 | IllegalParam.SlsRegionId | The specified SlsRegionId is invalid. | 参数SlsRegionId不合法。 |
| 400 | IllegalParam.Status | The specified Status parameter is invalid. | 参数Status不合法。 |
| 400 | InvalidSmartAGId.NotFound | The specified SmartAGId does not exist. | 根据SmartAGId未找到对应实例。 |
| 403 | FeatureNotSupport | The current edition of the 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 | FeatureNotSupportForStandBySmartAG | The current edition of the standby smart access gateway does not support this feature. | 备智能接入网关的当前版本不支持该功能特性。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?