tencentcloud-sdk-nodejs-intl-en 3.0.281 → 3.0.285
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/antiddos/v20200309/antiddos_client.js +47 -7
- package/tencentcloud/antiddos/v20200309/models.js +527 -17
- package/tencentcloud/ckafka/v20190819/ckafka_client.js +29 -2
- package/tencentcloud/ckafka/v20190819/models.js +238 -29
- package/tencentcloud/clb/v20180317/clb_client.js +40 -12
- package/tencentcloud/clb/v20180317/models.js +500 -99
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/dbbrain/v20210527/dbbrain_client.js +13 -0
- package/tencentcloud/dbbrain/v20210527/models.js +101 -0
- package/tencentcloud/dts/v20180330/models.js +31 -0
- package/tencentcloud/gaap/v20180529/models.js +147 -19
- package/tencentcloud/gme/v20180711/gme_client.js +4 -1
- package/tencentcloud/gme/v20180711/models.js +215 -92
- package/tencentcloud/live/v20180801/models.js +18 -6
- package/tencentcloud/mongodb/v20190725/models.js +3 -3
- package/tencentcloud/monitor/v20180724/models.js +7 -0
- package/tencentcloud/ssm/v20190923/models.js +349 -42
- package/tencentcloud/ssm/v20190923/ssm_client.js +43 -17
- package/tencentcloud/tke/v20180525/models.js +122 -1
- package/tencentcloud/tke/v20180525/tke_client.js +14 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.285";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -33,6 +33,7 @@ const SlowLogTopSqlItem = models.SlowLogTopSqlItem;
|
|
|
33
33
|
const DescribeMySqlProcessListResponse = models.DescribeMySqlProcessListResponse;
|
|
34
34
|
const HealthStatus = models.HealthStatus;
|
|
35
35
|
const DescribeTopSpaceTablesResponse = models.DescribeTopSpaceTablesResponse;
|
|
36
|
+
const KillMySqlThreadsResponse = models.KillMySqlThreadsResponse;
|
|
36
37
|
const CreateSchedulerMailProfileRequest = models.CreateSchedulerMailProfileRequest;
|
|
37
38
|
const ContactItem = models.ContactItem;
|
|
38
39
|
const DescribeDBSpaceStatusRequest = models.DescribeDBSpaceStatusRequest;
|
|
@@ -55,6 +56,7 @@ const TableSpaceData = models.TableSpaceData;
|
|
|
55
56
|
const EventInfo = models.EventInfo;
|
|
56
57
|
const DescribeMailProfileRequest = models.DescribeMailProfileRequest;
|
|
57
58
|
const DeleteSecurityAuditLogExportTasksResponse = models.DeleteSecurityAuditLogExportTasksResponse;
|
|
59
|
+
const KillMySqlThreadsRequest = models.KillMySqlThreadsRequest;
|
|
58
60
|
const CreateDBDiagReportUrlRequest = models.CreateDBDiagReportUrlRequest;
|
|
59
61
|
const ScoreDetail = models.ScoreDetail;
|
|
60
62
|
const HealthScoreInfo = models.HealthScoreInfo;
|
|
@@ -411,6 +413,17 @@ class DbbrainClient extends AbstractClient {
|
|
|
411
413
|
this.request("ModifyDiagDBInstanceConf", req, resp, cb);
|
|
412
414
|
}
|
|
413
415
|
|
|
416
|
+
/**
|
|
417
|
+
* This API is used to interrupt the current session according to the session ID. It needs to be called twice to commit the session interruption task in two stages. In the pre-commit stage, the stage value is `Prepare`, and the returned value is `SqlExecId’. In the commit stage, the stage value is `Commit`, and `SqlExecId` will be passed in as a parameter. Then the session process will be terminated.
|
|
418
|
+
* @param {KillMySqlThreadsRequest} req
|
|
419
|
+
* @param {function(string, KillMySqlThreadsResponse):void} cb
|
|
420
|
+
* @public
|
|
421
|
+
*/
|
|
422
|
+
KillMySqlThreads(req, cb) {
|
|
423
|
+
let resp = new KillMySqlThreadsResponse();
|
|
424
|
+
this.request("KillMySqlThreads", req, resp, cb);
|
|
425
|
+
}
|
|
426
|
+
|
|
414
427
|
/**
|
|
415
428
|
* This API is used to create a URL for a health report.
|
|
416
429
|
* @param {CreateDBDiagReportUrlRequest} req
|
|
@@ -1072,6 +1072,49 @@ class DescribeTopSpaceTablesResponse extends AbstractModel {
|
|
|
1072
1072
|
}
|
|
1073
1073
|
}
|
|
1074
1074
|
|
|
1075
|
+
/**
|
|
1076
|
+
* KillMySqlThreads response structure.
|
|
1077
|
+
* @class
|
|
1078
|
+
*/
|
|
1079
|
+
class KillMySqlThreadsResponse extends AbstractModel {
|
|
1080
|
+
constructor(){
|
|
1081
|
+
super();
|
|
1082
|
+
|
|
1083
|
+
/**
|
|
1084
|
+
* The ID list of MySQL sessions that have been killed.
|
|
1085
|
+
* @type {Array.<number> || null}
|
|
1086
|
+
*/
|
|
1087
|
+
this.Threads = null;
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* Execution ID, which is output in the “Prepare” stage and used to specify the ID of the session to be killed in the “Commit” stage.
|
|
1091
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
1092
|
+
* @type {string || null}
|
|
1093
|
+
*/
|
|
1094
|
+
this.SqlExecId = null;
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
1097
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1098
|
+
* @type {string || null}
|
|
1099
|
+
*/
|
|
1100
|
+
this.RequestId = null;
|
|
1101
|
+
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* @private
|
|
1106
|
+
*/
|
|
1107
|
+
deserialize(params) {
|
|
1108
|
+
if (!params) {
|
|
1109
|
+
return;
|
|
1110
|
+
}
|
|
1111
|
+
this.Threads = 'Threads' in params ? params.Threads : null;
|
|
1112
|
+
this.SqlExecId = 'SqlExecId' in params ? params.SqlExecId : null;
|
|
1113
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1114
|
+
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1075
1118
|
/**
|
|
1076
1119
|
* CreateSchedulerMailProfile request structure.
|
|
1077
1120
|
* @class
|
|
@@ -2239,6 +2282,62 @@ class DeleteSecurityAuditLogExportTasksResponse extends AbstractModel {
|
|
|
2239
2282
|
}
|
|
2240
2283
|
}
|
|
2241
2284
|
|
|
2285
|
+
/**
|
|
2286
|
+
* KillMySqlThreads request structure.
|
|
2287
|
+
* @class
|
|
2288
|
+
*/
|
|
2289
|
+
class KillMySqlThreadsRequest extends AbstractModel {
|
|
2290
|
+
constructor(){
|
|
2291
|
+
super();
|
|
2292
|
+
|
|
2293
|
+
/**
|
|
2294
|
+
* Instance ID.
|
|
2295
|
+
* @type {string || null}
|
|
2296
|
+
*/
|
|
2297
|
+
this.InstanceId = null;
|
|
2298
|
+
|
|
2299
|
+
/**
|
|
2300
|
+
* The stage of a session killing task. Valid values: Prepare (preparation stage), Commit (commit stage).
|
|
2301
|
+
* @type {string || null}
|
|
2302
|
+
*/
|
|
2303
|
+
this.Stage = null;
|
|
2304
|
+
|
|
2305
|
+
/**
|
|
2306
|
+
* The ID list of MySQL sessions to be killed. This parameter is used in the “Prepare” stage.
|
|
2307
|
+
* @type {Array.<number> || null}
|
|
2308
|
+
*/
|
|
2309
|
+
this.Threads = null;
|
|
2310
|
+
|
|
2311
|
+
/**
|
|
2312
|
+
* Execution ID. This parameter is used in the “Commit” stage.
|
|
2313
|
+
* @type {string || null}
|
|
2314
|
+
*/
|
|
2315
|
+
this.SqlExecId = null;
|
|
2316
|
+
|
|
2317
|
+
/**
|
|
2318
|
+
* Service type. Valid values: mysql (TencentDB for MySQL), cynosdb (TDSQL-C for MySQL). Default value: mysql.
|
|
2319
|
+
* @type {string || null}
|
|
2320
|
+
*/
|
|
2321
|
+
this.Product = null;
|
|
2322
|
+
|
|
2323
|
+
}
|
|
2324
|
+
|
|
2325
|
+
/**
|
|
2326
|
+
* @private
|
|
2327
|
+
*/
|
|
2328
|
+
deserialize(params) {
|
|
2329
|
+
if (!params) {
|
|
2330
|
+
return;
|
|
2331
|
+
}
|
|
2332
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2333
|
+
this.Stage = 'Stage' in params ? params.Stage : null;
|
|
2334
|
+
this.Threads = 'Threads' in params ? params.Threads : null;
|
|
2335
|
+
this.SqlExecId = 'SqlExecId' in params ? params.SqlExecId : null;
|
|
2336
|
+
this.Product = 'Product' in params ? params.Product : null;
|
|
2337
|
+
|
|
2338
|
+
}
|
|
2339
|
+
}
|
|
2340
|
+
|
|
2242
2341
|
/**
|
|
2243
2342
|
* CreateDBDiagReportUrl request structure.
|
|
2244
2343
|
* @class
|
|
@@ -4919,6 +5018,7 @@ module.exports = {
|
|
|
4919
5018
|
DescribeMySqlProcessListResponse: DescribeMySqlProcessListResponse,
|
|
4920
5019
|
HealthStatus: HealthStatus,
|
|
4921
5020
|
DescribeTopSpaceTablesResponse: DescribeTopSpaceTablesResponse,
|
|
5021
|
+
KillMySqlThreadsResponse: KillMySqlThreadsResponse,
|
|
4922
5022
|
CreateSchedulerMailProfileRequest: CreateSchedulerMailProfileRequest,
|
|
4923
5023
|
ContactItem: ContactItem,
|
|
4924
5024
|
DescribeDBSpaceStatusRequest: DescribeDBSpaceStatusRequest,
|
|
@@ -4941,6 +5041,7 @@ module.exports = {
|
|
|
4941
5041
|
EventInfo: EventInfo,
|
|
4942
5042
|
DescribeMailProfileRequest: DescribeMailProfileRequest,
|
|
4943
5043
|
DeleteSecurityAuditLogExportTasksResponse: DeleteSecurityAuditLogExportTasksResponse,
|
|
5044
|
+
KillMySqlThreadsRequest: KillMySqlThreadsRequest,
|
|
4944
5045
|
CreateDBDiagReportUrlRequest: CreateDBDiagReportUrlRequest,
|
|
4945
5046
|
ScoreDetail: ScoreDetail,
|
|
4946
5047
|
HealthScoreInfo: HealthScoreInfo,
|
|
@@ -3018,6 +3018,12 @@ class DescribeMigrateJobsRequest extends AbstractModel {
|
|
|
3018
3018
|
*/
|
|
3019
3019
|
this.Limit = null;
|
|
3020
3020
|
|
|
3021
|
+
/**
|
|
3022
|
+
* Tag filter.
|
|
3023
|
+
* @type {Array.<TagFilter> || null}
|
|
3024
|
+
*/
|
|
3025
|
+
this.TagFilters = null;
|
|
3026
|
+
|
|
3021
3027
|
}
|
|
3022
3028
|
|
|
3023
3029
|
/**
|
|
@@ -3034,6 +3040,15 @@ class DescribeMigrateJobsRequest extends AbstractModel {
|
|
|
3034
3040
|
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
3035
3041
|
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
3036
3042
|
|
|
3043
|
+
if (params.TagFilters) {
|
|
3044
|
+
this.TagFilters = new Array();
|
|
3045
|
+
for (let z in params.TagFilters) {
|
|
3046
|
+
let obj = new TagFilter();
|
|
3047
|
+
obj.deserialize(params.TagFilters[z]);
|
|
3048
|
+
this.TagFilters.push(obj);
|
|
3049
|
+
}
|
|
3050
|
+
}
|
|
3051
|
+
|
|
3037
3052
|
}
|
|
3038
3053
|
}
|
|
3039
3054
|
|
|
@@ -3726,6 +3741,13 @@ class MigrateJobInfo extends AbstractModel {
|
|
|
3726
3741
|
*/
|
|
3727
3742
|
this.ErrorInfo = null;
|
|
3728
3743
|
|
|
3744
|
+
/**
|
|
3745
|
+
* Tag
|
|
3746
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
3747
|
+
* @type {Array.<TagItem> || null}
|
|
3748
|
+
*/
|
|
3749
|
+
this.Tags = null;
|
|
3750
|
+
|
|
3729
3751
|
}
|
|
3730
3752
|
|
|
3731
3753
|
/**
|
|
@@ -3780,6 +3802,15 @@ class MigrateJobInfo extends AbstractModel {
|
|
|
3780
3802
|
}
|
|
3781
3803
|
}
|
|
3782
3804
|
|
|
3805
|
+
if (params.Tags) {
|
|
3806
|
+
this.Tags = new Array();
|
|
3807
|
+
for (let z in params.Tags) {
|
|
3808
|
+
let obj = new TagItem();
|
|
3809
|
+
obj.deserialize(params.Tags[z]);
|
|
3810
|
+
this.Tags.push(obj);
|
|
3811
|
+
}
|
|
3812
|
+
}
|
|
3813
|
+
|
|
3783
3814
|
}
|
|
3784
3815
|
}
|
|
3785
3816
|
|
|
@@ -632,6 +632,12 @@ class AccessConfiguration extends AbstractModel {
|
|
|
632
632
|
*/
|
|
633
633
|
this.Concurrent = null;
|
|
634
634
|
|
|
635
|
+
/**
|
|
636
|
+
* Network type. Valid values: `normal` (default), `cn2`
|
|
637
|
+
* @type {string || null}
|
|
638
|
+
*/
|
|
639
|
+
this.NetworkType = null;
|
|
640
|
+
|
|
635
641
|
}
|
|
636
642
|
|
|
637
643
|
/**
|
|
@@ -644,6 +650,7 @@ class AccessConfiguration extends AbstractModel {
|
|
|
644
650
|
this.AccessRegion = 'AccessRegion' in params ? params.AccessRegion : null;
|
|
645
651
|
this.Bandwidth = 'Bandwidth' in params ? params.Bandwidth : null;
|
|
646
652
|
this.Concurrent = 'Concurrent' in params ? params.Concurrent : null;
|
|
653
|
+
this.NetworkType = 'NetworkType' in params ? params.NetworkType : null;
|
|
647
654
|
|
|
648
655
|
}
|
|
649
656
|
}
|
|
@@ -2923,6 +2930,12 @@ class CreateProxyGroupRequest extends AbstractModel {
|
|
|
2923
2930
|
*/
|
|
2924
2931
|
this.IPAddressVersion = null;
|
|
2925
2932
|
|
|
2933
|
+
/**
|
|
2934
|
+
* Package type of connection group. Valid values: `Thunder` (default) and `Accelerator`.
|
|
2935
|
+
* @type {string || null}
|
|
2936
|
+
*/
|
|
2937
|
+
this.PackageType = null;
|
|
2938
|
+
|
|
2926
2939
|
}
|
|
2927
2940
|
|
|
2928
2941
|
/**
|
|
@@ -2954,6 +2967,7 @@ class CreateProxyGroupRequest extends AbstractModel {
|
|
|
2954
2967
|
}
|
|
2955
2968
|
}
|
|
2956
2969
|
this.IPAddressVersion = 'IPAddressVersion' in params ? params.IPAddressVersion : null;
|
|
2970
|
+
this.PackageType = 'PackageType' in params ? params.PackageType : null;
|
|
2957
2971
|
|
|
2958
2972
|
}
|
|
2959
2973
|
}
|
|
@@ -4275,6 +4289,20 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
4275
4289
|
*/
|
|
4276
4290
|
this.UnhealthyThreshold = null;
|
|
4277
4291
|
|
|
4292
|
+
/**
|
|
4293
|
+
* Whether to enable the primary/secondary origin server mode for failover. Values: `1` (enabled); `0` (disabled). It’s not available if the origin type is `DOMAIN`.
|
|
4294
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
4295
|
+
* @type {number || null}
|
|
4296
|
+
*/
|
|
4297
|
+
this.FailoverSwitch = null;
|
|
4298
|
+
|
|
4299
|
+
/**
|
|
4300
|
+
* Specifies whether to enable session persistence. Values: `0` (disable), `1` (enable)
|
|
4301
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
4302
|
+
* @type {number || null}
|
|
4303
|
+
*/
|
|
4304
|
+
this.SessionPersist = null;
|
|
4305
|
+
|
|
4278
4306
|
}
|
|
4279
4307
|
|
|
4280
4308
|
/**
|
|
@@ -4309,6 +4337,8 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
4309
4337
|
this.ClientIPMethod = 'ClientIPMethod' in params ? params.ClientIPMethod : null;
|
|
4310
4338
|
this.HealthyThreshold = 'HealthyThreshold' in params ? params.HealthyThreshold : null;
|
|
4311
4339
|
this.UnhealthyThreshold = 'UnhealthyThreshold' in params ? params.UnhealthyThreshold : null;
|
|
4340
|
+
this.FailoverSwitch = 'FailoverSwitch' in params ? params.FailoverSwitch : null;
|
|
4341
|
+
this.SessionPersist = 'SessionPersist' in params ? params.SessionPersist : null;
|
|
4312
4342
|
|
|
4313
4343
|
}
|
|
4314
4344
|
}
|
|
@@ -5349,6 +5379,12 @@ class DescribeAccessRegionsByDestRegionRequest extends AbstractModel {
|
|
|
5349
5379
|
*/
|
|
5350
5380
|
this.IPAddressVersion = null;
|
|
5351
5381
|
|
|
5382
|
+
/**
|
|
5383
|
+
* Package type of connection groups. Valid values: `Thunder` (general connection group) and `Accelerator` (game accelerator connection group).
|
|
5384
|
+
* @type {string || null}
|
|
5385
|
+
*/
|
|
5386
|
+
this.PackageType = null;
|
|
5387
|
+
|
|
5352
5388
|
}
|
|
5353
5389
|
|
|
5354
5390
|
/**
|
|
@@ -5360,6 +5396,7 @@ class DescribeAccessRegionsByDestRegionRequest extends AbstractModel {
|
|
|
5360
5396
|
}
|
|
5361
5397
|
this.DestRegion = 'DestRegion' in params ? params.DestRegion : null;
|
|
5362
5398
|
this.IPAddressVersion = 'IPAddressVersion' in params ? params.IPAddressVersion : null;
|
|
5399
|
+
this.PackageType = 'PackageType' in params ? params.PackageType : null;
|
|
5363
5400
|
|
|
5364
5401
|
}
|
|
5365
5402
|
}
|
|
@@ -6120,6 +6157,12 @@ The connection is to be replicated if this parameter is set.
|
|
|
6120
6157
|
*/
|
|
6121
6158
|
this.IPAddressVersion = null;
|
|
6122
6159
|
|
|
6160
|
+
/**
|
|
6161
|
+
* Network type. Valid values: `normal` (default), `cn2`
|
|
6162
|
+
* @type {string || null}
|
|
6163
|
+
*/
|
|
6164
|
+
this.NetworkType = null;
|
|
6165
|
+
|
|
6123
6166
|
}
|
|
6124
6167
|
|
|
6125
6168
|
/**
|
|
@@ -6149,6 +6192,7 @@ The connection is to be replicated if this parameter is set.
|
|
|
6149
6192
|
this.ClonedProxyId = 'ClonedProxyId' in params ? params.ClonedProxyId : null;
|
|
6150
6193
|
this.BillingType = 'BillingType' in params ? params.BillingType : null;
|
|
6151
6194
|
this.IPAddressVersion = 'IPAddressVersion' in params ? params.IPAddressVersion : null;
|
|
6195
|
+
this.NetworkType = 'NetworkType' in params ? params.NetworkType : null;
|
|
6152
6196
|
|
|
6153
6197
|
}
|
|
6154
6198
|
}
|
|
@@ -6694,6 +6738,13 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
6694
6738
|
*/
|
|
6695
6739
|
this.IPAddressVersion = null;
|
|
6696
6740
|
|
|
6741
|
+
/**
|
|
6742
|
+
* Package type of connection groups. Valid values: `Thunder` (general connection group) and `Accelerator` (game accelerator connection group).
|
|
6743
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
6744
|
+
* @type {string || null}
|
|
6745
|
+
*/
|
|
6746
|
+
this.PackageType = null;
|
|
6747
|
+
|
|
6697
6748
|
}
|
|
6698
6749
|
|
|
6699
6750
|
/**
|
|
@@ -6733,6 +6784,7 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
6733
6784
|
this.Version = 'Version' in params ? params.Version : null;
|
|
6734
6785
|
this.ClientIPMethod = 'ClientIPMethod' in params ? params.ClientIPMethod : null;
|
|
6735
6786
|
this.IPAddressVersion = 'IPAddressVersion' in params ? params.IPAddressVersion : null;
|
|
6787
|
+
this.PackageType = 'PackageType' in params ? params.PackageType : null;
|
|
6736
6788
|
|
|
6737
6789
|
}
|
|
6738
6790
|
}
|
|
@@ -7441,6 +7493,20 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
7441
7493
|
*/
|
|
7442
7494
|
this.DiscountFlowUnitPrice = null;
|
|
7443
7495
|
|
|
7496
|
+
/**
|
|
7497
|
+
* Dedicated BGP bandwidth price. Unit: USD/Mbps/day
|
|
7498
|
+
Note: this field may return `null`, indicating that no valid value can be obtained.
|
|
7499
|
+
* @type {number || null}
|
|
7500
|
+
*/
|
|
7501
|
+
this.Cn2BandwidthPrice = null;
|
|
7502
|
+
|
|
7503
|
+
/**
|
|
7504
|
+
* Dedicated BGP bandwidth discount price. Unit: USD/Mbps/day
|
|
7505
|
+
Note: this field may return `null`, indicating that no valid value can be obtained.
|
|
7506
|
+
* @type {number || null}
|
|
7507
|
+
*/
|
|
7508
|
+
this.Cn2BandwidthPriceWithDiscount = null;
|
|
7509
|
+
|
|
7444
7510
|
/**
|
|
7445
7511
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
7446
7512
|
* @type {string || null}
|
|
@@ -7470,6 +7536,8 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
7470
7536
|
this.Currency = 'Currency' in params ? params.Currency : null;
|
|
7471
7537
|
this.FlowUnitPrice = 'FlowUnitPrice' in params ? params.FlowUnitPrice : null;
|
|
7472
7538
|
this.DiscountFlowUnitPrice = 'DiscountFlowUnitPrice' in params ? params.DiscountFlowUnitPrice : null;
|
|
7539
|
+
this.Cn2BandwidthPrice = 'Cn2BandwidthPrice' in params ? params.Cn2BandwidthPrice : null;
|
|
7540
|
+
this.Cn2BandwidthPriceWithDiscount = 'Cn2BandwidthPriceWithDiscount' in params ? params.Cn2BandwidthPriceWithDiscount : null;
|
|
7473
7541
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
7474
7542
|
|
|
7475
7543
|
}
|
|
@@ -8001,6 +8069,15 @@ Other values: specified project
|
|
|
8001
8069
|
*/
|
|
8002
8070
|
this.ProjectId = null;
|
|
8003
8071
|
|
|
8072
|
+
/**
|
|
8073
|
+
* Filter condition
|
|
8074
|
+
Each request can have a maximum of 5 filter conditions for `Filter.Values`.
|
|
8075
|
+
RealServerRegion - String - Required: No - Filter by origin server region. You can also check the value of `RegionId` returned by the `DescribeDestRegions` API.
|
|
8076
|
+
PackageType - String - Required: No - Filter by type of connection groups, which can be `Thunder` (general connection group) or `Accelerator` (game accelerator connection group).
|
|
8077
|
+
* @type {Array.<Filter> || null}
|
|
8078
|
+
*/
|
|
8079
|
+
this.Filters = null;
|
|
8080
|
+
|
|
8004
8081
|
/**
|
|
8005
8082
|
* Tag list. If this field exists, the list of the resources with the tag will be pulled.
|
|
8006
8083
|
It supports up to 5 tags. If there are two or more tags, the connection groups tagged any of them will be pulled.
|
|
@@ -8008,14 +8085,6 @@ It supports up to 5 tags. If there are two or more tags, the connection groups t
|
|
|
8008
8085
|
*/
|
|
8009
8086
|
this.TagSet = null;
|
|
8010
8087
|
|
|
8011
|
-
/**
|
|
8012
|
-
* Filter conditions.
|
|
8013
|
-
The limit on Filter.Values of each request is 5.
|
|
8014
|
-
RealServerRegion - String - Required: No - Filter by origin server region; Refer to the RegionId in the results returned by DescribeDestRegions API.
|
|
8015
|
-
* @type {Array.<Filter> || null}
|
|
8016
|
-
*/
|
|
8017
|
-
this.Filters = null;
|
|
8018
|
-
|
|
8019
8088
|
}
|
|
8020
8089
|
|
|
8021
8090
|
/**
|
|
@@ -8029,15 +8098,6 @@ RealServerRegion - String - Required: No - Filter by origin server region; Refer
|
|
|
8029
8098
|
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
8030
8099
|
this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
|
|
8031
8100
|
|
|
8032
|
-
if (params.TagSet) {
|
|
8033
|
-
this.TagSet = new Array();
|
|
8034
|
-
for (let z in params.TagSet) {
|
|
8035
|
-
let obj = new TagPair();
|
|
8036
|
-
obj.deserialize(params.TagSet[z]);
|
|
8037
|
-
this.TagSet.push(obj);
|
|
8038
|
-
}
|
|
8039
|
-
}
|
|
8040
|
-
|
|
8041
8101
|
if (params.Filters) {
|
|
8042
8102
|
this.Filters = new Array();
|
|
8043
8103
|
for (let z in params.Filters) {
|
|
@@ -8047,6 +8107,15 @@ RealServerRegion - String - Required: No - Filter by origin server region; Refer
|
|
|
8047
8107
|
}
|
|
8048
8108
|
}
|
|
8049
8109
|
|
|
8110
|
+
if (params.TagSet) {
|
|
8111
|
+
this.TagSet = new Array();
|
|
8112
|
+
for (let z in params.TagSet) {
|
|
8113
|
+
let obj = new TagPair();
|
|
8114
|
+
obj.deserialize(params.TagSet[z]);
|
|
8115
|
+
this.TagSet.push(obj);
|
|
8116
|
+
}
|
|
8117
|
+
}
|
|
8118
|
+
|
|
8050
8119
|
}
|
|
8051
8120
|
}
|
|
8052
8121
|
|
|
@@ -9508,6 +9577,18 @@ class CheckProxyCreateRequest extends AbstractModel {
|
|
|
9508
9577
|
*/
|
|
9509
9578
|
this.IPAddressVersion = null;
|
|
9510
9579
|
|
|
9580
|
+
/**
|
|
9581
|
+
* Network type. Valid values: `normal` (default), `cn2`
|
|
9582
|
+
* @type {string || null}
|
|
9583
|
+
*/
|
|
9584
|
+
this.NetworkType = null;
|
|
9585
|
+
|
|
9586
|
+
/**
|
|
9587
|
+
* Package type of connection groups. Valid values: `Thunder` (general connection group) and `Accelerator` (game accelerator connection group).
|
|
9588
|
+
* @type {string || null}
|
|
9589
|
+
*/
|
|
9590
|
+
this.PackageType = null;
|
|
9591
|
+
|
|
9511
9592
|
}
|
|
9512
9593
|
|
|
9513
9594
|
/**
|
|
@@ -9523,6 +9604,8 @@ class CheckProxyCreateRequest extends AbstractModel {
|
|
|
9523
9604
|
this.Concurrent = 'Concurrent' in params ? params.Concurrent : null;
|
|
9524
9605
|
this.GroupId = 'GroupId' in params ? params.GroupId : null;
|
|
9525
9606
|
this.IPAddressVersion = 'IPAddressVersion' in params ? params.IPAddressVersion : null;
|
|
9607
|
+
this.NetworkType = 'NetworkType' in params ? params.NetworkType : null;
|
|
9608
|
+
this.PackageType = 'PackageType' in params ? params.PackageType : null;
|
|
9526
9609
|
|
|
9527
9610
|
}
|
|
9528
9611
|
}
|
|
@@ -9541,6 +9624,12 @@ class DescribeRegionAndPriceRequest extends AbstractModel {
|
|
|
9541
9624
|
*/
|
|
9542
9625
|
this.IPAddressVersion = null;
|
|
9543
9626
|
|
|
9627
|
+
/**
|
|
9628
|
+
* Package type of connection groups. Valid values: `Thunder` (general connection group) and `Accelerator` (game accelerator connection group).
|
|
9629
|
+
* @type {string || null}
|
|
9630
|
+
*/
|
|
9631
|
+
this.PackageType = null;
|
|
9632
|
+
|
|
9544
9633
|
}
|
|
9545
9634
|
|
|
9546
9635
|
/**
|
|
@@ -9551,6 +9640,7 @@ class DescribeRegionAndPriceRequest extends AbstractModel {
|
|
|
9551
9640
|
return;
|
|
9552
9641
|
}
|
|
9553
9642
|
this.IPAddressVersion = 'IPAddressVersion' in params ? params.IPAddressVersion : null;
|
|
9643
|
+
this.PackageType = 'PackageType' in params ? params.PackageType : null;
|
|
9554
9644
|
|
|
9555
9645
|
}
|
|
9556
9646
|
}
|
|
@@ -10183,6 +10273,18 @@ class InquiryPriceCreateProxyRequest extends AbstractModel {
|
|
|
10183
10273
|
*/
|
|
10184
10274
|
this.IPAddressVersion = null;
|
|
10185
10275
|
|
|
10276
|
+
/**
|
|
10277
|
+
* Network type. Valid values: `normal` (default), `cn2`
|
|
10278
|
+
* @type {string || null}
|
|
10279
|
+
*/
|
|
10280
|
+
this.NetworkType = null;
|
|
10281
|
+
|
|
10282
|
+
/**
|
|
10283
|
+
* Package type of connection groups. Valid values: `Thunder` (general connection group) and `Accelerator` (game accelerator connection group).
|
|
10284
|
+
* @type {string || null}
|
|
10285
|
+
*/
|
|
10286
|
+
this.PackageType = null;
|
|
10287
|
+
|
|
10186
10288
|
}
|
|
10187
10289
|
|
|
10188
10290
|
/**
|
|
@@ -10200,6 +10302,8 @@ class InquiryPriceCreateProxyRequest extends AbstractModel {
|
|
|
10200
10302
|
this.Concurrent = 'Concurrent' in params ? params.Concurrent : null;
|
|
10201
10303
|
this.BillingType = 'BillingType' in params ? params.BillingType : null;
|
|
10202
10304
|
this.IPAddressVersion = 'IPAddressVersion' in params ? params.IPAddressVersion : null;
|
|
10305
|
+
this.NetworkType = 'NetworkType' in params ? params.NetworkType : null;
|
|
10306
|
+
this.PackageType = 'PackageType' in params ? params.PackageType : null;
|
|
10203
10307
|
|
|
10204
10308
|
}
|
|
10205
10309
|
}
|
|
@@ -10352,6 +10456,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
10352
10456
|
*/
|
|
10353
10457
|
this.CreateTime = null;
|
|
10354
10458
|
|
|
10459
|
+
/**
|
|
10460
|
+
* Specifies whether to enable session persistence. Values: `0` (disable), `1` (enable)
|
|
10461
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
10462
|
+
* @type {number || null}
|
|
10463
|
+
*/
|
|
10464
|
+
this.SessionPersist = null;
|
|
10465
|
+
|
|
10355
10466
|
}
|
|
10356
10467
|
|
|
10357
10468
|
/**
|
|
@@ -10380,6 +10491,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
10380
10491
|
}
|
|
10381
10492
|
}
|
|
10382
10493
|
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
10494
|
+
this.SessionPersist = 'SessionPersist' in params ? params.SessionPersist : null;
|
|
10383
10495
|
|
|
10384
10496
|
}
|
|
10385
10497
|
}
|
|
@@ -10564,8 +10676,8 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
10564
10676
|
this.ModifyConfigTime = null;
|
|
10565
10677
|
|
|
10566
10678
|
/**
|
|
10567
|
-
* Connection type
|
|
10568
|
-
Note: this field may return `null`, indicating that no valid
|
|
10679
|
+
* Connection type
|
|
10680
|
+
Note: this field may return `null`, indicating that no valid value can be obtained.
|
|
10569
10681
|
* @type {number || null}
|
|
10570
10682
|
*/
|
|
10571
10683
|
this.ProxyType = null;
|
|
@@ -10584,6 +10696,20 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
10584
10696
|
*/
|
|
10585
10697
|
this.IPAddressVersion = null;
|
|
10586
10698
|
|
|
10699
|
+
/**
|
|
10700
|
+
* Network type. Valid values: `normal`, `cn2`
|
|
10701
|
+
Note: this field may return `null`, indicating that no valid value can be obtained.
|
|
10702
|
+
* @type {string || null}
|
|
10703
|
+
*/
|
|
10704
|
+
this.NetworkType = null;
|
|
10705
|
+
|
|
10706
|
+
/**
|
|
10707
|
+
* Package type of connection groups. Valid values: `Thunder` (general connection group) and `Accelerator` (game accelerator connection group).
|
|
10708
|
+
Note: this field may return `null`, indicating that no valid value can be obtained.
|
|
10709
|
+
* @type {string || null}
|
|
10710
|
+
*/
|
|
10711
|
+
this.PackageType = null;
|
|
10712
|
+
|
|
10587
10713
|
}
|
|
10588
10714
|
|
|
10589
10715
|
/**
|
|
@@ -10639,6 +10765,8 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
10639
10765
|
this.ProxyType = 'ProxyType' in params ? params.ProxyType : null;
|
|
10640
10766
|
this.ClientIPMethod = 'ClientIPMethod' in params ? params.ClientIPMethod : null;
|
|
10641
10767
|
this.IPAddressVersion = 'IPAddressVersion' in params ? params.IPAddressVersion : null;
|
|
10768
|
+
this.NetworkType = 'NetworkType' in params ? params.NetworkType : null;
|
|
10769
|
+
this.PackageType = 'PackageType' in params ? params.PackageType : null;
|
|
10642
10770
|
|
|
10643
10771
|
}
|
|
10644
10772
|
}
|