tencentcloud-sdk-nodejs-tcbr 4.1.229 → 4.1.242
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
|
@@ -20,130 +20,134 @@ export interface DescribeCloudRunServersResponse {
|
|
|
20
20
|
*/
|
|
21
21
|
export interface ServerBaseConfig {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* <p>环境 Id</p>
|
|
24
24
|
*/
|
|
25
25
|
EnvId: string;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* <p>服务名</p>
|
|
28
28
|
*/
|
|
29
29
|
ServerName: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* <p>是否开启公网访问</p>
|
|
32
32
|
*/
|
|
33
33
|
OpenAccessTypes: Array<string>;
|
|
34
34
|
/**
|
|
35
|
-
* Cpu
|
|
35
|
+
* <p>Cpu 规格</p>
|
|
36
36
|
*/
|
|
37
37
|
Cpu: number;
|
|
38
38
|
/**
|
|
39
|
-
* Mem
|
|
39
|
+
* <p>Mem 规格</p>
|
|
40
40
|
*/
|
|
41
41
|
Mem: number;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* <p>最小副本数</p>
|
|
44
44
|
*/
|
|
45
45
|
MinNum: number;
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* <p>最大副本数</p>
|
|
48
48
|
*/
|
|
49
49
|
MaxNum: number;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* <p>扩缩容配置</p>
|
|
52
52
|
*/
|
|
53
53
|
PolicyDetails: Array<HpaPolicy>;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* <p>日志采集路径</p>
|
|
56
56
|
*/
|
|
57
57
|
CustomLogs: string;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* <p>环境变量</p>
|
|
60
60
|
*/
|
|
61
61
|
EnvParams: string;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* <p>延迟检测时间</p>
|
|
64
64
|
*/
|
|
65
65
|
InitialDelaySeconds: number;
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* <p>创建时间</p>
|
|
68
68
|
*/
|
|
69
69
|
CreateTime: string;
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
71
|
+
* <p>服务端口</p>
|
|
72
72
|
*/
|
|
73
73
|
Port: number;
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
75
|
+
* <p>是否有Dockerfile</p>
|
|
76
76
|
*/
|
|
77
77
|
HasDockerfile: boolean;
|
|
78
78
|
/**
|
|
79
|
-
* Dockerfile
|
|
79
|
+
* <p>Dockerfile 文件名</p>
|
|
80
80
|
*/
|
|
81
81
|
Dockerfile: string;
|
|
82
82
|
/**
|
|
83
|
-
*
|
|
83
|
+
* <p>构建目录</p>
|
|
84
84
|
*/
|
|
85
85
|
BuildDir: string;
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
87
|
+
* <p>日志类型: none | default | custom</p>
|
|
88
88
|
*/
|
|
89
89
|
LogType?: string;
|
|
90
90
|
/**
|
|
91
|
-
* cls setId
|
|
91
|
+
* <p>cls setId</p>
|
|
92
92
|
*/
|
|
93
93
|
LogSetId?: string;
|
|
94
94
|
/**
|
|
95
|
-
* cls 主题id
|
|
95
|
+
* <p>cls 主题id</p>
|
|
96
96
|
*/
|
|
97
97
|
LogTopicId?: string;
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
99
|
+
* <p>解析类型:json | line</p>
|
|
100
100
|
*/
|
|
101
101
|
LogParseType?: string;
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
103
|
+
* <p>服务标签, function: 函数托管</p>
|
|
104
104
|
*/
|
|
105
105
|
Tag?: string;
|
|
106
106
|
/**
|
|
107
|
-
*
|
|
107
|
+
* <p>内网访问开关 close | open</p>
|
|
108
108
|
*/
|
|
109
109
|
InternalAccess?: string;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* <p>内网域名</p>
|
|
112
112
|
*/
|
|
113
113
|
InternalDomain?: string;
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* <p>运行模式</p>
|
|
116
116
|
*/
|
|
117
117
|
OperationMode?: string;
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* <p>定时扩缩容配置</p>
|
|
120
120
|
*/
|
|
121
121
|
TimerScale?: Array<TimerScale>;
|
|
122
122
|
/**
|
|
123
|
-
* Dockerfile EntryPoint
|
|
123
|
+
* <p>Dockerfile EntryPoint 参数</p>
|
|
124
124
|
*/
|
|
125
125
|
EntryPoint?: Array<string>;
|
|
126
126
|
/**
|
|
127
|
-
* Dockerfile Cmd
|
|
127
|
+
* <p>Dockerfile Cmd 参数</p>
|
|
128
128
|
*/
|
|
129
129
|
Cmd?: Array<string>;
|
|
130
130
|
/**
|
|
131
|
-
*
|
|
131
|
+
* <p>会话亲和性开关</p>
|
|
132
132
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
133
133
|
*/
|
|
134
134
|
SessionAffinity?: string;
|
|
135
135
|
/**
|
|
136
|
-
* Vpc
|
|
136
|
+
* <p>Vpc 配置参数</p>
|
|
137
137
|
*/
|
|
138
138
|
VpcConf?: VpcConf;
|
|
139
139
|
/**
|
|
140
|
-
*
|
|
140
|
+
* <p>存储配置信息</p>
|
|
141
141
|
*/
|
|
142
142
|
VolumesConf?: Array<VolumeConf>;
|
|
143
143
|
/**
|
|
144
|
-
*
|
|
144
|
+
* <p>关联镜像密钥</p>
|
|
145
145
|
*/
|
|
146
146
|
LinkImageRegistry?: string;
|
|
147
|
+
/**
|
|
148
|
+
* <p>公网访问配置</p>
|
|
149
|
+
*/
|
|
150
|
+
PublicNetConf?: PublicNetConf;
|
|
147
151
|
}
|
|
148
152
|
/**
|
|
149
153
|
* DescribeCloudRunProcessLog请求参数结构体
|
|
@@ -654,72 +658,49 @@ export interface DeployParam {
|
|
|
654
658
|
*/
|
|
655
659
|
export interface DiffConfigItem {
|
|
656
660
|
/**
|
|
657
|
-
*
|
|
658
|
-
MinNum 最小副本数
|
|
659
|
-
MaxNum 最大副本数
|
|
660
|
-
PolicyDetails 扩缩容策略
|
|
661
|
-
AccessTypes 访问类型
|
|
662
|
-
TimerScale 定时扩缩容
|
|
663
|
-
InternalAccess 内网访问
|
|
664
|
-
OperationMode 运行模式 noScale | condScale | alwaysScale | custom | manualScale
|
|
665
|
-
SessionAffinity 会话亲和性 open | close
|
|
666
|
-
CpuSpecs cpu 规格
|
|
667
|
-
MemSpecs mem规格
|
|
668
|
-
EnvParam 环境变量
|
|
669
|
-
LogPath 日志采集路径
|
|
670
|
-
Port 端口
|
|
671
|
-
Dockerfile dockerfile 文件名
|
|
672
|
-
BuildDir 目标目录
|
|
673
|
-
Tag 服务标签
|
|
674
|
-
LogType 日志类型 none | default | custom
|
|
675
|
-
LogSetId 日志集Id
|
|
676
|
-
LogTopicId 日志主题ID
|
|
677
|
-
LogParseType 日志解析类型 json | line
|
|
678
|
-
EntryPoint entrypoint 命令
|
|
679
|
-
Cmd cmd命令
|
|
680
|
-
VpcConf 网络信息
|
|
661
|
+
* <p>配置项 Key<br>MinNum 最小副本数<br>MaxNum 最大副本数<br>PolicyDetails 扩缩容策略<br>AccessTypes 访问类型<br>TimerScale 定时扩缩容<br>InternalAccess 内网访问<br>OperationMode 运行模式 noScale | condScale | alwaysScale | custom | manualScale<br>SessionAffinity 会话亲和性 open | close<br>CpuSpecs cpu 规格<br>MemSpecs mem规格<br>EnvParam 环境变量<br>LogPath 日志采集路径<br>Port 端口<br>Dockerfile dockerfile 文件名<br>BuildDir 目标目录<br>Tag 服务标签<br>LogType 日志类型 none | default | custom<br>LogSetId 日志集Id<br>LogTopicId 日志主题ID<br>LogParseType 日志解析类型 json | line<br>EntryPoint entrypoint 命令<br>Cmd cmd命令<br>VpcConf 网络信息</p>
|
|
681
662
|
*/
|
|
682
663
|
Key: string;
|
|
683
664
|
/**
|
|
684
|
-
*
|
|
685
|
-
InternalAccess、OperationMode、SessionAffinity、EnvParam、LogPath、Dockerfile、BuildDir、Tag、LogType、LogSetId、LogTopicId、LogParseType
|
|
665
|
+
* <p>字符串类型配置项值<br>InternalAccess、OperationMode、SessionAffinity、EnvParam、LogPath、Dockerfile、BuildDir、Tag、LogType、LogSetId、LogTopicId、LogParseType</p>
|
|
686
666
|
*/
|
|
687
667
|
Value?: string;
|
|
688
668
|
/**
|
|
689
|
-
* int
|
|
690
|
-
MinNum、MaxNum、Port
|
|
669
|
+
* <p>int 类型配置项值<br>MinNum、MaxNum、Port</p>
|
|
691
670
|
*/
|
|
692
671
|
IntValue?: number;
|
|
693
672
|
/**
|
|
694
|
-
* bool
|
|
673
|
+
* <p>bool 类型配置项值</p>
|
|
695
674
|
*/
|
|
696
675
|
BoolValue?: boolean;
|
|
697
676
|
/**
|
|
698
|
-
*
|
|
699
|
-
CpuSpecs、MemSpecs
|
|
677
|
+
* <p>浮点型配置项值<br>CpuSpecs、MemSpecs</p>
|
|
700
678
|
*/
|
|
701
679
|
FloatValue?: number;
|
|
702
680
|
/**
|
|
703
|
-
*
|
|
704
|
-
AccessTypes,EntryPoint,Cmd
|
|
681
|
+
* <p>字符串数组配置项值<br>AccessTypes,EntryPoint,Cmd</p>
|
|
705
682
|
*/
|
|
706
683
|
ArrayValue?: Array<string>;
|
|
707
684
|
/**
|
|
708
|
-
*
|
|
685
|
+
* <p>扩缩容策略配置项值</p>
|
|
709
686
|
*/
|
|
710
687
|
PolicyDetails?: Array<HpaPolicy>;
|
|
711
688
|
/**
|
|
712
|
-
*
|
|
689
|
+
* <p>定时扩缩容配置项值</p>
|
|
713
690
|
*/
|
|
714
691
|
TimerScale?: Array<TimerScale>;
|
|
715
692
|
/**
|
|
716
|
-
*
|
|
693
|
+
* <p>配置内网访问时网络信息</p>
|
|
717
694
|
*/
|
|
718
695
|
VpcConf?: VpcConf;
|
|
719
696
|
/**
|
|
720
|
-
*
|
|
697
|
+
* <p>存储配置信息</p>
|
|
721
698
|
*/
|
|
722
699
|
VolumesConf?: Array<VolumeConf>;
|
|
700
|
+
/**
|
|
701
|
+
* <p>公网访问配置</p>
|
|
702
|
+
*/
|
|
703
|
+
PublicNetConf?: PublicNetConf;
|
|
723
704
|
}
|
|
724
705
|
/**
|
|
725
706
|
* SubmitServerRollback返回参数结构体
|
|
@@ -998,6 +979,23 @@ export interface UpdateCloudRunServerRequest {
|
|
|
998
979
|
*/
|
|
999
980
|
Items?: Array<DiffConfigItem>;
|
|
1000
981
|
}
|
|
982
|
+
/**
|
|
983
|
+
* 删除版本时需要的简化信息
|
|
984
|
+
*/
|
|
985
|
+
export interface SimpleVersion {
|
|
986
|
+
/**
|
|
987
|
+
* 要删除版本的环境 Id
|
|
988
|
+
*/
|
|
989
|
+
EnvId: string;
|
|
990
|
+
/**
|
|
991
|
+
* 要删除版本的服务名
|
|
992
|
+
*/
|
|
993
|
+
ServerName: string;
|
|
994
|
+
/**
|
|
995
|
+
* 要删除版本的版本名
|
|
996
|
+
*/
|
|
997
|
+
VersionName: string;
|
|
998
|
+
}
|
|
1001
999
|
/**
|
|
1002
1000
|
* 云日志服务相关信息
|
|
1003
1001
|
*/
|
|
@@ -1256,21 +1254,13 @@ export interface LogObject {
|
|
|
1256
1254
|
PkgLogId?: string;
|
|
1257
1255
|
}
|
|
1258
1256
|
/**
|
|
1259
|
-
*
|
|
1257
|
+
* 公网访问配置
|
|
1260
1258
|
*/
|
|
1261
|
-
export interface
|
|
1262
|
-
/**
|
|
1263
|
-
* 要删除版本的环境 Id
|
|
1264
|
-
*/
|
|
1265
|
-
EnvId: string;
|
|
1259
|
+
export interface PublicNetConf {
|
|
1266
1260
|
/**
|
|
1267
|
-
*
|
|
1261
|
+
* <p>是否开启公网访问</p><p>枚举值:</p><ul><li>ENABLE: 开启公网访问</li><li>DISABLE: 关闭公网访问</li></ul>
|
|
1268
1262
|
*/
|
|
1269
|
-
|
|
1270
|
-
/**
|
|
1271
|
-
* 要删除版本的版本名
|
|
1272
|
-
*/
|
|
1273
|
-
VersionName: string;
|
|
1263
|
+
PublicNetStatus?: string;
|
|
1274
1264
|
}
|
|
1275
1265
|
/**
|
|
1276
1266
|
* 通用Key Value
|