@alicloud/dts20200101 1.2.0 → 1.3.0
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 +139 -0
- package/dist/client.js +268 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +339 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/dts20200101",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@alicloud/openplatform20191219": "2.0.0",
|
|
26
26
|
"@alicloud/oss-util": "0.0.1",
|
|
27
27
|
"@alicloud/tea-fileform": "^1.0.0",
|
|
28
|
-
"@alicloud/openapi-client": "^0.4.
|
|
28
|
+
"@alicloud/openapi-client": "^0.4.7",
|
|
29
29
|
"@alicloud/openapi-util": "^0.3.2",
|
|
30
30
|
"@alicloud/endpoint-util": "^0.0.1"
|
|
31
31
|
},
|
package/src/client.ts
CHANGED
|
@@ -23,6 +23,8 @@ export class ConfigureDtsJobRequest extends $tea.Model {
|
|
|
23
23
|
delayNotice?: boolean;
|
|
24
24
|
delayPhone?: string;
|
|
25
25
|
delayRuleTime?: number;
|
|
26
|
+
destCaCertificateOssUrl?: string;
|
|
27
|
+
destCaCertificatePassword?: string;
|
|
26
28
|
destinationEndpointDataBaseName?: string;
|
|
27
29
|
destinationEndpointEngineName?: string;
|
|
28
30
|
destinationEndpointIP?: string;
|
|
@@ -60,6 +62,8 @@ export class ConfigureDtsJobRequest extends $tea.Model {
|
|
|
60
62
|
sourceEndpointRole?: string;
|
|
61
63
|
sourceEndpointUserName?: string;
|
|
62
64
|
sourceEndpointVSwitchID?: string;
|
|
65
|
+
srcCaCertificateOssUrl?: string;
|
|
66
|
+
srcCaCertificatePassword?: string;
|
|
63
67
|
structureInitialization?: boolean;
|
|
64
68
|
synchronizationDirection?: string;
|
|
65
69
|
static names(): { [key: string]: string } {
|
|
@@ -73,6 +77,8 @@ export class ConfigureDtsJobRequest extends $tea.Model {
|
|
|
73
77
|
delayNotice: 'DelayNotice',
|
|
74
78
|
delayPhone: 'DelayPhone',
|
|
75
79
|
delayRuleTime: 'DelayRuleTime',
|
|
80
|
+
destCaCertificateOssUrl: 'DestCaCertificateOssUrl',
|
|
81
|
+
destCaCertificatePassword: 'DestCaCertificatePassword',
|
|
76
82
|
destinationEndpointDataBaseName: 'DestinationEndpointDataBaseName',
|
|
77
83
|
destinationEndpointEngineName: 'DestinationEndpointEngineName',
|
|
78
84
|
destinationEndpointIP: 'DestinationEndpointIP',
|
|
@@ -110,6 +116,8 @@ export class ConfigureDtsJobRequest extends $tea.Model {
|
|
|
110
116
|
sourceEndpointRole: 'SourceEndpointRole',
|
|
111
117
|
sourceEndpointUserName: 'SourceEndpointUserName',
|
|
112
118
|
sourceEndpointVSwitchID: 'SourceEndpointVSwitchID',
|
|
119
|
+
srcCaCertificateOssUrl: 'SrcCaCertificateOssUrl',
|
|
120
|
+
srcCaCertificatePassword: 'SrcCaCertificatePassword',
|
|
113
121
|
structureInitialization: 'StructureInitialization',
|
|
114
122
|
synchronizationDirection: 'SynchronizationDirection',
|
|
115
123
|
};
|
|
@@ -126,6 +134,8 @@ export class ConfigureDtsJobRequest extends $tea.Model {
|
|
|
126
134
|
delayNotice: 'boolean',
|
|
127
135
|
delayPhone: 'string',
|
|
128
136
|
delayRuleTime: 'number',
|
|
137
|
+
destCaCertificateOssUrl: 'string',
|
|
138
|
+
destCaCertificatePassword: 'string',
|
|
129
139
|
destinationEndpointDataBaseName: 'string',
|
|
130
140
|
destinationEndpointEngineName: 'string',
|
|
131
141
|
destinationEndpointIP: 'string',
|
|
@@ -163,6 +173,8 @@ export class ConfigureDtsJobRequest extends $tea.Model {
|
|
|
163
173
|
sourceEndpointRole: 'string',
|
|
164
174
|
sourceEndpointUserName: 'string',
|
|
165
175
|
sourceEndpointVSwitchID: 'string',
|
|
176
|
+
srcCaCertificateOssUrl: 'string',
|
|
177
|
+
srcCaCertificatePassword: 'string',
|
|
166
178
|
structureInitialization: 'boolean',
|
|
167
179
|
synchronizationDirection: 'string',
|
|
168
180
|
};
|
|
@@ -183,6 +195,8 @@ export class ConfigureDtsJobAdvanceRequest extends $tea.Model {
|
|
|
183
195
|
delayNotice?: boolean;
|
|
184
196
|
delayPhone?: string;
|
|
185
197
|
delayRuleTime?: number;
|
|
198
|
+
destCaCertificateOssUrl?: string;
|
|
199
|
+
destCaCertificatePassword?: string;
|
|
186
200
|
destinationEndpointDataBaseName?: string;
|
|
187
201
|
destinationEndpointEngineName?: string;
|
|
188
202
|
destinationEndpointIP?: string;
|
|
@@ -220,6 +234,8 @@ export class ConfigureDtsJobAdvanceRequest extends $tea.Model {
|
|
|
220
234
|
sourceEndpointRole?: string;
|
|
221
235
|
sourceEndpointUserName?: string;
|
|
222
236
|
sourceEndpointVSwitchID?: string;
|
|
237
|
+
srcCaCertificateOssUrl?: string;
|
|
238
|
+
srcCaCertificatePassword?: string;
|
|
223
239
|
structureInitialization?: boolean;
|
|
224
240
|
synchronizationDirection?: string;
|
|
225
241
|
static names(): { [key: string]: string } {
|
|
@@ -233,6 +249,8 @@ export class ConfigureDtsJobAdvanceRequest extends $tea.Model {
|
|
|
233
249
|
delayNotice: 'DelayNotice',
|
|
234
250
|
delayPhone: 'DelayPhone',
|
|
235
251
|
delayRuleTime: 'DelayRuleTime',
|
|
252
|
+
destCaCertificateOssUrl: 'DestCaCertificateOssUrl',
|
|
253
|
+
destCaCertificatePassword: 'DestCaCertificatePassword',
|
|
236
254
|
destinationEndpointDataBaseName: 'DestinationEndpointDataBaseName',
|
|
237
255
|
destinationEndpointEngineName: 'DestinationEndpointEngineName',
|
|
238
256
|
destinationEndpointIP: 'DestinationEndpointIP',
|
|
@@ -270,6 +288,8 @@ export class ConfigureDtsJobAdvanceRequest extends $tea.Model {
|
|
|
270
288
|
sourceEndpointRole: 'SourceEndpointRole',
|
|
271
289
|
sourceEndpointUserName: 'SourceEndpointUserName',
|
|
272
290
|
sourceEndpointVSwitchID: 'SourceEndpointVSwitchID',
|
|
291
|
+
srcCaCertificateOssUrl: 'SrcCaCertificateOssUrl',
|
|
292
|
+
srcCaCertificatePassword: 'SrcCaCertificatePassword',
|
|
273
293
|
structureInitialization: 'StructureInitialization',
|
|
274
294
|
synchronizationDirection: 'SynchronizationDirection',
|
|
275
295
|
};
|
|
@@ -286,6 +306,8 @@ export class ConfigureDtsJobAdvanceRequest extends $tea.Model {
|
|
|
286
306
|
delayNotice: 'boolean',
|
|
287
307
|
delayPhone: 'string',
|
|
288
308
|
delayRuleTime: 'number',
|
|
309
|
+
destCaCertificateOssUrl: 'string',
|
|
310
|
+
destCaCertificatePassword: 'string',
|
|
289
311
|
destinationEndpointDataBaseName: 'string',
|
|
290
312
|
destinationEndpointEngineName: 'string',
|
|
291
313
|
destinationEndpointIP: 'string',
|
|
@@ -323,6 +345,8 @@ export class ConfigureDtsJobAdvanceRequest extends $tea.Model {
|
|
|
323
345
|
sourceEndpointRole: 'string',
|
|
324
346
|
sourceEndpointUserName: 'string',
|
|
325
347
|
sourceEndpointVSwitchID: 'string',
|
|
348
|
+
srcCaCertificateOssUrl: 'string',
|
|
349
|
+
srcCaCertificatePassword: 'string',
|
|
326
350
|
structureInitialization: 'boolean',
|
|
327
351
|
synchronizationDirection: 'string',
|
|
328
352
|
};
|
|
@@ -1988,6 +2012,87 @@ export class CreateMigrationJobResponse extends $tea.Model {
|
|
|
1988
2012
|
}
|
|
1989
2013
|
}
|
|
1990
2014
|
|
|
2015
|
+
export class CreateReverseDtsJobRequest extends $tea.Model {
|
|
2016
|
+
dtsJobId?: string;
|
|
2017
|
+
static names(): { [key: string]: string } {
|
|
2018
|
+
return {
|
|
2019
|
+
dtsJobId: 'DtsJobId',
|
|
2020
|
+
};
|
|
2021
|
+
}
|
|
2022
|
+
|
|
2023
|
+
static types(): { [key: string]: any } {
|
|
2024
|
+
return {
|
|
2025
|
+
dtsJobId: 'string',
|
|
2026
|
+
};
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
constructor(map?: { [key: string]: any }) {
|
|
2030
|
+
super(map);
|
|
2031
|
+
}
|
|
2032
|
+
}
|
|
2033
|
+
|
|
2034
|
+
export class CreateReverseDtsJobResponseBody extends $tea.Model {
|
|
2035
|
+
dtsInstanceId?: string;
|
|
2036
|
+
dtsJobId?: string;
|
|
2037
|
+
errCode?: string;
|
|
2038
|
+
errMessage?: string;
|
|
2039
|
+
httpStatusCode?: string;
|
|
2040
|
+
requestId?: string;
|
|
2041
|
+
success?: string;
|
|
2042
|
+
static names(): { [key: string]: string } {
|
|
2043
|
+
return {
|
|
2044
|
+
dtsInstanceId: 'DtsInstanceId',
|
|
2045
|
+
dtsJobId: 'DtsJobId',
|
|
2046
|
+
errCode: 'ErrCode',
|
|
2047
|
+
errMessage: 'ErrMessage',
|
|
2048
|
+
httpStatusCode: 'HttpStatusCode',
|
|
2049
|
+
requestId: 'RequestId',
|
|
2050
|
+
success: 'Success',
|
|
2051
|
+
};
|
|
2052
|
+
}
|
|
2053
|
+
|
|
2054
|
+
static types(): { [key: string]: any } {
|
|
2055
|
+
return {
|
|
2056
|
+
dtsInstanceId: 'string',
|
|
2057
|
+
dtsJobId: 'string',
|
|
2058
|
+
errCode: 'string',
|
|
2059
|
+
errMessage: 'string',
|
|
2060
|
+
httpStatusCode: 'string',
|
|
2061
|
+
requestId: 'string',
|
|
2062
|
+
success: 'string',
|
|
2063
|
+
};
|
|
2064
|
+
}
|
|
2065
|
+
|
|
2066
|
+
constructor(map?: { [key: string]: any }) {
|
|
2067
|
+
super(map);
|
|
2068
|
+
}
|
|
2069
|
+
}
|
|
2070
|
+
|
|
2071
|
+
export class CreateReverseDtsJobResponse extends $tea.Model {
|
|
2072
|
+
headers: { [key: string]: string };
|
|
2073
|
+
statusCode: number;
|
|
2074
|
+
body: CreateReverseDtsJobResponseBody;
|
|
2075
|
+
static names(): { [key: string]: string } {
|
|
2076
|
+
return {
|
|
2077
|
+
headers: 'headers',
|
|
2078
|
+
statusCode: 'statusCode',
|
|
2079
|
+
body: 'body',
|
|
2080
|
+
};
|
|
2081
|
+
}
|
|
2082
|
+
|
|
2083
|
+
static types(): { [key: string]: any } {
|
|
2084
|
+
return {
|
|
2085
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2086
|
+
statusCode: 'number',
|
|
2087
|
+
body: CreateReverseDtsJobResponseBody,
|
|
2088
|
+
};
|
|
2089
|
+
}
|
|
2090
|
+
|
|
2091
|
+
constructor(map?: { [key: string]: any }) {
|
|
2092
|
+
super(map);
|
|
2093
|
+
}
|
|
2094
|
+
}
|
|
2095
|
+
|
|
1991
2096
|
export class CreateSubscriptionInstanceRequest extends $tea.Model {
|
|
1992
2097
|
sourceEndpoint?: CreateSubscriptionInstanceRequestSourceEndpoint;
|
|
1993
2098
|
accountId?: string;
|
|
@@ -7881,6 +7986,7 @@ export class ModifyDtsJobRequest extends $tea.Model {
|
|
|
7881
7986
|
dataSynchronization?: boolean;
|
|
7882
7987
|
dbList?: { [key: string]: any };
|
|
7883
7988
|
dtsInstanceId?: string;
|
|
7989
|
+
dtsJobId?: string;
|
|
7884
7990
|
etlOperatorColumnReference?: string;
|
|
7885
7991
|
fileOssUrl?: string;
|
|
7886
7992
|
filterTableName?: string;
|
|
@@ -7896,6 +8002,7 @@ export class ModifyDtsJobRequest extends $tea.Model {
|
|
|
7896
8002
|
dataSynchronization: 'DataSynchronization',
|
|
7897
8003
|
dbList: 'DbList',
|
|
7898
8004
|
dtsInstanceId: 'DtsInstanceId',
|
|
8005
|
+
dtsJobId: 'DtsJobId',
|
|
7899
8006
|
etlOperatorColumnReference: 'EtlOperatorColumnReference',
|
|
7900
8007
|
fileOssUrl: 'FileOssUrl',
|
|
7901
8008
|
filterTableName: 'FilterTableName',
|
|
@@ -7914,6 +8021,7 @@ export class ModifyDtsJobRequest extends $tea.Model {
|
|
|
7914
8021
|
dataSynchronization: 'boolean',
|
|
7915
8022
|
dbList: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
7916
8023
|
dtsInstanceId: 'string',
|
|
8024
|
+
dtsJobId: 'string',
|
|
7917
8025
|
etlOperatorColumnReference: 'string',
|
|
7918
8026
|
fileOssUrl: 'string',
|
|
7919
8027
|
filterTableName: 'string',
|
|
@@ -7936,6 +8044,7 @@ export class ModifyDtsJobAdvanceRequest extends $tea.Model {
|
|
|
7936
8044
|
dataSynchronization?: boolean;
|
|
7937
8045
|
dbList?: { [key: string]: any };
|
|
7938
8046
|
dtsInstanceId?: string;
|
|
8047
|
+
dtsJobId?: string;
|
|
7939
8048
|
etlOperatorColumnReference?: string;
|
|
7940
8049
|
fileOssUrlObject?: Readable;
|
|
7941
8050
|
filterTableName?: string;
|
|
@@ -7951,6 +8060,7 @@ export class ModifyDtsJobAdvanceRequest extends $tea.Model {
|
|
|
7951
8060
|
dataSynchronization: 'DataSynchronization',
|
|
7952
8061
|
dbList: 'DbList',
|
|
7953
8062
|
dtsInstanceId: 'DtsInstanceId',
|
|
8063
|
+
dtsJobId: 'DtsJobId',
|
|
7954
8064
|
etlOperatorColumnReference: 'EtlOperatorColumnReference',
|
|
7955
8065
|
fileOssUrlObject: 'FileOssUrl',
|
|
7956
8066
|
filterTableName: 'FilterTableName',
|
|
@@ -7969,6 +8079,7 @@ export class ModifyDtsJobAdvanceRequest extends $tea.Model {
|
|
|
7969
8079
|
dataSynchronization: 'boolean',
|
|
7970
8080
|
dbList: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
7971
8081
|
dtsInstanceId: 'string',
|
|
8082
|
+
dtsJobId: 'string',
|
|
7972
8083
|
etlOperatorColumnReference: 'string',
|
|
7973
8084
|
fileOssUrlObject: 'Readable',
|
|
7974
8085
|
filterTableName: 'string',
|
|
@@ -7991,6 +8102,7 @@ export class ModifyDtsJobShrinkRequest extends $tea.Model {
|
|
|
7991
8102
|
dataSynchronization?: boolean;
|
|
7992
8103
|
dbListShrink?: string;
|
|
7993
8104
|
dtsInstanceId?: string;
|
|
8105
|
+
dtsJobId?: string;
|
|
7994
8106
|
etlOperatorColumnReference?: string;
|
|
7995
8107
|
fileOssUrl?: string;
|
|
7996
8108
|
filterTableName?: string;
|
|
@@ -8006,6 +8118,7 @@ export class ModifyDtsJobShrinkRequest extends $tea.Model {
|
|
|
8006
8118
|
dataSynchronization: 'DataSynchronization',
|
|
8007
8119
|
dbListShrink: 'DbList',
|
|
8008
8120
|
dtsInstanceId: 'DtsInstanceId',
|
|
8121
|
+
dtsJobId: 'DtsJobId',
|
|
8009
8122
|
etlOperatorColumnReference: 'EtlOperatorColumnReference',
|
|
8010
8123
|
fileOssUrl: 'FileOssUrl',
|
|
8011
8124
|
filterTableName: 'FilterTableName',
|
|
@@ -8024,6 +8137,7 @@ export class ModifyDtsJobShrinkRequest extends $tea.Model {
|
|
|
8024
8137
|
dataSynchronization: 'boolean',
|
|
8025
8138
|
dbListShrink: 'string',
|
|
8026
8139
|
dtsInstanceId: 'string',
|
|
8140
|
+
dtsJobId: 'string',
|
|
8027
8141
|
etlOperatorColumnReference: 'string',
|
|
8028
8142
|
fileOssUrl: 'string',
|
|
8029
8143
|
filterTableName: 'string',
|
|
@@ -9695,6 +9809,81 @@ export class StartMigrationJobResponse extends $tea.Model {
|
|
|
9695
9809
|
}
|
|
9696
9810
|
}
|
|
9697
9811
|
|
|
9812
|
+
export class StartReverseWriterRequest extends $tea.Model {
|
|
9813
|
+
checkPoint?: string;
|
|
9814
|
+
dtsJobId?: string;
|
|
9815
|
+
static names(): { [key: string]: string } {
|
|
9816
|
+
return {
|
|
9817
|
+
checkPoint: 'CheckPoint',
|
|
9818
|
+
dtsJobId: 'DtsJobId',
|
|
9819
|
+
};
|
|
9820
|
+
}
|
|
9821
|
+
|
|
9822
|
+
static types(): { [key: string]: any } {
|
|
9823
|
+
return {
|
|
9824
|
+
checkPoint: 'string',
|
|
9825
|
+
dtsJobId: 'string',
|
|
9826
|
+
};
|
|
9827
|
+
}
|
|
9828
|
+
|
|
9829
|
+
constructor(map?: { [key: string]: any }) {
|
|
9830
|
+
super(map);
|
|
9831
|
+
}
|
|
9832
|
+
}
|
|
9833
|
+
|
|
9834
|
+
export class StartReverseWriterResponseBody extends $tea.Model {
|
|
9835
|
+
errCode?: string;
|
|
9836
|
+
errMessage?: string;
|
|
9837
|
+
requestId?: string;
|
|
9838
|
+
success?: string;
|
|
9839
|
+
static names(): { [key: string]: string } {
|
|
9840
|
+
return {
|
|
9841
|
+
errCode: 'ErrCode',
|
|
9842
|
+
errMessage: 'ErrMessage',
|
|
9843
|
+
requestId: 'RequestId',
|
|
9844
|
+
success: 'Success',
|
|
9845
|
+
};
|
|
9846
|
+
}
|
|
9847
|
+
|
|
9848
|
+
static types(): { [key: string]: any } {
|
|
9849
|
+
return {
|
|
9850
|
+
errCode: 'string',
|
|
9851
|
+
errMessage: 'string',
|
|
9852
|
+
requestId: 'string',
|
|
9853
|
+
success: 'string',
|
|
9854
|
+
};
|
|
9855
|
+
}
|
|
9856
|
+
|
|
9857
|
+
constructor(map?: { [key: string]: any }) {
|
|
9858
|
+
super(map);
|
|
9859
|
+
}
|
|
9860
|
+
}
|
|
9861
|
+
|
|
9862
|
+
export class StartReverseWriterResponse extends $tea.Model {
|
|
9863
|
+
headers: { [key: string]: string };
|
|
9864
|
+
statusCode: number;
|
|
9865
|
+
body: StartReverseWriterResponseBody;
|
|
9866
|
+
static names(): { [key: string]: string } {
|
|
9867
|
+
return {
|
|
9868
|
+
headers: 'headers',
|
|
9869
|
+
statusCode: 'statusCode',
|
|
9870
|
+
body: 'body',
|
|
9871
|
+
};
|
|
9872
|
+
}
|
|
9873
|
+
|
|
9874
|
+
static types(): { [key: string]: any } {
|
|
9875
|
+
return {
|
|
9876
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9877
|
+
statusCode: 'number',
|
|
9878
|
+
body: StartReverseWriterResponseBody,
|
|
9879
|
+
};
|
|
9880
|
+
}
|
|
9881
|
+
|
|
9882
|
+
constructor(map?: { [key: string]: any }) {
|
|
9883
|
+
super(map);
|
|
9884
|
+
}
|
|
9885
|
+
}
|
|
9886
|
+
|
|
9698
9887
|
export class StartSubscriptionInstanceRequest extends $tea.Model {
|
|
9699
9888
|
accountId?: string;
|
|
9700
9889
|
ownerId?: string;
|
|
@@ -15404,14 +15593,74 @@ export class DescribeDtsJobsResponseBodyDtsJobListReverseJobErrorDetails extends
|
|
|
15404
15593
|
}
|
|
15405
15594
|
}
|
|
15406
15595
|
|
|
15596
|
+
export class DescribeDtsJobsResponseBodyDtsJobListReverseJobFullDataCheckStatus extends $tea.Model {
|
|
15597
|
+
errorMessage?: string;
|
|
15598
|
+
percent?: string;
|
|
15599
|
+
progress?: string;
|
|
15600
|
+
status?: string;
|
|
15601
|
+
static names(): { [key: string]: string } {
|
|
15602
|
+
return {
|
|
15603
|
+
errorMessage: 'ErrorMessage',
|
|
15604
|
+
percent: 'Percent',
|
|
15605
|
+
progress: 'Progress',
|
|
15606
|
+
status: 'Status',
|
|
15607
|
+
};
|
|
15608
|
+
}
|
|
15609
|
+
|
|
15610
|
+
static types(): { [key: string]: any } {
|
|
15611
|
+
return {
|
|
15612
|
+
errorMessage: 'string',
|
|
15613
|
+
percent: 'string',
|
|
15614
|
+
progress: 'string',
|
|
15615
|
+
status: 'string',
|
|
15616
|
+
};
|
|
15617
|
+
}
|
|
15618
|
+
|
|
15619
|
+
constructor(map?: { [key: string]: any }) {
|
|
15620
|
+
super(map);
|
|
15621
|
+
}
|
|
15622
|
+
}
|
|
15623
|
+
|
|
15624
|
+
export class DescribeDtsJobsResponseBodyDtsJobListReverseJobIncDataCheckStatus extends $tea.Model {
|
|
15625
|
+
errorMessage?: string;
|
|
15626
|
+
percent?: string;
|
|
15627
|
+
progress?: string;
|
|
15628
|
+
status?: string;
|
|
15629
|
+
static names(): { [key: string]: string } {
|
|
15630
|
+
return {
|
|
15631
|
+
errorMessage: 'ErrorMessage',
|
|
15632
|
+
percent: 'Percent',
|
|
15633
|
+
progress: 'Progress',
|
|
15634
|
+
status: 'Status',
|
|
15635
|
+
};
|
|
15636
|
+
}
|
|
15637
|
+
|
|
15638
|
+
static types(): { [key: string]: any } {
|
|
15639
|
+
return {
|
|
15640
|
+
errorMessage: 'string',
|
|
15641
|
+
percent: 'string',
|
|
15642
|
+
progress: 'string',
|
|
15643
|
+
status: 'string',
|
|
15644
|
+
};
|
|
15645
|
+
}
|
|
15646
|
+
|
|
15647
|
+
constructor(map?: { [key: string]: any }) {
|
|
15648
|
+
super(map);
|
|
15649
|
+
}
|
|
15650
|
+
}
|
|
15651
|
+
|
|
15407
15652
|
export class DescribeDtsJobsResponseBodyDtsJobListReverseJobMigrationMode extends $tea.Model {
|
|
15408
15653
|
dataInitialization?: boolean;
|
|
15409
15654
|
dataSynchronization?: boolean;
|
|
15655
|
+
fullDataCheck?: boolean;
|
|
15656
|
+
incDataCheck?: boolean;
|
|
15410
15657
|
structureInitialization?: boolean;
|
|
15411
15658
|
static names(): { [key: string]: string } {
|
|
15412
15659
|
return {
|
|
15413
15660
|
dataInitialization: 'DataInitialization',
|
|
15414
15661
|
dataSynchronization: 'DataSynchronization',
|
|
15662
|
+
fullDataCheck: 'FullDataCheck',
|
|
15663
|
+
incDataCheck: 'IncDataCheck',
|
|
15415
15664
|
structureInitialization: 'StructureInitialization',
|
|
15416
15665
|
};
|
|
15417
15666
|
}
|
|
@@ -15420,6 +15669,8 @@ export class DescribeDtsJobsResponseBodyDtsJobListReverseJobMigrationMode extend
|
|
|
15420
15669
|
return {
|
|
15421
15670
|
dataInitialization: 'boolean',
|
|
15422
15671
|
dataSynchronization: 'boolean',
|
|
15672
|
+
fullDataCheck: 'boolean',
|
|
15673
|
+
incDataCheck: 'boolean',
|
|
15423
15674
|
structureInitialization: 'boolean',
|
|
15424
15675
|
};
|
|
15425
15676
|
}
|
|
@@ -15604,6 +15855,8 @@ export class DescribeDtsJobsResponseBodyDtsJobListReverseJob extends $tea.Model
|
|
|
15604
15855
|
errorMessage?: string;
|
|
15605
15856
|
etlSafeCheckpoint?: string;
|
|
15606
15857
|
expireTime?: string;
|
|
15858
|
+
fullDataCheckStatus?: DescribeDtsJobsResponseBodyDtsJobListReverseJobFullDataCheckStatus;
|
|
15859
|
+
incDataCheckStatus?: DescribeDtsJobsResponseBodyDtsJobListReverseJobIncDataCheckStatus;
|
|
15607
15860
|
memUsage?: string;
|
|
15608
15861
|
migrationMode?: DescribeDtsJobsResponseBodyDtsJobListReverseJobMigrationMode;
|
|
15609
15862
|
payType?: string;
|
|
@@ -15634,6 +15887,8 @@ export class DescribeDtsJobsResponseBodyDtsJobListReverseJob extends $tea.Model
|
|
|
15634
15887
|
errorMessage: 'ErrorMessage',
|
|
15635
15888
|
etlSafeCheckpoint: 'EtlSafeCheckpoint',
|
|
15636
15889
|
expireTime: 'ExpireTime',
|
|
15890
|
+
fullDataCheckStatus: 'FullDataCheckStatus',
|
|
15891
|
+
incDataCheckStatus: 'IncDataCheckStatus',
|
|
15637
15892
|
memUsage: 'MemUsage',
|
|
15638
15893
|
migrationMode: 'MigrationMode',
|
|
15639
15894
|
payType: 'PayType',
|
|
@@ -15667,6 +15922,8 @@ export class DescribeDtsJobsResponseBodyDtsJobListReverseJob extends $tea.Model
|
|
|
15667
15922
|
errorMessage: 'string',
|
|
15668
15923
|
etlSafeCheckpoint: 'string',
|
|
15669
15924
|
expireTime: 'string',
|
|
15925
|
+
fullDataCheckStatus: DescribeDtsJobsResponseBodyDtsJobListReverseJobFullDataCheckStatus,
|
|
15926
|
+
incDataCheckStatus: DescribeDtsJobsResponseBodyDtsJobListReverseJobIncDataCheckStatus,
|
|
15670
15927
|
memUsage: 'string',
|
|
15671
15928
|
migrationMode: DescribeDtsJobsResponseBodyDtsJobListReverseJobMigrationMode,
|
|
15672
15929
|
payType: 'string',
|
|
@@ -20382,6 +20639,14 @@ export default class Client extends OpenApi {
|
|
|
20382
20639
|
query["DelayRuleTime"] = request.delayRuleTime;
|
|
20383
20640
|
}
|
|
20384
20641
|
|
|
20642
|
+
if (!Util.isUnset(request.destCaCertificateOssUrl)) {
|
|
20643
|
+
query["DestCaCertificateOssUrl"] = request.destCaCertificateOssUrl;
|
|
20644
|
+
}
|
|
20645
|
+
|
|
20646
|
+
if (!Util.isUnset(request.destCaCertificatePassword)) {
|
|
20647
|
+
query["DestCaCertificatePassword"] = request.destCaCertificatePassword;
|
|
20648
|
+
}
|
|
20649
|
+
|
|
20385
20650
|
if (!Util.isUnset(request.destinationEndpointDataBaseName)) {
|
|
20386
20651
|
query["DestinationEndpointDataBaseName"] = request.destinationEndpointDataBaseName;
|
|
20387
20652
|
}
|
|
@@ -20526,6 +20791,14 @@ export default class Client extends OpenApi {
|
|
|
20526
20791
|
query["SourceEndpointVSwitchID"] = request.sourceEndpointVSwitchID;
|
|
20527
20792
|
}
|
|
20528
20793
|
|
|
20794
|
+
if (!Util.isUnset(request.srcCaCertificateOssUrl)) {
|
|
20795
|
+
query["SrcCaCertificateOssUrl"] = request.srcCaCertificateOssUrl;
|
|
20796
|
+
}
|
|
20797
|
+
|
|
20798
|
+
if (!Util.isUnset(request.srcCaCertificatePassword)) {
|
|
20799
|
+
query["SrcCaCertificatePassword"] = request.srcCaCertificatePassword;
|
|
20800
|
+
}
|
|
20801
|
+
|
|
20529
20802
|
if (!Util.isUnset(request.structureInitialization)) {
|
|
20530
20803
|
query["StructureInitialization"] = request.structureInitialization;
|
|
20531
20804
|
}
|
|
@@ -21812,6 +22085,35 @@ export default class Client extends OpenApi {
|
|
|
21812
22085
|
return await this.createMigrationJobWithOptions(request, runtime);
|
|
21813
22086
|
}
|
|
21814
22087
|
|
|
22088
|
+
async createReverseDtsJobWithOptions(request: CreateReverseDtsJobRequest, runtime: $Util.RuntimeOptions): Promise<CreateReverseDtsJobResponse> {
|
|
22089
|
+
Util.validateModel(request);
|
|
22090
|
+
let query = { };
|
|
22091
|
+
if (!Util.isUnset(request.dtsJobId)) {
|
|
22092
|
+
query["DtsJobId"] = request.dtsJobId;
|
|
22093
|
+
}
|
|
22094
|
+
|
|
22095
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
22096
|
+
query: OpenApiUtil.query(query),
|
|
22097
|
+
});
|
|
22098
|
+
let params = new $OpenApi.Params({
|
|
22099
|
+
action: "CreateReverseDtsJob",
|
|
22100
|
+
version: "2020-01-01",
|
|
22101
|
+
protocol: "HTTPS",
|
|
22102
|
+
pathname: "/",
|
|
22103
|
+
method: "POST",
|
|
22104
|
+
authType: "AK",
|
|
22105
|
+
style: "RPC",
|
|
22106
|
+
reqBodyType: "formData",
|
|
22107
|
+
bodyType: "json",
|
|
22108
|
+
});
|
|
22109
|
+
return $tea.cast<CreateReverseDtsJobResponse>(await this.callApi(params, req, runtime), new CreateReverseDtsJobResponse({}));
|
|
22110
|
+
}
|
|
22111
|
+
|
|
22112
|
+
async createReverseDtsJob(request: CreateReverseDtsJobRequest): Promise<CreateReverseDtsJobResponse> {
|
|
22113
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
22114
|
+
return await this.createReverseDtsJobWithOptions(request, runtime);
|
|
22115
|
+
}
|
|
22116
|
+
|
|
21815
22117
|
/**
|
|
21816
22118
|
* Before you call this operation, make sure that you fully understand the billing methods and [pricing](https://www.alibabacloud.com/zh/product/data-transmission-service/pricing) of Data Transmission Service (DTS).
|
|
21817
22119
|
*
|
|
@@ -24882,6 +25184,10 @@ export default class Client extends OpenApi {
|
|
|
24882
25184
|
query["DtsInstanceId"] = request.dtsInstanceId;
|
|
24883
25185
|
}
|
|
24884
25186
|
|
|
25187
|
+
if (!Util.isUnset(request.dtsJobId)) {
|
|
25188
|
+
query["DtsJobId"] = request.dtsJobId;
|
|
25189
|
+
}
|
|
25190
|
+
|
|
24885
25191
|
if (!Util.isUnset(request.fileOssUrl)) {
|
|
24886
25192
|
query["FileOssUrl"] = request.fileOssUrl;
|
|
24887
25193
|
}
|
|
@@ -25879,6 +26185,39 @@ export default class Client extends OpenApi {
|
|
|
25879
26185
|
return await this.startMigrationJobWithOptions(request, runtime);
|
|
25880
26186
|
}
|
|
25881
26187
|
|
|
26188
|
+
async startReverseWriterWithOptions(request: StartReverseWriterRequest, runtime: $Util.RuntimeOptions): Promise<StartReverseWriterResponse> {
|
|
26189
|
+
Util.validateModel(request);
|
|
26190
|
+
let query = { };
|
|
26191
|
+
if (!Util.isUnset(request.checkPoint)) {
|
|
26192
|
+
query["CheckPoint"] = request.checkPoint;
|
|
26193
|
+
}
|
|
26194
|
+
|
|
26195
|
+
if (!Util.isUnset(request.dtsJobId)) {
|
|
26196
|
+
query["DtsJobId"] = request.dtsJobId;
|
|
26197
|
+
}
|
|
26198
|
+
|
|
26199
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
26200
|
+
query: OpenApiUtil.query(query),
|
|
26201
|
+
});
|
|
26202
|
+
let params = new $OpenApi.Params({
|
|
26203
|
+
action: "StartReverseWriter",
|
|
26204
|
+
version: "2020-01-01",
|
|
26205
|
+
protocol: "HTTPS",
|
|
26206
|
+
pathname: "/",
|
|
26207
|
+
method: "POST",
|
|
26208
|
+
authType: "AK",
|
|
26209
|
+
style: "RPC",
|
|
26210
|
+
reqBodyType: "formData",
|
|
26211
|
+
bodyType: "json",
|
|
26212
|
+
});
|
|
26213
|
+
return $tea.cast<StartReverseWriterResponse>(await this.callApi(params, req, runtime), new StartReverseWriterResponse({}));
|
|
26214
|
+
}
|
|
26215
|
+
|
|
26216
|
+
async startReverseWriter(request: StartReverseWriterRequest): Promise<StartReverseWriterResponse> {
|
|
26217
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
26218
|
+
return await this.startReverseWriterWithOptions(request, runtime);
|
|
26219
|
+
}
|
|
26220
|
+
|
|
25882
26221
|
/**
|
|
25883
26222
|
* When you call this operation, the change tracking task must be in the NotStarted or Failed state.
|
|
25884
26223
|
*
|