tencentcloud-sdk-nodejs-tcbr 4.1.80 → 4.1.93
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
|
@@ -120,10 +120,14 @@ export interface CreateCloudRunServerRequest {
|
|
|
120
120
|
* 部署信息
|
|
121
121
|
*/
|
|
122
122
|
DeployInfo: DeployParam;
|
|
123
|
+
/**
|
|
124
|
+
* 服务配置信息(已废弃)
|
|
125
|
+
*/
|
|
126
|
+
ServerConfig?: ServerBaseConfig;
|
|
123
127
|
/**
|
|
124
128
|
* 服务配置信息
|
|
125
129
|
*/
|
|
126
|
-
|
|
130
|
+
Items?: Array<DiffConfigItem>;
|
|
127
131
|
}
|
|
128
132
|
/**
|
|
129
133
|
* 函数的信息
|
|
@@ -265,6 +269,74 @@ export interface DeployParam {
|
|
|
265
269
|
*/
|
|
266
270
|
ReleaseType?: string;
|
|
267
271
|
}
|
|
272
|
+
/**
|
|
273
|
+
* 服务配置入参
|
|
274
|
+
*/
|
|
275
|
+
export interface DiffConfigItem {
|
|
276
|
+
/**
|
|
277
|
+
* 配置项 Key
|
|
278
|
+
MinNum 最小副本数
|
|
279
|
+
MaxNum 最大副本数
|
|
280
|
+
PolicyDetails 扩缩容策略
|
|
281
|
+
AccessTypes 访问类型
|
|
282
|
+
TimerScale 定时扩缩容
|
|
283
|
+
InternalAccess 内网访问
|
|
284
|
+
OperationMode 运行模式 noScale | condScale | alwaysScale | custom | manualScale
|
|
285
|
+
SessionAffinity 会话亲和性 open | close
|
|
286
|
+
CpuSpecs cpu 规格
|
|
287
|
+
MemSpecs mem规格
|
|
288
|
+
EnvParam 环境变量
|
|
289
|
+
LogPath 日志采集路径
|
|
290
|
+
Port 端口
|
|
291
|
+
Dockerfile dockerfile 文件名
|
|
292
|
+
BuildDir 目标目录
|
|
293
|
+
Tag 服务标签
|
|
294
|
+
LogType 日志类型 none | default | custom
|
|
295
|
+
LogSetId 日志集Id
|
|
296
|
+
LogTopicId 日志主题ID
|
|
297
|
+
LogParseType 日志解析类型 json | line
|
|
298
|
+
EntryPoint entrypoint 命令
|
|
299
|
+
Cmd cmd命令
|
|
300
|
+
VpcConf 网络信息
|
|
301
|
+
*/
|
|
302
|
+
Key: string;
|
|
303
|
+
/**
|
|
304
|
+
* 字符串类型配置项值
|
|
305
|
+
InternalAccess、OperationMode、SessionAffinity、EnvParam、LogPath、Dockerfile、BuildDir、Tag、LogType、LogSetId、LogTopicId、LogParseType
|
|
306
|
+
*/
|
|
307
|
+
Value?: string;
|
|
308
|
+
/**
|
|
309
|
+
* int 类型配置项值
|
|
310
|
+
MinNum、MaxNum、Port
|
|
311
|
+
*/
|
|
312
|
+
IntValue?: number;
|
|
313
|
+
/**
|
|
314
|
+
* bool 类型配置项值
|
|
315
|
+
*/
|
|
316
|
+
BoolValue?: boolean;
|
|
317
|
+
/**
|
|
318
|
+
* 浮点型配置项值
|
|
319
|
+
CpuSpecs、MemSpecs
|
|
320
|
+
*/
|
|
321
|
+
FloatValue?: number;
|
|
322
|
+
/**
|
|
323
|
+
* 字符串数组配置项值
|
|
324
|
+
AccessTypes,EntryPoint,Cmd
|
|
325
|
+
*/
|
|
326
|
+
ArrayValue?: Array<string>;
|
|
327
|
+
/**
|
|
328
|
+
* 扩缩容策略配置项值
|
|
329
|
+
*/
|
|
330
|
+
PolicyDetails?: Array<HpaPolicy>;
|
|
331
|
+
/**
|
|
332
|
+
* 定时扩缩容配置项值
|
|
333
|
+
*/
|
|
334
|
+
TimerScale?: Array<TimerScale>;
|
|
335
|
+
/**
|
|
336
|
+
* 配置内网访问时网络信息
|
|
337
|
+
*/
|
|
338
|
+
VpcConf?: VpcConf;
|
|
339
|
+
}
|
|
268
340
|
/**
|
|
269
341
|
* OperateServerManage请求参数结构体
|
|
270
342
|
*/
|
|
@@ -332,13 +404,17 @@ export interface UpdateCloudRunServerRequest {
|
|
|
332
404
|
*/
|
|
333
405
|
DeployInfo: DeployParam;
|
|
334
406
|
/**
|
|
335
|
-
* 服务配置信息
|
|
407
|
+
* 服务配置信息(已废弃)
|
|
336
408
|
*/
|
|
337
|
-
ServerConfig
|
|
409
|
+
ServerConfig?: ServerBaseConfig;
|
|
338
410
|
/**
|
|
339
411
|
* 业务类型,默认tcr
|
|
340
412
|
*/
|
|
341
413
|
Business?: string;
|
|
414
|
+
/**
|
|
415
|
+
* 服务配置信息
|
|
416
|
+
*/
|
|
417
|
+
Items?: Array<DiffConfigItem>;
|
|
342
418
|
}
|
|
343
419
|
/**
|
|
344
420
|
* 云日志服务相关信息
|