tencentcloud-sdk-nodejs-tcbr 4.1.108 → 4.1.116

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-tcbr",
3
- "version": "4.1.108",
3
+ "version": "4.1.116",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -15,6 +15,132 @@ export interface DescribeCloudRunServersResponse {
15
15
  */
16
16
  RequestId?: string;
17
17
  }
18
+ /**
19
+ * 服务基础配置信息
20
+ */
21
+ export interface ServerBaseConfig {
22
+ /**
23
+ * 环境 Id
24
+ */
25
+ EnvId: string;
26
+ /**
27
+ * 服务名
28
+ */
29
+ ServerName: string;
30
+ /**
31
+ * 是否开启公网访问
32
+ */
33
+ OpenAccessTypes: Array<string>;
34
+ /**
35
+ * Cpu 规格
36
+ */
37
+ Cpu: number;
38
+ /**
39
+ * Mem 规格
40
+ */
41
+ Mem: number;
42
+ /**
43
+ * 最小副本数
44
+ */
45
+ MinNum: number;
46
+ /**
47
+ * 最大副本数
48
+ */
49
+ MaxNum: number;
50
+ /**
51
+ * 扩缩容配置
52
+ */
53
+ PolicyDetails: Array<HpaPolicy>;
54
+ /**
55
+ * 日志采集路径
56
+ */
57
+ CustomLogs: string;
58
+ /**
59
+ * 环境变量
60
+ */
61
+ EnvParams: string;
62
+ /**
63
+ * 延迟检测时间
64
+ */
65
+ InitialDelaySeconds: number;
66
+ /**
67
+ * 创建时间
68
+ */
69
+ CreateTime: string;
70
+ /**
71
+ * 服务端口
72
+ */
73
+ Port: number;
74
+ /**
75
+ * 是否有Dockerfile
76
+ */
77
+ HasDockerfile: boolean;
78
+ /**
79
+ * Dockerfile 文件名
80
+ */
81
+ Dockerfile: string;
82
+ /**
83
+ * 构建目录
84
+ */
85
+ BuildDir: string;
86
+ /**
87
+ * 日志类型: none | default | custom
88
+ */
89
+ LogType?: string;
90
+ /**
91
+ * cls setId
92
+ */
93
+ LogSetId?: string;
94
+ /**
95
+ * cls 主题id
96
+ */
97
+ LogTopicId?: string;
98
+ /**
99
+ * 解析类型:json | line
100
+ */
101
+ LogParseType?: string;
102
+ /**
103
+ * 服务标签, function: 函数托管
104
+ */
105
+ Tag?: string;
106
+ /**
107
+ * 内网访问开关 close | open
108
+ */
109
+ InternalAccess?: string;
110
+ /**
111
+ * 内网域名
112
+ */
113
+ InternalDomain?: string;
114
+ /**
115
+ * 运行模式
116
+ */
117
+ OperationMode?: string;
118
+ /**
119
+ * 定时扩缩容配置
120
+ */
121
+ TimerScale?: Array<TimerScale>;
122
+ /**
123
+ * Dockerfile EntryPoint 参数
124
+ */
125
+ EntryPoint?: Array<string>;
126
+ /**
127
+ * Dockerfile Cmd 参数
128
+ */
129
+ Cmd?: Array<string>;
130
+ /**
131
+ * 会话亲和性开关
132
+ 注意:此字段可能返回 null,表示取不到有效值。
133
+ */
134
+ SessionAffinity?: string;
135
+ /**
136
+ * Vpc 配置参数
137
+ */
138
+ VpcConf?: VpcConf;
139
+ /**
140
+ * 存储配置信息
141
+ */
142
+ VolumesConf?: Array<VolumeConf>;
143
+ }
18
144
  /**
19
145
  * 代码仓库信息
20
146
  */
@@ -128,20 +254,27 @@ export interface CreateCloudRunServerRequest {
128
254
  * 服务配置信息
129
255
  */
130
256
  Items?: Array<DiffConfigItem>;
257
+ /**
258
+ * vpc 信息
259
+ */
260
+ VpcInfo?: CreateVpcInfo;
131
261
  }
132
262
  /**
133
- * 函数的信息
263
+ * 创建 vpc 信息
134
264
  */
