tencentcloud-sdk-nodejs-tcbr 4.0.364 → 4.0.367

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/products.md CHANGED
@@ -13,7 +13,7 @@
13
13
  | ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 |
14
14
  | api | [云 API](https://cloud.tencent.com/document/product/1278) | 2022-06-07 06:00:45 |
15
15
  | apigateway | [API网关](https://cloud.tencent.com/document/product/628) | 2022-06-14 06:05:10 |
16
- | apm | [应用性能观测](https://cloud.tencent.com/document/product/1463) | 2022-06-20 06:02:33 |
16
+ | apm | [应用性能观测](https://cloud.tencent.com/document/product/1463) | 2022-06-21 06:01:15 |
17
17
  | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2022-06-02 06:02:22 |
18
18
  | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2022-06-20 06:02:44 |
19
19
  | asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2022-04-04 06:08:40 |
@@ -52,24 +52,24 @@
52
52
  | ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2022-05-31 06:07:03 |
53
53
  | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2022-05-11 06:06:40 |
54
54
  | cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2022-05-25 06:05:44 |
55
- | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2022-06-20 06:05:03 |
56
- | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2022-06-08 06:06:22 |
55
+ | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2022-06-22 06:04:38 |
56
+ | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2022-06-22 06:04:41 |
57
57
  | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2022-06-10 06:04:57 |
58
58
  | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2022-04-04 06:23:04 |
59
59
  | cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
60
- | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-06-20 06:05:27 |
60
+ | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-06-22 06:05:01 |
61
61
  | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
62
62
  | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-06-16 06:04:38 |
63
- | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-06-20 06:06:12 |
63
+ | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-06-21 06:05:20 |
64
64
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
65
65
  | cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-06-15 06:07:21 |
66
66
  | dasb | [堡垒机](https://cloud.tencent.com/document/product/1025) | 2022-06-01 20:56:43 |
67
67
  | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2022-04-04 06:33:41 |
68
- | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2022-04-25 06:05:43 |
68
+ | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2022-06-22 06:06:28 |
69
69
  | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2022-05-31 17:05:07 |
70
70
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2022-04-13 06:36:47 |
71
71
  | dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2022-05-31 06:09:47 |
72
- | dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-06-17 06:07:19 |
72
+ | dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-06-21 06:06:29 |
73
73
  | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2022-06-20 06:07:25 |
74
74
  | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2022-05-24 06:11:36 |
75
75
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2022-04-04 06:38:48 |
@@ -108,12 +108,12 @@
108
108
  | iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2022-05-27 06:10:42 |
109
109
  | iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2022-06-08 06:10:59 |
110
110
  | iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2022-04-04 06:49:46 |
111
- | iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2022-04-04 06:49:51 |
111
+ | iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2022-06-21 06:09:19 |
112
112
  | iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2022-04-04 06:51:27 |
113
113
  | ivld | [视频智能标签](https://cloud.tencent.com/document/product/1509) | 2022-06-10 17:14:46 |
114
- | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2022-06-01 06:12:55 |
114
+ | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2022-06-21 06:09:47 |
115
115
  | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-06-01 06:13:02 |
116
- | live | [云直播](https://cloud.tencent.com/document/product/267) | 2022-06-16 06:09:18 |
116
+ | live | [云直播](https://cloud.tencent.com/document/product/267) | 2022-06-22 06:10:05 |
117
117
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
118
118
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
119
119
  | mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2022-06-15 06:11:30 |
@@ -161,17 +161,17 @@
161
161
  | tan | [碳引擎](https://cloud.tencent.com/document/product/1498) | 2022-06-06 16:47:40 |
162
162
  | tat | [腾讯云自动化助手](https://cloud.tencent.com/document/product/1340) | 2022-04-08 06:12:44 |
163
163
  | tav | [文件检测](https://cloud.tencent.com/document/product) | 2019-11-28 22:10:04 |
164
- | tbaas | [TBaaS](https://cloud.tencent.com/document/product/663) | 2022-06-15 06:14:16 |
164
+ | tbaas | [TBaaS](https://cloud.tencent.com/document/product/663) | 2022-06-20 15:31:45 |
165
165
  | tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 |
166
166
  | tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2022-04-04 07:09:07 |
167
167
  | tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2022-04-08 06:12:54 |
168
168
  | tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2022-04-26 06:16:06 |
169
- | tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2022-06-16 14:56:04 |
169
+ | tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2022-06-22 06:13:21 |
170
170
  | tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-04-04 07:10:49 |
171
171
  | tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
172
172
  | tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2022-06-08 06:15:21 |
173
173
  | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2022-06-13 06:17:36 |
174
- | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2022-06-08 06:15:35 |
174
+ | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2022-06-21 06:13:45 |
175
175
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2022-04-04 07:15:36 |
176
176
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2022-04-04 07:15:50 |
177
177
  | tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2022-06-13 06:18:15 |
@@ -186,21 +186,21 @@
186
186
  | tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-06-15 06:15:49 |
187
187
  | tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2022-06-07 22:05:59 |
188
188
  | tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2022-05-17 06:17:19 |
189
- | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-06-16 06:14:09 |
189
+ | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-06-22 06:14:48 |
190
190
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
191
191
  | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2022-04-04 07:18:11 |
192
192
  | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2022-05-19 06:19:37 |
193
193
  | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2022-06-07 16:18:00 |
194
- | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-06-13 06:19:26 |
194
+ | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-06-21 06:15:46 |
195
195
  | tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2022-06-10 06:15:33 |
196
- | tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-05-20 06:20:03 |
196
+ | tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-06-21 06:15:54 |
197
197
  | tsw | [腾讯微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2022-04-04 07:22:40 |
198
198
  | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2022-06-07 06:15:49 |
199
199
  | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-04-04 07:22:44 |
200
200
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-06-17 06:16:09 |
201
201
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
202
- | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-06-17 06:16:12 |
203
- | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-06-15 06:17:25 |
202
+ | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-06-21 06:16:46 |
203
+ | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-06-22 06:16:12 |
204
204
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-05-12 06:19:46 |
205
205
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-04-04 07:39:05 |
206
206
  | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
@@ -18,23 +18,27 @@
18
18
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
19
19
  import {
20
20
  DescribeCloudRunServersResponse,
21
- HpaPolicy,
21
+ RepositoryInfo,
22
+ ReleaseGrayRequest,
22
23
  StorageInfo,
23
24
  DescribeEnvBaseInfoResponse,
24
25
  CreateCloudRunServerRequest,
25
26
  FunctionInfo,
26
27
  DescribeCloudRunEnvsResponse,
27
28
  DescribeCloudRunEnvsRequest,
29
+ ReleaseGrayResponse,
28
30
  DeployParam,
31
+ OperateServerManageRequest,
29
32
  StaticStorageInfo,
30
33
  UpdateCloudRunServerRequest,
31
34
  LogServiceInfo,
35
+ OperateServerManageResponse,
32
36
  DescribeCloudRunServerDetailRequest,
33
37
  DatabasesInfo,
34
38
  DescribeCloudRunServersRequest,
35
39
  ClsInfo,
36
40
  ServerBaseConfig,
37
- RepositoryInfo,
41
+ HpaPolicy,
38
42
  DescribeCloudRunServerDetailResponse,
39
43
  CreateCloudRunEnvResponse,
40
44
  EnvBaseInfo,
@@ -43,7 +47,9 @@ import {
43
47
  Tag,
44
48
  DescribeEnvBaseInfoRequest,
45
49
  CreateCloudRunServerResponse,
50
+ VersionFlowInfo,
46
51
  UpdateCloudRunServerResponse,
52
+ ObjectKV,
47
53
  BuildPacksInfo,
48
54
  CreateCloudRunEnvRequest,
49
55
  } from "./tcbr_models"
@@ -97,6 +103,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
97
103
  return this.request("DescribeCloudRunServers", req, cb)
98
104
  }
99
105
 
106
+ /**
107
+ * 灰度发布
108
+ */
109
+ async ReleaseGray(
110
+ req: ReleaseGrayRequest,
111
+ cb?: (error: string, rep: ReleaseGrayResponse) => void
112
+ ): Promise<ReleaseGrayResponse> {
113
+ return this.request("ReleaseGray", req, cb)
114
+ }
115
+
100
116
  /**
101
117
  * 创建云托管环境,并开通资源。
102
118
  */
@@ -117,6 +133,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
117
133
  return this.request("DescribeCloudRunEnvs", req, cb)
118
134
  }
119
135
 
136
+ /**
137
+ * 操作发布单
138
+ */
139
+ async OperateServerManage(
140
+ req: OperateServerManageRequest,
141
+ cb?: (error: string, rep: OperateServerManageResponse) => void
142
+ ): Promise<OperateServerManageResponse> {
143
+ return this.request("OperateServerManage", req, cb)
144
+ }
145
+
120
146
  /**
121
147
  * 查询云托管服务详情
122
148
  */
@@ -31,18 +31,63 @@ export interface DescribeCloudRunServersResponse {
31
31
  }
32
32
 
33
33
  /**
34
- * 扩缩容入参
34
+ * 代码仓库信息
35
35
  */
36
- export interface HpaPolicy {
36
+ export interface RepositoryInfo {
37
37
  /**
38
- * 扩缩容类型
38
+ * git source
39
39
  */
40
- PolicyType: string
40
+ Source: string
41
41
 
42
42
  /**
43
- * 扩缩容阈值
43
+ * 仓库名
44
44
  */
45
- PolicyThreshold: number
45
+ Repo: string
46
+
47
+ /**
48
+ * 分之名
49
+ */
50
+ Branch: string
51
+ }
52
+
53
+ /**
54
+ * ReleaseGray请求参数结构体
55
+ */
56
+ export interface ReleaseGrayRequest {
57
+ /**
58
+ * 环境Id
59
+ */
60
+ EnvId: string
61
+
62
+ /**
63
+ * 服务名
64
+ */
65
+ ServerName: string
66
+
67
+ /**
68
+ * 灰度类型
69
+ */
70
+ GrayType: string
71
+
72
+ /**
73
+ * 流量类型
74
+ */
75
+ TrafficType: string
76
+
77
+ /**
78
+ * 流量策略
79
+ */
80
+ VersionFlowItems?: Array<VersionFlowInfo>
81
+
82
+ /**
83
+ * 操作标识
84
+ */
85
+ OperatorRemark?: string
86
+
87
+ /**
88
+ * 流量比例
89
+ */
90
+ GrayFlowRatio?: number
46
91
  }
47
92
 
48
93
  /**
@@ -163,6 +208,16 @@ export interface DescribeCloudRunEnvsRequest {
163
208
  Channels?: Array<string>
164
209
  }
165
210
 
211
+ /**
212
+ * ReleaseGray返回参数结构体
213
+ */
214
+ export interface ReleaseGrayResponse {
215
+ /**
216
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
217
+ */
218
+ RequestId?: string
219
+ }
220
+
166
221
  /**
167
222
  * 部署参数
168
223
  */
@@ -208,6 +263,36 @@ export interface DeployParam {
208
263
  ReleaseType?: string
209
264
  }
210
265
 
266
+ /**
267
+ * OperateServerManage请求参数结构体
268
+ */
269
+ export interface OperateServerManageRequest {
270
+ /**
271
+ * 环境Id
272
+ */
273
+ EnvId: string
274
+
275
+ /**
276
+ * 服务名
277
+ */
278
+ ServerName: string
279
+
280
+ /**
281
+ * 任报Id
282
+ */
283
+ TaskId: number
284
+
285
+ /**
286
+ * 操作类型:cancel | go_back | done
287
+ */
288
+ OperateType: string
289
+
290
+ /**
291
+ * 操作标识
292
+ */
293
+ OperatorRemark?: string
294
+ }
295
+
211
296
  /**
212
297
  * 静态CDN资源信息
213
298
  */
@@ -293,6 +378,16 @@ export interface LogServiceInfo {
293
378
  Region: string
294
379
  }
295
380
 
381
+ /**
382
+ * OperateServerManage返回参数结构体
383
+ */
384
+ export interface OperateServerManageResponse {
385
+ /**
386
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
387
+ */
388
+ RequestId?: string
389
+ }
390
+
296
391
  /**
297
392
  * DescribeCloudRunServerDetail请求参数结构体
298
393
  */
@@ -474,23 +569,18 @@ export interface ServerBaseConfig {
474
569
  }
475
570
 
476
571
  /**
477
- * 代码仓库信息
572
+ * 扩缩容入参
478
573
  */
479
- export interface RepositoryInfo {
480
- /**
481
- * git source
482
- */
483
- Source: string
484
-
574
+ export interface HpaPolicy {
485
575
  /**
486
- * 仓库名
576
+ * 扩缩容类型
487
577
  */
488
- Repo: string
578
+ PolicyType: string
489
579
 
490
580
  /**
491
- * 分之名
581
+ * 扩缩容阈值
492
582
  */
493
- Branch: string
583
+ PolicyThreshold: number
494
584
  }
495
585
 
496
586
  /**
@@ -778,6 +868,36 @@ export interface CreateCloudRunServerResponse {
778
868
  RequestId?: string
779
869
  }
780
870
 
871
+ /**
872
+ * 版本流量信息
873
+ */
874
+ export interface VersionFlowInfo {
875
+ /**
876
+ * 版本名
877
+ */
878
+ VersionName: string
879
+
880
+ /**
881
+ * 是否默认版本
882
+ */
883
+ IsDefaultPriority: boolean
884
+
885
+ /**
886
+ * 流量比例
887
+ */
888
+ FlowRatio?: number
889
+
890
+ /**
891
+ * 测试KV值
892
+ */
893
+ UrlParam?: ObjectKV
894
+
895
+ /**
896
+ * 权重
897
+ */
898
+ Priority?: number
899
+ }
900
+
781
901
  /**
782
902
  * UpdateCloudRunServer返回参数结构体
783
903
  */
@@ -798,6 +918,21 @@ export interface UpdateCloudRunServerResponse {
798
918
  RequestId?: string
799
919
  }
800
920
 
921
+ /**
922
+ * 通用Key Value
923
+ */
924
+ export interface ObjectKV {
925
+ /**
926
+ * 键值对Key
927
+ */
928
+ Key: string
929
+
930
+ /**
931
+ * 键值对Value
932
+ */
933
+ Value: string
934
+ }
935
+
801
936
  /**
802
937
  * BuildPacks信息
803
938
  */
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { DescribeCloudRunServersResponse, DescribeEnvBaseInfoResponse, CreateCloudRunServerRequest, DescribeCloudRunEnvsResponse, DescribeCloudRunEnvsRequest, UpdateCloudRunServerRequest, DescribeCloudRunServerDetailRequest, DescribeCloudRunServersRequest, DescribeCloudRunServerDetailResponse, CreateCloudRunEnvResponse, DescribeEnvBaseInfoRequest, CreateCloudRunServerResponse, UpdateCloudRunServerResponse, CreateCloudRunEnvRequest } from "./tcbr_models";
2
+ import { DescribeCloudRunServersResponse, ReleaseGrayRequest, DescribeEnvBaseInfoResponse, CreateCloudRunServerRequest, DescribeCloudRunEnvsResponse, DescribeCloudRunEnvsRequest, ReleaseGrayResponse, OperateServerManageRequest, UpdateCloudRunServerRequest, OperateServerManageResponse, DescribeCloudRunServerDetailRequest, DescribeCloudRunServersRequest, DescribeCloudRunServerDetailResponse, CreateCloudRunEnvResponse, DescribeEnvBaseInfoRequest, CreateCloudRunServerResponse, UpdateCloudRunServerResponse, CreateCloudRunEnvRequest } from "./tcbr_models";
3
3
  /**
4
4
  * tcbr client
5
5
  * @class
@@ -22,6 +22,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
22
22
  * 查询云托管服务列表接口
23
23
  */
24
24
  DescribeCloudRunServers(req: DescribeCloudRunServersRequest, cb?: (error: string, rep: DescribeCloudRunServersResponse) => void): Promise<DescribeCloudRunServersResponse>;
25
+ /**
26
+ * 灰度发布
27
+ */
28
+ ReleaseGray(req: ReleaseGrayRequest, cb?: (error: string, rep: ReleaseGrayResponse) => void): Promise<ReleaseGrayResponse>;
25
29
  /**
26
30
  * 创建云托管环境,并开通资源。
27
31
  */
@@ -30,6 +34,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
30
34
  * 获取环境列表,含环境下的各个资源信息。尤其是各资源的唯一标识,是请求各资源的关键参数
31
35
  */
32
36
  DescribeCloudRunEnvs(req: DescribeCloudRunEnvsRequest, cb?: (error: string, rep: DescribeCloudRunEnvsResponse) => void): Promise<DescribeCloudRunEnvsResponse>;
37
+ /**
38
+ * 操作发布单
39
+ */
40
+ OperateServerManage(req: OperateServerManageRequest, cb?: (error: string, rep: OperateServerManageResponse) => void): Promise<OperateServerManageResponse>;
33
41
  /**
34
42
  * 查询云托管服务详情
35
43
  */
@@ -51,6 +51,12 @@ class Client extends TencentCloudCommon.AbstractClient {
51
51
  async DescribeCloudRunServers(req, cb) {
52
52
  return this.request("DescribeCloudRunServers", req, cb);
53
53
  }
54
+ /**
55
+ * 灰度发布
56
+ */
57
+ async ReleaseGray(req, cb) {
58
+ return this.request("ReleaseGray", req, cb);
59
+ }
54
60
  /**
55
61
  * 创建云托管环境,并开通资源。
56
62
  */
@@ -63,6 +69,12 @@ class Client extends TencentCloudCommon.AbstractClient {
63
69
  async DescribeCloudRunEnvs(req, cb) {
64
70
  return this.request("DescribeCloudRunEnvs", req, cb);
65
71
  }
72
+ /**
73
+ * 操作发布单
74
+ */
75
+ async OperateServerManage(req, cb) {
76
+ return this.request("OperateServerManage", req, cb);
77
+ }
66
78
  /**
67
79
  * 查询云托管服务详情
68
80
  */
@@ -12,17 +12,54 @@ export interface DescribeCloudRunServersResponse {
12
12
  RequestId?: string;
13
13
  }
14
14
  /**
15
- * 扩缩容入参
15
+ * 代码仓库信息
16
16
  */
17
- export interface HpaPolicy {
17
+ export interface RepositoryInfo {
18
18
  /**
19
- * 扩缩容类型
19
+ * git source
20
20
  */
21
- PolicyType: string;
21
+ Source: string;
22
22
  /**
23
- * 扩缩容阈值
23
+ * 仓库名
24
24
  */
25
- PolicyThreshold: number;
25
+ Repo: string;
26
+ /**
27
+ * 分之名
28
+ */
29
+ Branch: string;
30
+ }
31
+ /**
32
+ * ReleaseGray请求参数结构体
33
+ */
34
+ export interface ReleaseGrayRequest {
35
+ /**
36
+ * 环境Id
37
+ */
38
+ EnvId: string;
39
+ /**
40
+ * 服务名
41
+ */
42
+ ServerName: string;
43
+ /**
44
+ * 灰度类型
45
+ */
46
+ GrayType: string;
47
+ /**
48
+ * 流量类型
49
+ */
50
+ TrafficType: string;
51
+ /**
52
+ * 流量策略
53
+ */
54
+ VersionFlowItems?: Array<VersionFlowInfo>;
55
+ /**
56
+ * 操作标识
57
+ */
58
+ OperatorRemark?: string;
59
+ /**
60
+ * 流量比例
61
+ */
62
+ GrayFlowRatio?: number;
26
63
  }
27
64
  /**
28
65
  * StorageInfo 资源信息
@@ -125,6 +162,15 @@ export interface DescribeCloudRunEnvsRequest {
125
162
  */
126
163
  Channels?: Array<string>;
127
164
  }
165
+ /**
166
+ * ReleaseGray返回参数结构体
167
+ */
168
+ export interface ReleaseGrayResponse {
169
+ /**
170
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
171
+ */
172
+ RequestId?: string;
173
+ }
128
174
  /**
129
175
  * 部署参数
130
176
  */
@@ -162,6 +208,31 @@ export interface DeployParam {
162
208
  */
163
209
  ReleaseType?: string;
164
210
  }
211
+ /**
212
+ * OperateServerManage请求参数结构体
213
+ */
214
+ export interface OperateServerManageRequest {
215
+ /**
216
+ * 环境Id
217
+ */
218
+ EnvId: string;
219
+ /**
220
+ * 服务名
221
+ */
222
+ ServerName: string;
223
+ /**
224
+ * 任报Id
225
+ */
226
+ TaskId: number;
227
+ /**
228
+ * 操作类型:cancel | go_back | done
229
+ */
230
+ OperateType: string;
231
+ /**
232
+ * 操作标识
233
+ */
234
+ OperatorRemark?: string;
235
+ }
165
236
  /**
166
237
  * 静态CDN资源信息
167
238
  */
@@ -233,6 +304,15 @@ export interface LogServiceInfo {
233
304
  */
234
305
  Region: string;
235
306
  }
307
+ /**
308
+ * OperateServerManage返回参数结构体
309
+ */
310
+ export interface OperateServerManageResponse {
311
+ /**
312
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
313
+ */
314
+ RequestId?: string;
315
+ }
236
316
  /**
237
317
  * DescribeCloudRunServerDetail请求参数结构体
238
318
  */
@@ -384,21 +464,17 @@ export interface ServerBaseConfig {
384
464
  LogParseType?: string;
385
465
  }
386
466
  /**
387
- * 代码仓库信息
467
+ * 扩缩容入参
388
468
  */
389
- export interface RepositoryInfo {
390
- /**
391
- * git source
392
- */
393
- Source: string;
469
+ export interface HpaPolicy {
394
470
  /**
395
- * 仓库名
471
+ * 扩缩容类型
396
472
  */
397
- Repo: string;
473
+ PolicyType: string;
398
474
  /**
399
- * 分之名
475
+ * 扩缩容阈值
400
476
  */
401
- Branch: string;
477
+ PolicyThreshold: number;
402
478
  }
403
479
  /**
404
480
  * DescribeCloudRunServerDetail返回参数结构体
@@ -640,6 +716,31 @@ export interface CreateCloudRunServerResponse {
640
716
  */
641
717
  RequestId?: string;
642
718
  }
719
+ /**
720
+ * 版本流量信息
721
+ */
722
+ export interface VersionFlowInfo {
723
+ /**
724
+ * 版本名
725
+ */
726
+ VersionName: string;
727
+ /**
728
+ * 是否默认版本
729
+ */
730
+ IsDefaultPriority: boolean;
731
+ /**
732
+ * 流量比例
733
+ */
734
+ FlowRatio?: number;
735
+ /**
736
+ * 测试KV值
737
+ */
738
+ UrlParam?: ObjectKV;
739
+ /**
740
+ * 权重
741
+ */
742
+ Priority?: number;
743
+ }
643
744
  /**
644
745
  * UpdateCloudRunServer返回参数结构体
645
746
  */
@@ -657,6 +758,19 @@ export interface UpdateCloudRunServerResponse {
657
758
  */
658
759
  RequestId?: string;
659
760
  }
761
+ /**
762
+ * 通用Key Value
763
+ */
764
+ export interface ObjectKV {
765
+ /**
766
+ * 键值对Key
767
+ */
768
+ Key: string;
769
+ /**
770
+ * 键值对Value
771
+ */
772
+ Value: string;
773
+ }
660
774
  /**
661
775
  * BuildPacks信息
662
776
  */