GetDataBatchIngestion - 获取数据批量接入

获取数据批量接入。

接口说明

入参 JsonConfig 是一个非常复杂的 JSON 配置,为此我们提供了辅助工具类帮助具体配置示例,请参考 Demo

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。

  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。

  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:

    • 对于必选的资源类型,用前面加 * 表示。

    • 对于不支持资源级授权的操作,用全部资源表示。

  • 条件关键字:是指云产品自身定义的条件关键字。

  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。

操作

访问级别

资源类型

条件关键字

关联操作

yundun-sas:GetDataBatchIngestion

get

*全部资源

*

请求参数

名称

类型

必填

描述

示例值

RegionId

string

威胁分析的数据管理中心所在地。您需要根据资产所在地域,选择管理中心所在地。取值:

  • cn-hangzhou:资产属于中国内地。

  • ap-southeast-1:资产属于海外地域。

cn-hangzhou

Lang

string

返回消息的语言类型。取值:

  • zh(默认):中文。

  • en:英文。

zh

RoleFor

integer

管理员切换成其他成员视角的用户 ID。

173326*******

返回参数

名称

类型

描述

示例值

object

返回体。

RequestId

string

请求消息 ID。

6276D891-*****-55B2-87B9-74D413F7****

DataBatchIngestion

object

数据批量接入。

DataBatchIngestionStatus

string

数据批量接入状态。取值:

  • pending:待生效。

  • running:生效中。

  • success:生效成功。

  • failed:生效失败。

pending

DataBatchIngestionSetTime

string

数据批量接入设置时间。

1733269771123

DataBatchIngestionEffectTime

string

数据批量接入生效时间。

1733269771123

LogUserIds

array

数据批量接入用户 ID 列表。

string

数据批量接入用户 ID。

173326*******

AutoScanNew

string

是否自动发现新用户。取值:

  • enabled:启用。

  • disabled:禁用。

enabled

DataIngestions

array<object>

数据接入列表。

object

数据接入对象。

DataIngestionId

string

数据接入 ID。

alibaba_cloud_sas_process_ingestion_173326*******

DataIngestionStatus

string

数据接入状态。取值:

  • enabled:启用。

  • disabled:禁用。

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.

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情