Creates a dataset.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:CreateDataSet |
create |
*DataSet
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region of the Data Management center for threat analysis. Select a region based on where your assets are located. Valid values:
|
cn-hangzhou |
| Lang |
string |
No |
The language of the response. Valid values:
|
zh |
| DataSetName |
string |
Yes |
The name of the dataset. |
lmftest |
| DataSetDescription |
string |
No |
The description of the dataset. |
lmftest contains ip list |
| DataSetFieldKeyName |
string |
Yes |
The name of the unique key for the dataset. |
ip |
| DataSetFileName |
string |
Yes |
The name of the uploaded dataset file. |
cloudsiem-dataset/1358117679873357_17433*****.csv |
| IpWhitelistRecognizers |
array<object> |
No |
The list of recognizers. |
|
|
object |
No |
A recognizer. |
||
| IpWhitelistRecognizerType |
string |
No |
The type of IP address that the recognizer detects. Valid values:
|
waf_back_source_ip |
| AutoRecognizeStatus |
string |
No |
The automatic detection status. Valid values:
|
enabled |
| RecognizeScope |
string |
No |
The detection scope. Valid values:
|
current_account |
| RoleFor |
integer |
No |
The user ID of the member whose permissions are used to perform the operation. This parameter is used when an administrator acts on behalf of a member. |
113091674488**** |
| DataSetStatus |
integer |
No |
The status of the dataset. Valid values:
|
1 |
| DataSetType |
string |
No |
The type of the dataset. Valid values:
|
custom |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
9AAA9ED9-78F4-5021-86DC-D51C7511**** |
| DataSetRecordStatistic |
object |
The result returned after the dataset is created. |
|
| NewDataSetRecordCount |
integer |
The number of new records in the dataset. |
6 |
| DataSetId |
string |
The dataset ID. |
dataset-qt0n8246gs9nackg**** |
Examples
Success response
JSON format
{
"RequestId": "9AAA9ED9-78F4-5021-86DC-D51C7511****",
"DataSetRecordStatistic": {
"NewDataSetRecordCount": 6,
"DataSetId": "dataset-qt0n8246gs9nackg****"
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.