tencentcloud-sdk-nodejs-intl-en 3.0.1452 → 3.0.1453
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/common/sdk_version.js +1 -1
- package/tencentcloud/cwp/v20180228/models.js +5 -5
- package/tencentcloud/es/v20180416/es_client.js +91 -85
- package/tencentcloud/es/v20180416/models.js +3792 -2766
- package/tencentcloud/lke/v20231130/lke_client.js +6 -2
- package/tencentcloud/lke/v20231130/models.js +460 -203
- package/tencentcloud/mdc/v20200828/mdc_client.js +24 -8
- package/tencentcloud/mdc/v20200828/models.js +902 -515
- package/tencentcloud/mps/v20190612/models.js +3285 -1836
- package/tencentcloud/mps/v20190612/mps_client.js +37 -23
- package/tencentcloud/ocr/v20181119/models.js +553 -118
- package/tencentcloud/ocr/v20181119/ocr_client.js +44 -16
- package/tencentcloud/scf/v20180416/models.js +393 -138
- package/tencentcloud/scf/v20180416/scf_client.js +9 -5
- package/tencentcloud/tcss/v20201101/models.js +138 -122
- package/tencentcloud/tcss/v20201101/tcss_client.js +9 -9
- package/tencentcloud/tdmysql/v20211122/models.js +124 -82
|
@@ -93,7 +93,7 @@ class Trigger extends AbstractModel {
|
|
|
93
93
|
super();
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
96
|
+
* Last modification time of the trigger
|
|
97
97
|
* @type {string || null}
|
|
98
98
|
*/
|
|
99
99
|
this.ModTime = null;
|
|
@@ -105,31 +105,31 @@ class Trigger extends AbstractModel {
|
|
|
105
105
|
this.Type = null;
|
|
106
106
|
|
|
107
107
|
/**
|
|
108
|
-
*
|
|
108
|
+
* Trigger detailed configuration
|
|
109
109
|
* @type {string || null}
|
|
110
110
|
*/
|
|
111
111
|
this.TriggerDesc = null;
|
|
112
112
|
|
|
113
113
|
/**
|
|
114
|
-
* Trigger name
|
|
114
|
+
* Trigger name.
|
|
115
115
|
* @type {string || null}
|
|
116
116
|
*/
|
|
117
117
|
this.TriggerName = null;
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
|
-
*
|
|
120
|
+
* Trigger creation time
|
|
121
121
|
* @type {string || null}
|
|
122
122
|
*/
|
|
123
123
|
this.AddTime = null;
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
|
-
*
|
|
126
|
+
* Enable switch
|
|
127
127
|
* @type {number || null}
|
|
128
128
|
*/
|
|
129
129
|
this.Enable = null;
|
|
130
130
|
|
|
131
131
|
/**
|
|
132
|
-
*
|
|
132
|
+
* Customer custom parameter
|
|
133
133
|
* @type {string || null}
|
|
134
134
|
*/
|
|
135
135
|
this.CustomArgument = null;
|
|
@@ -141,31 +141,31 @@ class Trigger extends AbstractModel {
|
|
|
141
141
|
this.AvailableStatus = null;
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
|
-
* Minimum resource ID of trigger
|
|
144
|
+
* Minimum resource ID of the trigger
|
|
145
145
|
* @type {string || null}
|
|
146
146
|
*/
|
|
147
147
|
this.ResourceId = null;
|
|
148
148
|
|
|
149
149
|
/**
|
|
150
|
-
*
|
|
150
|
+
* Binding status of the trigger and SCF
|
|
151
151
|
* @type {string || null}
|
|
152
152
|
*/
|
|
153
153
|
this.BindStatus = null;
|
|
154
154
|
|
|
155
155
|
/**
|
|
156
|
-
* Trigger type. Two-way means
|
|
156
|
+
* Trigger type. Two-way means both the left and right consoles can operate. One-way means only the SCF console can create.
|
|
157
157
|
* @type {string || null}
|
|
158
158
|
*/
|
|
159
159
|
this.TriggerAttribute = null;
|
|
160
160
|
|
|
161
161
|
/**
|
|
162
|
-
*
|
|
162
|
+
* Alias name or version bound to the trigger
|
|
163
163
|
* @type {string || null}
|
|
164
164
|
*/
|
|
165
165
|
this.Qualifier = null;
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
|
-
* Trigger description
|
|
168
|
+
* Trigger description.
|
|
169
169
|
* @type {string || null}
|
|
170
170
|
*/
|
|
171
171
|
this.Description = null;
|
|
@@ -317,6 +317,76 @@ class DeleteLayerVersionResponse extends AbstractModel {
|
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
+
/**
|
|
321
|
+
* Session parameter
|
|
322
|
+
* @class
|
|
323
|
+
*/
|
|
324
|
+
class SessionConfig extends AbstractModel {
|
|
325
|
+
constructor(){
|
|
326
|
+
super();
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* session source. Valid values: 'HEADER', 'COOKIE', 'QUERY_STRING'
|
|
330
|
+
* @type {string || null}
|
|
331
|
+
*/
|
|
332
|
+
this.SessionSource = null;
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* session name. It must start with a letter. Other characters can consist of digits, letters, underscores, and hyphens. Length: 5-40 characters.
|
|
336
|
+
* @type {string || null}
|
|
337
|
+
*/
|
|
338
|
+
this.SessionName = null;
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* Maximum concurrent sessions
|
|
342
|
+
* @type {number || null}
|
|
343
|
+
*/
|
|
344
|
+
this.MaximumConcurrencySessionPerInstance = null;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Lifecycle
|
|
348
|
+
* @type {number || null}
|
|
349
|
+
*/
|
|
350
|
+
this.MaximumTTLInSeconds = null;
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* Idle duration
|
|
354
|
+
* @type {number || null}
|
|
355
|
+
*/
|
|
356
|
+
this.MaximumIdleTimeInSeconds = null;
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* Path information corresponding to the session
|
|
360
|
+
* @type {string || null}
|
|
361
|
+
*/
|
|
362
|
+
this.SessionPath = null;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Automatically destroy FATAL and auto-pause PAUSE. This only occurs when security isolation is started.
|
|
366
|
+
* @type {string || null}
|
|
367
|
+
*/
|
|
368
|
+
this.IdleTimeoutStrategy = null;
|
|
369
|
+
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* @private
|
|
374
|
+
*/
|
|
375
|
+
deserialize(params) {
|
|
376
|
+
if (!params) {
|
|
377
|
+
return;
|
|
378
|
+
}
|
|
379
|
+
this.SessionSource = 'SessionSource' in params ? params.SessionSource : null;
|
|
380
|
+
this.SessionName = 'SessionName' in params ? params.SessionName : null;
|
|
381
|
+
this.MaximumConcurrencySessionPerInstance = 'MaximumConcurrencySessionPerInstance' in params ? params.MaximumConcurrencySessionPerInstance : null;
|
|
382
|
+
this.MaximumTTLInSeconds = 'MaximumTTLInSeconds' in params ? params.MaximumTTLInSeconds : null;
|
|
383
|
+
this.MaximumIdleTimeInSeconds = 'MaximumIdleTimeInSeconds' in params ? params.MaximumIdleTimeInSeconds : null;
|
|
384
|
+
this.SessionPath = 'SessionPath' in params ? params.SessionPath : null;
|
|
385
|
+
this.IdleTimeoutStrategy = 'IdleTimeoutStrategy' in params ? params.IdleTimeoutStrategy : null;
|
|
386
|
+
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
|
|
320
390
|
/**
|
|
321
391
|
* GetReservedConcurrencyConfig response structure.
|
|
322
392
|
* @class
|
|
@@ -354,7 +424,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
354
424
|
}
|
|
355
425
|
|
|
356
426
|
/**
|
|
357
|
-
* Parameters of
|
|
427
|
+
* Parameters for HTTP function support of other access protocols
|
|
358
428
|
* @class
|
|
359
429
|
*/
|
|
360
430
|
class ProtocolParams extends AbstractModel {
|
|
@@ -362,8 +432,7 @@ class ProtocolParams extends AbstractModel {
|
|
|
362
432
|
super();
|
|
363
433
|
|
|
364
434
|
/**
|
|
365
|
-
*
|
|
366
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
435
|
+
* Supported parameters of the WebSockets protocol
|
|
367
436
|
* @type {WSParams || null}
|
|
368
437
|
*/
|
|
369
438
|
this.WSParams = null;
|
|
@@ -773,7 +842,7 @@ class UsageInfo extends AbstractModel {
|
|
|
773
842
|
}
|
|
774
843
|
|
|
775
844
|
/**
|
|
776
|
-
*
|
|
845
|
+
* Resource pool options based on TKE
|
|
777
846
|
* @class
|
|
778
847
|
*/
|
|
779
848
|
class NamespaceResourceEnvTKE extends AbstractModel {
|
|
@@ -781,49 +850,52 @@ class NamespaceResourceEnvTKE extends AbstractModel {
|
|
|
781
850
|
super();
|
|
782
851
|
|
|
783
852
|
/**
|
|
784
|
-
*
|
|
853
|
+
* Cluster ID
|
|
785
854
|
* @type {string || null}
|
|
786
855
|
*/
|
|
787
856
|
this.ClusterID = null;
|
|
788
857
|
|
|
789
858
|
/**
|
|
790
|
-
*
|
|
859
|
+
* Subnet ID.
|
|
791
860
|
* @type {string || null}
|
|
792
861
|
*/
|
|
793
862
|
this.SubnetID = null;
|
|
794
863
|
|
|
795
864
|
/**
|
|
796
|
-
*
|
|
865
|
+
* Namespace
|
|
797
866
|
* @type {string || null}
|
|
798
867
|
*/
|
|
799
868
|
this.Namespace = null;
|
|
800
869
|
|
|
801
870
|
/**
|
|
802
|
-
*
|
|
871
|
+
* Data storage address
|
|
803
872
|
* @type {string || null}
|
|
804
873
|
*/
|
|
805
874
|
this.DataPath = null;
|
|
806
875
|
|
|
807
876
|
/**
|
|
808
|
-
*
|
|
877
|
+
* node selector
|
|
809
878
|
* @type {Array.<K8SLabel> || null}
|
|
810
879
|
*/
|
|
811
880
|
this.NodeSelector = null;
|
|
812
881
|
|
|
813
882
|
/**
|
|
814
|
-
*
|
|
883
|
+
* Taint and toleration
|
|
815
884
|
* @type {Array.<K8SToleration> || null}
|
|
816
885
|
*/
|
|
817
886
|
this.Tolerations = null;
|
|
818
887
|
|
|
819
888
|
/**
|
|
820
|
-
*
|
|
889
|
+
* Starting node port number occupied by the scf component
|
|
821
890
|
* @type {number || null}
|
|
822
891
|
*/
|
|
823
892
|
this.Port = null;
|
|
824
893
|
|
|
825
894
|
/**
|
|
826
|
-
*
|
|
895
|
+
* pod patch content in yaml format, for example
|
|
896
|
+
metadata:
|
|
897
|
+
labels:
|
|
898
|
+
key: value
|
|
827
899
|
* @type {string || null}
|
|
828
900
|
*/
|
|
829
901
|
this.PodTemplatePatch = null;
|
|
@@ -874,13 +946,13 @@ class PublicNetConfigIn extends AbstractModel {
|
|
|
874
946
|
super();
|
|
875
947
|
|
|
876
948
|
/**
|
|
877
|
-
* Whether to enable public network access. Valid values:
|
|
949
|
+
* Whether to enable public network access. Valid values: DISABLE, ENABLE.
|
|
878
950
|
* @type {string || null}
|
|
879
951
|
*/
|
|
880
952
|
this.PublicNetStatus = null;
|
|
881
953
|
|
|
882
954
|
/**
|
|
883
|
-
*
|
|
955
|
+
* Eip configuration
|
|
884
956
|
* @type {EipConfigIn || null}
|
|
885
957
|
*/
|
|
886
958
|
this.EipConfig = null;
|
|
@@ -1163,44 +1235,44 @@ class GetFunctionLogsRequest extends AbstractModel {
|
|
|
1163
1235
|
|
|
1164
1236
|
/**
|
|
1165
1237
|
* Function name.
|
|
1166
|
-
-
|
|
1167
|
-
- After
|
|
1238
|
+
-To ensure compatibility of the [retrieve function execution log](https://www.tencentcloud.com/document/product/583/18583?from_cn_redirect=1) API `GetFunctionLogs`, the input parameter `FunctionName` remains an optional field, but it is recommended to fill in this parameter. Otherwise, log acquisition failure may occur.
|
|
1239
|
+
- After associating a function with CLS, it is recommended to use the relevant CLS APIs (https://www.tencentcloud.com/document/product/614/16875?from_cn_redirect=1) to get the best log retrieval experience.
|
|
1168
1240
|
* @type {string || null}
|
|
1169
1241
|
*/
|
|
1170
1242
|
this.FunctionName = null;
|
|
1171
1243
|
|
|
1172
1244
|
/**
|
|
1173
|
-
*
|
|
1245
|
+
* Offset of the data. Offset + Limit cannot be greater than 10000.
|
|
1174
1246
|
* @type {number || null}
|
|
1175
1247
|
*/
|
|
1176
1248
|
this.Offset = null;
|
|
1177
1249
|
|
|
1178
1250
|
/**
|
|
1179
|
-
* Length of the
|
|
1251
|
+
* Length of the returned data. Offset + Limit cannot be greater than 10000.
|
|
1180
1252
|
* @type {number || null}
|
|
1181
1253
|
*/
|
|
1182
1254
|
this.Limit = null;
|
|
1183
1255
|
|
|
1184
1256
|
/**
|
|
1185
|
-
*
|
|
1257
|
+
* Whether to sort logs in descending or ascending order. Available values: `desc` and `asc`.
|
|
1186
1258
|
* @type {string || null}
|
|
1187
1259
|
*/
|
|
1188
1260
|
this.Order = null;
|
|
1189
1261
|
|
|
1190
1262
|
/**
|
|
1191
|
-
*
|
|
1263
|
+
* Sort logs by a certain field. The following fields are supported: function_name, duration, mem_usage, start_time
|
|
1192
1264
|
* @type {string || null}
|
|
1193
1265
|
*/
|
|
1194
1266
|
this.OrderBy = null;
|
|
1195
1267
|
|
|
1196
1268
|
/**
|
|
1197
|
-
* Log filter
|
|
1269
|
+
* Log filter criteria. It can be used to distinguish correct and error logs. filter.RetCode=not0 means only return error logs, filter.RetCode=is0 means only return correct logs. If not passed, all logs are returned.
|
|
1198
1270
|
* @type {LogFilter || null}
|
|
1199
1271
|
*/
|
|
1200
1272
|
this.Filter = null;
|
|
1201
1273
|
|
|
1202
1274
|
/**
|
|
1203
|
-
*
|
|
1275
|
+
* Namespace of the function
|
|
1204
1276
|
* @type {string || null}
|
|
1205
1277
|
*/
|
|
1206
1278
|
this.Namespace = null;
|
|
@@ -1212,25 +1284,25 @@ class GetFunctionLogsRequest extends AbstractModel {
|
|
|
1212
1284
|
this.Qualifier = null;
|
|
1213
1285
|
|
|
1214
1286
|
/**
|
|
1215
|
-
*
|
|
1287
|
+
* Request ID for executing the function
|
|
1216
1288
|
* @type {string || null}
|
|
1217
1289
|
*/
|
|
1218
1290
|
this.FunctionRequestId = null;
|
|
1219
1291
|
|
|
1220
1292
|
/**
|
|
1221
|
-
*
|
|
1293
|
+
* Specific date of the query, for example: 2017-05-16 20:00:00. It must differ from endtime by no more than one day.
|
|
1222
1294
|
* @type {string || null}
|
|
1223
1295
|
*/
|
|
1224
1296
|
this.StartTime = null;
|
|
1225
1297
|
|
|
1226
1298
|
/**
|
|
1227
|
-
*
|
|
1299
|
+
* Specific date of the query, for example: 2017-05-16 20:59:59. It must differ from startTime by no more than one day.
|
|
1228
1300
|
* @type {string || null}
|
|
1229
1301
|
*/
|
|
1230
1302
|
this.EndTime = null;
|
|
1231
1303
|
|
|
1232
1304
|
/**
|
|
1233
|
-
* This field is
|
|
1305
|
+
* This field is offline.
|
|
1234
1306
|
* @type {LogSearchContext || null}
|
|
1235
1307
|
*/
|
|
1236
1308
|
this.SearchContext = null;
|
|
@@ -1397,7 +1469,7 @@ class GetRequestStatusRequest extends AbstractModel {
|
|
|
1397
1469
|
}
|
|
1398
1470
|
|
|
1399
1471
|
/**
|
|
1400
|
-
* Log
|
|
1472
|
+
* Log filter criteria, used to distinguish between correct and error logs
|
|
1401
1473
|
* @class
|
|
1402
1474
|
*/
|
|
1403
1475
|
class LogFilter extends AbstractModel {
|
|
@@ -1405,13 +1477,13 @@ class LogFilter extends AbstractModel {
|
|
|
1405
1477
|
super();
|
|
1406
1478
|
|
|
1407
1479
|
/**
|
|
1408
|
-
*
|
|
1409
|
-
not0
|
|
1410
|
-
is0
|
|
1411
|
-
TimeLimitExceeded
|
|
1412
|
-
ResourceLimitExceeded
|
|
1413
|
-
UserCodeException
|
|
1414
|
-
|
|
1480
|
+
* Valid values of filter.RetCode:
|
|
1481
|
+
not0 means only error logs are returned.
|
|
1482
|
+
is0 means only return correct logs.
|
|
1483
|
+
TimeLimitExceeded returns the logs of function call timed out.
|
|
1484
|
+
ResourceLimitExceeded returns the logs of resource limit exceeded during function calls.
|
|
1485
|
+
UserCodeException returns the logs of user code errors in function calls.
|
|
1486
|
+
If there is no input, all logs are returned.
|
|
1415
1487
|
* @type {string || null}
|
|
1416
1488
|
*/
|
|
1417
1489
|
this.RetCode = null;
|
|
@@ -1431,7 +1503,7 @@ Blank, indicating that all logs will be returned.
|
|
|
1431
1503
|
}
|
|
1432
1504
|
|
|
1433
1505
|
/**
|
|
1434
|
-
*
|
|
1506
|
+
* Public network access fixed ip configuration
|
|
1435
1507
|
* @class
|
|
1436
1508
|
*/
|
|
1437
1509
|
class EipConfigIn extends AbstractModel {
|
|
@@ -1439,7 +1511,7 @@ class EipConfigIn extends AbstractModel {
|
|
|
1439
1511
|
super();
|
|
1440
1512
|
|
|
1441
1513
|
/**
|
|
1442
|
-
*
|
|
1514
|
+
* Eip status. Valid values: `ENABLE` and `DISABLE`
|
|
1443
1515
|
* @type {string || null}
|
|
1444
1516
|
*/
|
|
1445
1517
|
this.EipStatus = null;
|
|
@@ -1875,7 +1947,7 @@ Note: This field may return null, indicating that no valid value was found.
|
|
|
1875
1947
|
}
|
|
1876
1948
|
|
|
1877
1949
|
/**
|
|
1878
|
-
* Parameters
|
|
1950
|
+
* Parameters for accessing an HTTP function over the WebSockets protocol
|
|
1879
1951
|
* @class
|
|
1880
1952
|
*/
|
|
1881
1953
|
class WSParams extends AbstractModel {
|
|
@@ -1883,8 +1955,7 @@ class WSParams extends AbstractModel {
|
|
|
1883
1955
|
super();
|
|
1884
1956
|
|
|
1885
1957
|
/**
|
|
1886
|
-
* Idle timeout
|
|
1887
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
1958
|
+
* Idle timeout in seconds. Default value: 15s. Configurable range: 1-1800s.
|
|
1888
1959
|
* @type {number || null}
|
|
1889
1960
|
*/
|
|
1890
1961
|
this.IdleTimeOut = null;
|
|
@@ -2092,97 +2163,98 @@ class UpdateFunctionConfigurationRequest extends AbstractModel {
|
|
|
2092
2163
|
super();
|
|
2093
2164
|
|
|
2094
2165
|
/**
|
|
2095
|
-
*
|
|
2166
|
+
* The function name to be modified
|
|
2096
2167
|
* @type {string || null}
|
|
2097
2168
|
*/
|
|
2098
2169
|
this.FunctionName = null;
|
|
2099
2170
|
|
|
2100
2171
|
/**
|
|
2101
|
-
* Function description.
|
|
2172
|
+
* Function description. Supports up to 1,000 English letters, digits, spaces, commas, and periods. Chinese is supported.
|
|
2102
2173
|
* @type {string || null}
|
|
2103
2174
|
*/
|
|
2104
2175
|
this.Description = null;
|
|
2105
2176
|
|
|
2106
2177
|
/**
|
|
2107
|
-
* Memory size
|
|
2178
|
+
* Memory size of the function runtime. Default value: 128 MB. Selectable range: 64 MB, or 128 MB to 3072 MB in 128 MB increments.
|
|
2108
2179
|
* @type {number || null}
|
|
2109
2180
|
*/
|
|
2110
2181
|
this.MemorySize = null;
|
|
2111
2182
|
|
|
2112
2183
|
/**
|
|
2113
|
-
* Maximum execution
|
|
2184
|
+
* Maximum execution time of the function, in seconds. Value range: 1-900 seconds. Default value: 3 seconds.
|
|
2114
2185
|
* @type {number || null}
|
|
2115
2186
|
*/
|
|
2116
2187
|
this.Timeout = null;
|
|
2117
2188
|
|
|
2118
2189
|
/**
|
|
2119
|
-
*
|
|
2190
|
+
* Runtime environment. It is specified upon creation and currently does not support modification.
|
|
2120
2191
|
* @type {string || null}
|
|
2121
2192
|
*/
|
|
2122
2193
|
this.Runtime = null;
|
|
2123
2194
|
|
|
2124
2195
|
/**
|
|
2125
|
-
*
|
|
2196
|
+
* Environment variable of the function
|
|
2126
2197
|
* @type {Environment || null}
|
|
2127
2198
|
*/
|
|
2128
2199
|
this.Environment = null;
|
|
2129
2200
|
|
|
2130
2201
|
/**
|
|
2131
|
-
*
|
|
2202
|
+
* Namespace of the function
|
|
2203
|
+
Default value: default
|
|
2132
2204
|
* @type {string || null}
|
|
2133
2205
|
*/
|
|
2134
2206
|
this.Namespace = null;
|
|
2135
2207
|
|
|
2136
2208
|
/**
|
|
2137
|
-
*
|
|
2209
|
+
* VPC configuration of the function
|
|
2138
2210
|
* @type {VpcConfig || null}
|
|
2139
2211
|
*/
|
|
2140
2212
|
this.VpcConfig = null;
|
|
2141
2213
|
|
|
2142
2214
|
/**
|
|
2143
|
-
* Role bound to
|
|
2215
|
+
* Role bound to a function
|
|
2144
2216
|
* @type {string || null}
|
|
2145
2217
|
*/
|
|
2146
2218
|
this.Role = null;
|
|
2147
2219
|
|
|
2148
2220
|
/**
|
|
2149
|
-
*
|
|
2221
|
+
* [Install dependency online](https://www.tencentcloud.com/document/product/583/37920?from_cn_redirect=1). TRUE indicates installation. Default value: FALSE. Only supported for Node.js functions.
|
|
2150
2222
|
* @type {string || null}
|
|
2151
2223
|
*/
|
|
2152
2224
|
this.InstallDependency = null;
|
|
2153
2225
|
|
|
2154
2226
|
/**
|
|
2155
|
-
*
|
|
2227
|
+
* ID of the cls Log Set for log delivery
|
|
2156
2228
|
* @type {string || null}
|
|
2157
2229
|
*/
|
|
2158
2230
|
this.ClsLogsetId = null;
|
|
2159
2231
|
|
|
2160
2232
|
/**
|
|
2161
|
-
*
|
|
2233
|
+
* cls Topic ID for log delivery
|
|
2162
2234
|
* @type {string || null}
|
|
2163
2235
|
*/
|
|
2164
2236
|
this.ClsTopicId = null;
|
|
2165
2237
|
|
|
2166
2238
|
/**
|
|
2167
|
-
*
|
|
2239
|
+
* Whether to release a new version synchronously when updating. Default value: FALSE, which means no new version is released.
|
|
2168
2240
|
* @type {string || null}
|
|
2169
2241
|
*/
|
|
2170
2242
|
this.Publish = null;
|
|
2171
2243
|
|
|
2172
2244
|
/**
|
|
2173
|
-
* Whether
|
|
2245
|
+
* Whether L5 access capability is enabled. TRUE to enable, FALSE to shutdown.
|
|
2174
2246
|
* @type {string || null}
|
|
2175
2247
|
*/
|
|
2176
2248
|
this.L5Enable = null;
|
|
2177
2249
|
|
|
2178
2250
|
/**
|
|
2179
|
-
* List of layer versions
|
|
2251
|
+
* List of layer versions to associate with the function. The layer versions overwrite each other sequentially in the order in the list.
|
|
2180
2252
|
* @type {Array.<LayerVersionSimple> || null}
|
|
2181
2253
|
*/
|
|
2182
2254
|
this.Layers = null;
|
|
2183
2255
|
|
|
2184
2256
|
/**
|
|
2185
|
-
*
|
|
2257
|
+
* Dead letter queue information associated with the function
|
|
2186
2258
|
* @type {DeadLetterConfig || null}
|
|
2187
2259
|
*/
|
|
2188
2260
|
this.DeadLetterConfig = null;
|
|
@@ -2194,23 +2266,47 @@ class UpdateFunctionConfigurationRequest extends AbstractModel {
|
|
|
2194
2266
|
this.PublicNetConfig = null;
|
|
2195
2267
|
|
|
2196
2268
|
/**
|
|
2197
|
-
* File system configuration
|
|
2269
|
+
* File system configuration parameters for binding a CFS file system in SCF
|
|
2198
2270
|
* @type {CfsConfig || null}
|
|
2199
2271
|
*/
|
|
2200
2272
|
this.CfsConfig = null;
|
|
2201
2273
|
|
|
2202
2274
|
/**
|
|
2203
|
-
*
|
|
2275
|
+
* Function initialization timeout period
|
|
2204
2276
|
* @type {number || null}
|
|
2205
2277
|
*/
|
|
2206
2278
|
this.InitTimeout = null;
|
|
2207
2279
|
|
|
2208
2280
|
/**
|
|
2209
|
-
* Parameters
|
|
2281
|
+
* Configure ProtocolType access protocol for an HTTP function. Parameters configurable for the current protocol.
|
|
2210
2282
|
* @type {ProtocolParams || null}
|
|
2211
2283
|
*/
|
|
2212
2284
|
this.ProtocolParams = null;
|
|
2213
2285
|
|
|
2286
|
+
/**
|
|
2287
|
+
* Single-instance multi-concurrency configuration. Supports only Web functions.
|
|
2288
|
+
* @type {InstanceConcurrencyConfig || null}
|
|
2289
|
+
*/
|
|
2290
|
+
this.InstanceConcurrencyConfig = null;
|
|
2291
|
+
|
|
2292
|
+
/**
|
|
2293
|
+
* Whether the Dns caching capability is enabled. Supports only the EVENT function. Defaults to FALSE. TRUE to enable, FALSE to shutdown.
|
|
2294
|
+
* @type {string || null}
|
|
2295
|
+
*/
|
|
2296
|
+
this.DnsCache = null;
|
|
2297
|
+
|
|
2298
|
+
/**
|
|
2299
|
+
* Private network access configuration
|
|
2300
|
+
* @type {IntranetConfigIn || null}
|
|
2301
|
+
*/
|
|
2302
|
+
this.IntranetConfig = null;
|
|
2303
|
+
|
|
2304
|
+
/**
|
|
2305
|
+
* Ignorable system log reporting
|
|
2306
|
+
* @type {boolean || null}
|
|
2307
|
+
*/
|
|
2308
|
+
this.IgnoreSysLog = null;
|
|
2309
|
+
|
|
2214
2310
|
}
|
|
2215
2311
|
|
|
2216
2312
|
/**
|
|
@@ -2279,6 +2375,20 @@ class UpdateFunctionConfigurationRequest extends AbstractModel {
|
|
|
2279
2375
|
this.ProtocolParams = obj;
|
|
2280
2376
|
}
|
|
2281
2377
|
|
|
2378
|
+
if (params.InstanceConcurrencyConfig) {
|
|
2379
|
+
let obj = new InstanceConcurrencyConfig();
|
|
2380
|
+
obj.deserialize(params.InstanceConcurrencyConfig)
|
|
2381
|
+
this.InstanceConcurrencyConfig = obj;
|
|
2382
|
+
}
|
|
2383
|
+
this.DnsCache = 'DnsCache' in params ? params.DnsCache : null;
|
|
2384
|
+
|
|
2385
|
+
if (params.IntranetConfig) {
|
|
2386
|
+
let obj = new IntranetConfigIn();
|
|
2387
|
+
obj.deserialize(params.IntranetConfig)
|
|
2388
|
+
this.IntranetConfig = obj;
|
|
2389
|
+
}
|
|
2390
|
+
this.IgnoreSysLog = 'IgnoreSysLog' in params ? params.IgnoreSysLog : null;
|
|
2391
|
+
|
|
2282
2392
|
}
|
|
2283
2393
|
}
|
|
2284
2394
|
|
|
@@ -2616,7 +2726,7 @@ class DeleteNamespaceResponse extends AbstractModel {
|
|
|
2616
2726
|
}
|
|
2617
2727
|
|
|
2618
2728
|
/**
|
|
2619
|
-
*
|
|
2729
|
+
* Specify a Layer version
|
|
2620
2730
|
* @class
|
|
2621
2731
|
*/
|
|
2622
2732
|
class LayerVersionSimple extends AbstractModel {
|
|
@@ -2624,13 +2734,13 @@ class LayerVersionSimple extends AbstractModel {
|
|
|
2624
2734
|
super();
|
|
2625
2735
|
|
|
2626
2736
|
/**
|
|
2627
|
-
* Name of the layer
|
|
2737
|
+
* Name of the bound layer. Pass an empty string to unbind the layer.
|
|
2628
2738
|
* @type {string || null}
|
|
2629
2739
|
*/
|
|
2630
2740
|
this.LayerName = null;
|
|
2631
2741
|
|
|
2632
2742
|
/**
|
|
2633
|
-
*
|
|
2743
|
+
* Bind or unbind a layer version. To unbind the last layer version associated with a function version, set LayerVersion to 0.
|
|
2634
2744
|
* @type {number || null}
|
|
2635
2745
|
*/
|
|
2636
2746
|
this.LayerVersion = null;
|
|
@@ -2854,7 +2964,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
2854
2964
|
}
|
|
2855
2965
|
|
|
2856
2966
|
/**
|
|
2857
|
-
*
|
|
2967
|
+
* Configuration description of the file system (cfs)
|
|
2858
2968
|
* @class
|
|
2859
2969
|
*/
|
|
2860
2970
|
class CfsConfig extends AbstractModel {
|
|
@@ -2862,7 +2972,7 @@ class CfsConfig extends AbstractModel {
|
|
|
2862
2972
|
super();
|
|
2863
2973
|
|
|
2864
2974
|
/**
|
|
2865
|
-
*
|
|
2975
|
+
* List of file system information
|
|
2866
2976
|
* @type {Array.<CfsInsInfo> || null}
|
|
2867
2977
|
*/
|
|
2868
2978
|
this.CfsInsList = null;
|
|
@@ -2986,57 +3096,55 @@ class CreateTriggerRequest extends AbstractModel {
|
|
|
2986
3096
|
super();
|
|
2987
3097
|
|
|
2988
3098
|
/**
|
|
2989
|
-
*
|
|
3099
|
+
* Function name bound to the created trigger
|
|
2990
3100
|
* @type {string || null}
|
|
2991
3101
|
*/
|
|
2992
3102
|
this.FunctionName = null;
|
|
2993
3103
|
|
|
2994
3104
|
/**
|
|
2995
|
-
* Name of
|
|
3105
|
+
* Name of the trigger to create. If it is a scheduled trigger, the name supports English letters, digits, hyphens, and underscores, up to 100 characters. If it is a COS trigger, it must be the access domain of the corresponding COS storage bucket suitable for the XML API (for example, 5401-5ff414-12345.cos.ap-shanghai.myqcloud.com). For other triggers, see the parameter description of the specific trigger binding.
|
|
2996
3106
|
* @type {string || null}
|
|
2997
3107
|
*/
|
|
2998
3108
|
this.TriggerName = null;
|
|
2999
3109
|
|
|
3000
3110
|
/**
|
|
3001
|
-
*
|
|
3002
|
-
To create Function URL please refer to [Creating a Function URL](https://www.tencentcloud.com/document/product/583/69492?lang=en&pg=)
|
|
3003
|
-
To create a CLS trigger, please refer to [Create Deliver CloudFunction (SCF)](https://www.tencentcloud.com/zh/document/product/614/59903).
|
|
3111
|
+
* Trigger type. Currently supports cos, cls, timer, ckafka, and http types. To create a function URL, please use the http type. See [Creating a Function URL](https://www.tencentcloud.com/document/product/583/100227?from_cn_redirect=1#33bbbda4-9131-48a6-ac37-ac62ffe01424). To create a cls trigger, see CLS Creating Delivery SCF Task.
|
|
3004
3112
|
* @type {string || null}
|
|
3005
3113
|
*/
|
|
3006
3114
|
this.Type = null;
|
|
3007
3115
|
|
|
3008
3116
|
/**
|
|
3009
|
-
*
|
|
3117
|
+
* Parameters corresponding to the trigger. For details, see [Trigger Description](https://www.tencentcloud.com/document/product/583/39901?from_cn_redirect=1).
|
|
3010
3118
|
* @type {string || null}
|
|
3011
3119
|
*/
|
|
3012
3120
|
this.TriggerDesc = null;
|
|
3013
3121
|
|
|
3014
3122
|
/**
|
|
3015
|
-
*
|
|
3123
|
+
* Namespace of the function
|
|
3016
3124
|
* @type {string || null}
|
|
3017
3125
|
*/
|
|
3018
3126
|
this.Namespace = null;
|
|
3019
3127
|
|
|
3020
3128
|
/**
|
|
3021
|
-
*
|
|
3129
|
+
* Version or alias that the trigger takes effect on. It is recommended to fill in $DEFAULT for future grayscale release. Default value: $LATEST.
|
|
3022
3130
|
* @type {string || null}
|
|
3023
3131
|
*/
|
|
3024
3132
|
this.Qualifier = null;
|
|
3025
3133
|
|
|
3026
3134
|
/**
|
|
3027
|
-
* Initial
|
|
3135
|
+
* Initial status of the trigger. OPEN means enabling, and CLOSE means disabling.
|
|
3028
3136
|
* @type {string || null}
|
|
3029
3137
|
*/
|
|
3030
3138
|
this.Enable = null;
|
|
3031
3139
|
|
|
3032
3140
|
/**
|
|
3033
|
-
*
|
|
3141
|
+
* User-defined parameter. Only timer triggers are supported.
|
|
3034
3142
|
* @type {string || null}
|
|
3035
3143
|
*/
|
|
3036
3144
|
this.CustomArgument = null;
|
|
3037
3145
|
|
|
3038
3146
|
/**
|
|
3039
|
-
* Trigger description
|
|
3147
|
+
* Trigger description.
|
|
3040
3148
|
* @type {string || null}
|
|
3041
3149
|
*/
|
|
3042
3150
|
this.Description = null;
|
|
@@ -3063,6 +3171,41 @@ To create a CLS trigger, please refer to [Create Deliver CloudFunction (SCF)](ht
|
|
|
3063
3171
|
}
|
|
3064
3172
|
}
|
|
3065
3173
|
|
|
3174
|
+
/**
|
|
3175
|
+
* Dynamic concurrency configuration
|
|
3176
|
+
* @class
|
|
3177
|
+
*/
|
|
3178
|
+
class MixNodeConfig extends AbstractModel {
|
|
3179
|
+
constructor(){
|
|
3180
|
+
super();
|
|
3181
|
+
|
|
3182
|
+
/**
|
|
3183
|
+
* GPU model name
|
|
3184
|
+
* @type {string || null}
|
|
3185
|
+
*/
|
|
3186
|
+
this.NodeSpec = null;
|
|
3187
|
+
|
|
3188
|
+
/**
|
|
3189
|
+
* Number of concurrencies
|
|
3190
|
+
* @type {number || null}
|
|
3191
|
+
*/
|
|
3192
|
+
this.Num = null;
|
|
3193
|
+
|
|
3194
|
+
}
|
|
3195
|
+
|
|
3196
|
+
/**
|
|
3197
|
+
* @private
|
|
3198
|
+
*/
|
|
3199
|
+
deserialize(params) {
|
|
3200
|
+
if (!params) {
|
|
3201
|
+
return;
|
|
3202
|
+
}
|
|
3203
|
+
this.NodeSpec = 'NodeSpec' in params ? params.NodeSpec : null;
|
|
3204
|
+
this.Num = 'Num' in params ? params.Num : null;
|
|
3205
|
+
|
|
3206
|
+
}
|
|
3207
|
+
}
|
|
3208
|
+
|
|
3066
3209
|
/**
|
|
3067
3210
|
* UpdateNamespace response structure.
|
|
3068
3211
|
* @class
|
|
@@ -3389,7 +3532,7 @@ class LogSearchContext extends AbstractModel {
|
|
|
3389
3532
|
this.Offset = null;
|
|
3390
3533
|
|
|
3391
3534
|
/**
|
|
3392
|
-
*
|
|
3535
|
+
* Number of logs.
|
|
3393
3536
|
* @type {number || null}
|
|
3394
3537
|
*/
|
|
3395
3538
|
this.Limit = null;
|
|
@@ -3401,7 +3544,7 @@ class LogSearchContext extends AbstractModel {
|
|
|
3401
3544
|
this.Keyword = null;
|
|
3402
3545
|
|
|
3403
3546
|
/**
|
|
3404
|
-
* Log type.
|
|
3547
|
+
* Log type. Valid values: `Application`, `Platform`. Default value: `Application`.
|
|
3405
3548
|
* @type {string || null}
|
|
3406
3549
|
*/
|
|
3407
3550
|
this.Type = null;
|
|
@@ -3615,7 +3758,8 @@ class RequestStatus extends AbstractModel {
|
|
|
3615
3758
|
}
|
|
3616
3759
|
|
|
3617
3760
|
/**
|
|
3618
|
-
*
|
|
3761
|
+
* Kubernetes taint and toleration. Please note the supported fields for your Kubernetes version during use.
|
|
3762
|
+
See https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
|
|
3619
3763
|
* @class
|
|
3620
3764
|
*/
|
|
3621
3765
|
class K8SToleration extends AbstractModel {
|
|
@@ -3623,31 +3767,31 @@ class K8SToleration extends AbstractModel {
|
|
|
3623
3767
|
super();
|
|
3624
3768
|
|
|
3625
3769
|
/**
|
|
3626
|
-
*
|
|
3770
|
+
* Matched taint name
|
|
3627
3771
|
* @type {string || null}
|
|
3628
3772
|
*/
|
|
3629
3773
|
this.Key = null;
|
|
3630
3774
|
|
|
3631
3775
|
/**
|
|
3632
|
-
*
|
|
3776
|
+
* Match mode. Default value: Equal.
|
|
3633
3777
|
* @type {string || null}
|
|
3634
3778
|
*/
|
|
3635
3779
|
this.Operator = null;
|
|
3636
3780
|
|
|
3637
3781
|
/**
|
|
3638
|
-
*
|
|
3782
|
+
* Execution policy
|
|
3639
3783
|
* @type {string || null}
|
|
3640
3784
|
*/
|
|
3641
3785
|
this.Effect = null;
|
|
3642
3786
|
|
|
3643
3787
|
/**
|
|
3644
|
-
*
|
|
3788
|
+
* Taint value to match. Required when Operator is Equal.
|
|
3645
3789
|
* @type {string || null}
|
|
3646
3790
|
*/
|
|
3647
3791
|
this.Value = null;
|
|
3648
3792
|
|
|
3649
3793
|
/**
|
|
3650
|
-
*
|
|
3794
|
+
* How long a Pod can still run on a node when the taint is not tolerated
|
|
3651
3795
|
* @type {number || null}
|
|
3652
3796
|
*/
|
|
3653
3797
|
this.TolerationSeconds = null;
|
|
@@ -3924,7 +4068,7 @@ class AsyncEvent extends AbstractModel {
|
|
|
3924
4068
|
}
|
|
3925
4069
|
|
|
3926
4070
|
/**
|
|
3927
|
-
* Environment variable
|
|
4071
|
+
* Environment variable parameters of the function
|
|
3928
4072
|
* @class
|
|
3929
4073
|
*/
|
|
3930
4074
|
class Environment extends AbstractModel {
|
|
@@ -4377,7 +4521,7 @@ class CreateTriggerResponse extends AbstractModel {
|
|
|
4377
4521
|
super();
|
|
4378
4522
|
|
|
4379
4523
|
/**
|
|
4380
|
-
* Trigger information
|
|
4524
|
+
* Trigger information.
|
|
4381
4525
|
* @type {Trigger || null}
|
|
4382
4526
|
*/
|
|
4383
4527
|
this.TriggerInfo = null;
|
|
@@ -4490,7 +4634,7 @@ class CreateNamespaceRequest extends AbstractModel {
|
|
|
4490
4634
|
this.Description = null;
|
|
4491
4635
|
|
|
4492
4636
|
/**
|
|
4493
|
-
*
|
|
4637
|
+
* Resource pool configuration
|
|
4494
4638
|
* @type {NamespaceResourceEnv || null}
|
|
4495
4639
|
*/
|
|
4496
4640
|
this.ResourceEnv = null;
|
|
@@ -4667,7 +4811,7 @@ When `Name` is `Runtime`, `CustomImage` refers to the image type function
|
|
|
4667
4811
|
}
|
|
4668
4812
|
|
|
4669
4813
|
/**
|
|
4670
|
-
* Variable
|
|
4814
|
+
* Variable parameters
|
|
4671
4815
|
* @class
|
|
4672
4816
|
*/
|
|
4673
4817
|
class Variable extends AbstractModel {
|
|
@@ -4675,13 +4819,13 @@ class Variable extends AbstractModel {
|
|
|
4675
4819
|
super();
|
|
4676
4820
|
|
|
4677
4821
|
/**
|
|
4678
|
-
* Variable name
|
|
4822
|
+
* Variable name. Cannot be empty.
|
|
4679
4823
|
* @type {string || null}
|
|
4680
4824
|
*/
|
|
4681
4825
|
this.Key = null;
|
|
4682
4826
|
|
|
4683
4827
|
/**
|
|
4684
|
-
* Variable value
|
|
4828
|
+
* Variable value. Cannot be empty.
|
|
4685
4829
|
* @type {string || null}
|
|
4686
4830
|
*/
|
|
4687
4831
|
this.Value = null;
|
|
@@ -4710,13 +4854,13 @@ class K8SLabel extends AbstractModel {
|
|
|
4710
4854
|
super();
|
|
4711
4855
|
|
|
4712
4856
|
/**
|
|
4713
|
-
*
|
|
4857
|
+
* Name of the label
|
|
4714
4858
|
* @type {string || null}
|
|
4715
4859
|
*/
|
|
4716
4860
|
this.Key = null;
|
|
4717
4861
|
|
|
4718
4862
|
/**
|
|
4719
|
-
*
|
|
4863
|
+
* Value of the label
|
|
4720
4864
|
* @type {string || null}
|
|
4721
4865
|
*/
|
|
4722
4866
|
this.Value = null;
|
|
@@ -5201,67 +5345,67 @@ class FunctionLog extends AbstractModel {
|
|
|
5201
5345
|
super();
|
|
5202
5346
|
|
|
5203
5347
|
/**
|
|
5204
|
-
* Function name
|
|
5348
|
+
* Function name.
|
|
5205
5349
|
* @type {string || null}
|
|
5206
5350
|
*/
|
|
5207
5351
|
this.FunctionName = null;
|
|
5208
5352
|
|
|
5209
5353
|
/**
|
|
5210
|
-
*
|
|
5354
|
+
* Returned value after function execution
|
|
5211
5355
|
* @type {string || null}
|
|
5212
5356
|
*/
|
|
5213
5357
|
this.RetMsg = null;
|
|
5214
5358
|
|
|
5215
5359
|
/**
|
|
5216
|
-
*
|
|
5360
|
+
* requestId for executing the function
|
|
5217
5361
|
* @type {string || null}
|
|
5218
5362
|
*/
|
|
5219
5363
|
this.RequestId = null;
|
|
5220
5364
|
|
|
5221
5365
|
/**
|
|
5222
|
-
*
|
|
5366
|
+
* Time point when the function starts execution
|
|
5223
5367
|
* @type {string || null}
|
|
5224
5368
|
*/
|
|
5225
5369
|
this.StartTime = null;
|
|
5226
5370
|
|
|
5227
5371
|
/**
|
|
5228
|
-
* Function execution result.
|
|
5372
|
+
* Function execution result. 0 indicates successful execution, 2 indicates the function is running, 3 indicates an execution interrupt, and other values indicate failure.
|
|
5229
5373
|
* @type {number || null}
|
|
5230
5374
|
*/
|
|
5231
5375
|
this.RetCode = null;
|
|
5232
5376
|
|
|
5233
5377
|
/**
|
|
5234
|
-
*
|
|
5378
|
+
* Whether the function call ends. If so, 1 means execution ended, and additional values indicate a call exception.
|
|
5235
5379
|
* @type {number || null}
|
|
5236
5380
|
*/
|
|
5237
5381
|
this.InvokeFinished = null;
|
|
5238
5382
|
|
|
5239
5383
|
/**
|
|
5240
|
-
*
|
|
5384
|
+
* Function execution duration in milliseconds.
|
|
5241
5385
|
* @type {number || null}
|
|
5242
5386
|
*/
|
|
5243
5387
|
this.Duration = null;
|
|
5244
5388
|
|
|
5245
5389
|
/**
|
|
5246
|
-
*
|
|
5390
|
+
* Billing duration of a function. It is rounded up to the nearest 100 ms based on the duration, in ms.
|
|
5247
5391
|
* @type {number || null}
|
|
5248
5392
|
*/
|
|
5249
5393
|
this.BillDuration = null;
|
|
5250
5394
|
|
|
5251
5395
|
/**
|
|
5252
|
-
*
|
|
5396
|
+
* Memory size actually consumed during function execution, in bytes.
|
|
5253
5397
|
* @type {number || null}
|
|
5254
5398
|
*/
|
|
5255
5399
|
this.MemUsage = null;
|
|
5256
5400
|
|
|
5257
5401
|
/**
|
|
5258
|
-
*
|
|
5402
|
+
* Log output during function execution
|
|
5259
5403
|
* @type {string || null}
|
|
5260
5404
|
*/
|
|
5261
5405
|
this.Log = null;
|
|
5262
5406
|
|
|
5263
5407
|
/**
|
|
5264
|
-
* Log level
|
|
5408
|
+
* Log level.
|
|
5265
5409
|
* @type {string || null}
|
|
5266
5410
|
*/
|
|
5267
5411
|
this.Level = null;
|
|
@@ -5273,7 +5417,7 @@ class FunctionLog extends AbstractModel {
|
|
|
5273
5417
|
this.Source = null;
|
|
5274
5418
|
|
|
5275
5419
|
/**
|
|
5276
|
-
* Number of retries
|
|
5420
|
+
* Number of retries.
|
|
5277
5421
|
* @type {number || null}
|
|
5278
5422
|
*/
|
|
5279
5423
|
this.RetryNum = null;
|
|
@@ -5438,7 +5582,7 @@ class GetFunctionAddressResponse extends AbstractModel {
|
|
|
5438
5582
|
}
|
|
5439
5583
|
|
|
5440
5584
|
/**
|
|
5441
|
-
*
|
|
5585
|
+
* cfs configuration message associated with the SCF
|
|
5442
5586
|
* @class
|
|
5443
5587
|
*/
|
|
5444
5588
|
class CfsInsInfo extends AbstractModel {
|
|
@@ -5452,52 +5596,52 @@ class CfsInsInfo extends AbstractModel {
|
|
|
5452
5596
|
this.UserId = null;
|
|
5453
5597
|
|
|
5454
5598
|
/**
|
|
5455
|
-
* User group
|
|
5599
|
+
* User group id.
|
|
5456
5600
|
* @type {string || null}
|
|
5457
5601
|
*/
|
|
5458
5602
|
this.UserGroupId = null;
|
|
5459
5603
|
|
|
5460
5604
|
/**
|
|
5461
|
-
*
|
|
5605
|
+
* File system instance id
|
|
5462
5606
|
* @type {string || null}
|
|
5463
5607
|
*/
|
|
5464
5608
|
this.CfsId = null;
|
|
5465
5609
|
|
|
5466
5610
|
/**
|
|
5467
|
-
* File system mount
|
|
5611
|
+
* File system mount point id
|
|
5468
5612
|
* @type {string || null}
|
|
5469
5613
|
*/
|
|
5470
5614
|
this.MountInsId = null;
|
|
5471
5615
|
|
|
5472
5616
|
/**
|
|
5473
|
-
* Local mount
|
|
5617
|
+
* Local mount point
|
|
5474
5618
|
* @type {string || null}
|
|
5475
5619
|
*/
|
|
5476
5620
|
this.LocalMountDir = null;
|
|
5477
5621
|
|
|
5478
5622
|
/**
|
|
5479
|
-
* Remote mount
|
|
5623
|
+
* Remote mount point.
|
|
5480
5624
|
* @type {string || null}
|
|
5481
5625
|
*/
|
|
5482
5626
|
this.RemoteMountDir = null;
|
|
5483
5627
|
|
|
5484
5628
|
/**
|
|
5485
|
-
* File system
|
|
5486
|
-
Note:
|
|
5629
|
+
* File system ip. No need to specify when configuring cfs.
|
|
5630
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5487
5631
|
* @type {string || null}
|
|
5488
5632
|
*/
|
|
5489
5633
|
this.IpAddress = null;
|
|
5490
5634
|
|
|
5491
5635
|
/**
|
|
5492
|
-
* VPC
|
|
5493
|
-
Note:
|
|
5636
|
+
* VPC id where the file system is located. Not required when configuring cfs.
|
|
5637
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5494
5638
|
* @type {string || null}
|
|
5495
5639
|
*/
|
|
5496
5640
|
this.MountVpcId = null;
|
|
5497
5641
|
|
|
5498
5642
|
/**
|
|
5499
|
-
*
|
|
5500
|
-
Note:
|
|
5643
|
+
* Subnet id of the private network where the file system resides. Not required when configuring cfs.
|
|
5644
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5501
5645
|
* @type {string || null}
|
|
5502
5646
|
*/
|
|
5503
5647
|
this.MountSubnetId = null;
|
|
@@ -5524,6 +5668,82 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
5524
5668
|
}
|
|
5525
5669
|
}
|
|
5526
5670
|
|
|
5671
|
+
/**
|
|
5672
|
+
* Configuration description for multiple concurrent executions
|
|
5673
|
+
* @class
|
|
5674
|
+
*/
|
|
5675
|
+
class InstanceConcurrencyConfig extends AbstractModel {
|
|
5676
|
+
constructor(){
|
|
5677
|
+
super();
|
|
5678
|
+
|
|
5679
|
+
/**
|
|
5680
|
+
* Whether intelligent dynamic concurrency is enabled. If set to `FALSE`, static concurrency is used. If set to `''`, the multi-concurrency configuration is canceled.
|
|
5681
|
+
* @type {string || null}
|
|
5682
|
+
*/
|
|
5683
|
+
this.DynamicEnabled = null;
|
|
5684
|
+
|
|
5685
|
+
/**
|
|
5686
|
+
* Maximum number of concurrent requests per instance. Value range: [1,100]
|
|
5687
|
+
* @type {number || null}
|
|
5688
|
+
*/
|
|
5689
|
+
this.MaxConcurrency = null;
|
|
5690
|
+
|
|
5691
|
+
/**
|
|
5692
|
+
* Safety isolation switch
|
|
5693
|
+
* @type {string || null}
|
|
5694
|
+
*/
|
|
5695
|
+
this.InstanceIsolationEnabled = null;
|
|
5696
|
+
|
|
5697
|
+
/**
|
|
5698
|
+
* Session-Based or Request-Based. Choose one.
|
|
5699
|
+
* @type {string || null}
|
|
5700
|
+
*/
|
|
5701
|
+
this.Type = null;
|
|
5702
|
+
|
|
5703
|
+
/**
|
|
5704
|
+
* Dynamic concurrency parameter
|
|
5705
|
+
* @type {Array.<MixNodeConfig> || null}
|
|
5706
|
+
*/
|
|
5707
|
+
this.MixNodeConfig = null;
|
|
5708
|
+
|
|
5709
|
+
/**
|
|
5710
|
+
* Session configuration parameters
|
|
5711
|
+
* @type {SessionConfig || null}
|
|
5712
|
+
*/
|
|
5713
|
+
this.SessionConfig = null;
|
|
5714
|
+
|
|
5715
|
+
}
|
|
5716
|
+
|
|
5717
|
+
/**
|
|
5718
|
+
* @private
|
|
5719
|
+
*/
|
|
5720
|
+
deserialize(params) {
|
|
5721
|
+
if (!params) {
|
|
5722
|
+
return;
|
|
5723
|
+
}
|
|
5724
|
+
this.DynamicEnabled = 'DynamicEnabled' in params ? params.DynamicEnabled : null;
|
|
5725
|
+
this.MaxConcurrency = 'MaxConcurrency' in params ? params.MaxConcurrency : null;
|
|
5726
|
+
this.InstanceIsolationEnabled = 'InstanceIsolationEnabled' in params ? params.InstanceIsolationEnabled : null;
|
|
5727
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
5728
|
+
|
|
5729
|
+
if (params.MixNodeConfig) {
|
|
5730
|
+
this.MixNodeConfig = new Array();
|
|
5731
|
+
for (let z in params.MixNodeConfig) {
|
|
5732
|
+
let obj = new MixNodeConfig();
|
|
5733
|
+
obj.deserialize(params.MixNodeConfig[z]);
|
|
5734
|
+
this.MixNodeConfig.push(obj);
|
|
5735
|
+
}
|
|
5736
|
+
}
|
|
5737
|
+
|
|
5738
|
+
if (params.SessionConfig) {
|
|
5739
|
+
let obj = new SessionConfig();
|
|
5740
|
+
obj.deserialize(params.SessionConfig)
|
|
5741
|
+
this.SessionConfig = obj;
|
|
5742
|
+
}
|
|
5743
|
+
|
|
5744
|
+
}
|
|
5745
|
+
}
|
|
5746
|
+
|
|
5527
5747
|
/**
|
|
5528
5748
|
* UpdateTriggerStatus request structure.
|
|
5529
5749
|
* @class
|
|
@@ -5864,7 +6084,7 @@ class DeadLetterConfig extends AbstractModel {
|
|
|
5864
6084
|
this.Name = null;
|
|
5865
6085
|
|
|
5866
6086
|
/**
|
|
5867
|
-
* Tag
|
|
6087
|
+
* Tag format of the DLQ topic model
|
|
5868
6088
|
* @type {string || null}
|
|
5869
6089
|
*/
|
|
5870
6090
|
this.FilterType = null;
|
|
@@ -6697,7 +6917,7 @@ class GetFunctionLogsResponse extends AbstractModel {
|
|
|
6697
6917
|
this.Data = null;
|
|
6698
6918
|
|
|
6699
6919
|
/**
|
|
6700
|
-
* This field is
|
|
6920
|
+
* This field is offline.
|
|
6701
6921
|
* @type {LogSearchContext || null}
|
|
6702
6922
|
*/
|
|
6703
6923
|
this.SearchContext = null;
|
|
@@ -6738,6 +6958,37 @@ class GetFunctionLogsResponse extends AbstractModel {
|
|
|
6738
6958
|
}
|
|
6739
6959
|
}
|
|
6740
6960
|
|
|
6961
|
+
/**
|
|
6962
|
+
* Private network configuration
|
|
6963
|
+
* @class
|
|
6964
|
+
*/
|
|
6965
|
+
class IntranetConfigIn extends AbstractModel {
|
|
6966
|
+
constructor(){
|
|
6967
|
+
super();
|
|
6968
|
+
|
|
6969
|
+
/**
|
|
6970
|
+
* Whether a fixed private IP address is enabled
|
|
6971
|
+
ENABLE: enable
|
|
6972
|
+
DISABLE means not enabled.
|
|
6973
|
+
|
|
6974
|
+
* @type {string || null}
|
|
6975
|
+
*/
|
|
6976
|
+
this.IpFixed = null;
|
|
6977
|
+
|
|
6978
|
+
}
|
|
6979
|
+
|
|
6980
|
+
/**
|
|
6981
|
+
* @private
|
|
6982
|
+
*/
|
|
6983
|
+
deserialize(params) {
|
|
6984
|
+
if (!params) {
|
|
6985
|
+
return;
|
|
6986
|
+
}
|
|
6987
|
+
this.IpFixed = 'IpFixed' in params ? params.IpFixed : null;
|
|
6988
|
+
|
|
6989
|
+
}
|
|
6990
|
+
}
|
|
6991
|
+
|
|
6741
6992
|
/**
|
|
6742
6993
|
* TCR image information
|
|
6743
6994
|
* @class
|
|
@@ -6902,31 +7153,31 @@ class DeleteTriggerRequest extends AbstractModel {
|
|
|
6902
7153
|
this.FunctionName = null;
|
|
6903
7154
|
|
|
6904
7155
|
/**
|
|
6905
|
-
*
|
|
7156
|
+
* Trigger name to delete
|
|
6906
7157
|
* @type {string || null}
|
|
6907
7158
|
*/
|
|
6908
7159
|
this.TriggerName = null;
|
|
6909
7160
|
|
|
6910
7161
|
/**
|
|
6911
|
-
*
|
|
7162
|
+
* Trigger type to delete. Currently only `timer`, `ckafka`, `apigw`, `cls`, `cos`, `cmq`, and `http` are supported.
|
|
6912
7163
|
* @type {string || null}
|
|
6913
7164
|
*/
|
|
6914
7165
|
this.Type = null;
|
|
6915
7166
|
|
|
6916
7167
|
/**
|
|
6917
|
-
*
|
|
7168
|
+
* Namespace of the function
|
|
6918
7169
|
* @type {string || null}
|
|
6919
7170
|
*/
|
|
6920
7171
|
this.Namespace = null;
|
|
6921
7172
|
|
|
6922
7173
|
/**
|
|
6923
|
-
*
|
|
7174
|
+
* If the trigger type to delete is COS trigger, this field must be specified, storing data in JSON format {"event":"cos:ObjectCreated:*"}. The data content is in the same format as this field in the SetTrigger API. If the trigger type to delete is scheduled trigger or CMQ trigger, this field can be unspecified.
|
|
6924
7175
|
* @type {string || null}
|
|
6925
7176
|
*/
|
|
6926
7177
|
this.TriggerDesc = null;
|
|
6927
7178
|
|
|
6928
7179
|
/**
|
|
6929
|
-
*
|
|
7180
|
+
* The version or alias that the trigger to be deleted actually points to. Default value: $LATEST.
|
|
6930
7181
|
* @type {string || null}
|
|
6931
7182
|
*/
|
|
6932
7183
|
this.Qualifier = null;
|
|
@@ -6951,7 +7202,7 @@ class DeleteTriggerRequest extends AbstractModel {
|
|
|
6951
7202
|
}
|
|
6952
7203
|
|
|
6953
7204
|
/**
|
|
6954
|
-
*
|
|
7205
|
+
* Private network parameter configuration
|
|
6955
7206
|
* @class
|
|
6956
7207
|
*/
|
|
6957
7208
|
class VpcConfig extends AbstractModel {
|
|
@@ -6959,13 +7210,13 @@ class VpcConfig extends AbstractModel {
|
|
|
6959
7210
|
super();
|
|
6960
7211
|
|
|
6961
7212
|
/**
|
|
6962
|
-
*
|
|
7213
|
+
* Id of the private network
|
|
6963
7214
|
* @type {string || null}
|
|
6964
7215
|
*/
|
|
6965
7216
|
this.VpcId = null;
|
|
6966
7217
|
|
|
6967
7218
|
/**
|
|
6968
|
-
* Subnet
|
|
7219
|
+
* Subnet Id
|
|
6969
7220
|
* @type {string || null}
|
|
6970
7221
|
*/
|
|
6971
7222
|
this.SubnetId = null;
|
|
@@ -7136,7 +7387,7 @@ class ListNamespacesResponse extends AbstractModel {
|
|
|
7136
7387
|
}
|
|
7137
7388
|
|
|
7138
7389
|
/**
|
|
7139
|
-
*
|
|
7390
|
+
* Namespace resource pool configuration
|
|
7140
7391
|
* @class
|
|
7141
7392
|
*/
|
|
7142
7393
|
class NamespaceResourceEnv extends AbstractModel {
|
|
@@ -7144,13 +7395,13 @@ class NamespaceResourceEnv extends AbstractModel {
|
|
|
7144
7395
|
super();
|
|
7145
7396
|
|
|
7146
7397
|
/**
|
|
7147
|
-
*
|
|
7398
|
+
* Resource pool based on a TKE cluster
|
|
7148
7399
|
* @type {NamespaceResourceEnvTKE || null}
|
|
7149
7400
|
*/
|
|
7150
7401
|
this.TKE = null;
|
|
7151
7402
|
|
|
7152
7403
|
/**
|
|
7153
|
-
*
|
|
7404
|
+
* Namespace of the near-offline computing type
|
|
7154
7405
|
* @type {boolean || null}
|
|
7155
7406
|
*/
|
|
7156
7407
|
this.OFFLINE = null;
|
|
@@ -7209,6 +7460,7 @@ module.exports = {
|
|
|
7209
7460
|
GetProvisionedConcurrencyConfigRequest: GetProvisionedConcurrencyConfigRequest,
|
|
7210
7461
|
ListAliasesResponse: ListAliasesResponse,
|
|
7211
7462
|
DeleteLayerVersionResponse: DeleteLayerVersionResponse,
|
|
7463
|
+
SessionConfig: SessionConfig,
|
|
7212
7464
|
GetReservedConcurrencyConfigResponse: GetReservedConcurrencyConfigResponse,
|
|
7213
7465
|
ProtocolParams: ProtocolParams,
|
|
7214
7466
|
RoutingConfig: RoutingConfig,
|
|
@@ -7260,6 +7512,7 @@ module.exports = {
|
|
|
7260
7512
|
CfsConfig: CfsConfig,
|
|
7261
7513
|
ListFunctionsRequest: ListFunctionsRequest,
|
|
7262
7514
|
CreateTriggerRequest: CreateTriggerRequest,
|
|
7515
|
+
MixNodeConfig: MixNodeConfig,
|
|
7263
7516
|
UpdateNamespaceResponse: UpdateNamespaceResponse,
|
|
7264
7517
|
GetLayerVersionRequest: GetLayerVersionRequest,
|
|
7265
7518
|
DeleteFunctionResponse: DeleteFunctionResponse,
|
|
@@ -7308,6 +7561,7 @@ module.exports = {
|
|
|
7308
7561
|
RetryConfig: RetryConfig,
|
|
7309
7562
|
GetFunctionAddressResponse: GetFunctionAddressResponse,
|
|
7310
7563
|
CfsInsInfo: CfsInsInfo,
|
|
7564
|
+
InstanceConcurrencyConfig: InstanceConcurrencyConfig,
|
|
7311
7565
|
UpdateTriggerStatusRequest: UpdateTriggerStatusRequest,
|
|
7312
7566
|
TriggerAction: TriggerAction,
|
|
7313
7567
|
LimitsInfo: LimitsInfo,
|
|
@@ -7328,6 +7582,7 @@ module.exports = {
|
|
|
7328
7582
|
Alias: Alias,
|
|
7329
7583
|
GetAccountResponse: GetAccountResponse,
|
|
7330
7584
|
GetFunctionLogsResponse: GetFunctionLogsResponse,
|
|
7585
|
+
IntranetConfigIn: IntranetConfigIn,
|
|
7331
7586
|
ImageConfig: ImageConfig,
|
|
7332
7587
|
DeleteTriggerResponse: DeleteTriggerResponse,
|
|
7333
7588
|
SearchKey: SearchKey,
|