Configures a distributed transaction whitelist for an ApsaraDB RDS for SQL Server instance.
Operation description
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DBInstanceId | string | Yes | The instance ID. You can call the DescribeDBInstances operation to query the instance ID. | rm-uf6wjk5xxxxxxx |
SecurityIpHosts | string | Yes | The IP address of the ECS instance and the hostname of the Windows computer. Format: Note
For more information about how to query the computer hostname, see Configure a distributed transaction whitelist.
| 192.168.1.100,k3ecstest |
WhiteListGroupName | string | Yes | The name of the IP address whitelist. | test1 |
RegionId | string | Yes | The region ID. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
Response parameters
Examples
Sample success responses
JSON
format
{
"DBInstanceId": "rm-uf6wjk5xxxxxxx",
"RequestId": "671B6D32-B907-4EFF-A3B7-94D2EAD5E3A3",
"TaskId": "178968983",
"DTCSetResult": "Success"
}
Error codes
For a list of error codes, visit the Service error codes.