ModifyFlowLogAttribute_智能接入网关_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:ModifyFlowLogAttribute
Update
全部资源
*

请求参数

字段名称字段详情
RegionIdstring

流日志的地域 ID。

示例值:cn-shanghai参考取值来源:
    DescribeRegions
Descriptionstring

流日志实例描述。

示例值:流日志实例1
Namestring

流日志实例名称。

示例值:DDE
ActiveAginginteger<int32>

活跃流输出间隔,默认值为 300s。

示例值:300
InactiveAginginteger<int32>

非活跃流输出间隔,默认为 15s。

示例值:15
OutputTypestring

流日志输出类型:展开详情

示例值:sls
SlsRegionIdstring

日志服务的地域 ID,输出类型为 sls 时填入。

示例值:cn-shanghai
ProjectNamestring

日志服务的 Project,输出类型为 sls 时填入。

示例值:ddrrgt
LogstoreNamestring

日志服务的日志库,输出类型为 sls 时填入。

示例值:ssfghgh
NetflowServerIpstring

流日志输出的服务器地址,输出类型为 netflow 时填入。

示例值:192.168.0.2
NetflowServerPortinteger<int32>

流日志输出的服务器端口,默认值为 9995,输出类型为 netflow 时填入。

示例值:9995
NetflowVersionstring

流日志输出时使用的 netflow 协议版本号,可选 V5V9V10,默认值 V9,输出类型为 netflow 时填入。

示例值:V9
FlowLogIdstring

流日志实例 ID。

示例值:fl-7a56mar1kfw9vj****参考取值来源:
    CreateFlowLog
    DescribeFlowLogs
    AssociateFlowLog

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:AAC70A63-1A2E-4857-9CA3-5DE5B4041D1E

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
DependencyViolation.FlowLog
This FlowLog instance is bound to an SAG instance.诊断
400
IncorrectStatus.FlowLog
The current FlowLog instance status does not support this operation.诊断
400
InvalidFlowLogId.NotFound
The specified FlowLogId does not exist.诊断
400
MissingParam.FlowLogId
Specify the FlowLogId parameter.诊断
400
OperationFailed.AssociateFlowLog
The operation failed. The specified SAG instance has already been associated with another FlowLog instance.诊断
400
OperationUnsupported.AssociateFlowLog
You cannot bind the SAG device of the current version or model to a FlowLog instance.诊断
400
QuotaExceeded.Flowlog
The maximum number of FlowLog instances is exceeded.诊断
400
IllegalParam.ActiveAging
The specified ActiveAging is invalid.诊断
400
IllegalParam.InactiveAging
The specified InactiveAging is invalid.诊断
400
IllegalParam.OutputType
The specified OutputType is invalid.诊断
400
IllegalParam.NetflowServerIp
The specified NetflowServerIp is invalid.诊断
400
IllegalParam.NetflowServerPort
The specified NetflowServerPort is invalid.诊断
400
IllegalParam.NetflowVersion
The specified NetflowVersion is invalid.诊断
400
MissingParam.NetflowServerIp
Specify the NetflowServerIp parameter.诊断
400
MissingParam.NetflowServerPort
Specify the NetflowServerPort parameter.诊断
400
MissingParam.NetflowVersion
Specify the NetflowVersion parameter.诊断
400
IllegalParam.SlsRegionId
The specified SlsRegionId is invalid.诊断
400
MissingParam.SlsRegionId
Specify the SlsRegionId parameter.诊断
400
IllegalParam.RegionId
The specified RegionId is invalid.诊断
400
IllegalParam.Status
The specified Status parameter is invalid.诊断
400
InvalidSmartAGId.NotFound
The specified SmartAGId does not exist.诊断
403
FeatureNotSupport
The current edition of the smart access gateway does not support this feature.诊断

变更历史

暂无变更历史

相关示例