@alicloud/dts20200101 1.3.2 → 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 +5 -0
- package/dist/client.js +1824 -1784
- package/dist/client.js.map +1 -1
- package/package.json +4 -4
- package/src/client.ts +35 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/dts20200101",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
"author": "Alibaba Cloud SDK",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@types/node": "^
|
|
15
|
+
"@types/node": "^16.0.0",
|
|
16
16
|
"nyc": "^15.0.0",
|
|
17
17
|
"source-map-support": "^0.5.16",
|
|
18
|
-
"ts-node": "^
|
|
19
|
-
"typescript": "^
|
|
18
|
+
"ts-node": "^10.0.0",
|
|
19
|
+
"typescript": "^5"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@alicloud/tea-typescript": "^1.7.1",
|
package/src/client.ts
CHANGED
|
@@ -2087,10 +2087,14 @@ export class CreateMigrationJobResponse extends $tea.Model {
|
|
|
2087
2087
|
export class CreateReverseDtsJobRequest extends $tea.Model {
|
|
2088
2088
|
dtsJobId?: string;
|
|
2089
2089
|
resourceGroupId?: string;
|
|
2090
|
+
shardPassword?: string;
|
|
2091
|
+
shardUsername?: string;
|
|
2090
2092
|
static names(): { [key: string]: string } {
|
|
2091
2093
|
return {
|
|
2092
2094
|
dtsJobId: 'DtsJobId',
|
|
2093
2095
|
resourceGroupId: 'ResourceGroupId',
|
|
2096
|
+
shardPassword: 'ShardPassword',
|
|
2097
|
+
shardUsername: 'ShardUsername',
|
|
2094
2098
|
};
|
|
2095
2099
|
}
|
|
2096
2100
|
|
|
@@ -2098,6 +2102,8 @@ export class CreateReverseDtsJobRequest extends $tea.Model {
|
|
|
2098
2102
|
return {
|
|
2099
2103
|
dtsJobId: 'string',
|
|
2100
2104
|
resourceGroupId: 'string',
|
|
2105
|
+
shardPassword: 'string',
|
|
2106
|
+
shardUsername: 'string',
|
|
2101
2107
|
};
|
|
2102
2108
|
}
|
|
2103
2109
|
|
|
@@ -8770,6 +8776,7 @@ export class ModifyDtsJobEndpointRequest extends $tea.Model {
|
|
|
8770
8776
|
endpointInstanceType?: string;
|
|
8771
8777
|
endpointIp?: string;
|
|
8772
8778
|
endpointPort?: string;
|
|
8779
|
+
endpointRegionId?: string;
|
|
8773
8780
|
password?: string;
|
|
8774
8781
|
regionId?: string;
|
|
8775
8782
|
resourceGroupId?: string;
|
|
@@ -8790,6 +8797,7 @@ export class ModifyDtsJobEndpointRequest extends $tea.Model {
|
|
|
8790
8797
|
endpointInstanceType: 'EndpointInstanceType',
|
|
8791
8798
|
endpointIp: 'EndpointIp',
|
|
8792
8799
|
endpointPort: 'EndpointPort',
|
|
8800
|
+
endpointRegionId: 'EndpointRegionId',
|
|
8793
8801
|
password: 'Password',
|
|
8794
8802
|
regionId: 'RegionId',
|
|
8795
8803
|
resourceGroupId: 'ResourceGroupId',
|
|
@@ -8813,6 +8821,7 @@ export class ModifyDtsJobEndpointRequest extends $tea.Model {
|
|
|
8813
8821
|
endpointInstanceType: 'string',
|
|
8814
8822
|
endpointIp: 'string',
|
|
8815
8823
|
endpointPort: 'string',
|
|
8824
|
+
endpointRegionId: 'string',
|
|
8816
8825
|
password: 'string',
|
|
8817
8826
|
regionId: 'string',
|
|
8818
8827
|
resourceGroupId: 'string',
|
|
@@ -11742,6 +11751,8 @@ export class TransferPayTypeRequest extends $tea.Model {
|
|
|
11742
11751
|
buyCount?: string;
|
|
11743
11752
|
chargeType?: string;
|
|
11744
11753
|
dtsJobId?: string;
|
|
11754
|
+
maxDu?: number;
|
|
11755
|
+
minDu?: number;
|
|
11745
11756
|
period?: string;
|
|
11746
11757
|
regionId?: string;
|
|
11747
11758
|
resourceGroupId?: string;
|
|
@@ -11750,6 +11761,8 @@ export class TransferPayTypeRequest extends $tea.Model {
|
|
|
11750
11761
|
buyCount: 'BuyCount',
|
|
11751
11762
|
chargeType: 'ChargeType',
|
|
11752
11763
|
dtsJobId: 'DtsJobId',
|
|
11764
|
+
maxDu: 'MaxDu',
|
|
11765
|
+
minDu: 'MinDu',
|
|
11753
11766
|
period: 'Period',
|
|
11754
11767
|
regionId: 'RegionId',
|
|
11755
11768
|
resourceGroupId: 'ResourceGroupId',
|
|
@@ -11761,6 +11774,8 @@ export class TransferPayTypeRequest extends $tea.Model {
|
|
|
11761
11774
|
buyCount: 'string',
|
|
11762
11775
|
chargeType: 'string',
|
|
11763
11776
|
dtsJobId: 'string',
|
|
11777
|
+
maxDu: 'number',
|
|
11778
|
+
minDu: 'number',
|
|
11764
11779
|
period: 'string',
|
|
11765
11780
|
regionId: 'string',
|
|
11766
11781
|
resourceGroupId: 'string',
|
|
@@ -22765,6 +22780,14 @@ export default class Client extends OpenApi {
|
|
|
22765
22780
|
query["ResourceGroupId"] = request.resourceGroupId;
|
|
22766
22781
|
}
|
|
22767
22782
|
|
|
22783
|
+
if (!Util.isUnset(request.shardPassword)) {
|
|
22784
|
+
query["ShardPassword"] = request.shardPassword;
|
|
22785
|
+
}
|
|
22786
|
+
|
|
22787
|
+
if (!Util.isUnset(request.shardUsername)) {
|
|
22788
|
+
query["ShardUsername"] = request.shardUsername;
|
|
22789
|
+
}
|
|
22790
|
+
|
|
22768
22791
|
let req = new $OpenApi.OpenApiRequest({
|
|
22769
22792
|
query: OpenApiUtil.query(query),
|
|
22770
22793
|
});
|
|
@@ -26459,6 +26482,10 @@ export default class Client extends OpenApi {
|
|
|
26459
26482
|
query["EndpointPort"] = request.endpointPort;
|
|
26460
26483
|
}
|
|
26461
26484
|
|
|
26485
|
+
if (!Util.isUnset(request.endpointRegionId)) {
|
|
26486
|
+
query["EndpointRegionId"] = request.endpointRegionId;
|
|
26487
|
+
}
|
|
26488
|
+
|
|
26462
26489
|
if (!Util.isUnset(request.password)) {
|
|
26463
26490
|
query["Password"] = request.password;
|
|
26464
26491
|
}
|
|
@@ -28225,6 +28252,14 @@ export default class Client extends OpenApi {
|
|
|
28225
28252
|
query["DtsJobId"] = request.dtsJobId;
|
|
28226
28253
|
}
|
|
28227
28254
|
|
|
28255
|
+
if (!Util.isUnset(request.maxDu)) {
|
|
28256
|
+
query["MaxDu"] = request.maxDu;
|
|
28257
|
+
}
|
|
28258
|
+
|
|
28259
|
+
if (!Util.isUnset(request.minDu)) {
|
|
28260
|
+
query["MinDu"] = request.minDu;
|
|
28261
|
+
}
|
|
28262
|
+
|
|
28228
28263
|
if (!Util.isUnset(request.period)) {
|
|
28229
28264
|
query["Period"] = request.period;
|
|
28230
28265
|
}
|