@alicloud/dts20200101 1.8.6 → 1.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +2 -2
- package/dist/client.js +11 -11
- package/dist/client.js.map +1 -1
- package/dist/models/ModifyDtsJobEndpointRequest.d.ts +44 -11
- package/dist/models/ModifyDtsJobEndpointRequest.js +6 -0
- package/dist/models/ModifyDtsJobEndpointRequest.js.map +1 -1
- package/dist/models/ModifyDtsJobEndpointResponseBody.d.ts +2 -2
- package/package.json +1 -1
- package/src/client.ts +14 -11
- package/src/models/ModifyDtsJobEndpointRequest.ts +50 -11
- package/src/models/ModifyDtsJobEndpointResponseBody.ts +2 -2
package/dist/client.d.ts
CHANGED
|
@@ -1511,7 +1511,7 @@ export default class Client extends OpenApi {
|
|
|
1511
1511
|
* Modifies the source or destination instance of a DTS synchronization or migration task.
|
|
1512
1512
|
*
|
|
1513
1513
|
* @remarks
|
|
1514
|
-
* > After the database instance is modified, the DTS incremental write module rolls back writes by 10 seconds. If the synchronized or migrated
|
|
1514
|
+
* > After the database instance is modified, the DTS incremental write module rolls back writes by 10 seconds. If the data being synchronized or migrated does not have a primary key, stop writing data to the business associated with the source instance during the database instance replacement. Otherwise, duplicate data may occur.
|
|
1515
1515
|
*
|
|
1516
1516
|
* @param request - ModifyDtsJobEndpointRequest
|
|
1517
1517
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1522,7 +1522,7 @@ export default class Client extends OpenApi {
|
|
|
1522
1522
|
* Modifies the source or destination instance of a DTS synchronization or migration task.
|
|
1523
1523
|
*
|
|
1524
1524
|
* @remarks
|
|
1525
|
-
* > After the database instance is modified, the DTS incremental write module rolls back writes by 10 seconds. If the synchronized or migrated
|
|
1525
|
+
* > After the database instance is modified, the DTS incremental write module rolls back writes by 10 seconds. If the data being synchronized or migrated does not have a primary key, stop writing data to the business associated with the source instance during the database instance replacement. Otherwise, duplicate data may occur.
|
|
1526
1526
|
*
|
|
1527
1527
|
* @param request - ModifyDtsJobEndpointRequest
|
|
1528
1528
|
* @returns ModifyDtsJobEndpointResponse
|
package/dist/client.js
CHANGED
|
@@ -102,15 +102,6 @@ class Client extends openapi_core_1.default {
|
|
|
102
102
|
'cn-zhengzhou-nebula-1': "dts.aliyuncs.com",
|
|
103
103
|
'eu-west-1-oxs': "dts.aliyuncs.com",
|
|
104
104
|
'rus-west-1-pop': "dts.aliyuncs.com",
|
|
105
|
-
'ap-northeast-1': "dts.ap-northeast-1.aliyuncs.com",
|
|
106
|
-
'ap-northeast-2': "dts.ap-northeast-2.aliyuncs.com",
|
|
107
|
-
'ap-southeast-6': "dts.ap-southeast-6.aliyuncs.com",
|
|
108
|
-
'ap-southeast-7': "dts.ap-southeast-7.aliyuncs.com",
|
|
109
|
-
'cn-guangzhou': "dts.cn-guangzhou.aliyuncs.com",
|
|
110
|
-
'cn-heyuan': "dts.cn-heyuan.aliyuncs.com",
|
|
111
|
-
'cn-wuhan-lr': "dts.cn-wuhan-lr.aliyuncs.com",
|
|
112
|
-
'cn-zhengzhou-jva': "dts.cn-zhengzhou-jva.aliyuncs.com",
|
|
113
|
-
'me-central-1': "dts.me-central-1.aliyuncs.com",
|
|
114
105
|
};
|
|
115
106
|
this.checkConfig(config);
|
|
116
107
|
this._endpoint = this.getEndpoint("dts", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -6118,7 +6109,7 @@ class Client extends openapi_core_1.default {
|
|
|
6118
6109
|
* Modifies the source or destination instance of a DTS synchronization or migration task.
|
|
6119
6110
|
*
|
|
6120
6111
|
* @remarks
|
|
6121
|
-
* > After the database instance is modified, the DTS incremental write module rolls back writes by 10 seconds. If the synchronized or migrated
|
|
6112
|
+
* > After the database instance is modified, the DTS incremental write module rolls back writes by 10 seconds. If the data being synchronized or migrated does not have a primary key, stop writing data to the business associated with the source instance during the database instance replacement. Otherwise, duplicate data may occur.
|
|
6122
6113
|
*
|
|
6123
6114
|
* @param request - ModifyDtsJobEndpointRequest
|
|
6124
6115
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6157,9 +6148,18 @@ class Client extends openapi_core_1.default {
|
|
|
6157
6148
|
if (!$dara.isNull(request.endpointPort)) {
|
|
6158
6149
|
query["EndpointPort"] = request.endpointPort;
|
|
6159
6150
|
}
|
|
6151
|
+
if (!$dara.isNull(request.endpointPrimaryVswId)) {
|
|
6152
|
+
query["EndpointPrimaryVswId"] = request.endpointPrimaryVswId;
|
|
6153
|
+
}
|
|
6160
6154
|
if (!$dara.isNull(request.endpointRegionId)) {
|
|
6161
6155
|
query["EndpointRegionId"] = request.endpointRegionId;
|
|
6162
6156
|
}
|
|
6157
|
+
if (!$dara.isNull(request.endpointSecondaryVswId)) {
|
|
6158
|
+
query["EndpointSecondaryVswId"] = request.endpointSecondaryVswId;
|
|
6159
|
+
}
|
|
6160
|
+
if (!$dara.isNull(request.endpointVpcId)) {
|
|
6161
|
+
query["EndpointVpcId"] = request.endpointVpcId;
|
|
6162
|
+
}
|
|
6163
6163
|
if (!$dara.isNull(request.modifyAccount)) {
|
|
6164
6164
|
query["ModifyAccount"] = request.modifyAccount;
|
|
6165
6165
|
}
|
|
@@ -6210,7 +6210,7 @@ class Client extends openapi_core_1.default {
|
|
|
6210
6210
|
* Modifies the source or destination instance of a DTS synchronization or migration task.
|
|
6211
6211
|
*
|
|
6212
6212
|
* @remarks
|
|
6213
|
-
* > After the database instance is modified, the DTS incremental write module rolls back writes by 10 seconds. If the synchronized or migrated
|
|
6213
|
+
* > After the database instance is modified, the DTS incremental write module rolls back writes by 10 seconds. If the data being synchronized or migrated does not have a primary key, stop writing data to the business associated with the source instance during the database instance replacement. Otherwise, duplicate data may occur.
|
|
6214
6214
|
*
|
|
6215
6215
|
* @param request - ModifyDtsJobEndpointRequest
|
|
6216
6216
|
* @returns ModifyDtsJobEndpointResponse
|