@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
|
@@ -24,8 +24,8 @@ export declare class ModifyDtsJobEndpointRequest extends $dara.Model {
|
|
|
24
24
|
* @remarks
|
|
25
25
|
* Specifies whether to perform only a dry run. Valid values:
|
|
26
26
|
*
|
|
27
|
-
* - **true**:
|
|
28
|
-
* - **false** (default):
|
|
27
|
+
* - **true**: Yes. After the dry run succeeds, the instance is not modified.
|
|
28
|
+
* - **false** (default): No. After the dry run succeeds, the database instance of the DTS task is modified and the task runs.
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
31
|
* true
|
|
@@ -42,7 +42,7 @@ export declare class ModifyDtsJobEndpointRequest extends $dara.Model {
|
|
|
42
42
|
dtsInstanceId?: string;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The DTS task
|
|
45
|
+
* The ID of the DTS task. You can call [DescribeDtsJobs](https://help.aliyun.com/document_detail/209702.html) to query the task ID.
|
|
46
46
|
*
|
|
47
47
|
* > If you do not specify this parameter, you must specify **DtsInstanceId**.
|
|
48
48
|
*
|
|
@@ -52,7 +52,7 @@ export declare class ModifyDtsJobEndpointRequest extends $dara.Model {
|
|
|
52
52
|
dtsJobId?: string;
|
|
53
53
|
/**
|
|
54
54
|
* @remarks
|
|
55
|
-
* The database instance to
|
|
55
|
+
* The database instance to be modified. Valid values:
|
|
56
56
|
*
|
|
57
57
|
* - **src**: source instance.
|
|
58
58
|
* - **dest**: destination instance.
|
|
@@ -84,13 +84,13 @@ export declare class ModifyDtsJobEndpointRequest extends $dara.Model {
|
|
|
84
84
|
*
|
|
85
85
|
* - **greenplum**: cloud-native data warehouse AnalyticDB for PostgreSQL.
|
|
86
86
|
* - **kafka**: ApsaraMQ for Kafka.
|
|
87
|
-
* - **ecs**:
|
|
88
|
-
* - **express**:
|
|
89
|
-
* - **other**:
|
|
87
|
+
* - **ecs**: self-managed database on an ECS instance (only supported database types).
|
|
88
|
+
* - **express**: database connected over Express Connect (only supported database types).
|
|
89
|
+
* - **other**: database connected over the Internet (only supported database types).
|
|
90
90
|
*
|
|
91
91
|
* > - Currently supported database types include **MySQL**, **PolarDB for MySQL**, **PostgreSQL**, **PolarDB for PostgreSQL**, **MongoDB**, **Kafka**, and **AnalyticDB PostgreSQL**.
|
|
92
92
|
* - If the database is MongoDB (sharded cluster), the number of shards in the new database must be the same as that in the original MongoDB (sharded cluster).
|
|
93
|
-
* - If
|
|
93
|
+
* - If the source instance is to be modified and the database type is **PostgreSQL**, make sure that the latency of the DTS instance is less than 30 seconds and stop writing data to the source. Otherwise, inconsistent data may occur.
|
|
94
94
|
* - The parameter values are case-insensitive.
|
|
95
95
|
*
|
|
96
96
|
* This parameter is required.
|
|
@@ -115,6 +115,14 @@ export declare class ModifyDtsJobEndpointRequest extends $dara.Model {
|
|
|
115
115
|
* 3306
|
|
116
116
|
*/
|
|
117
117
|
endpointPort?: string;
|
|
118
|
+
/**
|
|
119
|
+
* @remarks
|
|
120
|
+
* The primary vSwitch for Express Connect access.
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* vsw-bp1w7gscw7pky*******
|
|
124
|
+
*/
|
|
125
|
+
endpointPrimaryVswId?: string;
|
|
118
126
|
/**
|
|
119
127
|
* @remarks
|
|
120
128
|
* The region to which the database instance belongs.
|
|
@@ -123,12 +131,28 @@ export declare class ModifyDtsJobEndpointRequest extends $dara.Model {
|
|
|
123
131
|
* cn-hangzhou
|
|
124
132
|
*/
|
|
125
133
|
endpointRegionId?: string;
|
|
134
|
+
/**
|
|
135
|
+
* @remarks
|
|
136
|
+
* The secondary vSwitch for Express Connect access.
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* vsw-bp1ud8e2mhw*****
|
|
140
|
+
*/
|
|
141
|
+
endpointSecondaryVswId?: string;
|
|
142
|
+
/**
|
|
143
|
+
* @remarks
|
|
144
|
+
* The VPC ID for Express Connect access.
|
|
145
|
+
*
|
|
146
|
+
* @example
|
|
147
|
+
* vpc-bp1q00qitocaem****
|
|
148
|
+
*/
|
|
149
|
+
endpointVpcId?: string;
|
|
126
150
|
/**
|
|
127
151
|
* @remarks
|
|
128
152
|
* Specifies whether to modify the account and password. Valid values:
|
|
129
153
|
*
|
|
130
|
-
* - **true**:
|
|
131
|
-
* - **false** (default):
|
|
154
|
+
* - **true**: Yes.
|
|
155
|
+
* - **false** (default): No.
|
|
132
156
|
*
|
|
133
157
|
* @example
|
|
134
158
|
* false
|
|
@@ -164,7 +188,7 @@ export declare class ModifyDtsJobEndpointRequest extends $dara.Model {
|
|
|
164
188
|
* @remarks
|
|
165
189
|
* The name of the RAM role for cross-account access.
|
|
166
190
|
*
|
|
167
|
-
* >
|
|
191
|
+
* > Specify this parameter when performing cross-account data synchronization. For the required permissions and authorization method of this role, see [Configure RAM authorization for cross-account data migration or synchronization](https://help.aliyun.com/document_detail/48468.html).
|
|
168
192
|
*
|
|
169
193
|
* @example
|
|
170
194
|
* ram-for-dts
|
|
@@ -213,6 +237,15 @@ export declare class ModifyDtsJobEndpointRequest extends $dara.Model {
|
|
|
213
237
|
* dtstest
|
|
214
238
|
*/
|
|
215
239
|
username?: string;
|
|
240
|
+
/**
|
|
241
|
+
* @remarks
|
|
242
|
+
* Specifies whether this is a seamless integration (zero-ETL) node. Valid values:
|
|
243
|
+
* - **true**: Yes.
|
|
244
|
+
* - **false**: No.
|
|
245
|
+
*
|
|
246
|
+
* @example
|
|
247
|
+
* true
|
|
248
|
+
*/
|
|
216
249
|
zeroEtlJob?: boolean;
|
|
217
250
|
static names(): {
|
|
218
251
|
[key: string]: string;
|
|
@@ -49,7 +49,10 @@ class ModifyDtsJobEndpointRequest extends $dara.Model {
|
|
|
49
49
|
endpointInstanceType: 'EndpointInstanceType',
|
|
50
50
|
endpointIp: 'EndpointIp',
|
|
51
51
|
endpointPort: 'EndpointPort',
|
|
52
|
+
endpointPrimaryVswId: 'EndpointPrimaryVswId',
|
|
52
53
|
endpointRegionId: 'EndpointRegionId',
|
|
54
|
+
endpointSecondaryVswId: 'EndpointSecondaryVswId',
|
|
55
|
+
endpointVpcId: 'EndpointVpcId',
|
|
53
56
|
modifyAccount: 'ModifyAccount',
|
|
54
57
|
password: 'Password',
|
|
55
58
|
regionId: 'RegionId',
|
|
@@ -74,7 +77,10 @@ class ModifyDtsJobEndpointRequest extends $dara.Model {
|
|
|
74
77
|
endpointInstanceType: 'string',
|
|
75
78
|
endpointIp: 'string',
|
|
76
79
|
endpointPort: 'string',
|
|
80
|
+
endpointPrimaryVswId: 'string',
|
|
77
81
|
endpointRegionId: 'string',
|
|
82
|
+
endpointSecondaryVswId: 'string',
|
|
83
|
+
endpointVpcId: 'string',
|
|
78
84
|
modifyAccount: 'boolean',
|
|
79
85
|
password: 'string',
|
|
80
86
|
regionId: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModifyDtsJobEndpointRequest.js","sourceRoot":"","sources":["../../src/models/ModifyDtsJobEndpointRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ModifyDtsJobEndpointRequest.js","sourceRoot":"","sources":["../../src/models/ModifyDtsJobEndpointRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAwP1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,eAAe;YAC9B,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,kBAAkB,EAAE,oBAAoB;YACxC,oBAAoB,EAAE,sBAAsB;YAC5C,UAAU,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;YAC5B,oBAAoB,EAAE,sBAAsB;YAC5C,gBAAgB,EAAE,kBAAkB;YACpC,sBAAsB,EAAE,wBAAwB;YAChD,aAAa,EAAE,eAAe;YAC9B,aAAa,EAAE,eAAe;YAC9B,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;YAClC,QAAQ,EAAE,UAAU;YACpB,aAAa,EAAE,eAAe;YAC9B,aAAa,EAAE,eAAe;YAC9B,wBAAwB,EAAE,0BAA0B;YACpD,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,SAAS;YACjB,aAAa,EAAE,QAAQ;YACvB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,kBAAkB,EAAE,QAAQ;YAC5B,oBAAoB,EAAE,QAAQ;YAC9B,UAAU,EAAE,QAAQ;YACpB,YAAY,EAAE,QAAQ;YACtB,oBAAoB,EAAE,QAAQ;YAC9B,gBAAgB,EAAE,QAAQ;YAC1B,sBAAsB,EAAE,QAAQ;YAChC,aAAa,EAAE,QAAQ;YACvB,aAAa,EAAE,SAAS;YACxB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;YACzB,QAAQ,EAAE,QAAQ;YAClB,aAAa,EAAE,QAAQ;YACvB,aAAa,EAAE,QAAQ;YACvB,wBAAwB,EAAE,QAAQ;YAClC,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,SAAS;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzTD,kEAyTC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ModifyDtsJobEndpointResponseBody extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The error code returned
|
|
5
|
+
* The error code returned when the call fails.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* DTS.Msg.InvalidEndpoint
|
|
@@ -10,7 +10,7 @@ export declare class ModifyDtsJobEndpointResponseBody extends $dara.Model {
|
|
|
10
10
|
errCode?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The error message returned
|
|
13
|
+
* The error message returned when the call fails.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* The endpoint is invalid.
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -68,15 +68,6 @@ export default class Client extends OpenApi {
|
|
|
68
68
|
'cn-zhengzhou-nebula-1': "dts.aliyuncs.com",
|
|
69
69
|
'eu-west-1-oxs': "dts.aliyuncs.com",
|
|
70
70
|
'rus-west-1-pop': "dts.aliyuncs.com",
|
|
71
|
-
'ap-northeast-1': "dts.ap-northeast-1.aliyuncs.com",
|
|
72
|
-
'ap-northeast-2': "dts.ap-northeast-2.aliyuncs.com",
|
|
73
|
-
'ap-southeast-6': "dts.ap-southeast-6.aliyuncs.com",
|
|
74
|
-
'ap-southeast-7': "dts.ap-southeast-7.aliyuncs.com",
|
|
75
|
-
'cn-guangzhou': "dts.cn-guangzhou.aliyuncs.com",
|
|
76
|
-
'cn-heyuan': "dts.cn-heyuan.aliyuncs.com",
|
|
77
|
-
'cn-wuhan-lr': "dts.cn-wuhan-lr.aliyuncs.com",
|
|
78
|
-
'cn-zhengzhou-jva': "dts.cn-zhengzhou-jva.aliyuncs.com",
|
|
79
|
-
'me-central-1': "dts.me-central-1.aliyuncs.com",
|
|
80
71
|
};
|
|
81
72
|
this.checkConfig(config);
|
|
82
73
|
this._endpoint = this.getEndpoint("dts", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -7061,7 +7052,7 @@ export default class Client extends OpenApi {
|
|
|
7061
7052
|
* Modifies the source or destination instance of a DTS synchronization or migration task.
|
|
7062
7053
|
*
|
|
7063
7054
|
* @remarks
|
|
7064
|
-
* > After the database instance is modified, the DTS incremental write module rolls back writes by 10 seconds. If the synchronized or migrated
|
|
7055
|
+
* > 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.
|
|
7065
7056
|
*
|
|
7066
7057
|
* @param request - ModifyDtsJobEndpointRequest
|
|
7067
7058
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7110,10 +7101,22 @@ export default class Client extends OpenApi {
|
|
|
7110
7101
|
query["EndpointPort"] = request.endpointPort;
|
|
7111
7102
|
}
|
|
7112
7103
|
|
|
7104
|
+
if (!$dara.isNull(request.endpointPrimaryVswId)) {
|
|
7105
|
+
query["EndpointPrimaryVswId"] = request.endpointPrimaryVswId;
|
|
7106
|
+
}
|
|
7107
|
+
|
|
7113
7108
|
if (!$dara.isNull(request.endpointRegionId)) {
|
|
7114
7109
|
query["EndpointRegionId"] = request.endpointRegionId;
|
|
7115
7110
|
}
|
|
7116
7111
|
|
|
7112
|
+
if (!$dara.isNull(request.endpointSecondaryVswId)) {
|
|
7113
|
+
query["EndpointSecondaryVswId"] = request.endpointSecondaryVswId;
|
|
7114
|
+
}
|
|
7115
|
+
|
|
7116
|
+
if (!$dara.isNull(request.endpointVpcId)) {
|
|
7117
|
+
query["EndpointVpcId"] = request.endpointVpcId;
|
|
7118
|
+
}
|
|
7119
|
+
|
|
7117
7120
|
if (!$dara.isNull(request.modifyAccount)) {
|
|
7118
7121
|
query["ModifyAccount"] = request.modifyAccount;
|
|
7119
7122
|
}
|
|
@@ -7175,7 +7178,7 @@ export default class Client extends OpenApi {
|
|
|
7175
7178
|
* Modifies the source or destination instance of a DTS synchronization or migration task.
|
|
7176
7179
|
*
|
|
7177
7180
|
* @remarks
|
|
7178
|
-
* > After the database instance is modified, the DTS incremental write module rolls back writes by 10 seconds. If the synchronized or migrated
|
|
7181
|
+
* > 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.
|
|
7179
7182
|
*
|
|
7180
7183
|
* @param request - ModifyDtsJobEndpointRequest
|
|
7181
7184
|
* @returns ModifyDtsJobEndpointResponse
|
|
@@ -27,8 +27,8 @@ export class ModifyDtsJobEndpointRequest extends $dara.Model {
|
|
|
27
27
|
* @remarks
|
|
28
28
|
* Specifies whether to perform only a dry run. Valid values:
|
|
29
29
|
*
|
|
30
|
-
* - **true**:
|
|
31
|
-
* - **false** (default):
|
|
30
|
+
* - **true**: Yes. After the dry run succeeds, the instance is not modified.
|
|
31
|
+
* - **false** (default): No. After the dry run succeeds, the database instance of the DTS task is modified and the task runs.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
34
|
* true
|
|
@@ -45,7 +45,7 @@ export class ModifyDtsJobEndpointRequest extends $dara.Model {
|
|
|
45
45
|
dtsInstanceId?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The DTS task
|
|
48
|
+
* The ID of the DTS task. You can call [DescribeDtsJobs](https://help.aliyun.com/document_detail/209702.html) to query the task ID.
|
|
49
49
|
*
|
|
50
50
|
* > If you do not specify this parameter, you must specify **DtsInstanceId**.
|
|
51
51
|
*
|
|
@@ -55,7 +55,7 @@ export class ModifyDtsJobEndpointRequest extends $dara.Model {
|
|
|
55
55
|
dtsJobId?: string;
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The database instance to
|
|
58
|
+
* The database instance to be modified. Valid values:
|
|
59
59
|
*
|
|
60
60
|
* - **src**: source instance.
|
|
61
61
|
* - **dest**: destination instance.
|
|
@@ -87,13 +87,13 @@ export class ModifyDtsJobEndpointRequest extends $dara.Model {
|
|
|
87
87
|
*
|
|
88
88
|
* - **greenplum**: cloud-native data warehouse AnalyticDB for PostgreSQL.
|
|
89
89
|
* - **kafka**: ApsaraMQ for Kafka.
|
|
90
|
-
* - **ecs**:
|
|
91
|
-
* - **express**:
|
|
92
|
-
* - **other**:
|
|
90
|
+
* - **ecs**: self-managed database on an ECS instance (only supported database types).
|
|
91
|
+
* - **express**: database connected over Express Connect (only supported database types).
|
|
92
|
+
* - **other**: database connected over the Internet (only supported database types).
|
|
93
93
|
*
|
|
94
94
|
* > - Currently supported database types include **MySQL**, **PolarDB for MySQL**, **PostgreSQL**, **PolarDB for PostgreSQL**, **MongoDB**, **Kafka**, and **AnalyticDB PostgreSQL**.
|
|
95
95
|
* - If the database is MongoDB (sharded cluster), the number of shards in the new database must be the same as that in the original MongoDB (sharded cluster).
|
|
96
|
-
* - If
|
|
96
|
+
* - If the source instance is to be modified and the database type is **PostgreSQL**, make sure that the latency of the DTS instance is less than 30 seconds and stop writing data to the source. Otherwise, inconsistent data may occur.
|
|
97
97
|
* - The parameter values are case-insensitive.
|
|
98
98
|
*
|
|
99
99
|
* This parameter is required.
|
|
@@ -118,6 +118,14 @@ export class ModifyDtsJobEndpointRequest extends $dara.Model {
|
|
|
118
118
|
* 3306
|
|
119
119
|
*/
|
|
120
120
|
endpointPort?: string;
|
|
121
|
+
/**
|
|
122
|
+
* @remarks
|
|
123
|
+
* The primary vSwitch for Express Connect access.
|
|
124
|
+
*
|
|
125
|
+
* @example
|
|
126
|
+
* vsw-bp1w7gscw7pky*******
|
|
127
|
+
*/
|
|
128
|
+
endpointPrimaryVswId?: string;
|
|
121
129
|
/**
|
|
122
130
|
* @remarks
|
|
123
131
|
* The region to which the database instance belongs.
|
|
@@ -126,12 +134,28 @@ export class ModifyDtsJobEndpointRequest extends $dara.Model {
|
|
|
126
134
|
* cn-hangzhou
|
|
127
135
|
*/
|
|
128
136
|
endpointRegionId?: string;
|
|
137
|
+
/**
|
|
138
|
+
* @remarks
|
|
139
|
+
* The secondary vSwitch for Express Connect access.
|
|
140
|
+
*
|
|
141
|
+
* @example
|
|
142
|
+
* vsw-bp1ud8e2mhw*****
|
|
143
|
+
*/
|
|
144
|
+
endpointSecondaryVswId?: string;
|
|
145
|
+
/**
|
|
146
|
+
* @remarks
|
|
147
|
+
* The VPC ID for Express Connect access.
|
|
148
|
+
*
|
|
149
|
+
* @example
|
|
150
|
+
* vpc-bp1q00qitocaem****
|
|
151
|
+
*/
|
|
152
|
+
endpointVpcId?: string;
|
|
129
153
|
/**
|
|
130
154
|
* @remarks
|
|
131
155
|
* Specifies whether to modify the account and password. Valid values:
|
|
132
156
|
*
|
|
133
|
-
* - **true**:
|
|
134
|
-
* - **false** (default):
|
|
157
|
+
* - **true**: Yes.
|
|
158
|
+
* - **false** (default): No.
|
|
135
159
|
*
|
|
136
160
|
* @example
|
|
137
161
|
* false
|
|
@@ -167,7 +191,7 @@ export class ModifyDtsJobEndpointRequest extends $dara.Model {
|
|
|
167
191
|
* @remarks
|
|
168
192
|
* The name of the RAM role for cross-account access.
|
|
169
193
|
*
|
|
170
|
-
* >
|
|
194
|
+
* > Specify this parameter when performing cross-account data synchronization. For the required permissions and authorization method of this role, see [Configure RAM authorization for cross-account data migration or synchronization](https://help.aliyun.com/document_detail/48468.html).
|
|
171
195
|
*
|
|
172
196
|
* @example
|
|
173
197
|
* ram-for-dts
|
|
@@ -216,6 +240,15 @@ export class ModifyDtsJobEndpointRequest extends $dara.Model {
|
|
|
216
240
|
* dtstest
|
|
217
241
|
*/
|
|
218
242
|
username?: string;
|
|
243
|
+
/**
|
|
244
|
+
* @remarks
|
|
245
|
+
* Specifies whether this is a seamless integration (zero-ETL) node. Valid values:
|
|
246
|
+
* - **true**: Yes.
|
|
247
|
+
* - **false**: No.
|
|
248
|
+
*
|
|
249
|
+
* @example
|
|
250
|
+
* true
|
|
251
|
+
*/
|
|
219
252
|
zeroEtlJob?: boolean;
|
|
220
253
|
static names(): { [key: string]: string } {
|
|
221
254
|
return {
|
|
@@ -229,7 +262,10 @@ export class ModifyDtsJobEndpointRequest extends $dara.Model {
|
|
|
229
262
|
endpointInstanceType: 'EndpointInstanceType',
|
|
230
263
|
endpointIp: 'EndpointIp',
|
|
231
264
|
endpointPort: 'EndpointPort',
|
|
265
|
+
endpointPrimaryVswId: 'EndpointPrimaryVswId',
|
|
232
266
|
endpointRegionId: 'EndpointRegionId',
|
|
267
|
+
endpointSecondaryVswId: 'EndpointSecondaryVswId',
|
|
268
|
+
endpointVpcId: 'EndpointVpcId',
|
|
233
269
|
modifyAccount: 'ModifyAccount',
|
|
234
270
|
password: 'Password',
|
|
235
271
|
regionId: 'RegionId',
|
|
@@ -255,7 +291,10 @@ export class ModifyDtsJobEndpointRequest extends $dara.Model {
|
|
|
255
291
|
endpointInstanceType: 'string',
|
|
256
292
|
endpointIp: 'string',
|
|
257
293
|
endpointPort: 'string',
|
|
294
|
+
endpointPrimaryVswId: 'string',
|
|
258
295
|
endpointRegionId: 'string',
|
|
296
|
+
endpointSecondaryVswId: 'string',
|
|
297
|
+
endpointVpcId: 'string',
|
|
259
298
|
modifyAccount: 'boolean',
|
|
260
299
|
password: 'string',
|
|
261
300
|
regionId: 'string',
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyDtsJobEndpointResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The error code returned
|
|
8
|
+
* The error code returned when the call fails.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* DTS.Msg.InvalidEndpoint
|
|
@@ -13,7 +13,7 @@ export class ModifyDtsJobEndpointResponseBody extends $dara.Model {
|
|
|
13
13
|
errCode?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The error message returned
|
|
16
|
+
* The error message returned when the call fails.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* The endpoint is invalid.
|