获取数据批量接入。
接口说明
入参 JsonConfig 是一个非常复杂的 JSON 配置,为此我们提供了辅助工具类帮助具体配置示例,请参考 Demo 。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
yundun-sas:GetDataBatchIngestion |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
否 |
威胁分析的数据管理中心所在地。您需要根据资产所在地域,选择管理中心所在地。取值:
|
cn-hangzhou |
| Lang |
string |
否 |
返回消息的语言类型。取值:
|
zh |
| RoleFor |
integer |
否 |
管理员切换成其他成员视角的用户 ID。 |
173326******* |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回体。 |
||
| RequestId |
string |
请求消息 ID。 |
6276D891-*****-55B2-87B9-74D413F7**** |
| DataBatchIngestion |
object |
数据批量接入。 |
|
| DataBatchIngestionStatus |
string |
数据批量接入状态。取值:
|
pending |
| DataBatchIngestionSetTime |
string |
数据批量接入设置时间。 |
1733269771123 |
| DataBatchIngestionEffectTime |
string |
数据批量接入生效时间。 |
1733269771123 |
| LogUserIds |
array |
数据批量接入用户 ID 列表。 |
|
|
string |
数据批量接入用户 ID。 |
173326******* |
|
| AutoScanNew |
string |
是否自动发现新用户。取值:
|
enabled |
| DataIngestions |
array<object> |
数据接入列表。 |
|
|
object |
数据接入对象。 |
||
| DataIngestionId |
string |
数据接入 ID。 |
alibaba_cloud_sas_process_ingestion_173326******* |
| DataIngestionStatus |
string |
数据接入状态。取值:
|
enabled |
| DataSourceId |
string |
数据源 ID。 |
alibaba_cloud_sas_process_log_173326******* |
| ProductId |
string |
产品 ID。 |
alibaba_cloud_sas |
| VendorId |
string |
厂商 ID。 |
alibaba_cloud |
| RecommendDataIngestionIds |
array |
推荐接入 ID 列表。 |
|
|
string |
推荐接入 ID。 |
alibaba_cloud_sas_process_log_173326******* |
|
| ApsaraDataIngestionIds |
array |
阿里云产品接入 ID 列表。 |
|
|
string |
阿里云产品接入 ID。 |
alibaba_cloud_sas_process_log_173326******* |
|
| DataSourceRecognizeEnabled |
boolean |
自动发现新日志库。 |
true |
| DataBatchIngestionMode |
string |
批量数据接入模式。 |
full |
示例
正常返回示例
JSON格式
{
"RequestId": "6276D891-*****-55B2-87B9-74D413F7****",
"DataBatchIngestion": {
"DataBatchIngestionStatus": "pending",
"DataBatchIngestionSetTime": "1733269771123",
"DataBatchIngestionEffectTime": "1733269771123",
"LogUserIds": [
"173326*******"
],
"AutoScanNew": "enabled",
"DataIngestions": [
{
"DataIngestionId": "alibaba_cloud_sas_process_ingestion_173326*******",
"DataIngestionStatus": "enabled",
"DataSourceId": "alibaba_cloud_sas_process_log_173326*******",
"ProductId": "alibaba_cloud_sas",
"VendorId": "alibaba_cloud"
}
],
"RecommendDataIngestionIds": [
"alibaba_cloud_sas_process_log_173326*******"
],
"ApsaraDataIngestionIds": [
"alibaba_cloud_sas_process_log_173326*******"
],
"DataSourceRecognizeEnabled": true,
"DataBatchIngestionMode": "full"
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。