Querying the Big Data Asset List
Function
This API is used to obtain the big data asset list. You can filter big data assets by type.
Calling Method
For details, see Calling APIs.
URI
GET /v1/{project_id}/sdg/asset/bigdata
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID, which is used to identify a specific project. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
type |
No |
String |
Big data asset type, which is used to filter the big data assets of a specific type. Types: Elasticsearch, DLI, Hive, HBase, MRS_HIVE, ALL, LTS, HIVE_ONLY, and JUST_BIG_DATA |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
datasources |
Array of BigdataResponse objects |
List of big data asset details. |
|
total |
Integer |
Total number of big data assets. |
|
Parameter |
Type |
Description |
|---|---|---|
|
asset_name |
String |
Asset name. |
|
authorize_fail_reason |
String |
Authorization failure cause (in the case of an authorization failure). |
|
authorized |
Boolean |
Whether it is authorized. |
|
create_time |
Long |
Asset creation time, in milliseconds. |
|
default |
Boolean |
Whether an asset is the default asset. |
|
ds_address |
String |
Data source address. |
|
ds_authorized |
String |
Data source authorization status. |
|
ds_name |
String |
Data source name. |
|
ds_port |
Integer |
Data source port. |
|
ds_type |
String |
Data source type. Types: Elasticsearch, DLI, Hive, HBase, MRS_HIVE, ALL, LTS, HIVE_ONLY, and JUST_BIG_DATA |
|
ds_user |
String |
Data source username. |
|
ds_version |
String |
Data source version. |
|
id |
String |
Asset ID. |
|
ins_id |
String |
Instance ID. |
|
ins_name |
String |
Instance name. |
|
ins_type |
String |
Instance type. Types: Elasticsearch, DLI, Hive, HBase, MRS_HIVE, ALL, LTS, HIVE_ONLY, and JUST_BIG_DATA |
|
region |
String |
Region information. |
|
security_group_id |
String |
Security group ID. |
|
source_type |
String |
Asset source type. Types: Elasticsearch, CSS, and MRS. |
|
subnet_id |
String |
Subnet ID. |
|
vpc_id |
String |
VPC ID. |
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
The big data asset list is obtained. |
|
401 |
Unauthorized access. The request is rejected. |
|
403 |
Unauthorized operation. The request is rejected. |
|
404 |
The project does not exist. Retrieval failed. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot