tencentcloud-sdk-nodejs-intl-en 3.0.1044 → 3.0.1046

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.1044",
3
+ "version": "3.0.1046",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -43,7 +43,7 @@ Image restrictions: The single-edge resolution must be less than 5,000 and great
43
43
  /**
44
44
  * Text description.
45
45
  It is used to increase the possibility that the generation result contains the described content.
46
- Chinese is recommended. A maximum of 256 UTF-8 characters are supported.
46
+ A maximum of 256 UTF-8 characters are supported.
47
47
  * @type {string || null}
48
48
  */
49
49
  this.Prompt = null;
@@ -51,7 +51,7 @@ Chinese is recommended. A maximum of 256 UTF-8 characters are supported.
51
51
  /**
52
52
  * Negative text description.
53
53
  It is used to reduce the possibility that the generation result contains the described content, but such content cannot be completely avoided.
54
- Chinese is recommended. A maximum of 256 UTF-8 characters are supported.
54
+ English is recommended. A maximum of 256 UTF-8 characters are supported.
55
55
  * @type {string || null}
56
56
  */
57
57
  this.NegativePrompt = null;
@@ -109,7 +109,7 @@ The URL is valid for 1 hour.
109
109
  * Switch indicating whether to enhance image clarity. Default value: 0.
110
110
  1: on
111
111
  0: off
112
- If the switch is turned on, the image clarity will be enhanced, but the generation time will increase.
112
+ If the switch is turned on, the image clarity will be enhanced and the generation time will increase.
113
113
  * @type {number || null}
114
114
  */
115
115
  this.EnhanceImage = null;
@@ -57,8 +57,10 @@ const CcBlackWhiteIpPolicy = models.CcBlackWhiteIpPolicy;
57
57
  const L7RuleHealth = models.L7RuleHealth;
58
58
  const DescribeCCLevelPolicyRequest = models.DescribeCCLevelPolicyRequest;
59
59
  const CreateWaterPrintConfigResponse = models.CreateWaterPrintConfigResponse;
60
+ const IpBlockData = models.IpBlockData;
60
61
  const DescribeListBGPIPInstancesRequest = models.DescribeListBGPIPInstancesRequest;
61
62
  const DescribeNewL7RulesResponse = models.DescribeNewL7RulesResponse;
63
+ const OverviewDDoSEvent = models.OverviewDDoSEvent;
62
64
  const StaticPackRelation = models.StaticPackRelation;
63
65
  const DescribeCCThresholdListResponse = models.DescribeCCThresholdListResponse;
64
66
  const DescribeL7RulesBySSLCertIdRequest = models.DescribeL7RulesBySSLCertIdRequest;
@@ -133,6 +135,7 @@ const PackInfo = models.PackInfo;
133
135
  const IPLineInfo = models.IPLineInfo;
134
136
  const DescribeCcBlackWhiteIpListRequest = models.DescribeCcBlackWhiteIpListRequest;
135
137
  const DescribeListListenerResponse = models.DescribeListListenerResponse;
138
+ const DescribeIpBlockListRequest = models.DescribeIpBlockListRequest;
136
139
  const DescribePendingRiskInfoRequest = models.DescribePendingRiskInfoRequest;
137
140
  const IpSegment = models.IpSegment;
138
141
  const CreateL7RuleCertsResponse = models.CreateL7RuleCertsResponse;
@@ -199,7 +202,7 @@ const BGPInstance = models.BGPInstance;
199
202
  const CCPrecisionPlyRecord = models.CCPrecisionPlyRecord;
200
203
  const DescribeCCPrecisionPlyListResponse = models.DescribeCCPrecisionPlyListResponse;
201
204
  const DescribeBizTrendRequest = models.DescribeBizTrendRequest;
202
- const OverviewDDoSEvent = models.OverviewDDoSEvent;
205
+ const DescribeIpBlockListResponse = models.DescribeIpBlockListResponse;
203
206
  const DescribeCCLevelPolicyResponse = models.DescribeCCLevelPolicyResponse;
204
207
  const DescribeListWaterPrintConfigResponse = models.DescribeListWaterPrintConfigResponse;
205
208
  const TagFilter = models.TagFilter;
@@ -699,6 +702,17 @@ This API is used to get an Anti-DDoS IP blocklist/allowlist.
699
702
  this.request("DescribeListDDoSSpeedLimitConfig", req, resp, cb);
700
703
  }
701
704
 
705
+ /**
706
+ *
707
+ * @param {DescribeIpBlockListRequest} req
708
+ * @param {function(string, DescribeIpBlockListResponse):void} cb
709
+ * @public
710
+ */
711
+ DescribeIpBlockList(req, cb) {
712
+ let resp = new DescribeIpBlockListResponse();
713
+ this.request("DescribeIpBlockList", req, resp, cb);
714
+ }
715
+
702
716
  /**
703
717
  * This API is used to delete a layer-4 access control list.
704
718
  * @param {DeleteCcBlackWhiteIpListRequest} req
@@ -2030,6 +2030,69 @@ class CreateWaterPrintConfigResponse extends AbstractModel {
2030
2030
  }
2031
2031
  }
2032
2032
 
2033
+ /**
2034
+ *
2035
+ * @class
2036
+ */
2037
+ class IpBlockData extends AbstractModel {
2038
+ constructor(){
2039
+ super();
2040
+
2041
+ /**
2042
+ *
2043
+ * @type {string || null}
2044
+ */
2045
+ this.Status = null;
2046
+
2047
+ /**
2048
+ *
2049
+ * @type {string || null}
2050
+ */
2051
+ this.Ip = null;
2052
+
2053
+ /**
2054
+ *
2055
+ * @type {string || null}
2056
+ */
2057
+ this.BlockTime = null;
2058
+
2059
+ /**
2060
+ *
2061
+ * @type {string || null}
2062
+ */
2063
+ this.UnBlockTime = null;
2064
+
2065
+ /**
2066
+ *
2067
+ * @type {string || null}
2068
+ */
2069
+ this.ActionType = null;
2070
+
2071
+ /**
2072
+ *
2073
+ * @type {number || null}
2074
+ */
2075
+ this.ProtectFlag = null;
2076
+
2077
+ }
2078
+
2079
+ /**
2080
+ * @private
2081
+ */
2082
+ deserialize(params) {
2083
+ if (!params) {
2084
+ return;
2085
+ }
2086
+ this.Status = 'Status' in params ? params.Status : null;
2087
+ this.Ip = 'Ip' in params ? params.Ip : null;
2088
+ this.BlockTime = 'BlockTime' in params ? params.BlockTime : null;
2089
+ this.UnBlockTime = 'UnBlockTime' in params ? params.UnBlockTime : null;
2090
+ this.ActionType = 'ActionType' in params ? params.ActionType : null;
2091
+ this.ProtectFlag = 'ProtectFlag' in params ? params.ProtectFlag : null;
2092
+
2093
+ }
2094
+ }
2095
+
2033
2096
  /**
2034
2097
  * DescribeListBGPIPInstances request structure.
2035
2098
  * @class
@@ -2239,6 +2302,104 @@ class DescribeNewL7RulesResponse extends AbstractModel {
2239
2302
  }
2240
2303
  }
2241
2304
 
2305
+ /**
2306
+ * DDoS events recorded
2307
+ * @class
2308
+ */
2309
+ class OverviewDDoSEvent extends AbstractModel {
2310
+ constructor(){
2311
+ super();
2312
+
2313
+ /**
2314
+ * Event ID
2315
+ * @type {string || null}
2316
+ */
2317
+ this.Id = null;
2318
+
2319
+ /**
2320
+ * IP
2321
+ * @type {string || null}
2322
+ */
2323
+ this.Vip = null;
2324
+
2325
+ /**
2326
+ * Start time
2327
+ * @type {string || null}
2328
+ */
2329
+ this.StartTime = null;
2330
+
2331
+ /**
2332
+ * End time
2333
+ * @type {string || null}
2334
+ */
2335
+ this.EndTime = null;
2336
+
2337
+ /**
2338
+ * Attack type
2339
+ * @type {string || null}
2340
+ */
2341
+ this.AttackType = null;
2342
+
2343
+ /**
2344
+ * Attack status. `0`: The attack is ongoing; `1`: The attack ends.
2345
+ * @type {number || null}
2346
+ */
2347
+ this.AttackStatus = null;
2348
+
2349
+ /**
2350
+ * Attack traffic, in Mbps
2351
+ * @type {number || null}
2352
+ */
2353
+ this.Mbps = null;
2354
+
2355
+ /**
2356
+ * Attack packets, in PPS
2357
+ * @type {number || null}
2358
+ */
2359
+ this.Pps = null;
2360
+
2361
+ /**
2362
+ * Anti-DDoS service type. `bgp-multip`: Anti-DDoS Pro; `bgpip`: Anti-DDoS Advanced; `basic`: Anti-DDoS Basic.
2363
+ * @type {string || null}
2364
+ */
2365
+ this.Business = null;
2366
+
2367
+ /**
2368
+ * Anti-DDoS instance ID
2369
+ * @type {string || null}
2370
+ */
2371
+ this.InstanceId = null;
2372
+
2373
+ /**
2374
+ * Anti-DDoS instance name
2375
+ * @type {string || null}
2376
+ */
2377
+ this.InstanceName = null;
2378
+
2379
+ }
2380
+
2381
+ /**
2382
+ * @private
2383
+ */
2384
+ deserialize(params) {
2385
+ if (!params) {
2386
+ return;
2387
+ }
2388
+ this.Id = 'Id' in params ? params.Id : null;
2389
+ this.Vip = 'Vip' in params ? params.Vip : null;
2390
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
2391
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
2392
+ this.AttackType = 'AttackType' in params ? params.AttackType : null;
2393
+ this.AttackStatus = 'AttackStatus' in params ? params.AttackStatus : null;
2394
+ this.Mbps = 'Mbps' in params ? params.Mbps : null;
2395
+ this.Pps = 'Pps' in params ? params.Pps : null;
2396
+ this.Business = 'Business' in params ? params.Business : null;
2397
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
2398
+ this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
2399
+
2400
+ }
2401
+ }
2402
+
2242
2403
  /**
2243
2404
  * Non-BGP package details
2244
2405
  * @class
@@ -6017,6 +6178,27 @@ class DescribeListListenerResponse extends AbstractModel {
6017
6178
  }
6018
6179
  }
6019
6180
 
6181
+ /**
6182
+ * DescribeIpBlockList request structure.
6183
+ * @class
6184
+ */
6185
+ class DescribeIpBlockListRequest extends AbstractModel {
6186
+ constructor(){
6187
+ super();
6188
+
6189
+ }
6190
+
6191
+ /**
6192
+ * @private
6193
+ */
6194
+ deserialize(params) {
6195
+ if (!params) {
6196
+ return;
6197
+ }
6198
+
6199
+ }
6200
+ }
6201
+
6020
6202
  /**
6021
6203
  * DescribePendingRiskInfo request structure.
6022
6204
  * @class
@@ -9956,78 +10138,24 @@ class DescribeBizTrendRequest extends AbstractModel {
9956
10138
  }
9957
10139
 
9958
10140
  /**
9959
- * DDoS events recorded
10141
+ * DescribeIpBlockList response structure.
9960
10142
  * @class
9961
10143
  */