135
- export interface FunctionInfo {
265
+ export interface CreateVpcInfo {
136
266
  /**
137
- * 命名空间
267
+ * vpc id
138
268
  */
139
- Namespace: string;
269
+ VpcId: string;
140
270
  /**
141
- * 所属地域。
142
- 当前支持ap-shanghai
271
+ * 1 新建 2 指定
143
272
  */
144
- Region: string;
273
+ CreateType: number;
274
+ /**
275
+ * 子网ID列表
276
+ */
277
+ SubnetIds?: Array<string>;
145
278
  }
146
279
  /**
147
280
  * DescribeServerManageTask返回参数结构体
@@ -544,6 +677,10 @@ export interface DescribeCloudRunServersRequest {
544
677
  * 服务类型:function | container
545
678
  */
546
679
  ServerType?: string;
680
+ /**
681
+ * vpcId
682
+ */
683
+ VpcId?: string;
547
684
  }
548
685
  /**
549
686
  * cls日志信息
@@ -618,130 +755,18 @@ export interface OnlineVersionInfo {
618
755
  FlowRatio?: string;
619
756
  }
620
757
  /**
621
- * 服务基础配置信息
758
+ * 函数的信息
622
759
  */
623
- export interface ServerBaseConfig {
624
- /**
625
- * 环境 Id
626
- */
627
- EnvId: string;
628
- /**
629
- * 服务名
630
- */
631
- ServerName: string;
632
- /**
633
- * 是否开启公网访问
634
- */
635
- OpenAccessTypes: Array<string>;
636
- /**
637
- * Cpu 规格
638
- */
639
- Cpu: number;
640
- /**
641
- * Mem 规格
642
- */
643
- Mem: number;
644
- /**
645
- * 最小副本数
646
- */
647
- MinNum: number;
648
- /**
649
- * 最大副本数
650
- */
651
- MaxNum: number;
652
- /**
653
- * 扩缩容配置
654
- */
655
- PolicyDetails: Array<HpaPolicy>;
656
- /**
657
- * 日志采集路径
658
- */
659
- CustomLogs: string;
660
- /**
661
- * 环境变量
662
- */
663
- EnvParams: string;
664
- /**
665
- * 延迟检测时间
666
- */
667
- InitialDelaySeconds: number;
668
- /**
669
- * 创建时间
670
- */
671
- CreateTime: string;
672
- /**
673
- * 服务端口
674
- */
675
- Port: number;
676
- /**
677
- * 是否有Dockerfile
678
- */
679
- HasDockerfile: boolean;
680
- /**
681
- * Dockerfile 文件名
682
- */
683
- Dockerfile: string;
684
- /**
685
- * 构建目录
686
- */
687
- BuildDir: string;
688
- /**
689
- * 日志类型: none | default | custom
690
- */
691
- LogType?: string;
692
- /**
693
- * cls setId
694
- */
695
- LogSetId?: string;
696
- /**
697
- * cls 主题id
698
- */
699
- LogTopicId?: string;
700
- /**
701
- * 解析类型:json | line
702
- */
703
- LogParseType?: string;
704
- /**
705
- * 服务标签, function: 函数托管
706
- */
707
- Tag?: string;
708
- /**
709
- * 内网访问开关 close | open
710
- */
711
- InternalAccess?: string;
712
- /**
713
- * 内网域名
714
- */
715
- InternalDomain?: string;
716
- /**
717
- * 运行模式
718
- */
719
- OperationMode?: string;
720
- /**
721
- * 定时扩缩容配置
722
- */
723
- TimerScale?: Array<TimerScale>;
724
- /**
725
- * Dockerfile EntryPoint 参数
726
- */
727
- EntryPoint?: Array<string>;
728
- /**
729
- * Dockerfile Cmd 参数
730
- */
731
- Cmd?: Array<string>;
732
- /**
733
- * 会话亲和性开关
734
- 注意:此字段可能返回 null,表示取不到有效值。
735
- */
736
- SessionAffinity?: string;
760
+ export interface FunctionInfo {
737
761
  /**
738
- * Vpc 配置参数
762
+ * 命名空间
739
763
  */
740
- VpcConf?: VpcConf;
764
+ Namespace: string;
741
765
  /**
742
- * 存储配置信息
766
+ * 所属地域。
767
+ 当前支持ap-shanghai
743
768
  */
744
- VolumesConf?: Array<VolumeConf>;
769
+ Region: string;
745
770
  }
746
771
  /**
747
772
  * DescribeCloudRunServerDetail返回参数结构体