OpenFlowLogService_专有网络_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.

接口说明

  • OpenFlowLogService 接口不支持在同一个阿里云账号(主账号)并发开通流日志功能。

  • 您可以调用 GetFlowLogServiceStatus 接口查询流日志功能的开通状态。

流控信息

请求速率为600/60(s)。

授权信息

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

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
vpc:OpenFlowLogService
Create
FlowLogService
acs:vpc:{#regionId}:{#accountId}:flowlog/*

请求参数

字段名称字段详情
ClientTokenstring

客户端 Token,用于保证请求的幂等性。展开详情

示例值:123e4567-e89b-12d3-a456-426655440000
RegionIdstring

流日志所属的地域 ID。展开详情

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

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:28CF47AB-B6C0-5FA2-80C7-2B28826A92CB
Codestring

状态码。

示例值:200
Messagestring

流日志开通成功返回的信息。

示例值:successful

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
OperationFailed.ExceedPurchaseLimit
You have reached the limit of purchase quantity.诊断
400
Forbidden.RAM
User not authorized to operate on the specified resource, or this API doesn't support RAM.诊断
400
OperationFailed.AliGroupUserCanNotBuyInnerCommodity
Vpc_flowlog_public has no group cloud product label, and users within the group are not allowed to purchase.诊断
400
OperationFailed.QuotaNotEnough
Your quota is insufficient. Please contact your channel partner to increase your quota诊断
400
Order.NoRealNameAuthentication
Real-name verification has not been completed for the account.诊断
400
OperationFailed.BasicInfoUncompleted
You have not completed your basic personal information, please complete the information and try again.诊断

变更历史

变更时间变更内容概要操作
2023-03-16
变更错误码400
删除返回参数
2022-08-29
新增错误码400
变更返回参数

相关示例