@alicloud/dts20200101 1.3.3 → 1.3.4
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 +3 -0
- package/dist/client.js +15 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +21 -0
package/dist/client.d.ts
CHANGED
|
@@ -1009,6 +1009,8 @@ export declare class CreateMigrationJobResponse extends $tea.Model {
|
|
|
1009
1009
|
export declare class CreateReverseDtsJobRequest extends $tea.Model {
|
|
1010
1010
|
dtsJobId?: string;
|
|
1011
1011
|
resourceGroupId?: string;
|
|
1012
|
+
shardPassword?: string;
|
|
1013
|
+
shardUsername?: string;
|
|
1012
1014
|
static names(): {
|
|
1013
1015
|
[key: string]: string;
|
|
1014
1016
|
};
|
|
@@ -4411,6 +4413,7 @@ export declare class ModifyDtsJobEndpointRequest extends $tea.Model {
|
|
|
4411
4413
|
endpointInstanceType?: string;
|
|
4412
4414
|
endpointIp?: string;
|
|
4413
4415
|
endpointPort?: string;
|
|
4416
|
+
endpointRegionId?: string;
|
|
4414
4417
|
password?: string;
|
|
4415
4418
|
regionId?: string;
|
|
4416
4419
|
resourceGroupId?: string;
|
package/dist/client.js
CHANGED
|
@@ -1600,12 +1600,16 @@ class CreateReverseDtsJobRequest extends $tea.Model {
|
|
|
1600
1600
|
return {
|
|
1601
1601
|
dtsJobId: 'DtsJobId',
|
|
1602
1602
|
resourceGroupId: 'ResourceGroupId',
|
|
1603
|
+
shardPassword: 'ShardPassword',
|
|
1604
|
+
shardUsername: 'ShardUsername',
|
|
1603
1605
|
};
|
|
1604
1606
|
}
|
|
1605
1607
|
static types() {
|
|
1606
1608
|
return {
|
|
1607
1609
|
dtsJobId: 'string',
|
|
1608
1610
|
resourceGroupId: 'string',
|
|
1611
|
+
shardPassword: 'string',
|
|
1612
|
+
shardUsername: 'string',
|
|
1609
1613
|
};
|
|
1610
1614
|
}
|
|
1611
1615
|
constructor(map) {
|
|
@@ -6668,6 +6672,7 @@ class ModifyDtsJobEndpointRequest extends $tea.Model {
|
|
|
6668
6672
|
endpointInstanceType: 'EndpointInstanceType',
|
|
6669
6673
|
endpointIp: 'EndpointIp',
|
|
6670
6674
|
endpointPort: 'EndpointPort',
|
|
6675
|
+
endpointRegionId: 'EndpointRegionId',
|
|
6671
6676
|
password: 'Password',
|
|
6672
6677
|
regionId: 'RegionId',
|
|
6673
6678
|
resourceGroupId: 'ResourceGroupId',
|
|
@@ -6690,6 +6695,7 @@ class ModifyDtsJobEndpointRequest extends $tea.Model {
|
|
|
6690
6695
|
endpointInstanceType: 'string',
|
|
6691
6696
|
endpointIp: 'string',
|
|
6692
6697
|
endpointPort: 'string',
|
|
6698
|
+
endpointRegionId: 'string',
|
|
6693
6699
|
password: 'string',
|
|
6694
6700
|
regionId: 'string',
|
|
6695
6701
|
resourceGroupId: 'string',
|
|
@@ -17468,6 +17474,12 @@ class Client extends openapi_client_1.default {
|
|
|
17468
17474
|
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
17469
17475
|
query["ResourceGroupId"] = request.resourceGroupId;
|
|
17470
17476
|
}
|
|
17477
|
+
if (!tea_util_1.default.isUnset(request.shardPassword)) {
|
|
17478
|
+
query["ShardPassword"] = request.shardPassword;
|
|
17479
|
+
}
|
|
17480
|
+
if (!tea_util_1.default.isUnset(request.shardUsername)) {
|
|
17481
|
+
query["ShardUsername"] = request.shardUsername;
|
|
17482
|
+
}
|
|
17471
17483
|
let req = new $OpenApi.OpenApiRequest({
|
|
17472
17484
|
query: openapi_util_1.default.query(query),
|
|
17473
17485
|
});
|
|
@@ -20575,6 +20587,9 @@ class Client extends openapi_client_1.default {
|
|
|
20575
20587
|
if (!tea_util_1.default.isUnset(request.endpointPort)) {
|
|
20576
20588
|
query["EndpointPort"] = request.endpointPort;
|
|
20577
20589
|
}
|
|
20590
|
+
if (!tea_util_1.default.isUnset(request.endpointRegionId)) {
|
|
20591
|
+
query["EndpointRegionId"] = request.endpointRegionId;
|
|
20592
|
+
}
|
|
20578
20593
|
if (!tea_util_1.default.isUnset(request.password)) {
|
|
20579
20594
|
query["Password"] = request.password;
|
|
20580
20595
|
}
|