tencentcloud-sdk-nodejs-tcbr 4.0.365 → 4.0.368

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.
@@ -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
  */