All Products
Search
Document Center

Data Security Center:ModifyDataLimit

Last Updated:Nov 27, 2025

You can call ModifyDataLimit to modify the configuration items of a connection authorization in Data Security Center (DSC).

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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: Chinese (default)

  • en: English

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:

  • 1: MaxCompute

  • 2: OSS

  • 3: ADS

  • 4: OTS

  • 5: RDS

5

ServiceRegionId

string

No

The ID of the region in which the data asset is located. 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

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: Modify the username and password.

  • false: Do not modify the username and password.

true

AuditStatus

integer

No

Specifies whether to enable auditing. Valid values:

  • 0: Disable auditing.

  • 1: Enable auditing.

1

LogStoreDay

integer

No

The retention period of raw logs after auditing is enabled. Unit: days. Valid values:

  • 30

  • 90

  • 180

  • 365

30

EngineType

string

No

The type of the database. Valid values:

  • MySQL

  • SQLServer

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:

  • 0: Do not automatically trigger a rescan.

  • 1: Automatically trigger a rescan.

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

  • 5

  • 10

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.