ListDataIngestionTemplates - 获取数据接入模版列表

查询接入模板。

接口说明

发送通知有频率和时间的限定。 每天每个用户在 08:00-20:00 点最多收到两次通知,其余时间不会发送。

调试

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

授权信息

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

  • 操作:是指具体的权限点。
  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:
    • 对于必选的资源类型,用前面加 * 表示。
    • 对于不支持资源级授权的操作,用全部资源表示。
  • 条件关键字:是指云产品自身定义的条件关键字。
  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作访问级别资源类型条件关键字关联操作
yundun-sas:ListDataIngestionTemplateslist
*DataIngestionTemplate
acs:yundun-sas::{#accountId}:dataingestiontemplate/*

请求参数

名称类型必填描述示例值
DataSourceTemplateIdsstring

数据源模版 ID 列表。

alibaba_cloud_sas_account_snapshot_log_173326*******
DataIngestionTemplateStatusstring

数据接入模版状态。取值:

  • pending
  • running
  • success
  • failed
running
Langstring

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

  • zh(默认):中文。
  • en:英文。
zh
RoleForlong

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

173326*******
RegionIdstring

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

  • cn-hangzhou:资产属于中国内地。
  • ap-southeast-1:资产属于海外地域。
cn-hangzhou
ProductIdstring

产品 ID。

alibaba_cloud_sas
PageNumberstring

分页参数:当前页码。

1
PageSizestring

分页参数:每页显示条数。

10

返回参数

名称类型描述示例值
object

返回体。

RequestIdstring

请求消息 ID。

6276D891-*****-55B2-87B9-74D413F7****
DataIngestionTemplatesarray<object>

数据接入模版列表。

dataobject

数据接入模版。

CreateTimelong

创建时间。

1733269771123
DataIngestionStatusstring

数据接入状态。取值:

  • enabled:启用。
  • disabled:禁用。
enabled
DataIngestionTemplateIdstring

数据接入模版 ID。

alibaba_cloud_sas_account_snapshot_log
DataIngestionTemplateNamestring

数据源模版名称。

alibaba_cloud_sas_account_snapshot_log
DataSourceTemplateIdstring

数据源模版 ID。

alibaba_cloud_sas_account_snapshot_log_173326*******
NormalizationRuleIdstring

标准化规则 ID。

alibaba_cloud_actiontrail_event_rule
NormalizationRuleNamestring

标准化规则名称。

normalization_rule_ke1RN
UpdateTimelong

更新时间。

173326*******
CapacityCountstring

关联安全能力数量。

3
DataIngestionModestring

数据接入模式。取值:

  • realtime
  • scan
realtime
DataIngestionTemplateStatusstring

数据接入模版状态。取值:

  • pending
  • running
  • success
  • failed
running
PageNumberstring

分页参数:当前页码。

1
PageSizestring

分页参数:每页显示条数。

10

示例

正常返回示例

JSON格式

{
  "RequestId": "6276D891-*****-55B2-87B9-74D413F7****",
  "DataIngestionTemplates": [
    {
      "CreateTime": 1733269771123,
      "DataIngestionStatus": "enabled",
      "DataIngestionTemplateId": "alibaba_cloud_sas_account_snapshot_log",
      "DataIngestionTemplateName": "alibaba_cloud_sas_account_snapshot_log",
      "DataSourceTemplateId": "alibaba_cloud_sas_account_snapshot_log_173326*******",
      "NormalizationRuleId": "alibaba_cloud_actiontrail_event_rule",
      "NormalizationRuleName": "normalization_rule_ke1RN",
      "UpdateTime": 0,
      "CapacityCount": 3,
      "DataIngestionMode": "realtime",
      "DataIngestionTemplateStatus": "running"
    }
  ],
  "PageNumber": 1,
  "PageSize": 10
}

错误码

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