9962
- class OverviewDDoSEvent extends AbstractModel {
10144
+ class DescribeIpBlockListResponse extends AbstractModel {
9963
10145
  constructor(){
9964
10146
  super();
9965
10147
 
9966
10148
  /**
9967
- * Event ID
9968
- * @type {string || null}
9969
- */
9970
- this.Id = null;
9971
-
9972
- /**
9973
- * IP
9974
- * @type {string || null}
10149
+ * IP block list
10150
+ * @type {Array.<IpBlockData> || null}
9975
10151
  */
9976
- this.Vip = null;
10152
+ this.List = null;
9977
10153
 
9978
10154
  /**
9979
- * Start time
9980
- * @type {string || null}
9981
- */
9982
- this.StartTime = null;
9983
-
9984
- /**
9985
- * End time
9986
- * @type {string || null}
9987
- */
9988
- this.EndTime = null;
9989
-
9990
- /**
9991
- * Attack type
9992
- * @type {string || null}
9993
- */
9994
- this.AttackType = null;
9995
-
9996
- /**
9997
- * Attack status. `0`: The attack is ongoing; `1`: The attack ends.
9998
- * @type {number || null}
9999
- */
10000
- this.AttackStatus = null;
10001
-
10002
- /**
10003
- * Attack traffic, in Mbps
10004
- * @type {number || null}
10005
- */
10006
- this.Mbps = null;
10007
-
10008
- /**
10009
- * Attack packets, in PPS
10010
- * @type {number || null}
10011
- */
10012
- this.Pps = null;
10013
-
10014
- /**
10015
- * Anti-DDoS service type. `bgp-multip`: Anti-DDoS Pro; `bgpip`: Anti-DDoS Advanced; `basic`: Anti-DDoS Basic.
10016
- * @type {string || null}
10017
- */
10018
- this.Business = null;
10019
-
10020
- /**
10021
- * Anti-DDoS instance ID
10022
- * @type {string || null}
10023
- */
10024
- this.InstanceId = null;
10025
-
10026
- /**
10027
- * Anti-DDoS instance name
10155
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
10028
10156
  * @type {string || null}
10029
10157
  */
10030
- this.InstanceName = null;
10158
+ this.RequestId = null;
10031
10159
 
10032
10160
  }
10033
10161
 
@@ -10038,17 +10166,16 @@ class OverviewDDoSEvent extends AbstractModel {
10038
10166
  if (!params) {
10039
10167
  return;
10040
10168
  }
10041
- this.Id = 'Id' in params ? params.Id : null;
10042
- this.Vip = 'Vip' in params ? params.Vip : null;
10043
- this.StartTime = 'StartTime' in params ? params.StartTime : null;
10044
- this.EndTime = 'EndTime' in params ? params.EndTime : null;
10045
- this.AttackType = 'AttackType' in params ? params.AttackType : null;
10046
- this.AttackStatus = 'AttackStatus' in params ? params.AttackStatus : null;
10047
- this.Mbps = 'Mbps' in params ? params.Mbps : null;
10048
- this.Pps = 'Pps' in params ? params.Pps : null;
10049
- this.Business = 'Business' in params ? params.Business : null;
10050
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
10051
- this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
10169
+
10170
+ if (params.List) {
10171
+ this.List = new Array();
10172
+ for (let z in params.List) {
10173
+ let obj = new IpBlockData();
10174
+ obj.deserialize(params.List[z]);
10175
+ this.List.push(obj);
10176
+ }
10177
+ }
10178
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
10052
10179
 
10053
10180
  }
10054
10181
  }
@@ -11304,8 +11431,10 @@ module.exports = {
11304
11431
  L7RuleHealth: L7RuleHealth,
11305
11432
  DescribeCCLevelPolicyRequest: DescribeCCLevelPolicyRequest,
11306
11433
  CreateWaterPrintConfigResponse: CreateWaterPrintConfigResponse,
11434
+ IpBlockData: IpBlockData,
11307
11435
  DescribeListBGPIPInstancesRequest: DescribeListBGPIPInstancesRequest,
11308
11436
  DescribeNewL7RulesResponse: DescribeNewL7RulesResponse,
11437
+ OverviewDDoSEvent: OverviewDDoSEvent,
11309
11438
  StaticPackRelation: StaticPackRelation,
11310
11439
  DescribeCCThresholdListResponse: DescribeCCThresholdListResponse,
11311
11440
  DescribeL7RulesBySSLCertIdRequest: DescribeL7RulesBySSLCertIdRequest,
@@ -11380,6 +11509,7 @@ module.exports = {
11380
11509
  IPLineInfo: IPLineInfo,
11381
11510
  DescribeCcBlackWhiteIpListRequest: DescribeCcBlackWhiteIpListRequest,
11382
11511
  DescribeListListenerResponse: DescribeListListenerResponse,
11512
+ DescribeIpBlockListRequest: DescribeIpBlockListRequest,
11383
11513
  DescribePendingRiskInfoRequest: DescribePendingRiskInfoRequest,
11384
11514
  IpSegment: IpSegment,
11385
11515
  CreateL7RuleCertsResponse: CreateL7RuleCertsResponse,
@@ -11446,7 +11576,7 @@ module.exports = {
11446
11576
  CCPrecisionPlyRecord: CCPrecisionPlyRecord,
11447
11577
  DescribeCCPrecisionPlyListResponse: DescribeCCPrecisionPlyListResponse,
11448
11578
  DescribeBizTrendRequest: DescribeBizTrendRequest,
11449
- OverviewDDoSEvent: OverviewDDoSEvent,
11579
+ DescribeIpBlockListResponse: DescribeIpBlockListResponse,
11450
11580
  DescribeCCLevelPolicyResponse: DescribeCCLevelPolicyResponse,
11451
11581
  DescribeListWaterPrintConfigResponse: DescribeListWaterPrintConfigResponse,
11452
11582
  TagFilter: TagFilter,
@@ -602,7 +602,6 @@ In API Gateway, you can bind a custom domain name to a service and map its paths
602
602
 
603
603
  /**
604
604
  * This API is used to query the information of one or more API keys.
605
-
606
605
  * @param {DescribeApiKeysStatusRequest} req
607
606
  * @param {function(string, DescribeApiKeysStatusResponse):void} cb
608
607
  * @public
@@ -11686,25 +11686,25 @@ class AttachPluginRequest extends AbstractModel {
11686
11686
  super();
11687
11687
 
11688
11688
  /**
11689
- * ID of the plugin to be bound.
11689
+ * ID of the bound API gateway plugin.
11690
11690
  * @type {string || null}
11691
11691
  */
11692
11692
  this.PluginId = null;
11693
11693
 
11694
11694
  /**
11695
- * Service ID.
11695
+ * ID of the service to be operated
11696
11696
  * @type {string || null}
11697
11697
  */
11698
11698
  this.ServiceId = null;
11699
11699
 
11700
11700
  /**
11701
- * API environment.
11701
+ * Environment for operating the API.
11702
11702
  * @type {string || null}
11703
11703
  */
11704
11704
  this.EnvironmentName = null;
11705
11705
 
11706
11706
  /**
11707
- * List of APIs bound with the plugin
11707
+ * List of APIs to be bound.
11708
11708
  * @type {Array.<string> || null}
11709
11709
  */
11710
11710
  this.ApiIds = null;
@@ -13055,7 +13055,7 @@ class AttachPluginResponse extends AbstractModel {
13055
13055
  super();
13056
13056
 
13057
13057
  /**
13058
- * Whether binding succeeded.
13058
+ * Whether the binding operation is successful.
13059
13059
  * @type {boolean || null}
13060
13060
  */
13061
13061
  this.Result = null;