@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/package.json
CHANGED
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',
|
|
@@ -22771,6 +22780,14 @@ export default class Client extends OpenApi {
|
|
|
22771
22780
|
query["ResourceGroupId"] = request.resourceGroupId;
|
|
22772
22781
|
}
|
|
22773
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
|
+
|
|
22774
22791
|
let req = new $OpenApi.OpenApiRequest({
|
|
22775
22792
|
query: OpenApiUtil.query(query),
|
|
22776
22793
|
});
|
|
@@ -26465,6 +26482,10 @@ export default class Client extends OpenApi {
|
|
|
26465
26482
|
query["EndpointPort"] = request.endpointPort;
|
|
26466
26483
|
}
|
|
26467
26484
|
|
|
26485
|
+
if (!Util.isUnset(request.endpointRegionId)) {
|
|
26486
|
+
query["EndpointRegionId"] = request.endpointRegionId;
|
|
26487
|
+
}
|
|
26488
|
+
|
|
26468
26489
|
if (!Util.isUnset(request.password)) {
|
|
26469
26490
|
query["Password"] = request.password;
|
|
26470
26491
|
}
|