tencentcloud-sdk-nodejs 4.0.991 → 4.0.993
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/CHANGELOG.md +311 -0
- package/SERVICE_CHANGELOG.md +461 -16
- package/package.json +1 -1
- package/products.md +25 -25
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +4 -2
- package/src/services/cwp/v20180228/cwp_client.ts +90 -16
- package/src/services/cwp/v20180228/cwp_models.ts +534 -290
- package/src/services/ess/v20201111/ess_models.ts +4 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +20 -7
- package/src/services/faceid/v20180301/faceid_models.ts +10 -0
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +4 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +31 -3
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +88 -0
- package/src/services/iotvideo/v20211125/iotvideo_client.ts +28 -4
- package/src/services/iotvideo/v20211125/iotvideo_models.ts +169 -81
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +26 -22
- package/src/services/lke/v20231130/lke_models.ts +2 -2
- package/src/services/memcached/v20190318/memcached_models.ts +0 -3
- package/src/services/ocr/v20181119/ocr_client.ts +4 -2
- package/src/services/ocr/v20181119/ocr_models.ts +1 -1
- package/src/services/ssl/v20191205/ssl_models.ts +7 -3
- package/src/services/tcbr/v20220217/tcbr_models.ts +21 -42
- package/src/services/trocket/v20230308/trocket_models.ts +8 -0
- package/src/services/tsf/v20180326/tsf_client.ts +2 -2
- package/src/services/tsf/v20180326/tsf_models.ts +392 -368
- package/src/services/vpc/v20170312/vpc_models.ts +8 -0
- package/src/services/wedata/v20210820/wedata_client.ts +1 -0
- package/src/services/wedata/v20210820/wedata_models.ts +40 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4 -2
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +27 -3
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +39 -3
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +521 -291
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +4 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +20 -7
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +10 -0
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +4 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +15 -3
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +18 -2
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +84 -0
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_client.d.ts +9 -1
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_client.js +12 -0
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +165 -81
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +26 -22
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +2 -2
- package/tencentcloud/services/memcached/v20190318/memcached_models.d.ts +0 -3
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +2 -0
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +2 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +1 -1
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +7 -3
- package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +21 -42
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +8 -0
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +2 -2
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +2 -2
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +392 -368
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +8 -0
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +39 -0
- package/test/cwp.v20180228.test.js +62 -2
- package/test/iotexplorer.v20190423.test.js +20 -0
- package/test/iotvideo.v20211125.test.js +20 -0
|
@@ -468,12 +468,10 @@ export interface DescribeServerManageTaskRequest {
|
|
|
468
468
|
export interface HpaPolicy {
|
|
469
469
|
/**
|
|
470
470
|
* 扩缩容类型
|
|
471
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
472
471
|
*/
|
|
473
472
|
PolicyType: string;
|
|
474
473
|
/**
|
|
475
474
|
* 扩缩容阈值
|
|
476
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
477
475
|
*/
|
|
478
476
|
PolicyThreshold: number;
|
|
479
477
|
}
|
|
@@ -483,17 +481,14 @@ export interface HpaPolicy {
|
|
|
483
481
|
export interface OnlineVersionInfo {
|
|
484
482
|
/**
|
|
485
483
|
* 版本名
|
|
486
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
487
484
|
*/
|
|
488
485
|
VersionName?: string;
|
|
489
486
|
/**
|
|
490
487
|
* 镜像url
|
|
491
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
492
488
|
*/
|
|
493
489
|
ImageUrl?: string;
|
|
494
490
|
/**
|
|
495
491
|
* 流量
|
|
496
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
497
492
|
*/
|
|
498
493
|
FlowRatio?: string;
|
|
499
494
|
}
|
|
@@ -583,7 +578,6 @@ export interface ServerBaseConfig {
|
|
|
583
578
|
LogParseType?: string;
|
|
584
579
|
/**
|
|
585
580
|
* 服务标签, function: 函数托管
|
|
586
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
587
581
|
*/
|
|
588
582
|
Tag?: string;
|
|
589
583
|
}
|
|
@@ -593,17 +587,14 @@ export interface ServerBaseConfig {
|
|
|
593
587
|
export interface DescribeCloudRunServerDetailResponse {
|
|
594
588
|
/**
|
|
595
589
|
* 服务基本信息
|
|
596
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
597
590
|
*/
|
|
598
591
|
BaseInfo?: ServerBaseInfo;
|
|
599
592
|
/**
|
|
600
593
|
* 服务配置信息
|
|
601
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
602
594
|
*/
|
|
603
595
|
ServerConfig?: ServerBaseConfig;
|
|
604
596
|
/**
|
|
605
597
|
* 在线版本信息
|
|
606
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
607
598
|
*/
|
|
608
599
|
OnlineVersionInfos?: Array<OnlineVersionInfo>;
|
|
609
600
|
/**
|
|
@@ -709,105 +700,93 @@ export interface EnvInfo {
|
|
|
709
700
|
/**
|
|
710
701
|
* 账户下该环境唯一标识
|
|
711
702
|
*/
|
|
712
|
-
EnvId
|
|
703
|
+
EnvId?: string;
|
|
713
704
|
/**
|
|
714
705
|
* 环境来源。包含以下取值:
|
|
715
706
|
<li>miniapp:微信小程序</li>
|
|
716
707
|
<li>qcloud :腾讯云</li>
|
|
717
708
|
*/
|
|
718
|
-
Source
|
|
709
|
+
Source?: string;
|
|
719
710
|
/**
|
|
720
711
|
* 环境别名,要以a-z开头,不能包含 a-zA-z0-9- 以外的字符
|
|
721
712
|
*/
|
|
722
|
-
Alias
|
|
713
|
+
Alias?: string;
|
|
723
714
|
/**
|
|
724
715
|
* 创建时间
|
|
725
716
|
*/
|
|
726
|
-
CreateTime
|
|
717
|
+
CreateTime?: string;
|
|
727
718
|
/**
|
|
728
719
|
* 最后修改时间
|
|
729
720
|
*/
|
|
730
|
-
UpdateTime
|
|
721
|
+
UpdateTime?: string;
|
|
731
722
|
/**
|
|
732
723
|
* 环境状态。包含以下取值:
|
|
733
724
|
<li>NORMAL:正常可用</li>
|
|
734
725
|
<li>UNAVAILABLE:服务不可用,可能是尚未初始化或者初始化过程中</li>
|
|
735
726
|
*/
|
|
736
|
-
Status
|
|
727
|
+
Status?: string;
|
|
737
728
|
/**
|
|
738
729
|
* 是否到期自动降为免费版
|
|
739
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
740
730
|
*/
|
|
741
|
-
IsAutoDegrade
|
|
731
|
+
IsAutoDegrade?: boolean;
|
|
742
732
|
/**
|
|
743
733
|
* 环境渠道
|
|
744
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
745
734
|
*/
|
|
746
|
-
EnvChannel
|
|
735
|
+
EnvChannel?: string;
|
|
747
736
|
/**
|
|
748
737
|
* 支付方式。包含以下取值:
|
|
749
738
|
<li> prepayment:预付费</li>
|
|
750
739
|
<li> postpaid:后付费</li>
|
|
751
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
752
740
|
*/
|
|
753
|
-
PayMode
|
|
741
|
+
PayMode?: string;
|
|
754
742
|
/**
|
|
755
743
|
* 是否为默认环境
|
|
756
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
757
744
|
*/
|
|
758
|
-
IsDefault
|
|
745
|
+
IsDefault?: boolean;
|
|
759
746
|
/**
|
|
760
747
|
* 环境所属地域
|
|
761
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
762
748
|
*/
|
|
763
|
-
Region
|
|
749
|
+
Region?: string;
|
|
764
750
|
/**
|
|
765
751
|
* 环境类型:baas, run, hosting, weda,tcbr
|
|
766
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
767
752
|
*/
|
|
768
|
-
EnvType
|
|
753
|
+
EnvType?: string;
|
|
769
754
|
/**
|
|
770
755
|
* 数据库列表
|
|
771
756
|
*/
|
|
772
|
-
Databases
|
|
757
|
+
Databases?: Array<DatabasesInfo>;
|
|
773
758
|
/**
|
|
774
759
|
* 存储列表
|
|
775
760
|
*/
|
|
776
|
-
Storages
|
|
761
|
+
Storages?: Array<StorageInfo>;
|
|
777
762
|
/**
|
|
778
763
|
* 函数列表
|
|
779
764
|
*/
|
|
780
|
-
Functions
|
|
765
|
+
Functions?: Array<FunctionInfo>;
|
|
781
766
|
/**
|
|
782
767
|
* 云日志服务列表
|
|
783
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
784
768
|
*/
|
|
785
|
-
LogServices
|
|
769
|
+
LogServices?: Array<LogServiceInfo>;
|
|
786
770
|
/**
|
|
787
771
|
* 静态资源信息
|
|
788
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
789
772
|
*/
|
|
790
|
-
StaticStorages
|
|
773
|
+
StaticStorages?: Array<StaticStorageInfo>;
|
|
791
774
|
/**
|
|
792
775
|
* 环境标签列表
|
|
793
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
794
776
|
*/
|
|
795
|
-
Tags
|
|
777
|
+
Tags?: Array<Tag>;
|
|
796
778
|
/**
|
|
797
779
|
* 自定义日志服务
|
|
798
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
799
780
|
*/
|
|
800
|
-
CustomLogServices
|
|
781
|
+
CustomLogServices?: Array<ClsInfo>;
|
|
801
782
|
/**
|
|
802
783
|
* tcb产品套餐ID,参考DescribePackages接口的返回值。
|
|
803
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
804
784
|
*/
|
|
805
|
-
PackageId
|
|
785
|
+
PackageId?: string;
|
|
806
786
|
/**
|
|
807
787
|
* 套餐中文名称,参考DescribePackages接口的返回值。
|
|
808
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
809
788
|
*/
|
|
810
|
-
PackageName
|
|
789
|
+
PackageName?: string;
|
|
811
790
|
}
|
|
812
791
|
/**
|
|
813
792
|
* 标签键值对
|
|
@@ -2112,6 +2112,10 @@ export interface CreateInstanceRequest {
|
|
|
2112
2112
|
* 最大可创建主题数
|
|
2113
2113
|
*/
|
|
2114
2114
|
MaxTopicNum?: number;
|
|
2115
|
+
/**
|
|
2116
|
+
* 部署可用区列表
|
|
2117
|
+
*/
|
|
2118
|
+
ZoneIds?: Array<number | bigint>;
|
|
2115
2119
|
}
|
|
2116
2120
|
/**
|
|
2117
2121
|
* DescribeConsumerGroup返回参数结构体
|
|
@@ -2419,6 +2423,10 @@ export interface DescribeInstanceResponse {
|
|
|
2419
2423
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2420
2424
|
*/
|
|
2421
2425
|
TopicNumUpperLimit?: number;
|
|
2426
|
+
/**
|
|
2427
|
+
* 可用区列表
|
|
2428
|
+
*/
|
|
2429
|
+
ZoneIds?: Array<number | bigint>;
|
|
2422
2430
|
/**
|
|
2423
2431
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2424
2432
|
*/
|
|
@@ -112,7 +112,7 @@ export declare class Client extends AbstractClient {
|
|
|
112
112
|
*/
|
|
113
113
|
ModifyCluster(req: ModifyClusterRequest, cb?: (error: string, rep: ModifyClusterResponse) => void): Promise<ModifyClusterResponse>;
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* 容器部署组详情(已废弃,请使用 DescribeContainerGroupDeployInfo)
|
|
116
116
|
*/
|
|
117
117
|
DescribeContainerGroupDetail(req: DescribeContainerGroupDetailRequest, cb?: (error: string, rep: DescribeContainerGroupDetailResponse) => void): Promise<DescribeContainerGroupDetailResponse>;
|
|
118
118
|
/**
|
|
@@ -193,7 +193,7 @@ COS相关文档请查阅:https://cloud.tencent.com/document/product/436
|
|
|
193
193
|
*/
|
|
194
194
|
CreatePathRewritesWithDetailResp(req: CreatePathRewritesWithDetailRespRequest, cb?: (error: string, rep: CreatePathRewritesWithDetailRespResponse) => void): Promise<CreatePathRewritesWithDetailRespResponse>;
|
|
195
195
|
/**
|
|
196
|
-
*
|
|
196
|
+
* 获取部署组详情
|
|
197
197
|
*/
|
|
198
198
|
DescribeContainerGroupDeployInfo(req: DescribeContainerGroupDeployInfoRequest, cb?: (error: string, rep: DescribeContainerGroupDeployInfoResponse) => void): Promise<DescribeContainerGroupDeployInfoResponse>;
|
|
199
199
|
/**
|
|
@@ -184,7 +184,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
184
184
|
return this.request("ModifyCluster", req, cb);
|
|
185
185
|
}
|
|
186
186
|
/**
|
|
187
|
-
*
|
|
187
|
+
* 容器部署组详情(已废弃,请使用 DescribeContainerGroupDeployInfo)
|
|
188
188
|
*/
|
|
189
189
|
async DescribeContainerGroupDetail(req, cb) {
|
|
190
190
|
return this.request("DescribeContainerGroupDetail", req, cb);
|
|
@@ -305,7 +305,7 @@ COS相关文档请查阅:https://cloud.tencent.com/document/product/436
|
|
|
305
305
|
return this.request("CreatePathRewritesWithDetailResp", req, cb);
|
|
306
306
|
}
|
|
307
307
|
/**
|
|
308
|
-
*
|
|
308
|
+
* 获取部署组详情
|
|
309
309
|
*/
|
|
310
310
|
async DescribeContainerGroupDeployInfo(req, cb) {
|
|
311
311
|
return this.request("DescribeContainerGroupDeployInfo", req, cb);
|