Help Center/ Data Security Center/ API Reference/ API Description/ Asset Center/ Adding Big Data Instances to the Asset Center
Updated on 2026-01-13 GMT+08:00

Adding Big Data Instances to the Asset Center

Function

Add big data instances to the asset center.

Calling Method

For details, see Calling APIs.

URI

POST /v1/{project_id}/asset-center/bigdata/instances

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID.

Request Parameters

Table 2 Request body parameters

Parameter

Mandatory

Type

Description

asset_name

No

String

Asset name.

create_time

No

Long

Asset creation time, in milliseconds.

ds_address

No

String

Data source address.

ds_name

No

String

Data source name.

ds_password

No

String

Data source password.

ds_port

No

Integer

Data source port.

ds_type

No

String

Data source type. Types: Elasticsearch, DLI, Hive, HBase, MRS_HIVE, ALL, LTS, HIVE_ONLY, and JUST_BIG_DATA

ds_user

No

String

Data source username.

ds_version

No

String

Data source version.

ins_id

No

String

Instance ID.

ins_name

No

String

Instance name.

ins_type

No

String

Instance type. Types: Elasticsearch, DLI, Hive, HBase, MRS_HIVE, ALL, LTS, HIVE_ONLY, and JUST_BIG_DATA

lts_group_id

No

String

Log group ID.

lts_group_name

No

String

Log group name.

lts_stream_id

No

String

Log stream ID.

lts_stream_name

No

String

Log stream name.

queue_name

No

String

Queue name.

region

No

String

Region information.

scan_metadata

No

Boolean

Whether to scan metadata.

security_group_id

No

String

Security group ID.

subnet_id

No

String

Subnet ID.

vpc_id

No

String

VPC ID.

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

msg

String

Returned message, which is used to describe the operation result or error information.

status

String

Return status, for example, '200', '400'.

Status code: 400

Table 4 Response body parameters

Parameter

Type

Description

error_code

String

Error code, which identifies an error type.

error_msg

String

Error message, which describes an error.

Example Requests

Add big data instances to the asset center.

POST /v1/{project_id}/asset-center/bigdata/instances

{
  "create_time" : 1762687359000,
  "region" : "xxxx",
  "queue_name" : "xxxxx",
  "lts_group_name" : "xxxx",
  "lts_group_id" : "xxxxx",
  "lts_stream_name" : "xxxxx",
  "lts_stream_id" : "xxxxxxxxxxxx",
  "scan_metadata" : false,
  "ds_password" : "xxxxxx",
  "ins_type" : "xxxxxx",
  "ins_name" : "xxxxx",
  "ins_id" : "xxxxxx",
  "subnet_id" : "xxxxxxx",
  "vpc_id" : "xxxxxx",
  "security_group_id" : "xxxxxxx",
  "asset_name" : "xxxxxxx"
}

Example Responses

Status code: 200

Request succeeded.

{
  "msg" : "xxxx",
  "status" : "RESPONSE_SUCCESS"
}

Status code: 400

Invalid request.

{
  "error_code" : "dsc.40000011",
  "error_msg" : "Invalid parameter"
}

Status Codes

Status Code

Description

200

Request succeeded.

400

Invalid request.

Error Codes

See Error Codes.