Describes the parameters for a data source.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeDataSourceParameters |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DataSourceType |
string |
Yes |
The type of the data source. Valid values:
|
obs |
| CloudCode |
string |
Yes |
The code for the multicloud environment. |
hcloud |
| RegionId |
string |
No |
The region where the Data Management center for threat analysis is deployed. Select a region based on the region where your assets are located. Valid values:
|
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
CloudSiemSuccessResponse<List |
||
| Data |
array<object> |
The data returned. |
|
|
object |
The data returned. |
||
| DataSourceType |
string |
The type of the data source. Valid values:
|
obs |
| ParaLevel |
integer |
The level of the parameter. Valid values:
|
1 |
| ParaCode |
string |
The code of the parameter. |
region_code |
| ParaName |
string |
The name of the parameter. |
region local |
| ParaType |
string |
The type of the parameter. |
string |
| Required |
integer |
Indicates whether the parameter is required. Valid values:
|
string |
| FormatCheck |
string |
The format check method. |
|
| Title |
string |
The prompt for the parameter value. |
obs bucket name |
| Hit |
string |
Additional information. |
obs docment |
| DefaultValue |
string |
The default value of the parameter. |
wafApi |
| Disabled |
boolean |
Indicates whether the parameter can be modified. Valid values:
|
wafApi |
| CanEditted |
integer |
Indicates whether the parameter is editable. Valid values:
|
wafApi |
| ParamValue |
array<object> |
The list of parameters. |
|
|
object |
The parameter value. |
||
| Label |
string |
The displayed content. |
guangzhou |
| Value |
string |
The actual value of the parameter. |
ap-guangzhou |
| CloudCode |
string |
The code for the multicloud environment. Valid values:
|
hcloud |
| RequestId |
string |
The ID of the request. |
6276D891-*****-55B2-87B9-74D413F7**** |
Examples
Success response
JSON format
{
"Data": [
{
"DataSourceType": "obs",
"ParaLevel": 1,
"ParaCode": "region_code",
"ParaName": "region local",
"ParaType": "string",
"Required": 0,
"FormatCheck": "email",
"Title": "obs bucket name",
"Hit": "obs docment",
"DefaultValue": "wafApi",
"Disabled": true,
"CanEditted": 0,
"ParamValue": [
{
"Label": "guangzhou",
"Value": "ap-guangzhou"
}
],
"CloudCode": "hcloud"
}
],
"RequestId": "6276D891-*****-55B2-87B9-74D413F7****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.