Queries the list of static data masking tasks.
Operation description
This operation is used to retrieve the list of static data masking tasks for search and task management purposes.
QPS limit
The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as appropriate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sddp:DescribeDataMaskingTasks |
list |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. Default value: zh_cn. Valid values:
|
zh_cn |
| SearchKey |
string |
No |
The keyword used to search for tasks. You can search by task name or task ID. |
test |
| StartTime |
integer |
No |
The start time of the task creation period. Format: timestamp. Unit: milliseconds. |
1582992000000 |
| EndTime |
integer |
No |
The end time of the task creation period. Format: timestamp. Unit: milliseconds. |
1583856000000 |
| DstType |
integer |
No |
The service to which the destination data source belongs. Valid values:
|
2 |
| PageSize |
integer |
No |
The maximum number of entries per page. |
10 |
| CurrentPage |
integer |
No |
The page number for a paged query. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| CurrentPage |
integer |
The page number of the current page in the results. |
1 |
| RequestId |
string |
The request ID. |
769FB3C1-F4C9-4****** |
| PageSize |
integer |
The number of entries per page in the results. |
10 |
| TotalCount |
integer |
The total number of entries in the results. |
100 |
| Items |
array<object> |
The list of static data masking tasks. |
|
|
object |
The details of a static data masking task. |
||
| Status |
integer |
The task status. Valid values:
|
1 |
| Owner |
string |
The task creator. |
owner |
| TaskName |
string |
The task name. |
Task name |
| SrcType |
integer |
The source service type. Valid values:
|
5 |
| DstType |
integer |
The service to which the destination data source belongs. Valid values:
|
5 |
| HasUnfinishProcess |
boolean |
Indicates whether the task is being executed. |
false |
| OriginalTable |
boolean |
Indicates whether the task masks data in the original table. |
false |
| TriggerType |
integer |
The execution mode. Valid values:
|
1 |
| DstTypeCode |
string |
The destination service type. Valid values:
|
RDS |
| RunCount |
integer |
The number of executions. |
1 |
| GmtCreate |
integer |
The creation time. Format: timestamp. Unit: milliseconds. |
1582992000000 |
| TaskId |
string |
The task ID. |
mt4HBgtw1B****** |
| DstPath |
string |
The destination path. |
***/table1 |
| SrcTypeCode |
string |
The source service type. Valid values:
|
RDS |
| Id |
integer |
The task ID. |
1 |
| SrcPath |
string |
The source path. |
***/table2 |
| SrcMemberAccount |
integer |
The member accounts to which the source data belongs. |
192479427903xxxx |
| DstMemberAccount |
integer |
The member accounts to which the destination data belongs. |
192479427903xxxx |
Examples
Success response
JSON format
{
"CurrentPage": 1,
"RequestId": "769FB3C1-F4C9-4******",
"PageSize": 10,
"TotalCount": 100,
"Items": [
{
"Status": 1,
"Owner": "owner",
"TaskName": "Task name",
"SrcType": 5,
"DstType": 5,
"HasUnfinishProcess": false,
"OriginalTable": false,
"TriggerType": 1,
"DstTypeCode": "RDS",
"RunCount": 1,
"GmtCreate": 1582992000000,
"TaskId": "mt4HBgtw1B******",
"DstPath": "***/table1",
"SrcTypeCode": "RDS",
"Id": 1,
"SrcPath": "***/table2",
"SrcMemberAccount": 0,
"DstMemberAccount": 0
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.