Adds a masking rule.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RuleName | string | Yes | The name of the rule. | desensitization algorithm test |
RuleType | string | Yes | The masking algorithm. Valid values:
| HASH |
RuleDescription | string | No | The description of the rule. | hash algorithm |
FunctionType | string | Yes | The type of the masking algorithm. Valid values:
| MD5 |
FunctionParams | array<object> | No | The parameters of the algorithm. | |
object | No | The name of the parameter. | ||
string | No | The value of the parameter. | {paramName: salt, paramValue: 1} | |
Tid | long | No | The tenant ID. Note
To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.
| 3*** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"RuleId": 0
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history