Call DescribeDataMaskingTasks to retrieve a list of data masking tasks.
Operation description
This operation retrieves a list of static data masking tasks, which you can then search and manage.
QPS limits
The queries per second (QPS) limit for a single user is 10 calls per second. If you exceed this limit, your API calls are throttled, which may affect your business. We recommend that you call this operation at a reasonable rate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sddp:DescribeDataMaskingTasks |
list |
*All Resource
|
None | 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 |
A keyword to search for tasks. You can search by task name or task ID. |
test |
| StartTime |
integer |
No |
The start time for creating the task. The value is a UNIX timestamp. Unit: milliseconds. |
1582992000000 |
| EndTime |
integer |
No |
The end time for creating the data masking task. The value is a UNIX timestamp. Unit: milliseconds. |
1583856000000 |
| DstType |
integer |
No |
The product that the destination data source belongs to. Valid values:
|
2 |
| PageSize |
integer |
No |
The number of entries to return on each page. |
10 |
| CurrentPage |
integer |
No |
The page number to return. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| CurrentPage |
integer |
The page number of the returned page. |
1 |
| RequestId |
string |
The ID of the request. |
769FB3C1-F4C9-4****** |
| PageSize |
integer |
The number of entries returned per page. |
10 |
| TotalCount |
integer |
The total number of entries returned. |
100 |
| Items |
array<object> |
A list of data masking tasks. |
|
|
object |
The details of the data masking task. |
||
| Status |
integer |
The status of the task. Valid values:
|
1 |
| Owner |
string |
The creator of the task. |
owner |
| TaskName |
string |
The name of the task. |
任务名称 |
| SrcType |
integer |
The type of the source product. Valid values:
|
5 |
| DstType |
integer |
The product that the destination data source belongs to. Valid values:
|
5 |
| HasUnfinishProcess |
boolean |
Indicates whether the task is running. |
false |
| OriginalTable |
boolean |
Indicates whether the source table is masked. |
false |
| TriggerType |
integer |
The execution method of the task. Valid values:
|
1 |
| DstTypeCode |
string |
The type of the destination product. Valid values:
|
RDS |
| RunCount |
integer |
The number of executions. |
1 |
| GmtCreate |
integer |
The time when the task was created. The value is a UNIX timestamp. Unit: milliseconds. |
1582992000000 |
| TaskId |
string |
The string ID of the task. |
mt4HBgtw1B****** |
| DstPath |
string |
The destination path. |
***/table1 |
| SrcTypeCode |
string |
The type of the source product. Valid values:
|
RDS |
| Id |
integer |
The numerical ID of the task. |
1 |
| SrcPath |
string |
The source path. |
***/table2 |
| SrcMemberAccount |
integer |
The member account that the data masking source belongs to. |
192479427903xxxx |
| DstMemberAccount |
integer |
The member account that the data masking destination belongs to. |
192479427903xxxx |
Examples
Success response
JSON format
{
"CurrentPage": 1,
"RequestId": "769FB3C1-F4C9-4******",
"PageSize": 10,
"TotalCount": 100,
"Items": [
{
"Status": 1,
"Owner": "owner",
"TaskName": "任务名称",
"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.