tencentcloud-sdk-nodejs-intl-en 3.0.355 → 3.0.359
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 +1 -1
- package/tencentcloud/cbs/v20170312/cbs_client.js +5 -4
- package/tencentcloud/cbs/v20170312/models.js +209 -140
- package/tencentcloud/cdb/v20170320/cdb_client.js +28 -41
- package/tencentcloud/cdb/v20170320/models.js +204 -238
- package/tencentcloud/chdfs/v20201112/models.js +65 -5
- package/tencentcloud/clb/v20180317/clb_client.js +27 -1
- package/tencentcloud/clb/v20180317/models.js +338 -31
- package/tencentcloud/cls/v20201016/cls_client.js +75 -21
- package/tencentcloud/cls/v20201016/models.js +564 -120
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/dbbrain/v20210527/dbbrain_client.js +15 -2
- package/tencentcloud/dbbrain/v20210527/models.js +179 -64
- package/tencentcloud/faceid/v20180301/faceid_client.js +13 -0
- package/tencentcloud/faceid/v20180301/models.js +114 -0
- package/tencentcloud/mariadb/v20170312/mariadb_client.js +13 -0
- package/tencentcloud/mariadb/v20170312/models.js +72 -0
- package/tencentcloud/mongodb/v20190725/models.js +501 -43
- package/tencentcloud/mongodb/v20190725/mongodb_client.js +18 -1
- package/tencentcloud/tke/v20180525/models.js +8 -1
|
@@ -198,19 +198,33 @@ class DescribeFileSystemResponse extends AbstractModel {
|
|
|
198
198
|
this.FileSystem = null;
|
|
199
199
|
|
|
200
200
|
/**
|
|
201
|
-
* Used capacity
|
|
202
|
-
Note: this field may return `null`, indicating that no valid
|
|
201
|
+
* Used capacity of the file system, in bytes
|
|
202
|
+
Note: this field may return `null`, indicating that no valid value was found.
|
|
203
203
|
* @type {number || null}
|
|
204
204
|
*/
|
|
205
205
|
this.CapacityUsed = null;
|
|
206
206
|
|
|
207
207
|
/**
|
|
208
|
-
* Used ARCHIVE
|
|
208
|
+
* Used ARCHIVE capacity of COS, in bytes
|
|
209
209
|
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
210
210
|
* @type {number || null}
|
|
211
211
|
*/
|
|
212
212
|
this.ArchiveCapacityUsed = null;
|
|
213
213
|
|
|
214
|
+
/**
|
|
215
|
+
* Used STANDARD capacity of COS, in bytes
|
|
216
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
217
|
+
* @type {number || null}
|
|
218
|
+
*/
|
|
219
|
+
this.StandardCapacityUsed = null;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Used STANDARD_IA capacity of COS, in bytes
|
|
223
|
+
Note: this field may return `null`, indicating that no valid value was found.
|
|
224
|
+
* @type {number || null}
|
|
225
|
+
*/
|
|
226
|
+
this.DegradeCapacityUsed = null;
|
|
227
|
+
|
|
214
228
|
/**
|
|
215
229
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
216
230
|
* @type {string || null}
|
|
@@ -234,6 +248,8 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
234
248
|
}
|
|
235
249
|
this.CapacityUsed = 'CapacityUsed' in params ? params.CapacityUsed : null;
|
|
236
250
|
this.ArchiveCapacityUsed = 'ArchiveCapacityUsed' in params ? params.ArchiveCapacityUsed : null;
|
|
251
|
+
this.StandardCapacityUsed = 'StandardCapacityUsed' in params ? params.StandardCapacityUsed : null;
|
|
252
|
+
this.DegradeCapacityUsed = 'DegradeCapacityUsed' in params ? params.DegradeCapacityUsed : null;
|
|
237
253
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
238
254
|
|
|
239
255
|
}
|
|
@@ -375,6 +391,18 @@ Note: the file system capacity after change cannot be smaller than the currently
|
|
|
375
391
|
*/
|
|
376
392
|
this.PosixAcl = null;
|
|
377
393
|
|
|
394
|
+
/**
|
|
395
|
+
* Whether to enable verification of Ranger service addresses
|
|
396
|
+
* @type {boolean || null}
|
|
397
|
+
*/
|
|
398
|
+
this.EnableRanger = null;
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* List of Ranger service addresses, which can be an empty array
|
|
402
|
+
* @type {Array.<string> || null}
|
|
403
|
+
*/
|
|
404
|
+
this.RangerServiceAddresses = null;
|
|
405
|
+
|
|
378
406
|
}
|
|
379
407
|
|
|
380
408
|
/**
|
|
@@ -390,6 +418,8 @@ Note: the file system capacity after change cannot be smaller than the currently
|
|
|
390
418
|
this.CapacityQuota = 'CapacityQuota' in params ? params.CapacityQuota : null;
|
|
391
419
|
this.SuperUsers = 'SuperUsers' in params ? params.SuperUsers : null;
|
|
392
420
|
this.PosixAcl = 'PosixAcl' in params ? params.PosixAcl : null;
|
|
421
|
+
this.EnableRanger = 'EnableRanger' in params ? params.EnableRanger : null;
|
|
422
|
+
this.RangerServiceAddresses = 'RangerServiceAddresses' in params ? params.RangerServiceAddresses : null;
|
|
393
423
|
|
|
394
424
|
}
|
|
395
425
|
}
|
|
@@ -1013,6 +1043,18 @@ class CreateFileSystemRequest extends AbstractModel {
|
|
|
1013
1043
|
*/
|
|
1014
1044
|
this.RootInodeGroup = null;
|
|
1015
1045
|
|
|
1046
|
+
/**
|
|
1047
|
+
* Whether to enable verification of Ranger service addresses
|
|
1048
|
+
* @type {boolean || null}
|
|
1049
|
+
*/
|
|
1050
|
+
this.EnableRanger = null;
|
|
1051
|
+
|
|
1052
|
+
/**
|
|
1053
|
+
* List of Ranger service addresses (empty array by default)
|
|
1054
|
+
* @type {Array.<string> || null}
|
|
1055
|
+
*/
|
|
1056
|
+
this.RangerServiceAddresses = null;
|
|
1057
|
+
|
|
1016
1058
|
}
|
|
1017
1059
|
|
|
1018
1060
|
/**
|
|
@@ -1029,6 +1071,8 @@ class CreateFileSystemRequest extends AbstractModel {
|
|
|
1029
1071
|
this.SuperUsers = 'SuperUsers' in params ? params.SuperUsers : null;
|
|
1030
1072
|
this.RootInodeUser = 'RootInodeUser' in params ? params.RootInodeUser : null;
|
|
1031
1073
|
this.RootInodeGroup = 'RootInodeGroup' in params ? params.RootInodeGroup : null;
|
|
1074
|
+
this.EnableRanger = 'EnableRanger' in params ? params.EnableRanger : null;
|
|
1075
|
+
this.RangerServiceAddresses = 'RangerServiceAddresses' in params ? params.RangerServiceAddresses : null;
|
|
1032
1076
|
|
|
1033
1077
|
}
|
|
1034
1078
|
}
|
|
@@ -1383,6 +1427,20 @@ class FileSystem extends AbstractModel {
|
|
|
1383
1427
|
*/
|
|
1384
1428
|
this.PosixAcl = null;
|
|
1385
1429
|
|
|
1430
|
+
/**
|
|
1431
|
+
* Whether to enable verification of Ranger service addresses
|
|
1432
|
+
Note: this field may return `null`, indicating that no valid value was found.
|
|
1433
|
+
* @type {boolean || null}
|
|
1434
|
+
*/
|
|
1435
|
+
this.EnableRanger = null;
|
|
1436
|
+
|
|
1437
|
+
/**
|
|
1438
|
+
* List of Ranger service addresses
|
|
1439
|
+
Note: this field may return `null`, indicating that no valid value was found.
|
|
1440
|
+
* @type {Array.<string> || null}
|
|
1441
|
+
*/
|
|
1442
|
+
this.RangerServiceAddresses = null;
|
|
1443
|
+
|
|
1386
1444
|
}
|
|
1387
1445
|
|
|
1388
1446
|
/**
|
|
@@ -1403,6 +1461,8 @@ class FileSystem extends AbstractModel {
|
|
|
1403
1461
|
this.Status = 'Status' in params ? params.Status : null;
|
|
1404
1462
|
this.SuperUsers = 'SuperUsers' in params ? params.SuperUsers : null;
|
|
1405
1463
|
this.PosixAcl = 'PosixAcl' in params ? params.PosixAcl : null;
|
|
1464
|
+
this.EnableRanger = 'EnableRanger' in params ? params.EnableRanger : null;
|
|
1465
|
+
this.RangerServiceAddresses = 'RangerServiceAddresses' in params ? params.RangerServiceAddresses : null;
|
|
1406
1466
|
|
|
1407
1467
|
}
|
|
1408
1468
|
}
|
|
@@ -1428,7 +1488,7 @@ class RestoreTask extends AbstractModel {
|
|
|
1428
1488
|
this.FilePath = null;
|
|
1429
1489
|
|
|
1430
1490
|
/**
|
|
1431
|
-
* Restoration task type (1
|
|
1491
|
+
* Restoration task type (`1`: standard; `2`: expedited; `3`: bulk, with only the expedited type available currently)
|
|
1432
1492
|
* @type {number || null}
|
|
1433
1493
|
*/
|
|
1434
1494
|
this.Type = null;
|
|
@@ -1641,7 +1701,7 @@ class Transition extends AbstractModel {
|
|
|
1641
1701
|
this.Days = null;
|
|
1642
1702
|
|
|
1643
1703
|
/**
|
|
1644
|
-
* Transition type (1
|
|
1704
|
+
* Transition type (`1`: transition to ARCHIVE; `2`: delete; `3`: transition to STANDARD_IA)
|
|
1645
1705
|
* @type {number || null}
|
|
1646
1706
|
*/
|
|
1647
1707
|
this.Type = null;
|
|
@@ -27,8 +27,9 @@ const ExtraInfo = models.ExtraInfo;
|
|
|
27
27
|
const BatchModifyTargetWeightResponse = models.BatchModifyTargetWeightResponse;
|
|
28
28
|
const SetSecurityGroupForLoadbalancersRequest = models.SetSecurityGroupForLoadbalancersRequest;
|
|
29
29
|
const CreateLoadBalancerRequest = models.CreateLoadBalancerRequest;
|
|
30
|
-
const
|
|
30
|
+
const DescribeLoadBalancerOverviewResponse = models.DescribeLoadBalancerOverviewResponse;
|
|
31
31
|
const DeleteRuleRequest = models.DeleteRuleRequest;
|
|
32
|
+
const CloneLoadBalancerRequest = models.CloneLoadBalancerRequest;
|
|
32
33
|
const DisassociateTargetGroupsResponse = models.DisassociateTargetGroupsResponse;
|
|
33
34
|
const SetLoadBalancerClsLogResponse = models.SetLoadBalancerClsLogResponse;
|
|
34
35
|
const DescribeLoadBalancerTrafficResponse = models.DescribeLoadBalancerTrafficResponse;
|
|
@@ -50,6 +51,7 @@ const DescribeTaskStatusRequest = models.DescribeTaskStatusRequest;
|
|
|
50
51
|
const TargetGroupInstance = models.TargetGroupInstance;
|
|
51
52
|
const DescribeClassicalLBByInstanceIdResponse = models.DescribeClassicalLBByInstanceIdResponse;
|
|
52
53
|
const CreateRuleResponse = models.CreateRuleResponse;
|
|
54
|
+
const RuleHealth = models.RuleHealth;
|
|
53
55
|
const RegisterTargetGroupInstancesResponse = models.RegisterTargetGroupInstancesResponse;
|
|
54
56
|
const ClassicalTargetInfo = models.ClassicalTargetInfo;
|
|
55
57
|
const DescribeTargetsRequest = models.DescribeTargetsRequest;
|
|
@@ -142,6 +144,7 @@ const DescribeLoadBalancersRequest = models.DescribeLoadBalancersRequest;
|
|
|
142
144
|
const DeleteLoadBalancerResponse = models.DeleteLoadBalancerResponse;
|
|
143
145
|
const AutoRewriteResponse = models.AutoRewriteResponse;
|
|
144
146
|
const DeregisterTargetsResponse = models.DeregisterTargetsResponse;
|
|
147
|
+
const DescribeLoadBalancerOverviewRequest = models.DescribeLoadBalancerOverviewRequest;
|
|
145
148
|
const RewriteTarget = models.RewriteTarget;
|
|
146
149
|
const ModifyTargetWeightRequest = models.ModifyTargetWeightRequest;
|
|
147
150
|
const DescribeLoadBalancersDetailResponse = models.DescribeLoadBalancersDetailResponse;
|
|
@@ -155,6 +158,7 @@ const TargetRegionInfo = models.TargetRegionInfo;
|
|
|
155
158
|
const DescribeTargetHealthRequest = models.DescribeTargetHealthRequest;
|
|
156
159
|
const ReplaceCertForLoadBalancersRequest = models.ReplaceCertForLoadBalancersRequest;
|
|
157
160
|
const DeleteRuleResponse = models.DeleteRuleResponse;
|
|
161
|
+
const CloneLoadBalancerResponse = models.CloneLoadBalancerResponse;
|
|
158
162
|
const DescribeClsLogSetResponse = models.DescribeClsLogSetResponse;
|
|
159
163
|
const ModifyTargetGroupAttributeRequest = models.ModifyTargetGroupAttributeRequest;
|
|
160
164
|
const ModifyDomainAttributesRequest = models.ModifyDomainAttributesRequest;
|
|
@@ -753,6 +757,17 @@ This is an async API. After it is returned successfully, you can call the Descri
|
|
|
753
757
|
this.request("CreateTargetGroup", req, resp, cb);
|
|
754
758
|
}
|
|
755
759
|
|
|
760
|
+
/**
|
|
761
|
+
* Queries the total number of CLB instances and the number of CLB instances in different status (running, isolated and about to expire).
|
|
762
|
+
* @param {DescribeLoadBalancerOverviewRequest} req
|
|
763
|
+
* @param {function(string, DescribeLoadBalancerOverviewResponse):void} cb
|
|
764
|
+
* @public
|
|
765
|
+
*/
|
|
766
|
+
DescribeLoadBalancerOverview(req, cb) {
|
|
767
|
+
let resp = new DescribeLoadBalancerOverviewResponse();
|
|
768
|
+
this.request("DescribeLoadBalancerOverview", req, resp, cb);
|
|
769
|
+
}
|
|
770
|
+
|
|
756
771
|
/**
|
|
757
772
|
* This API (DescribeTargets) is used to query the list of real servers bound to some listeners of a CLB instance.
|
|
758
773
|
* @param {DescribeTargetsRequest} req
|
|
@@ -899,6 +914,17 @@ This is an async API. After it is returned successfully, you can call the `Descr
|
|
|
899
914
|
this.request("DescribeLoadBalancerTraffic", req, resp, cb);
|
|
900
915
|
}
|
|
901
916
|
|
|
917
|
+
/**
|
|
918
|
+
* This API is used to generate a CLB instance that has the same rules and binding relations as the specified CLB instance.
|
|
919
|
+
* @param {CloneLoadBalancerRequest} req
|
|
920
|
+
* @param {function(string, CloneLoadBalancerResponse):void} cb
|
|
921
|
+
* @public
|
|
922
|
+
*/
|
|
923
|
+
CloneLoadBalancer(req, cb) {
|
|
924
|
+
let resp = new CloneLoadBalancerResponse();
|
|
925
|
+
this.request("CloneLoadBalancer", req, resp, cb);
|
|
926
|
+
}
|
|
927
|
+
|
|
902
928
|
/**
|
|
903
929
|
* This API is used to modify server ports of a target group in batches.
|
|
904
930
|
This is an async API. After it is returned successfully, you can call the `DescribeTaskStatus` API with the returned `RequestID` as an input parameter to check whether this task is successful.
|
|
@@ -654,39 +654,42 @@ Note: A secondary AZ will load traffic if the primary AZ has failures. The API `
|
|
|
654
654
|
}
|
|
655
655
|
|
|
656
656
|
/**
|
|
657
|
-
*
|
|
657
|
+
* DescribeLoadBalancerOverview response structure.
|
|
658
658
|
* @class
|
|
659
659
|
*/
|
|
660
|
-
class
|
|
660
|
+
class DescribeLoadBalancerOverviewResponse extends AbstractModel {
|
|
661
661
|
constructor(){
|
|
662
662
|
super();
|
|
663
663
|
|
|
664
664
|
/**
|
|
665
|
-
*
|
|
666
|
-
* @type {
|
|
665
|
+
* Total number of CLB instances
|
|
666
|
+
* @type {number || null}
|
|
667
667
|
*/
|
|
668
|
-
this.
|
|
668
|
+
this.TotalCount = null;
|
|
669
669
|
|
|
670
670
|
/**
|
|
671
|
-
*
|
|
672
|
-
|
|
673
|
-
* @type {string || null}
|
|
671
|
+
* Number of CLB instances that are running
|
|
672
|
+
* @type {number || null}
|
|
674
673
|
*/
|
|
675
|
-
this.
|
|
674
|
+
this.RunningCount = null;
|
|
676
675
|
|
|
677
676
|
/**
|
|
678
|
-
*
|
|
679
|
-
|
|
680
|
-
* @type {string || null}
|
|
677
|
+
* Number of CLB instances that are isolated
|
|
678
|
+
* @type {number || null}
|
|
681
679
|
*/
|
|
682
|
-
this.
|
|
680
|
+
this.IsolationCount = null;
|
|
683
681
|
|
|
684
682
|
/**
|
|
685
|
-
*
|
|
686
|
-
|
|
687
|
-
* @type {Array.<TargetHealth> || null}
|
|
683
|
+
* Number of CLB instances that are about to expire
|
|
684
|
+
* @type {number || null}
|
|
688
685
|
*/
|
|
689
|
-
this.
|
|
686
|
+
this.WillExpireCount = null;
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
690
|
+
* @type {string || null}
|
|
691
|
+
*/
|
|
692
|
+
this.RequestId = null;
|
|
690
693
|
|
|
691
694
|
}
|
|
692
695
|
|
|
@@ -697,18 +700,11 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
697
700
|
if (!params) {
|
|
698
701
|
return;
|
|
699
702
|
}
|
|
700
|
-
this.
|
|
701
|
-
this.
|
|
702
|
-
this.
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
this.Targets = new Array();
|
|
706
|
-
for (let z in params.Targets) {
|
|
707
|
-
let obj = new TargetHealth();
|
|
708
|
-
obj.deserialize(params.Targets[z]);
|
|
709
|
-
this.Targets.push(obj);
|
|
710
|
-
}
|
|
711
|
-
}
|
|
703
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
704
|
+
this.RunningCount = 'RunningCount' in params ? params.RunningCount : null;
|
|
705
|
+
this.IsolationCount = 'IsolationCount' in params ? params.IsolationCount : null;
|
|
706
|
+
this.WillExpireCount = 'WillExpireCount' in params ? params.WillExpireCount : null;
|
|
707
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
712
708
|
|
|
713
709
|
}
|
|
714
710
|
}
|
|
@@ -776,6 +772,189 @@ class DeleteRuleRequest extends AbstractModel {
|
|
|
776
772
|
}
|
|
777
773
|
}
|
|
778
774
|
|
|
775
|
+
/**
|
|
776
|
+
* CloneLoadBalancer request structure.
|
|
777
|
+
* @class
|
|
778
|
+
*/
|
|
779
|
+
class CloneLoadBalancerRequest extends AbstractModel {
|
|
780
|
+
constructor(){
|
|
781
|
+
super();
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* CLB instance ID
|
|
785
|
+
* @type {string || null}
|
|
786
|
+
*/
|
|
787
|
+
this.LoadBalancerId = null;
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* Clones the name of the CLB instance. The name must be 1-60 characters containing letters, numbers, "-" or "_".
|
|
791
|
+
Note: if the name of a new CLB instance already exists, a default name will be generated automatically.
|
|
792
|
+
* @type {string || null}
|
|
793
|
+
*/
|
|
794
|
+
this.LoadBalancerName = null;
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* ID of the project to which a CLB instance belongs, which can be obtained through the DescribeProject API. If this parameter is not passed in, the default project will be used.
|
|
798
|
+
* @type {number || null}
|
|
799
|
+
*/
|
|
800
|
+
this.ProjectId = null;
|
|
801
|
+
|
|
802
|
+
/**
|
|
803
|
+
* Sets the primary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`, which is applicable only to public network CLB.
|
|
804
|
+
Note: A primary AZ is the default AZ that carries traffic. When it fails, the optimal secondary AZ is chosen automatically to take its place.
|
|
805
|
+
* @type {string || null}
|
|
806
|
+
*/
|
|
807
|
+
this.MasterZoneId = null;
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* Sets the secondary AZ ID for cross-AZ disaster recovery, such as `100001` or `ap-guangzhou-1`, which is applicable only to public network CLB instances.
|
|
811
|
+
Note: A secondary AZ carries traffic when the primary AZ fails.
|
|
812
|
+
* @type {string || null}
|
|
813
|
+
*/
|
|
814
|
+
this.SlaveZoneId = null;
|
|
815
|
+
|
|
816
|
+
/**
|
|
817
|
+
* Specifies an AZ ID for creating a CLB instance, such as `ap-guangzhou-1`, which is applicable only to public network CLB instances.
|
|
818
|
+
* @type {string || null}
|
|
819
|
+
*/
|
|
820
|
+
this.ZoneId = null;
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* CLB network billing mode. This parameter is applicable only to public network CLB instances.
|
|
824
|
+
* @type {InternetAccessible || null}
|
|
825
|
+
*/
|
|
826
|
+
this.InternetAccessible = null;
|
|
827
|
+
|
|
828
|
+
/**
|
|
829
|
+
* This parameter is applicable only to public network CLB instances. Valid values: CMCC (China Mobile), CTCC (China Telecom), CUCC (China Unicom). If this parameter is not specified, BGP will be used by default. ISPs supported in a region can be queried with the `DescribeSingleIsp` API. If an ISP is specified, only bill-by-bandwidth-package (BANDWIDTH_PACKAGE) can be used as the network billing mode.
|
|
830
|
+
* @type {string || null}
|
|
831
|
+
*/
|
|
832
|
+
this.VipIsp = null;
|
|
833
|
+
|
|
834
|
+
/**
|
|
835
|
+
* Applies for CLB instances for a specified VIP
|
|
836
|
+
* @type {string || null}
|
|
837
|
+
*/
|
|
838
|
+
this.Vip = null;
|
|
839
|
+
|
|
840
|
+
/**
|
|
841
|
+
* Tags a CLB instance when purchasing it
|
|
842
|
+
* @type {Array.<TagInfo> || null}
|
|
843
|
+
*/
|
|
844
|
+
this.Tags = null;
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* Dedicated cluster information
|
|
848
|
+
* @type {ExclusiveCluster || null}
|
|
849
|
+
*/
|
|
850
|
+
this.ExclusiveCluster = null;
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* Bandwidth package ID. If this parameter is specified, the network billing mode (`InternetAccessible.InternetChargeType`) will only support bill-by-bandwidth package (`BANDWIDTH_PACKAGE`).
|
|
854
|
+
* @type {string || null}
|
|
855
|
+
*/
|
|
856
|
+
this.BandwidthPackageId = null;
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* Whether to support binding cross-VPC IPs or cross-region IPs
|
|
860
|
+
* @type {boolean || null}
|
|
861
|
+
*/
|
|
862
|
+
this.SnatPro = null;
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* Creates `SnatIp` when the binding IPs of other VPCs feature is enabled
|
|
866
|
+
* @type {Array.<SnatIp> || null}
|
|
867
|
+
*/
|
|
868
|
+
this.SnatIps = null;
|
|
869
|
+
|
|
870
|
+
/**
|
|
871
|
+
* ID of the public network CLB dedicated cluster
|
|
872
|
+
* @type {Array.<string> || null}
|
|
873
|
+
*/
|
|
874
|
+
this.ClusterIds = null;
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
*
|
|
878
|
+
* @type {string || null}
|
|
879
|
+
*/
|
|
880
|
+
this.SlaType = null;
|
|
881
|
+
|
|
882
|
+
/**
|
|
883
|
+
* Tag of the STGW dedicated cluster
|
|
884
|
+
* @type {string || null}
|
|
885
|
+
*/
|
|
886
|
+
this.ClusterTag = null;
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* Availability zones for nearby access of private network CLB instances to distribute traffic
|
|
890
|
+
* @type {Array.<string> || null}
|
|
891
|
+
*/
|
|
892
|
+
this.Zones = null;
|
|
893
|
+
|
|
894
|
+
/**
|
|
895
|
+
* Unique ID of an EIP, which can only be used when binding the EIP of a private network CLB instance (e.g., `eip-11112222`)
|
|
896
|
+
* @type {string || null}
|
|
897
|
+
*/
|
|
898
|
+
this.EipAddressId = null;
|
|
899
|
+
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
/**
|
|
903
|
+
* @private
|
|
904
|
+
*/
|
|
905
|
+
deserialize(params) {
|
|
906
|
+
if (!params) {
|
|
907
|
+
return;
|
|
908
|
+
}
|
|
909
|
+
this.LoadBalancerId = 'LoadBalancerId' in params ? params.LoadBalancerId : null;
|
|
910
|
+
this.LoadBalancerName = 'LoadBalancerName' in params ? params.LoadBalancerName : null;
|
|
911
|
+
this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
|
|
912
|
+
this.MasterZoneId = 'MasterZoneId' in params ? params.MasterZoneId : null;
|
|
913
|
+
this.SlaveZoneId = 'SlaveZoneId' in params ? params.SlaveZoneId : null;
|
|
914
|
+
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
915
|
+
|
|
916
|
+
if (params.InternetAccessible) {
|
|
917
|
+
let obj = new InternetAccessible();
|
|
918
|
+
obj.deserialize(params.InternetAccessible)
|
|
919
|
+
this.InternetAccessible = obj;
|
|
920
|
+
}
|
|
921
|
+
this.VipIsp = 'VipIsp' in params ? params.VipIsp : null;
|
|
922
|
+
this.Vip = 'Vip' in params ? params.Vip : null;
|
|
923
|
+
|
|
924
|
+
if (params.Tags) {
|
|
925
|
+
this.Tags = new Array();
|
|
926
|
+
for (let z in params.Tags) {
|
|
927
|
+
let obj = new TagInfo();
|
|
928
|
+
obj.deserialize(params.Tags[z]);
|
|
929
|
+
this.Tags.push(obj);
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
if (params.ExclusiveCluster) {
|
|
934
|
+
let obj = new ExclusiveCluster();
|
|
935
|
+
obj.deserialize(params.ExclusiveCluster)
|
|
936
|
+
this.ExclusiveCluster = obj;
|
|
937
|
+
}
|
|
938
|
+
this.BandwidthPackageId = 'BandwidthPackageId' in params ? params.BandwidthPackageId : null;
|
|
939
|
+
this.SnatPro = 'SnatPro' in params ? params.SnatPro : null;
|
|
940
|
+
|
|
941
|
+
if (params.SnatIps) {
|
|
942
|
+
this.SnatIps = new Array();
|
|
943
|
+
for (let z in params.SnatIps) {
|
|
944
|
+
let obj = new SnatIp();
|
|
945
|
+
obj.deserialize(params.SnatIps[z]);
|
|
946
|
+
this.SnatIps.push(obj);
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
this.ClusterIds = 'ClusterIds' in params ? params.ClusterIds : null;
|
|
950
|
+
this.SlaType = 'SlaType' in params ? params.SlaType : null;
|
|
951
|
+
this.ClusterTag = 'ClusterTag' in params ? params.ClusterTag : null;
|
|
952
|
+
this.Zones = 'Zones' in params ? params.Zones : null;
|
|
953
|
+
this.EipAddressId = 'EipAddressId' in params ? params.EipAddressId : null;
|
|
954
|
+
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
|
|
779
958
|
/**
|
|
780
959
|
* DisassociateTargetGroups response structure.
|
|
781
960
|
* @class
|
|
@@ -1753,6 +1932,66 @@ class CreateRuleResponse extends AbstractModel {
|
|
|
1753
1932
|
}
|
|
1754
1933
|
}
|
|
1755
1934
|
|
|
1935
|
+
/**
|
|
1936
|
+
* Health check status of a forwarding rule
|
|
1937
|
+
* @class
|
|
1938
|
+
*/
|
|
1939
|
+
class RuleHealth extends AbstractModel {
|
|
1940
|
+
constructor(){
|
|
1941
|
+
super();
|
|
1942
|
+
|
|
1943
|
+
/**
|
|
1944
|
+
* Forwarding rule ID
|
|
1945
|
+
* @type {string || null}
|
|
1946
|
+
*/
|
|
1947
|
+
this.LocationId = null;
|
|
1948
|
+
|
|
1949
|
+
/**
|
|
1950
|
+
* Domain name of the forwarding rule
|
|
1951
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1952
|
+
* @type {string || null}
|
|
1953
|
+
*/
|
|
1954
|
+
this.Domain = null;
|
|
1955
|
+
|
|
1956
|
+
/**
|
|
1957
|
+
* Forwarding rule Url
|
|
1958
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1959
|
+
* @type {string || null}
|
|
1960
|
+
*/
|
|
1961
|
+
this.Url = null;
|
|
1962
|
+
|
|
1963
|
+
/**
|
|
1964
|
+
* Health status of the real server bound to this rule
|
|
1965
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
1966
|
+
* @type {Array.<TargetHealth> || null}
|
|
1967
|
+
*/
|
|
1968
|
+
this.Targets = null;
|
|
1969
|
+
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1972
|
+
/**
|
|
1973
|
+
* @private
|
|
1974
|
+
*/
|
|
1975
|
+
deserialize(params) {
|
|
1976
|
+
if (!params) {
|
|
1977
|
+
return;
|
|
1978
|
+
}
|
|
1979
|
+
this.LocationId = 'LocationId' in params ? params.LocationId : null;
|
|
1980
|
+
this.Domain = 'Domain' in params ? params.Domain : null;
|
|
1981
|
+
this.Url = 'Url' in params ? params.Url : null;
|
|
1982
|
+
|
|
1983
|
+
if (params.Targets) {
|
|
1984
|
+
this.Targets = new Array();
|
|
1985
|
+
for (let z in params.Targets) {
|
|
1986
|
+
let obj = new TargetHealth();
|
|
1987
|
+
obj.deserialize(params.Targets[z]);
|
|
1988
|
+
this.Targets.push(obj);
|
|
1989
|
+
}
|
|
1990
|
+
}
|
|
1991
|
+
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1994
|
+
|
|
1756
1995
|
/**
|
|
1757
1996
|
* RegisterTargetGroupInstances response structure.
|
|
1758
1997
|
* @class
|
|
@@ -4003,7 +4242,7 @@ class DescribeLoadBalancersDetailRequest extends AbstractModel {
|
|
|
4003
4242
|
this.Offset = null;
|
|
4004
4243
|
|
|
4005
4244
|
/**
|
|
4006
|
-
* List of fields
|
|
4245
|
+
* List of fields. Only fields specified will be returned. If it’s left blank, `null` is returned. The fields `LoadBalancerId` and `LoadBalancerName` are added by default. For details about fields, see <a href="https://intl.cloud.tencent.com/document/api/214/30694?from_cn_redirect=1#LoadBalancerDetail">LoadBalancerDetail</a>.
|
|
4007
4246
|
* @type {Array.<string> || null}
|
|
4008
4247
|
*/
|
|
4009
4248
|
this.Fields = null;
|
|
@@ -6563,6 +6802,27 @@ class DeregisterTargetsResponse extends AbstractModel {
|
|
|
6563
6802
|
}
|
|
6564
6803
|
}
|
|
6565
6804
|
|
|
6805
|
+
/**
|
|
6806
|
+
* DescribeLoadBalancerOverview request structure.
|
|
6807
|
+
* @class
|
|
6808
|
+
*/
|
|
6809
|
+
class DescribeLoadBalancerOverviewRequest extends AbstractModel {
|
|
6810
|
+
constructor(){
|
|
6811
|
+
super();
|
|
6812
|
+
|
|
6813
|
+
}
|
|
6814
|
+
|
|
6815
|
+
/**
|
|
6816
|
+
* @private
|
|
6817
|
+
*/
|
|
6818
|
+
deserialize(params) {
|
|
6819
|
+
if (!params) {
|
|
6820
|
+
return;
|
|
6821
|
+
}
|
|
6822
|
+
|
|
6823
|
+
}
|
|
6824
|
+
}
|
|
6825
|
+
|
|
6566
6826
|
/**
|
|
6567
6827
|
* Redirect target information
|
|
6568
6828
|
* @class
|
|
@@ -7415,6 +7675,34 @@ class DeleteRuleResponse extends AbstractModel {
|
|
|
7415
7675
|
}
|
|
7416
7676
|
}
|
|
7417
7677
|
|
|
7678
|
+
/**
|
|
7679
|
+
* CloneLoadBalancer response structure.
|
|
7680
|
+
* @class
|
|
7681
|
+
*/
|
|
7682
|
+
class CloneLoadBalancerResponse extends AbstractModel {
|
|
7683
|
+
constructor(){
|
|
7684
|
+
super();
|
|
7685
|
+
|
|
7686
|
+
/**
|
|
7687
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
7688
|
+
* @type {string || null}
|
|
7689
|
+
*/
|
|
7690
|
+
this.RequestId = null;
|
|
7691
|
+
|
|
7692
|
+
}
|
|
7693
|
+
|
|
7694
|
+
/**
|
|
7695
|
+
* @private
|
|
7696
|
+
*/
|
|
7697
|
+
deserialize(params) {
|
|
7698
|
+
if (!params) {
|
|
7699
|
+
return;
|
|
7700
|
+
}
|
|
7701
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
7702
|
+
|
|
7703
|
+
}
|
|
7704
|
+
}
|
|
7705
|
+
|
|
7418
7706
|
/**
|
|
7419
7707
|
* DescribeClsLogSet response structure.
|
|
7420
7708
|
* @class
|
|
@@ -9974,6 +10262,19 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
9974
10262
|
*/
|
|
9975
10263
|
this.HealthLogTopicId = null;
|
|
9976
10264
|
|
|
10265
|
+
/**
|
|
10266
|
+
*
|
|
10267
|
+
* @type {Array.<string> || null}
|
|
10268
|
+
*/
|
|
10269
|
+
this.ClusterIds = null;
|
|
10270
|
+
|
|
10271
|
+
/**
|
|
10272
|
+
* CLB attribute
|
|
10273
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
10274
|
+
* @type {Array.<string> || null}
|
|
10275
|
+
*/
|
|
10276
|
+
this.AttributeFlags = null;
|
|
10277
|
+
|
|
9977
10278
|
}
|
|
9978
10279
|
|
|
9979
10280
|
/**
|
|
@@ -10088,6 +10389,8 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
10088
10389
|
this.NfvInfo = 'NfvInfo' in params ? params.NfvInfo : null;
|
|
10089
10390
|
this.HealthLogSetId = 'HealthLogSetId' in params ? params.HealthLogSetId : null;
|
|
10090
10391
|
this.HealthLogTopicId = 'HealthLogTopicId' in params ? params.HealthLogTopicId : null;
|
|
10392
|
+
this.ClusterIds = 'ClusterIds' in params ? params.ClusterIds : null;
|
|
10393
|
+
this.AttributeFlags = 'AttributeFlags' in params ? params.AttributeFlags : null;
|
|
10091
10394
|
|
|
10092
10395
|
}
|
|
10093
10396
|
}
|
|
@@ -10104,8 +10407,9 @@ module.exports = {
|
|
|
10104
10407
|
BatchModifyTargetWeightResponse: BatchModifyTargetWeightResponse,
|
|
10105
10408
|
SetSecurityGroupForLoadbalancersRequest: SetSecurityGroupForLoadbalancersRequest,
|
|
10106
10409
|
CreateLoadBalancerRequest: CreateLoadBalancerRequest,
|
|
10107
|
-
|
|
10410
|
+
DescribeLoadBalancerOverviewResponse: DescribeLoadBalancerOverviewResponse,
|
|
10108
10411
|
DeleteRuleRequest: DeleteRuleRequest,
|
|
10412
|
+
CloneLoadBalancerRequest: CloneLoadBalancerRequest,
|
|
10109
10413
|
DisassociateTargetGroupsResponse: DisassociateTargetGroupsResponse,
|
|
10110
10414
|
SetLoadBalancerClsLogResponse: SetLoadBalancerClsLogResponse,
|
|
10111
10415
|
DescribeLoadBalancerTrafficResponse: DescribeLoadBalancerTrafficResponse,
|
|
@@ -10127,6 +10431,7 @@ module.exports = {
|
|
|
10127
10431
|
TargetGroupInstance: TargetGroupInstance,
|
|
10128
10432
|
DescribeClassicalLBByInstanceIdResponse: DescribeClassicalLBByInstanceIdResponse,
|
|
10129
10433
|
CreateRuleResponse: CreateRuleResponse,
|
|
10434
|
+
RuleHealth: RuleHealth,
|
|
10130
10435
|
RegisterTargetGroupInstancesResponse: RegisterTargetGroupInstancesResponse,
|
|
10131
10436
|
ClassicalTargetInfo: ClassicalTargetInfo,
|
|
10132
10437
|
DescribeTargetsRequest: DescribeTargetsRequest,
|
|
@@ -10219,6 +10524,7 @@ module.exports = {
|
|
|
10219
10524
|
DeleteLoadBalancerResponse: DeleteLoadBalancerResponse,
|
|
10220
10525
|
AutoRewriteResponse: AutoRewriteResponse,
|
|
10221
10526
|
DeregisterTargetsResponse: DeregisterTargetsResponse,
|
|
10527
|
+
DescribeLoadBalancerOverviewRequest: DescribeLoadBalancerOverviewRequest,
|
|
10222
10528
|
RewriteTarget: RewriteTarget,
|
|
10223
10529
|
ModifyTargetWeightRequest: ModifyTargetWeightRequest,
|
|
10224
10530
|
DescribeLoadBalancersDetailResponse: DescribeLoadBalancersDetailResponse,
|
|
@@ -10232,6 +10538,7 @@ module.exports = {
|
|
|
10232
10538
|
DescribeTargetHealthRequest: DescribeTargetHealthRequest,
|
|
10233
10539
|
ReplaceCertForLoadBalancersRequest: ReplaceCertForLoadBalancersRequest,
|
|
10234
10540
|
DeleteRuleResponse: DeleteRuleResponse,
|
|
10541
|
+
CloneLoadBalancerResponse: CloneLoadBalancerResponse,
|
|
10235
10542
|
DescribeClsLogSetResponse: DescribeClsLogSetResponse,
|
|
10236
10543
|
ModifyTargetGroupAttributeRequest: ModifyTargetGroupAttributeRequest,
|
|
10237
10544
|
ModifyDomainAttributesRequest: ModifyDomainAttributesRequest,
|