You can call ModifyDataLimit to modify the configuration items of a connection authorization in Data Security Center (DSC).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sddp:ModifyDataLimit |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the content within the request and response. Valid values:
|
zh |
| Id |
integer |
Yes |
The unique ID of the data asset. Note
Call the DescribeDataLimits operation to query the ID of the data asset. |
11 |
| ResourceType |
integer |
Yes |
The service to which the data asset belongs. Valid values:
|
5 |
| ServiceRegionId |
string |
No |
The ID of the region in which the data asset is located. Valid values:
|
cn-hangzhou |
| UserName |
string |
No |
The username for the ApsaraDB RDS database. |
User01 |
| Password |
string |
No |
The password for the ApsaraDB RDS database. |
******** |
| ModifyPassword |
boolean |
No |
Specifies whether to modify the username and password that are used to connect to the database. Valid values:
|
true |
| AuditStatus |
integer |
No |
Specifies whether to enable auditing. Valid values:
|
1 |
| LogStoreDay |
integer |
No |
The retention period of raw logs after auditing is enabled. Unit: days. Valid values:
|
30 |
| EngineType |
string |
No |
The type of the database. Valid values:
|
MySQL |
| Port |
integer |
No |
The port used to connect to the database. |
3306 |
| AutoScan |
integer |
No |
Specifies whether to automatically trigger a rescan when a rule is changed. Valid values:
Note
If a rescan is automatically triggered, a full scan is performed on the data asset. |
1 |
| SamplingSize |
integer |
No |
The number of sensitive data samples to return. This parameter takes effect only after data detection is enabled. Valid values:
|
0 |
| VpcId |
string |
No |
The ID of the virtual private cloud (VPC) to which the data asset belongs. |
vpc-2zevcqke6hh09c41**** |
| SecurityGroupIdList |
array |
No |
The security groups for agent-based auditing that uses PrivateLink. |
|
|
string |
No |
The ID of a security group. |
sg-bp113yf20quxkvy**** |
|
| VSwitchIdList |
array |
No |
The vSwitches for agent-based auditing that uses PrivateLink. |
|
|
string |
No |
The ID of a vSwitch. |
vsw-bp1kk2mtrtey7o4ju**** |
|
| FeatureType |
integer |
No |
This parameter is deprecated. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
7C3AC882-E5A8-4855-BE77-B6837B695EF1 |
Examples
Success response
JSON format
{
"RequestId": "7C3AC882-E5A8-4855-BE77-B6837B695EF1"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.