@alicloud/dts20200101 1.2.0 → 1.2.1
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 +8 -0
- package/dist/client.js +28 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +40 -0
package/package.json
CHANGED
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
|
};
|
|
@@ -20382,6 +20406,14 @@ export default class Client extends OpenApi {
|
|
|
20382
20406
|
query["DelayRuleTime"] = request.delayRuleTime;
|
|
20383
20407
|
}
|
|
20384
20408
|
|
|
20409
|
+
if (!Util.isUnset(request.destCaCertificateOssUrl)) {
|
|
20410
|
+
query["DestCaCertificateOssUrl"] = request.destCaCertificateOssUrl;
|
|
20411
|
+
}
|
|
20412
|
+
|
|
20413
|
+
if (!Util.isUnset(request.destCaCertificatePassword)) {
|
|
20414
|
+
query["DestCaCertificatePassword"] = request.destCaCertificatePassword;
|
|
20415
|
+
}
|
|
20416
|
+
|
|
20385
20417
|
if (!Util.isUnset(request.destinationEndpointDataBaseName)) {
|
|
20386
20418
|
query["DestinationEndpointDataBaseName"] = request.destinationEndpointDataBaseName;
|
|
20387
20419
|
}
|
|
@@ -20526,6 +20558,14 @@ export default class Client extends OpenApi {
|
|
|
20526
20558
|
query["SourceEndpointVSwitchID"] = request.sourceEndpointVSwitchID;
|
|
20527
20559
|
}
|
|
20528
20560
|
|
|
20561
|
+
if (!Util.isUnset(request.srcCaCertificateOssUrl)) {
|
|
20562
|
+
query["SrcCaCertificateOssUrl"] = request.srcCaCertificateOssUrl;
|
|
20563
|
+
}
|
|
20564
|
+
|
|
20565
|
+
if (!Util.isUnset(request.srcCaCertificatePassword)) {
|
|
20566
|
+
query["SrcCaCertificatePassword"] = request.srcCaCertificatePassword;
|
|
20567
|
+
}
|
|
20568
|
+
|
|
20529
20569
|
if (!Util.isUnset(request.structureInitialization)) {
|
|
20530
20570
|
query["StructureInitialization"] = request.structureInitialization;
|
|
20531
20571
|
}
|