All Products
Search
Document Center

Data Security Center:ModifyDataLimit

Last Updated:Mar 26, 2024

Modifies configuration items for a data asset that you authorize Data Security Center (DSC) to access.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
LangstringNo

The language of the content within the request and response. Valid values:

  • zh: Chinese (default)
  • en: English
zh
IdlongYes

The unique ID of the data asset for which you want to modify configuration items.

Note You can call the DescribeDataLimits operation to query the ID of the data asset.
11
ResourceTypeintegerYes

The name of the service to which the data asset belongs. Valid values:

  • 1: MaxCompute
  • 2: Object Storage Service (OSS)
  • 3: AnalyticDB for MySQL
  • 4: Tablestore
  • 5: ApsaraDB RDS
5
ServiceRegionIdstringNo

The region in which the data asset resides. Valid values:

  • cn-beijing: China (Beijing)
  • cn-zhangjiakou: China (Zhangjiakou)
  • cn-huhehaote: China (Hohhot)
  • cn-hangzhou: China (Hangzhou)
  • cn-shanghai: China (Shanghai)
  • cn-shenzhen: China (Shenzhen)
  • cn-hongkong: China (Hong Kong)
cn-hangzhou
UserNamestringNo

The username used to log on to the ApsaraDB RDS database that you authorize DSC to access.

User01
PasswordstringNo

The password used to log on to the ApsaraDB RDS database that you authorize DSC to access.

********
ModifyPasswordbooleanNo

Specifies whether to change the username and password that are used to log on to the ApsaraDB RDS database. Valid values:

  • true: yes
  • false: no
true
AuditStatusintegerNo

Specifies whether to enable the security audit feature. Valid values:

  • 0: no
  • 1: yes
1
LogStoreDayintegerNo

The retention period of raw logs after you enable the security audit feature. Unit: days. Valid values:

  • 30
  • 90
  • 180
  • 365
30
EngineTypestringNo

The database engine that is run by the instance. Valid values:

  • MySQL
  • SQLServer
MySQL
PortintegerNo

The port that is used to connect to the database.

3306
AutoScanintegerNo

Specifies whether to automatically trigger a re-scan after a rule is modified. Valid values:

  • 0: no
  • 1: yes
Note When a re-scan is triggered, DSC scans all data in your data asset.
1
SamplingSizeintegerNo

The number of sensitive data samples tht are collected after sensitive data detection is enabled. Valid values:

  • 0
  • 5
  • 10
0
VpcIdstringNo

The ID of the virtual private cloud (VPC) to which the data asset belongs.

vpc-2zevcqke6hh09c41****
SecurityGroupIdListarrayNo

The security group that is used by PrivateLink when you install the DSC agent.

stringNo
sg-bp113yf20quxkvy****
VSwitchIdListarrayNo

The vSwitch that is used by PrivateLink when you install the DSC agent.

stringNo
vsw-bp1kk2mtrtey7o4ju****
FeatureTypeintegerNo

This parameter is deprecated.

2

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

7C3AC882-E5A8-4855-BE77-B6837B695EF1

Examples

Sample success responses

JSONformat

{
  "RequestId": "7C3AC882-E5A8-4855-BE77-B6837B695EF1"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-03-25The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: FeatureType
2022-07-18The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: VpcId
    Added Input Parameters: SecurityGroupIdList
    Added Input Parameters: VSwitchIdList