tencentcloud-sdk-nodejs-intl-en 3.0.614 → 3.0.615
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/package.json
CHANGED
|
@@ -33,6 +33,7 @@ const CloneLoadBalancerRequest = models.CloneLoadBalancerRequest;
|
|
|
33
33
|
const DisassociateTargetGroupsResponse = models.DisassociateTargetGroupsResponse;
|
|
34
34
|
const SetLoadBalancerClsLogResponse = models.SetLoadBalancerClsLogResponse;
|
|
35
35
|
const DescribeLoadBalancerTrafficResponse = models.DescribeLoadBalancerTrafficResponse;
|
|
36
|
+
const MultiCertInfo = models.MultiCertInfo;
|
|
36
37
|
const ModifyRuleRequest = models.ModifyRuleRequest;
|
|
37
38
|
const DescribeCustomizedConfigListResponse = models.DescribeCustomizedConfigListResponse;
|
|
38
39
|
const DescribeBlockIPListResponse = models.DescribeBlockIPListResponse;
|
|
@@ -108,6 +109,7 @@ const DescribeLoadBalancersDetailRequest = models.DescribeLoadBalancersDetailReq
|
|
|
108
109
|
const TargetGroupBackend = models.TargetGroupBackend;
|
|
109
110
|
const DescribeClassicalLBByInstanceIdRequest = models.DescribeClassicalLBByInstanceIdRequest;
|
|
110
111
|
const DescribeResourcesResponse = models.DescribeResourcesResponse;
|
|
112
|
+
const ModifyTargetGroupInstancesWeightRequest = models.ModifyTargetGroupInstancesWeightRequest;
|
|
111
113
|
const ManualRewriteResponse = models.ManualRewriteResponse;
|
|
112
114
|
const ModifyBlockIPListRequest = models.ModifyBlockIPListRequest;
|
|
113
115
|
const ModifyBlockIPListResponse = models.ModifyBlockIPListResponse;
|
|
@@ -139,7 +141,7 @@ const DeregisterTargetGroupInstancesRequest = models.DeregisterTargetGroupInstan
|
|
|
139
141
|
const ManualRewriteRequest = models.ManualRewriteRequest;
|
|
140
142
|
const ModifyListenerResponse = models.ModifyListenerResponse;
|
|
141
143
|
const DescribeTargetHealthResponse = models.DescribeTargetHealthResponse;
|
|
142
|
-
const
|
|
144
|
+
const CertInfo = models.CertInfo;
|
|
143
145
|
const CreateTargetGroupRequest = models.CreateTargetGroupRequest;
|
|
144
146
|
const ClusterItem = models.ClusterItem;
|
|
145
147
|
const BindDetailItem = models.BindDetailItem;
|
|
@@ -176,7 +178,7 @@ const ModifyDomainAttributesRequest = models.ModifyDomainAttributesRequest;
|
|
|
176
178
|
const DeregisterTargetsRequest = models.DeregisterTargetsRequest;
|
|
177
179
|
const InternetAccessible = models.InternetAccessible;
|
|
178
180
|
const CreateLoadBalancerSnatIpsRequest = models.CreateLoadBalancerSnatIpsRequest;
|
|
179
|
-
const
|
|
181
|
+
const DescribeTargetGroupInstancesResponse = models.DescribeTargetGroupInstancesResponse;
|
|
180
182
|
const DescribeQuotaResponse = models.DescribeQuotaResponse;
|
|
181
183
|
const DeleteTargetGroupsResponse = models.DeleteTargetGroupsResponse;
|
|
182
184
|
const ModifyTargetGroupInstancesPortRequest = models.ModifyTargetGroupInstancesPortRequest;
|
|
@@ -1055,6 +1055,49 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
1055
1055
|
}
|
|
1056
1056
|
}
|
|
1057
1057
|
|
|
1058
|
+
/**
|
|
1059
|
+
* Information of multiple certificates bound with the load balancer listener or rule.
|
|
1060
|
+
* @class
|
|
1061
|
+
*/
|
|
1062
|
+
class MultiCertInfo extends AbstractModel {
|
|
1063
|
+
constructor(){
|
|
1064
|
+
super();
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* Authentication type. Values: `UNIDIRECTIONAL` (one-way authentication), `MUTUAL` (two-way authentication)
|
|
1068
|
+
* @type {string || null}
|
|
1069
|
+
*/
|
|
1070
|
+
this.SSLMode = null;
|
|
1071
|
+
|
|
1072
|
+
/**
|
|
1073
|
+
* List of listener or rule certificates. One-way and two-way authentication are supported. Only one certificate can be specified for one algorithm. If `SSLMode` is `MUTUAL` (two-way authentication), at least one CA certificate is required.
|
|
1074
|
+
* @type {Array.<CertInfo> || null}
|
|
1075
|
+
*/
|
|
1076
|
+
this.CertList = null;
|
|
1077
|
+
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* @private
|
|
1082
|
+
*/
|
|
1083
|
+
deserialize(params) {
|
|
1084
|
+
if (!params) {
|
|
1085
|
+
return;
|
|
1086
|
+
}
|
|
1087
|
+
this.SSLMode = 'SSLMode' in params ? params.SSLMode : null;
|
|
1088
|
+
|
|
1089
|
+
if (params.CertList) {
|
|
1090
|
+
this.CertList = new Array();
|
|
1091
|
+
for (let z in params.CertList) {
|
|
1092
|
+
let obj = new CertInfo();
|
|
1093
|
+
obj.deserialize(params.CertList[z]);
|
|
1094
|
+
this.CertList.push(obj);
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
}
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1058
1101
|
/**
|
|
1059
1102
|
* ModifyRule request structure.
|
|
1060
1103
|
* @class
|
|
@@ -4061,7 +4104,7 @@ class ModifyListenerRequest extends AbstractModel {
|
|
|
4061
4104
|
this.HealthCheck = null;
|
|
4062
4105
|
|
|
4063
4106
|
/**
|
|
4064
|
-
* Certificate information. This parameter is applicable
|
|
4107
|
+
* Certificate information. This parameter is only applicable to HTTPS/TCP_SSL listeners. `Certificate` and `MultiCertInfo` cannot be specified at the same time.
|
|
4065
4108
|
* @type {CertificateInput || null}
|
|
4066
4109
|
*/
|
|
4067
4110
|
this.Certificate = null;
|
|
@@ -4103,6 +4146,24 @@ They represent weighted round robin and least connections, respectively. Default
|
|
|
4103
4146
|
*/
|
|
4104
4147
|
this.SessionType = null;
|
|
4105
4148
|
|
|
4149
|
+
/**
|
|
4150
|
+
* Certificate information. You can specify multiple server-side certificates with different algorithm types. This parameter is only applicable to HTTPS listeners with the SNI feature not enabled. `Certificate` and `MultiCertInfo` cannot be specified at the same time.
|
|
4151
|
+
* @type {MultiCertInfo || null}
|
|
4152
|
+
*/
|
|
4153
|
+
this.MultiCertInfo = null;
|
|
4154
|
+
|
|
4155
|
+
/**
|
|
4156
|
+
*
|
|
4157
|
+
* @type {number || null}
|
|
4158
|
+
*/
|
|
4159
|
+
this.MaxConn = null;
|
|
4160
|
+
|
|
4161
|
+
/**
|
|
4162
|
+
*
|
|
4163
|
+
* @type {number || null}
|
|
4164
|
+
*/
|
|
4165
|
+
this.MaxCps = null;
|
|
4166
|
+
|
|
4106
4167
|
}
|
|
4107
4168
|
|
|
4108
4169
|
/**
|
|
@@ -4135,6 +4196,14 @@ They represent weighted round robin and least connections, respectively. Default
|
|
|
4135
4196
|
this.DeregisterTargetRst = 'DeregisterTargetRst' in params ? params.DeregisterTargetRst : null;
|
|
4136
4197
|
this.SessionType = 'SessionType' in params ? params.SessionType : null;
|
|
4137
4198
|
|
|
4199
|
+
if (params.MultiCertInfo) {
|
|
4200
|
+
let obj = new MultiCertInfo();
|
|
4201
|
+
obj.deserialize(params.MultiCertInfo)
|
|
4202
|
+
this.MultiCertInfo = obj;
|
|
4203
|
+
}
|
|
4204
|
+
this.MaxConn = 'MaxConn' in params ? params.MaxConn : null;
|
|
4205
|
+
this.MaxCps = 'MaxCps' in params ? params.MaxCps : null;
|
|
4206
|
+
|
|
4138
4207
|
}
|
|
4139
4208
|
}
|
|
4140
4209
|
|
|
@@ -4943,6 +5012,49 @@ class DescribeResourcesResponse extends AbstractModel {
|
|
|
4943
5012
|
}
|
|
4944
5013
|
}
|
|
4945
5014
|
|
|
5015
|
+
/**
|
|
5016
|
+
* ModifyTargetGroupInstancesWeight request structure.
|
|
5017
|
+
* @class
|
|
5018
|
+
*/
|
|
5019
|
+
class ModifyTargetGroupInstancesWeightRequest extends AbstractModel {
|
|
5020
|
+
constructor(){
|
|
5021
|
+
super();
|
|
5022
|
+
|
|
5023
|
+
/**
|
|
5024
|
+
* Target group ID
|
|
5025
|
+
* @type {string || null}
|
|
5026
|
+
*/
|
|
5027
|
+
this.TargetGroupId = null;
|
|
5028
|
+
|
|
5029
|
+
/**
|
|
5030
|
+
* Array of servers for which to modify weights
|
|
5031
|
+
* @type {Array.<TargetGroupInstance> || null}
|
|
5032
|
+
*/
|
|
5033
|
+
this.TargetGroupInstances = null;
|
|
5034
|
+
|
|
5035
|
+
}
|
|
5036
|
+
|
|
5037
|
+
/**
|
|
5038
|
+
* @private
|
|
5039
|
+
*/
|
|
5040
|
+
deserialize(params) {
|
|
5041
|
+
if (!params) {
|
|
5042
|
+
return;
|
|
5043
|
+
}
|
|
5044
|
+
this.TargetGroupId = 'TargetGroupId' in params ? params.TargetGroupId : null;
|
|
5045
|
+
|
|
5046
|
+
if (params.TargetGroupInstances) {
|
|
5047
|
+
this.TargetGroupInstances = new Array();
|
|
5048
|
+
for (let z in params.TargetGroupInstances) {
|
|
5049
|
+
let obj = new TargetGroupInstance();
|
|
5050
|
+
obj.deserialize(params.TargetGroupInstances[z]);
|
|
5051
|
+
this.TargetGroupInstances.push(obj);
|
|
5052
|
+
}
|
|
5053
|
+
}
|
|
5054
|
+
|
|
5055
|
+
}
|
|
5056
|
+
}
|
|
5057
|
+
|
|
4946
5058
|
/**
|
|
4947
5059
|
* ManualRewrite response structure.
|
|
4948
5060
|
* @class
|
|
@@ -6550,36 +6662,36 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
6550
6662
|
}
|
|
6551
6663
|
|
|
6552
6664
|
/**
|
|
6553
|
-
*
|
|
6665
|
+
* Certificate information
|
|
6554
6666
|
* @class
|
|
6555
6667
|
*/
|
|
6556
|
-
class
|
|
6668
|
+
class CertInfo extends AbstractModel {
|
|
6557
6669
|
constructor(){
|
|
6558
6670
|
super();
|
|
6559
6671
|
|
|
6560
6672
|
/**
|
|
6561
|
-
*
|
|
6562
|
-
* @type {
|
|
6673
|
+
* ID of the certificate. If it's not specified, `CertContent` and `CertKey` are required. For a server certificate, you also need to specify `CertName`.
|
|
6674
|
+
* @type {string || null}
|
|
6563
6675
|
*/
|
|
6564
|
-
this.
|
|
6676
|
+
this.CertId = null;
|
|
6565
6677
|
|
|
6566
6678
|
/**
|
|
6567
|
-
*
|
|
6568
|
-
* @type {
|
|
6679
|
+
* Name of the uploaded certificate. It's required if `CertId` is not specified.
|
|
6680
|
+
* @type {string || null}
|
|
6569
6681
|
*/
|
|
6570
|
-
this.
|
|
6682
|
+
this.CertName = null;
|
|
6571
6683
|
|
|
6572
6684
|
/**
|
|
6573
|
-
*
|
|
6574
|
-
* @type {
|
|
6685
|
+
* Public key of the uploaded certificate. It's required if `CertId` is not specified.
|
|
6686
|
+
* @type {string || null}
|
|
6575
6687
|
*/
|
|
6576
|
-
this.
|
|
6688
|
+
this.CertContent = null;
|
|
6577
6689
|
|
|
6578
6690
|
/**
|
|
6579
|
-
*
|
|
6691
|
+
* Private key of the uploaded server certificate. It's required if `CertId` is not specified.
|
|
6580
6692
|
* @type {string || null}
|
|
6581
6693
|
*/
|
|
6582
|
-
this.
|
|
6694
|
+
this.CertKey = null;
|
|
6583
6695
|
|
|
6584
6696
|
}
|
|
6585
6697
|
|
|
@@ -6590,18 +6702,10 @@ class DescribeTargetGroupInstancesResponse extends AbstractModel {
|
|
|
6590
6702
|
if (!params) {
|
|
6591
6703
|
return;
|
|
6592
6704
|
}
|
|
6593
|
-
this.
|
|
6594
|
-
|
|
6595
|
-
|
|
6596
|
-
|
|
6597
|
-
for (let z in params.TargetGroupInstanceSet) {
|
|
6598
|
-
let obj = new TargetGroupBackend();
|
|
6599
|
-
obj.deserialize(params.TargetGroupInstanceSet[z]);
|
|
6600
|
-
this.TargetGroupInstanceSet.push(obj);
|
|
6601
|
-
}
|
|
6602
|
-
}
|
|
6603
|
-
this.RealCount = 'RealCount' in params ? params.RealCount : null;
|
|
6604
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6705
|
+
this.CertId = 'CertId' in params ? params.CertId : null;
|
|
6706
|
+
this.CertName = 'CertName' in params ? params.CertName : null;
|
|
6707
|
+
this.CertContent = 'CertContent' in params ? params.CertContent : null;
|
|
6708
|
+
this.CertKey = 'CertKey' in params ? params.CertKey : null;
|
|
6605
6709
|
|
|
6606
6710
|
}
|
|
6607
6711
|
}
|
|
@@ -6838,7 +6942,7 @@ class CreateListenerRequest extends AbstractModel {
|
|
|
6838
6942
|
this.HealthCheck = null;
|
|
6839
6943
|
|
|
6840
6944
|
/**
|
|
6841
|
-
* Certificate information. This parameter is applicable
|
|
6945
|
+
* Certificate information. This parameter is only applicable to TCP_SSL listeners and HTTPS listeners with the SNI feature not enabled. `Certificate` and `MultiCertInfo` cannot be specified at the same time.
|
|
6842
6946
|
* @type {CertificateInput || null}
|
|
6843
6947
|
*/
|
|
6844
6948
|
this.Certificate = null;
|
|
@@ -6892,6 +6996,24 @@ They represent weighted round robin and least connections, respectively. Default
|
|
|
6892
6996
|
*/
|
|
6893
6997
|
this.DeregisterTargetRst = null;
|
|
6894
6998
|
|
|
6999
|
+
/**
|
|
7000
|
+
* Certificate information. You can specify multiple server-side certificates with different algorithm types. This parameter is only applicable to HTTPS listeners with the SNI feature not enabled. `Certificate` and `MultiCertInfo` cannot be specified at the same time.
|
|
7001
|
+
* @type {MultiCertInfo || null}
|
|
7002
|
+
*/
|
|
7003
|
+
this.MultiCertInfo = null;
|
|
7004
|
+
|
|
7005
|
+
/**
|
|
7006
|
+
*
|
|
7007
|
+
* @type {number || null}
|
|
7008
|
+
*/
|
|
7009
|
+
this.MaxConn = null;
|
|
7010
|
+
|
|
7011
|
+
/**
|
|
7012
|
+
*
|
|
7013
|
+
* @type {number || null}
|
|
7014
|
+
*/
|
|
7015
|
+
this.MaxCps = null;
|
|
7016
|
+
|
|
6895
7017
|
}
|
|
6896
7018
|
|
|
6897
7019
|
/**
|
|
@@ -6926,6 +7048,14 @@ They represent weighted round robin and least connections, respectively. Default
|
|
|
6926
7048
|
this.EndPort = 'EndPort' in params ? params.EndPort : null;
|
|
6927
7049
|
this.DeregisterTargetRst = 'DeregisterTargetRst' in params ? params.DeregisterTargetRst : null;
|
|
6928
7050
|
|
|
7051
|
+
if (params.MultiCertInfo) {
|
|
7052
|
+
let obj = new MultiCertInfo();
|
|
7053
|
+
obj.deserialize(params.MultiCertInfo)
|
|
7054
|
+
this.MultiCertInfo = obj;
|
|
7055
|
+
}
|
|
7056
|
+
this.MaxConn = 'MaxConn' in params ? params.MaxConn : null;
|
|
7057
|
+
this.MaxCps = 'MaxCps' in params ? params.MaxCps : null;
|
|
7058
|
+
|
|
6929
7059
|
}
|
|
6930
7060
|
}
|
|
6931
7061
|
|
|
@@ -7172,13 +7302,13 @@ OPEN: public network; INTERNAL: private network.
|
|
|
7172
7302
|
this.LoadBalancerVips = null;
|
|
7173
7303
|
|
|
7174
7304
|
/**
|
|
7175
|
-
* Public
|
|
7305
|
+
* Public IPs of the backend services bound with the load balancer. Only the public IPs of CVMs are supported now.
|
|
7176
7306
|
* @type {Array.<string> || null}
|
|
7177
7307
|
*/
|
|
7178
7308
|
this.BackendPublicIps = null;
|
|
7179
7309
|
|
|
7180
7310
|
/**
|
|
7181
|
-
* Private
|
|
7311
|
+
* Private IPs of the backend services bound with the load balancer. Only the private IPs of CVMs are supported now.
|
|
7182
7312
|
* @type {Array.<string> || null}
|
|
7183
7313
|
*/
|
|
7184
7314
|
this.BackendPrivateIps = null;
|
|
@@ -8436,7 +8566,7 @@ class ModifyDomainAttributesRequest extends AbstractModel {
|
|
|
8436
8566
|
this.NewDomain = null;
|
|
8437
8567
|
|
|
8438
8568
|
/**
|
|
8439
|
-
*
|
|
8569
|
+
* Certificate information of the domain name. It is only applicable to listeners with SNI enabled. `Certificate` and `MultiCertInfo` cannot be specified at the same time.
|
|
8440
8570
|
* @type {CertificateInput || null}
|
|
8441
8571
|
*/
|
|
8442
8572
|
this.Certificate = null;
|
|
@@ -8465,6 +8595,12 @@ class ModifyDomainAttributesRequest extends AbstractModel {
|
|
|
8465
8595
|
*/
|
|
8466
8596
|
this.NewDomains = null;
|
|
8467
8597
|
|
|
8598
|
+
/**
|
|
8599
|
+
* Certificate information of the domain name. It is only applicable to listeners with SNI enabled. You can specify multiple server-side certificates with different algorithm types. `Certificate` and `MultiCertInfo` cannot be specified at the same time.
|
|
8600
|
+
* @type {MultiCertInfo || null}
|
|
8601
|
+
*/
|
|
8602
|
+
this.MultiCertInfo = null;
|
|
8603
|
+
|
|
8468
8604
|
}
|
|
8469
8605
|
|
|
8470
8606
|
/**
|
|
@@ -8489,6 +8625,12 @@ class ModifyDomainAttributesRequest extends AbstractModel {
|
|
|
8489
8625
|
this.NewDefaultServerDomain = 'NewDefaultServerDomain' in params ? params.NewDefaultServerDomain : null;
|
|
8490
8626
|
this.NewDomains = 'NewDomains' in params ? params.NewDomains : null;
|
|
8491
8627
|
|
|
8628
|
+
if (params.MultiCertInfo) {
|
|
8629
|
+
let obj = new MultiCertInfo();
|
|
8630
|
+
obj.deserialize(params.MultiCertInfo)
|
|
8631
|
+
this.MultiCertInfo = obj;
|
|
8632
|
+
}
|
|
8633
|
+
|
|
8492
8634
|
}
|
|
8493
8635
|
}
|
|
8494
8636
|
|
|
@@ -8658,24 +8800,36 @@ class CreateLoadBalancerSnatIpsRequest extends AbstractModel {
|
|
|
8658
8800
|
}
|
|
8659
8801
|
|
|
8660
8802
|
/**
|
|
8661
|
-
*
|
|
8803
|
+
* DescribeTargetGroupInstances response structure.
|
|
8662
8804
|
* @class
|
|
8663
8805
|
*/
|
|
8664
|
-
class
|
|
8806
|
+
class DescribeTargetGroupInstancesResponse extends AbstractModel {
|
|
8665
8807
|
constructor(){
|
|
8666
8808
|
super();
|
|
8667
8809
|
|
|
8668
8810
|
/**
|
|
8669
|
-
*
|
|
8670
|
-
* @type {
|
|
8811
|
+
* Number of results returned for the current query
|
|
8812
|
+
* @type {number || null}
|
|
8671
8813
|
*/
|
|
8672
|
-
this.
|
|
8814
|
+
this.TotalCount = null;
|
|
8673
8815
|
|
|
8674
8816
|
/**
|
|
8675
|
-
*
|
|
8676
|
-
* @type {Array.<
|
|
8817
|
+
* Information of the bound server
|
|
8818
|
+
* @type {Array.<TargetGroupBackend> || null}
|
|
8677
8819
|
*/
|
|
8678
|
-
this.
|
|
8820
|
+
this.TargetGroupInstanceSet = null;
|
|
8821
|
+
|
|
8822
|
+
/**
|
|
8823
|
+
* The actual total number of bound instances, which is not affected by the setting of `Limit`, `Offset` and the CAM permissions.
|
|
8824
|
+
* @type {number || null}
|
|
8825
|
+
*/
|
|
8826
|
+
this.RealCount = null;
|
|
8827
|
+
|
|
8828
|
+
/**
|
|
8829
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
8830
|
+
* @type {string || null}
|
|
8831
|
+
*/
|
|
8832
|
+
this.RequestId = null;
|
|
8679
8833
|
|
|
8680
8834
|
}
|
|
8681
8835
|
|
|
@@ -8686,16 +8840,18 @@ class ModifyTargetGroupInstancesWeightRequest extends AbstractModel {
|
|
|
8686
8840
|
if (!params) {
|
|
8687
8841
|
return;
|
|
8688
8842
|
}
|
|
8689
|
-
this.
|
|
8843
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
8690
8844
|
|
|
8691
|
-
if (params.
|
|
8692
|
-
this.
|
|
8693
|
-
for (let z in params.
|
|
8694
|
-
let obj = new
|
|
8695
|
-
obj.deserialize(params.
|
|
8696
|
-
this.
|
|
8845
|
+
if (params.TargetGroupInstanceSet) {
|
|
8846
|
+
this.TargetGroupInstanceSet = new Array();
|
|
8847
|
+
for (let z in params.TargetGroupInstanceSet) {
|
|
8848
|
+
let obj = new TargetGroupBackend();
|
|
8849
|
+
obj.deserialize(params.TargetGroupInstanceSet[z]);
|
|
8850
|
+
this.TargetGroupInstanceSet.push(obj);
|
|
8697
8851
|
}
|
|
8698
8852
|
}
|
|
8853
|
+
this.RealCount = 'RealCount' in params ? params.RealCount : null;
|
|
8854
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
8699
8855
|
|
|
8700
8856
|
}
|
|
8701
8857
|
}
|
|
@@ -8972,7 +9128,7 @@ class RuleInput extends AbstractModel {
|
|
|
8972
9128
|
this.HealthCheck = null;
|
|
8973
9129
|
|
|
8974
9130
|
/**
|
|
8975
|
-
* Certificate information
|
|
9131
|
+
* Certificate information. `Certificate` and `MultiCertInfo` cannot be specified at the same time.
|
|
8976
9132
|
* @type {CertificateInput || null}
|
|
8977
9133
|
*/
|
|
8978
9134
|
this.Certificate = null;
|
|
@@ -9032,6 +9188,12 @@ They represent weighted round robin, least connections, and IP hash, respectivel
|
|
|
9032
9188
|
*/
|
|
9033
9189
|
this.Domains = null;
|
|
9034
9190
|
|
|
9191
|
+
/**
|
|
9192
|
+
* Certificate information. You can specify multiple server-side certificates with different algorithm types. `Certificate` and `MultiCertInfo` cannot be specified at the same time.
|
|
9193
|
+
* @type {MultiCertInfo || null}
|
|
9194
|
+
*/
|
|
9195
|
+
this.MultiCertInfo = null;
|
|
9196
|
+
|
|
9035
9197
|
}
|
|
9036
9198
|
|
|
9037
9199
|
/**
|
|
@@ -9066,6 +9228,12 @@ They represent weighted round robin, least connections, and IP hash, respectivel
|
|
|
9066
9228
|
this.Quic = 'Quic' in params ? params.Quic : null;
|
|
9067
9229
|
this.Domains = 'Domains' in params ? params.Domains : null;
|
|
9068
9230
|
|
|
9231
|
+
if (params.MultiCertInfo) {
|
|
9232
|
+
let obj = new MultiCertInfo();
|
|
9233
|
+
obj.deserialize(params.MultiCertInfo)
|
|
9234
|
+
this.MultiCertInfo = obj;
|
|
9235
|
+
}
|
|
9236
|
+
|
|
9069
9237
|
}
|
|
9070
9238
|
}
|
|
9071
9239
|
|
|
@@ -11224,6 +11392,7 @@ module.exports = {
|
|
|
11224
11392
|
DisassociateTargetGroupsResponse: DisassociateTargetGroupsResponse,
|
|
11225
11393
|
SetLoadBalancerClsLogResponse: SetLoadBalancerClsLogResponse,
|
|
11226
11394
|
DescribeLoadBalancerTrafficResponse: DescribeLoadBalancerTrafficResponse,
|
|
11395
|
+
MultiCertInfo: MultiCertInfo,
|
|
11227
11396
|
ModifyRuleRequest: ModifyRuleRequest,
|
|
11228
11397
|
DescribeCustomizedConfigListResponse: DescribeCustomizedConfigListResponse,
|
|
11229
11398
|
DescribeBlockIPListResponse: DescribeBlockIPListResponse,
|
|
@@ -11299,6 +11468,7 @@ module.exports = {
|
|
|
11299
11468
|
TargetGroupBackend: TargetGroupBackend,
|
|
11300
11469
|
DescribeClassicalLBByInstanceIdRequest: DescribeClassicalLBByInstanceIdRequest,
|
|
11301
11470
|
DescribeResourcesResponse: DescribeResourcesResponse,
|
|
11471
|
+
ModifyTargetGroupInstancesWeightRequest: ModifyTargetGroupInstancesWeightRequest,
|
|
11302
11472
|
ManualRewriteResponse: ManualRewriteResponse,
|
|
11303
11473
|
ModifyBlockIPListRequest: ModifyBlockIPListRequest,
|
|
11304
11474
|
ModifyBlockIPListResponse: ModifyBlockIPListResponse,
|
|
@@ -11330,7 +11500,7 @@ module.exports = {
|
|
|
11330
11500
|
ManualRewriteRequest: ManualRewriteRequest,
|
|
11331
11501
|
ModifyListenerResponse: ModifyListenerResponse,
|
|
11332
11502
|
DescribeTargetHealthResponse: DescribeTargetHealthResponse,
|
|
11333
|
-
|
|
11503
|
+
CertInfo: CertInfo,
|
|
11334
11504
|
CreateTargetGroupRequest: CreateTargetGroupRequest,
|
|
11335
11505
|
ClusterItem: ClusterItem,
|
|
11336
11506
|
BindDetailItem: BindDetailItem,
|
|
@@ -11367,7 +11537,7 @@ module.exports = {
|
|
|
11367
11537
|
DeregisterTargetsRequest: DeregisterTargetsRequest,
|
|
11368
11538
|
InternetAccessible: InternetAccessible,
|
|
11369
11539
|
CreateLoadBalancerSnatIpsRequest: CreateLoadBalancerSnatIpsRequest,
|
|
11370
|
-
|
|
11540
|
+
DescribeTargetGroupInstancesResponse: DescribeTargetGroupInstancesResponse,
|
|
11371
11541
|
DescribeQuotaResponse: DescribeQuotaResponse,
|
|
11372
11542
|
DeleteTargetGroupsResponse: DeleteTargetGroupsResponse,
|
|
11373
11543
|
ModifyTargetGroupInstancesPortRequest: ModifyTargetGroupInstancesPortRequest,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.615";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -23,6 +23,7 @@ const ModifyMigrateJobSpecRequest = models.ModifyMigrateJobSpecRequest;
|
|
|
23
23
|
const StartMigrateJobRequest = models.StartMigrateJobRequest;
|
|
24
24
|
const StepTip = models.StepTip;
|
|
25
25
|
const DestroyMigrateJobRequest = models.DestroyMigrateJobRequest;
|
|
26
|
+
const SkipCheckItemResponse = models.SkipCheckItemResponse;
|
|
26
27
|
const ResizeSyncJobResponse = models.ResizeSyncJobResponse;
|
|
27
28
|
const ResumeMigrateJobResponse = models.ResumeMigrateJobResponse;
|
|
28
29
|
const DifferenceItem = models.DifferenceItem;
|
|
@@ -69,6 +70,8 @@ const DescribeMigrationJobsResponse = models.DescribeMigrationJobsResponse;
|
|
|
69
70
|
const SkippedItem = models.SkippedItem;
|
|
70
71
|
const DestroyMigrateJobResponse = models.DestroyMigrateJobResponse;
|
|
71
72
|
const ProcessProgress = models.ProcessProgress;
|
|
73
|
+
const SkipSyncCheckItemRequest = models.SkipSyncCheckItemRequest;
|
|
74
|
+
const SkipSyncCheckItemResponse = models.SkipSyncCheckItemResponse;
|
|
72
75
|
const IsolateSyncJobResponse = models.IsolateSyncJobResponse;
|
|
73
76
|
const CreateMigrateCheckJobRequest = models.CreateMigrateCheckJobRequest;
|
|
74
77
|
const DescribeMigrationJobsRequest = models.DescribeMigrationJobsRequest;
|
|
@@ -102,6 +105,7 @@ const TradeInfo = models.TradeInfo;
|
|
|
102
105
|
const StartCompareResponse = models.StartCompareResponse;
|
|
103
106
|
const CreateCompareTaskResponse = models.CreateCompareTaskResponse;
|
|
104
107
|
const StopCompareResponse = models.StopCompareResponse;
|
|
108
|
+
const SkipCheckItemRequest = models.SkipCheckItemRequest;
|
|
105
109
|
const CompareAbstractInfo = models.CompareAbstractInfo;
|
|
106
110
|
const CheckStep = models.CheckStep;
|
|
107
111
|
const CompareTaskItem = models.CompareTaskItem;
|
|
@@ -131,6 +135,7 @@ const DescribeCompareReportRequest = models.DescribeCompareReportRequest;
|
|
|
131
135
|
const View = models.View;
|
|
132
136
|
const TagItem = models.TagItem;
|
|
133
137
|
const RecoverMigrateJobRequest = models.RecoverMigrateJobRequest;
|
|
138
|
+
const OnlineDDL = models.OnlineDDL;
|
|
134
139
|
const DatabaseTableObject = models.DatabaseTableObject;
|
|
135
140
|
const Table = models.Table;
|
|
136
141
|
const CompareDetailInfo = models.CompareDetailInfo;
|
|
@@ -347,6 +352,17 @@ After calling this API, you can call the `DescribeMigrationJobs` API to query th
|
|
|
347
352
|
this.request("DescribeMigrateDBInstances", req, resp, cb);
|
|
348
353
|
}
|
|
349
354
|
|
|
355
|
+
/**
|
|
356
|
+
* This API is used for the backend to skip a failed check item. Theoretically, to execute a migration task normally, any check step cannot be skipped, and the check must be passed. For products or links that support check item skipping, see [Check Item Overview](https://www.tencentcloud.com/document/product/571/42551).
|
|
357
|
+
* @param {SkipCheckItemRequest} req
|
|
358
|
+
* @param {function(string, SkipCheckItemResponse):void} cb
|
|
359
|
+
* @public
|
|
360
|
+
*/
|
|
361
|
+
SkipCheckItem(req, cb) {
|
|
362
|
+
let resp = new SkipCheckItemResponse();
|
|
363
|
+
this.request("SkipCheckItem", req, resp, cb);
|
|
364
|
+
}
|
|
365
|
+
|
|
350
366
|
/**
|
|
351
367
|
* This API is used to verify a migration task.
|
|
352
368
|
Before migration, you should call this API to create a check task. Migration will start only if the check succeeds. You can view the check result through the `DescribeMigrationCheckJob` API.
|
|
@@ -383,6 +399,17 @@ After successful check, if the migration task needs to be modified, a new check
|
|
|
383
399
|
this.request("DescribeCompareTasks", req, resp, cb);
|
|
384
400
|
}
|
|
385
401
|
|
|
402
|
+
/**
|
|
403
|
+
* This API is used for the backend to skip a failed check item. Theoretically, to execute a sync task normally, any check step cannot be skipped, and the check must be passed. For products or links that support check item skipping, see [Check Item Overview](https://www.tencentcloud.com/document/product/571/42551).
|
|
404
|
+
* @param {SkipSyncCheckItemRequest} req
|
|
405
|
+
* @param {function(string, SkipSyncCheckItemResponse):void} cb
|
|
406
|
+
* @public
|
|
407
|
+
*/
|
|
408
|
+
SkipSyncCheckItem(req, cb) {
|
|
409
|
+
let resp = new SkipSyncCheckItemResponse();
|
|
410
|
+
this.request("SkipSyncCheckItem", req, resp, cb);
|
|
411
|
+
}
|
|
412
|
+
|
|
386
413
|
/**
|
|
387
414
|
* This API is used to query the list of data migration tasks.
|
|
388
415
|
* @param {DescribeMigrationJobsRequest} req
|
|
@@ -276,6 +276,41 @@ class DestroyMigrateJobRequest extends AbstractModel {
|
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
|
|
279
|
+
/**
|
|
280
|
+
* SkipCheckItem response structure.
|
|
281
|
+
* @class
|
|
282
|
+
*/
|
|
283
|
+
class SkipCheckItemResponse extends AbstractModel {
|
|
284
|
+
constructor(){
|
|
285
|
+
super();
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
*
|
|
289
|
+
* @type {string || null}
|
|
290
|
+
*/
|
|
291
|
+
this.Message = null;
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
295
|
+
* @type {string || null}
|
|
296
|
+
*/
|
|
297
|
+
this.RequestId = null;
|
|
298
|
+
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* @private
|
|
303
|
+
*/
|
|
304
|
+
deserialize(params) {
|
|
305
|
+
if (!params) {
|
|
306
|
+
return;
|
|
307
|
+
}
|
|
308
|
+
this.Message = 'Message' in params ? params.Message : null;
|
|
309
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
310
|
+
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
279
314
|
/**
|
|
280
315
|
* ResizeSyncJob response structure.
|
|
281
316
|
* @class
|
|
@@ -636,7 +671,7 @@ class TableItem extends AbstractModel {
|
|
|
636
671
|
super();
|
|
637
672
|
|
|
638
673
|
/**
|
|
639
|
-
* Name of the table
|
|
674
|
+
* Name of the migrated table, which is case-sensitive
|
|
640
675
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
641
676
|
* @type {string || null}
|
|
642
677
|
*/
|
|
@@ -2336,6 +2371,69 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2336
2371
|
}
|
|
2337
2372
|
}
|
|
2338
2373
|
|
|
2374
|
+
/**
|
|
2375
|
+
* SkipSyncCheckItem request structure.
|
|
2376
|
+
* @class
|
|
2377
|
+
*/
|
|
2378
|
+
class SkipSyncCheckItemRequest extends AbstractModel {
|
|
2379
|
+
constructor(){
|
|
2380
|
+
super();
|
|
2381
|
+
|
|
2382
|
+
/**
|
|
2383
|
+
* Task ID, such as "sync-4ddgid2".
|
|
2384
|
+
* @type {string || null}
|
|
2385
|
+
*/
|
|
2386
|
+
this.JobId = null;
|
|
2387
|
+
|
|
2388
|
+
/**
|
|
2389
|
+
* ID of the check step to be skipped, which is obtained in the `StepInfos[i].StepId` field returned by the `DescribeCheckSyncJobResult` API, such as "OptimizeCheck".
|
|
2390
|
+
* @type {Array.<string> || null}
|
|
2391
|
+
*/
|
|
2392
|
+
this.StepIds = null;
|
|
2393
|
+
|
|
2394
|
+
}
|
|
2395
|
+
|
|
2396
|
+
/**
|
|
2397
|
+
* @private
|
|
2398
|
+
*/
|
|
2399
|
+
deserialize(params) {
|
|
2400
|
+
if (!params) {
|
|
2401
|
+
return;
|
|
2402
|
+
}
|
|
2403
|
+
this.JobId = 'JobId' in params ? params.JobId : null;
|
|
2404
|
+
this.StepIds = 'StepIds' in params ? params.StepIds : null;
|
|
2405
|
+
|
|
2406
|
+
}
|
|
2407
|
+
}
|
|
2408
|
+
|
|
2409
|
+
/**
|
|
2410
|
+
* SkipSyncCheckItem response structure.
|
|
2411
|
+
* @class
|
|
2412
|
+
*/
|
|
2413
|
+
class SkipSyncCheckItemResponse extends AbstractModel {
|
|
2414
|
+
constructor(){
|
|
2415
|
+
super();
|
|
2416
|
+
|
|
2417
|
+
/**
|
|
2418
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2419
|
+
* @type {string || null}
|
|
2420
|
+
*/
|
|
2421
|
+
this.RequestId = null;
|
|
2422
|
+
|
|
2423
|
+
}
|
|
2424
|
+
|
|
2425
|
+
/**
|
|
2426
|
+
* @private
|
|
2427
|
+
*/
|
|
2428
|
+
deserialize(params) {
|
|
2429
|
+
if (!params) {
|
|
2430
|
+
return;
|
|
2431
|
+
}
|
|
2432
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2433
|
+
|
|
2434
|
+
}
|
|
2435
|
+
}
|
|
2436
|
+
|
|
2339
2437
|
/**
|
|
2340
2438
|
* IsolateSyncJob response structure.
|
|
2341
2439
|
* @class
|
|
@@ -2809,6 +2907,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2809
2907
|
*/
|
|
2810
2908
|
this.Region = null;
|
|
2811
2909
|
|
|
2910
|
+
/**
|
|
2911
|
+
* Node type of TDSQL for MySQL. Enumerated values: `proxy`, `set`.
|
|
2912
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2913
|
+
* @type {string || null}
|
|
2914
|
+
*/
|
|
2915
|
+
this.Role = null;
|
|
2916
|
+
|
|
2812
2917
|
/**
|
|
2813
2918
|
* Database kernel type, which is used to distinguish between different kernels in TDSQL. Valid values: `percona`, `mariadb`, `mysql`.
|
|
2814
2919
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
@@ -2915,18 +3020,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2915
3020
|
this.EngineVersion = null;
|
|
2916
3021
|
|
|
2917
3022
|
/**
|
|
2918
|
-
*
|
|
3023
|
+
* Instance account, which is required if the operation is performed across accounts.
|
|
2919
3024
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2920
3025
|
* @type {string || null}
|
|
2921
3026
|
*/
|
|
2922
|
-
this.
|
|
3027
|
+
this.Account = null;
|
|
2923
3028
|
|
|
2924
3029
|
/**
|
|
2925
|
-
*
|
|
3030
|
+
* The account to which the resource belongs. Valid values: empty or `self` (the current account); `other` (another account).
|
|
2926
3031
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2927
3032
|
* @type {string || null}
|
|
2928
3033
|
*/
|
|
2929
|
-
this.
|
|
3034
|
+
this.AccountMode = null;
|
|
2930
3035
|
|
|
2931
3036
|
/**
|
|
2932
3037
|
* The role used for cross-account sync, which can contain [a-zA-Z0-9\-\_]+ and is required if the operation is performed across accounts.
|
|
@@ -2935,6 +3040,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2935
3040
|
*/
|
|
2936
3041
|
this.AccountRole = null;
|
|
2937
3042
|
|
|
3043
|
+
/**
|
|
3044
|
+
* External role ID
|
|
3045
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3046
|
+
* @type {string || null}
|
|
3047
|
+
*/
|
|
3048
|
+
this.RoleExternalId = null;
|
|
3049
|
+
|
|
2938
3050
|
/**
|
|
2939
3051
|
* ID of the temporary key, which is required if the operation is performed across accounts.
|
|
2940
3052
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
@@ -2957,11 +3069,11 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2957
3069
|
this.TmpToken = null;
|
|
2958
3070
|
|
|
2959
3071
|
/**
|
|
2960
|
-
*
|
|
3072
|
+
* Whether to enable encrypted transfer (`UnEncrypted`: No; `Encrypted`: Yes). Default value: `UnEncrypted`.
|
|
2961
3073
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2962
3074
|
* @type {string || null}
|
|
2963
3075
|
*/
|
|
2964
|
-
this.
|
|
3076
|
+
this.EncryptConn = null;
|
|
2965
3077
|
|
|
2966
3078
|
}
|
|
2967
3079
|
|
|
@@ -2973,6 +3085,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2973
3085
|
return;
|
|
2974
3086
|
}
|
|
2975
3087
|
this.Region = 'Region' in params ? params.Region : null;
|
|
3088
|
+
this.Role = 'Role' in params ? params.Role : null;
|
|
2976
3089
|
this.DbKernel = 'DbKernel' in params ? params.DbKernel : null;
|
|
2977
3090
|
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2978
3091
|
this.Ip = 'Ip' in params ? params.Ip : null;
|
|
@@ -2988,13 +3101,14 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2988
3101
|
this.CcnId = 'CcnId' in params ? params.CcnId : null;
|
|
2989
3102
|
this.Supplier = 'Supplier' in params ? params.Supplier : null;
|
|
2990
3103
|
this.EngineVersion = 'EngineVersion' in params ? params.EngineVersion : null;
|
|
2991
|
-
this.AccountMode = 'AccountMode' in params ? params.AccountMode : null;
|
|
2992
3104
|
this.Account = 'Account' in params ? params.Account : null;
|
|
3105
|
+
this.AccountMode = 'AccountMode' in params ? params.AccountMode : null;
|
|
2993
3106
|
this.AccountRole = 'AccountRole' in params ? params.AccountRole : null;
|
|
3107
|
+
this.RoleExternalId = 'RoleExternalId' in params ? params.RoleExternalId : null;
|
|
2994
3108
|
this.TmpSecretId = 'TmpSecretId' in params ? params.TmpSecretId : null;
|
|
2995
3109
|
this.TmpSecretKey = 'TmpSecretKey' in params ? params.TmpSecretKey : null;
|
|
2996
3110
|
this.TmpToken = 'TmpToken' in params ? params.TmpToken : null;
|
|
2997
|
-
this.
|
|
3111
|
+
this.EncryptConn = 'EncryptConn' in params ? params.EncryptConn : null;
|
|
2998
3112
|
|
|
2999
3113
|
}
|
|
3000
3114
|
}
|
|
@@ -3273,24 +3387,12 @@ class ConfigureSyncJobRequest extends AbstractModel {
|
|
|
3273
3387
|
*/
|
|
3274
3388
|
this.SrcAccessType = null;
|
|
3275
3389
|
|
|
3276
|
-
/**
|
|
3277
|
-
* Source database information
|
|
3278
|
-
* @type {Endpoint || null}
|
|
3279
|
-
*/
|
|
3280
|
-
this.SrcInfo = null;
|
|
3281
|
-
|
|
3282
3390
|
/**
|
|
3283
3391
|
* Target database access type. Valid values: `cdb` (database); `cvm` (self-build on CVM); `vpc` (VPC); `extranet` (public network); `vpncloud` (VPN access); `dcg` (Direct Connect); `ccn` (CCN); `intranet` (intranet); `noProxy`. Note that the valid values are subject to the current link.
|
|
3284
3392
|
* @type {string || null}
|
|
3285
3393
|
*/
|
|
3286
3394
|
this.DstAccessType = null;
|
|
3287
3395
|
|
|
3288
|
-
/**
|
|
3289
|
-
* Target database information
|
|
3290
|
-
* @type {Endpoint || null}
|
|
3291
|
-
*/
|
|
3292
|
-
this.DstInfo = null;
|
|
3293
|
-
|
|
3294
3396
|
/**
|
|
3295
3397
|
* Sync task options
|
|
3296
3398
|
* @type {Options || null}
|
|
@@ -3309,6 +3411,12 @@ class ConfigureSyncJobRequest extends AbstractModel {
|
|
|
3309
3411
|
*/
|
|
3310
3412
|
this.JobName = null;
|
|
3311
3413
|
|
|
3414
|
+
/**
|
|
3415
|
+
* Enumerated values: `liteMode`: Lite mode; `fullMode`: Standard mode
|
|
3416
|
+
* @type {string || null}
|
|
3417
|
+
*/
|
|
3418
|
+
this.JobMode = null;
|
|
3419
|
+
|
|
3312
3420
|
/**
|
|
3313
3421
|
* Running mode. Valid values: `Immediate`, `Timed`. Default value: `Immediate`.
|
|
3314
3422
|
* @type {string || null}
|
|
@@ -3321,6 +3429,24 @@ class ConfigureSyncJobRequest extends AbstractModel {
|
|
|
3321
3429
|
*/
|
|
3322
3430
|
this.ExpectRunTime = null;
|
|
3323
3431
|
|
|
3432
|
+
/**
|
|
3433
|
+
* Source database information. This parameter is used by single-node databases.
|
|
3434
|
+
* @type {Endpoint || null}
|
|
3435
|
+
*/
|
|
3436
|
+
this.SrcInfo = null;
|
|
3437
|
+
|
|
3438
|
+
/**
|
|
3439
|
+
* Target database information. This parameter is used by single-node databases.
|
|
3440
|
+
* @type {Endpoint || null}
|
|
3441
|
+
*/
|
|
3442
|
+
this.DstInfo = null;
|
|
3443
|
+
|
|
3444
|
+
/**
|
|
3445
|
+
* Automatic retry time, which can be set to 5-720 minutes. 0 indicates that retry is disabled.
|
|
3446
|
+
* @type {number || null}
|
|
3447
|
+
*/
|
|
3448
|
+
this.AutoRetryTimeRangeMinutes = null;
|
|
3449
|
+
|
|
3324
3450
|
}
|
|
3325
3451
|
|
|
3326
3452
|
/**
|
|
@@ -3332,20 +3458,8 @@ class ConfigureSyncJobRequest extends AbstractModel {
|
|
|
3332
3458
|
}
|
|
3333
3459
|
this.JobId = 'JobId' in params ? params.JobId : null;
|
|
3334
3460
|
this.SrcAccessType = 'SrcAccessType' in params ? params.SrcAccessType : null;
|
|
3335
|
-
|
|
3336
|
-
if (params.SrcInfo) {
|
|
3337
|
-
let obj = new Endpoint();
|
|
3338
|
-
obj.deserialize(params.SrcInfo)
|
|
3339
|
-
this.SrcInfo = obj;
|
|
3340
|
-
}
|
|
3341
3461
|
this.DstAccessType = 'DstAccessType' in params ? params.DstAccessType : null;
|
|
3342
3462
|
|
|
3343
|
-
if (params.DstInfo) {
|
|
3344
|
-
let obj = new Endpoint();
|
|
3345
|
-
obj.deserialize(params.DstInfo)
|
|
3346
|
-
this.DstInfo = obj;
|
|
3347
|
-
}
|
|
3348
|
-
|
|
3349
3463
|
if (params.Options) {
|
|
3350
3464
|
let obj = new Options();
|
|
3351
3465
|
obj.deserialize(params.Options)
|
|
@@ -3358,9 +3472,23 @@ class ConfigureSyncJobRequest extends AbstractModel {
|
|
|
3358
3472
|
this.Objects = obj;
|
|
3359
3473
|
}
|
|
3360
3474
|
this.JobName = 'JobName' in params ? params.JobName : null;
|
|
3475
|
+
this.JobMode = 'JobMode' in params ? params.JobMode : null;
|
|
3361
3476
|
this.RunMode = 'RunMode' in params ? params.RunMode : null;
|
|
3362
3477
|
this.ExpectRunTime = 'ExpectRunTime' in params ? params.ExpectRunTime : null;
|
|
3363
3478
|
|
|
3479
|
+
if (params.SrcInfo) {
|
|
3480
|
+
let obj = new Endpoint();
|
|
3481
|
+
obj.deserialize(params.SrcInfo)
|
|
3482
|
+
this.SrcInfo = obj;
|
|
3483
|
+
}
|
|
3484
|
+
|
|
3485
|
+
if (params.DstInfo) {
|
|
3486
|
+
let obj = new Endpoint();
|
|
3487
|
+
obj.deserialize(params.DstInfo)
|
|
3488
|
+
this.DstInfo = obj;
|
|
3489
|
+
}
|
|
3490
|
+
this.AutoRetryTimeRangeMinutes = 'AutoRetryTimeRangeMinutes' in params ? params.AutoRetryTimeRangeMinutes : null;
|
|
3491
|
+
|
|
3364
3492
|
}
|
|
3365
3493
|
}
|
|
3366
3494
|
|
|
@@ -3801,6 +3929,34 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3801
3929
|
*/
|
|
3802
3930
|
this.Procedures = null;
|
|
3803
3931
|
|
|
3932
|
+
/**
|
|
3933
|
+
* Trigger migration mode (`all`: All objects; `partial`: Some objects)
|
|
3934
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3935
|
+
* @type {string || null}
|
|
3936
|
+
*/
|
|
3937
|
+
this.TriggerMode = null;
|
|
3938
|
+
|
|
3939
|
+
/**
|
|
3940
|
+
* This parameter is used to specify the names of the triggers to be migrated when the value of `TriggerMode` is `partial`.
|
|
3941
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3942
|
+
* @type {Array.<string> || null}
|
|
3943
|
+
*/
|
|
3944
|
+
this.Triggers = null;
|
|
3945
|
+
|
|
3946
|
+
/**
|
|
3947
|
+
* Event migration mode (`all`: All objects; `partial`: Some objects)
|
|
3948
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3949
|
+
* @type {string || null}
|
|
3950
|
+
*/
|
|
3951
|
+
this.EventMode = null;
|
|
3952
|
+
|
|
3953
|
+
/**
|
|
3954
|
+
* This parameter is used to specify the names of the events to be migrated when the value of `EventMode` is `partial`.
|
|
3955
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3956
|
+
* @type {Array.<string> || null}
|
|
3957
|
+
*/
|
|
3958
|
+
this.Events = null;
|
|
3959
|
+
|
|
3804
3960
|
}
|
|
3805
3961
|
|
|
3806
3962
|
/**
|
|
@@ -3839,6 +3995,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3839
3995
|
this.Functions = 'Functions' in params ? params.Functions : null;
|
|
3840
3996
|
this.ProcedureMode = 'ProcedureMode' in params ? params.ProcedureMode : null;
|
|
3841
3997
|
this.Procedures = 'Procedures' in params ? params.Procedures : null;
|
|
3998
|
+
this.TriggerMode = 'TriggerMode' in params ? params.TriggerMode : null;
|
|
3999
|
+
this.Triggers = 'Triggers' in params ? params.Triggers : null;
|
|
4000
|
+
this.EventMode = 'EventMode' in params ? params.EventMode : null;
|
|
4001
|
+
this.Events = 'Events' in params ? params.Events : null;
|
|
3842
4002
|
|
|
3843
4003
|
}
|
|
3844
4004
|
}
|
|
@@ -3899,6 +4059,12 @@ class ModifyMigrationJobRequest extends AbstractModel {
|
|
|
3899
4059
|
*/
|
|
3900
4060
|
this.Tags = null;
|
|
3901
4061
|
|
|
4062
|
+
/**
|
|
4063
|
+
* Automatic retry time, which can be set to 5-720 minutes. 0 indicates that retry is disabled.
|
|
4064
|
+
* @type {number || null}
|
|
4065
|
+
*/
|
|
4066
|
+
this.AutoRetryTimeRangeMinutes = null;
|
|
4067
|
+
|
|
3902
4068
|
}
|
|
3903
4069
|
|
|
3904
4070
|
/**
|
|
@@ -3939,6 +4105,7 @@ class ModifyMigrationJobRequest extends AbstractModel {
|
|
|
3939
4105
|
this.Tags.push(obj);
|
|
3940
4106
|
}
|
|
3941
4107
|
}
|
|
4108
|
+
this.AutoRetryTimeRangeMinutes = 'AutoRetryTimeRangeMinutes' in params ? params.AutoRetryTimeRangeMinutes : null;
|
|
3942
4109
|
|
|
3943
4110
|
}
|
|
3944
4111
|
}
|
|
@@ -4593,6 +4760,48 @@ class StopCompareResponse extends AbstractModel {
|
|
|
4593
4760
|
}
|
|
4594
4761
|
}
|
|
4595
4762
|
|
|
4763
|
+
/**
|
|
4764
|
+
* SkipCheckItem request structure.
|
|
4765
|
+
* @class
|
|
4766
|
+
*/
|
|
4767
|
+
class SkipCheckItemRequest extends AbstractModel {
|
|
4768
|
+
constructor(){
|
|
4769
|
+
super();
|
|
4770
|
+
|
|
4771
|
+
/**
|
|
4772
|
+
* Data migration task ID
|
|
4773
|
+
* @type {string || null}
|
|
4774
|
+
*/
|
|
4775
|
+
this.JobId = null;
|
|
4776
|
+
|
|
4777
|
+
/**
|
|
4778
|
+
* ID of the check step to be skipped, which is obtained in the `StepInfo[i].StepId` field returned by the `DescribeMigrationCheckJob` API, such as "OptimizeCheck".
|
|
4779
|
+
* @type {Array.<string> || null}
|
|
4780
|
+
*/
|
|
4781
|
+
this.StepIds = null;
|
|
4782
|
+
|
|
4783
|
+
/**
|
|
4784
|
+
*
|
|
4785
|
+
* @type {string || null}
|
|
4786
|
+
*/
|
|
4787
|
+
this.ForeignKeyFlag = null;
|
|
4788
|
+
|
|
4789
|
+
}
|
|
4790
|
+
|
|
4791
|
+
/**
|
|
4792
|
+
* @private
|
|
4793
|
+
*/
|
|
4794
|
+
deserialize(params) {
|
|
4795
|
+
if (!params) {
|
|
4796
|
+
return;
|
|
4797
|
+
}
|
|
4798
|
+
this.JobId = 'JobId' in params ? params.JobId : null;
|
|
4799
|
+
this.StepIds = 'StepIds' in params ? params.StepIds : null;
|
|
4800
|
+
this.ForeignKeyFlag = 'ForeignKeyFlag' in params ? params.ForeignKeyFlag : null;
|
|
4801
|
+
|
|
4802
|
+
}
|
|
4803
|
+
}
|
|
4804
|
+
|
|
4596
4805
|
/**
|
|
4597
4806
|
* Summary information of data consistency check
|
|
4598
4807
|
* @class
|
|
@@ -5465,6 +5674,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
5465
5674
|
*/
|
|
5466
5675
|
this.Tags = null;
|
|
5467
5676
|
|
|
5677
|
+
/**
|
|
5678
|
+
* Information of automatic retry time
|
|
5679
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5680
|
+
* @type {number || null}
|
|
5681
|
+
*/
|
|
5682
|
+
this.AutoRetryTimeRangeMinutes = null;
|
|
5683
|
+
|
|
5468
5684
|
}
|
|
5469
5685
|
|
|
5470
5686
|
/**
|
|
@@ -5529,6 +5745,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
5529
5745
|
this.Tags.push(obj);
|
|
5530
5746
|
}
|
|
5531
5747
|
}
|
|
5748
|
+
this.AutoRetryTimeRangeMinutes = 'AutoRetryTimeRangeMinutes' in params ? params.AutoRetryTimeRangeMinutes : null;
|
|
5532
5749
|
|
|
5533
5750
|
}
|
|
5534
5751
|
}
|
|
@@ -5590,6 +5807,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
5590
5807
|
*/
|
|
5591
5808
|
this.AdvancedObjects = null;
|
|
5592
5809
|
|
|
5810
|
+
/**
|
|
5811
|
+
*
|
|
5812
|
+
* @type {OnlineDDL || null}
|
|
5813
|
+
*/
|
|
5814
|
+
this.OnlineDDL = null;
|
|
5815
|
+
|
|
5593
5816
|
}
|
|
5594
5817
|
|
|
5595
5818
|
/**
|
|
@@ -5611,6 +5834,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
5611
5834
|
}
|
|
5612
5835
|
this.AdvancedObjects = 'AdvancedObjects' in params ? params.AdvancedObjects : null;
|
|
5613
5836
|
|
|
5837
|
+
if (params.OnlineDDL) {
|
|
5838
|
+
let obj = new OnlineDDL();
|
|
5839
|
+
obj.deserialize(params.OnlineDDL)
|
|
5840
|
+
this.OnlineDDL = obj;
|
|
5841
|
+
}
|
|
5842
|
+
|
|
5614
5843
|
}
|
|
5615
5844
|
}
|
|
5616
5845
|
|
|
@@ -5643,7 +5872,7 @@ class RecoverMigrateJobResponse extends AbstractModel {
|
|
|
5643
5872
|
}
|
|
5644
5873
|
|
|
5645
5874
|
/**
|
|
5646
|
-
* Migration object information
|
|
5875
|
+
* Migration object information, which is case-sensitive when objects such as databases, tables, and views are configured.
|
|
5647
5876
|
* @class
|
|
5648
5877
|
*/
|
|
5649
5878
|
class DBItem extends AbstractModel {
|
|
@@ -6114,7 +6343,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
6114
6343
|
this.SrcAccessType = null;
|
|
6115
6344
|
|
|
6116
6345
|
/**
|
|
6117
|
-
* Source database information
|
|
6346
|
+
* Source database information. This parameter is used by single-node databases.
|
|
6118
6347
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6119
6348
|
* @type {Endpoint || null}
|
|
6120
6349
|
*/
|
|
@@ -6142,7 +6371,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
6142
6371
|
this.DstAccessType = null;
|
|
6143
6372
|
|
|
6144
6373
|
/**
|
|
6145
|
-
* Target database information
|
|
6374
|
+
* Target database information. This parameter is used by single-node databases.
|
|
6146
6375
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6147
6376
|
* @type {Endpoint || null}
|
|
6148
6377
|
*/
|
|
@@ -6218,6 +6447,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
6218
6447
|
*/
|
|
6219
6448
|
this.OfflineTime = null;
|
|
6220
6449
|
|
|
6450
|
+
/**
|
|
6451
|
+
* Settings of automatic retry time
|
|
6452
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6453
|
+
* @type {number || null}
|
|
6454
|
+
*/
|
|
6455
|
+
this.AutoRetryTimeRangeMinutes = null;
|
|
6456
|
+
|
|
6221
6457
|
}
|
|
6222
6458
|
|
|
6223
6459
|
/**
|
|
@@ -6289,6 +6525,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
6289
6525
|
this.InstanceClass = 'InstanceClass' in params ? params.InstanceClass : null;
|
|
6290
6526
|
this.AutoRenew = 'AutoRenew' in params ? params.AutoRenew : null;
|
|
6291
6527
|
this.OfflineTime = 'OfflineTime' in params ? params.OfflineTime : null;
|
|
6528
|
+
this.AutoRetryTimeRangeMinutes = 'AutoRetryTimeRangeMinutes' in params ? params.AutoRetryTimeRangeMinutes : null;
|
|
6292
6529
|
|
|
6293
6530
|
}
|
|
6294
6531
|
}
|
|
@@ -6817,6 +7054,27 @@ class RecoverMigrateJobRequest extends AbstractModel {
|
|
|
6817
7054
|
}
|
|
6818
7055
|
}
|
|
6819
7056
|
|
|
7057
|
+
/**
|
|
7058
|
+
* Online DDL type
|
|
7059
|
+
* @class
|
|
7060
|
+
*/
|
|
7061
|
+
class OnlineDDL extends AbstractModel {
|
|
7062
|
+
constructor(){
|
|
7063
|
+
super();
|
|
7064
|
+
|
|
7065
|
+
}
|
|
7066
|
+
|
|
7067
|
+
/**
|
|
7068
|
+
* @private
|
|
7069
|
+
*/
|
|
7070
|
+
deserialize(params) {
|
|
7071
|
+
if (!params) {
|
|
7072
|
+
return;
|
|
7073
|
+
}
|
|
7074
|
+
|
|
7075
|
+
}
|
|
7076
|
+
}
|
|
7077
|
+
|
|
6820
7078
|
/**
|
|
6821
7079
|
* Migration object options, which tell DTS which database/table objects should be migrated.
|
|
6822
7080
|
* @class
|
|
@@ -7027,6 +7285,7 @@ module.exports = {
|
|
|
7027
7285
|
StartMigrateJobRequest: StartMigrateJobRequest,
|
|
7028
7286
|
StepTip: StepTip,
|
|
7029
7287
|
DestroyMigrateJobRequest: DestroyMigrateJobRequest,
|
|
7288
|
+
SkipCheckItemResponse: SkipCheckItemResponse,
|
|
7030
7289
|
ResizeSyncJobResponse: ResizeSyncJobResponse,
|
|
7031
7290
|
ResumeMigrateJobResponse: ResumeMigrateJobResponse,
|
|
7032
7291
|
DifferenceItem: DifferenceItem,
|
|
@@ -7073,6 +7332,8 @@ module.exports = {
|
|
|
7073
7332
|
SkippedItem: SkippedItem,
|
|
7074
7333
|
DestroyMigrateJobResponse: DestroyMigrateJobResponse,
|
|
7075
7334
|
ProcessProgress: ProcessProgress,
|
|
7335
|
+
SkipSyncCheckItemRequest: SkipSyncCheckItemRequest,
|
|
7336
|
+
SkipSyncCheckItemResponse: SkipSyncCheckItemResponse,
|
|
7076
7337
|
IsolateSyncJobResponse: IsolateSyncJobResponse,
|
|
7077
7338
|
CreateMigrateCheckJobRequest: CreateMigrateCheckJobRequest,
|
|
7078
7339
|
DescribeMigrationJobsRequest: DescribeMigrationJobsRequest,
|
|
@@ -7106,6 +7367,7 @@ module.exports = {
|
|
|
7106
7367
|
StartCompareResponse: StartCompareResponse,
|
|
7107
7368
|
CreateCompareTaskResponse: CreateCompareTaskResponse,
|
|
7108
7369
|
StopCompareResponse: StopCompareResponse,
|
|
7370
|
+
SkipCheckItemRequest: SkipCheckItemRequest,
|
|
7109
7371
|
CompareAbstractInfo: CompareAbstractInfo,
|
|
7110
7372
|
CheckStep: CheckStep,
|
|
7111
7373
|
CompareTaskItem: CompareTaskItem,
|
|
@@ -7135,6 +7397,7 @@ module.exports = {
|
|
|
7135
7397
|
View: View,
|
|
7136
7398
|
TagItem: TagItem,
|
|
7137
7399
|
RecoverMigrateJobRequest: RecoverMigrateJobRequest,
|
|
7400
|
+
OnlineDDL: OnlineDDL,
|
|
7138
7401
|
DatabaseTableObject: DatabaseTableObject,
|
|
7139
7402
|
Table: Table,
|
|
7140
7403
|
CompareDetailInfo: CompareDetailInfo,
|