tencentcloud-sdk-nodejs 4.0.232 → 4.0.236
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 +436 -64
- package/package.json +1 -1
- package/products.md +154 -153
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_client.ts +60 -17
- package/src/services/apigateway/v20180808/apigateway_models.ts +420 -70
- package/src/services/as/v20180419/as_client.ts +0 -12
- package/src/services/as/v20180419/as_models.ts +0 -75
- package/src/services/cdb/v20170320/cdb_client.ts +37 -12
- package/src/services/cdb/v20170320/cdb_models.ts +163 -68
- package/src/services/clb/v20180317/clb_client.ts +14 -1
- package/src/services/clb/v20180317/clb_models.ts +54 -19
- package/src/services/cme/v20191029/cme_models.ts +1 -1
- package/src/services/cpdp/v20190820/cpdp_client.ts +39 -14
- package/src/services/cpdp/v20190820/cpdp_models.ts +774 -637
- package/src/services/cvm/v20170312/cvm_client.ts +1 -0
- package/src/services/cvm/v20170312/cvm_models.ts +14 -11
- package/src/services/ecm/v20190719/ecm_models.ts +12 -1
- package/src/services/ie/v20200304/ie_models.ts +1 -1
- package/src/services/index.ts +1 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +46 -9
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +252 -61
- package/src/services/iotvideo/v20201215/iotvideo_models.ts +6 -1
- package/src/services/live/v20180801/live_client.ts +1 -1
- package/src/services/monitor/v20180724/monitor_models.ts +1 -1
- package/src/services/mrs/v20200910/mrs_models.ts +2 -2
- package/src/services/oceanus/v20190422/oceanus_models.ts +15 -5
- package/src/services/ocr/v20181119/ocr_client.ts +13 -0
- package/src/services/ocr/v20181119/ocr_models.ts +203 -27
- package/src/services/postgres/v20170312/postgres_models.ts +14 -11
- package/src/services/sms/v20210111/sms_client.ts +1 -1
- package/src/services/sms/v20210111/sms_models.ts +8 -6
- package/src/services/tcb/v20180608/tcb_client.ts +18 -6
- package/src/services/tcb/v20180608/tcb_models.ts +93 -1
- package/src/services/tcm/index.ts +5 -0
- package/src/services/tcm/v20210413/index.ts +6 -0
- package/src/services/tcm/v20210413/tcm_client.ts +88 -0
- package/src/services/tcm/v20210413/tcm_models.ts +891 -0
- package/src/services/tiia/v20190529/tiia_client.ts +1 -0
- package/src/services/tiia/v20190529/tiia_models.ts +29 -0
- package/src/services/tiw/v20190919/tiw_models.ts +3 -2
- package/src/services/trtc/v20190722/trtc_client.ts +1 -1
- package/src/services/trtc/v20190722/trtc_models.ts +6 -6
- package/src/services/tsf/v20180326/tsf_models.ts +146 -16
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +17 -5
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +24 -6
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +354 -60
- package/tencentcloud/services/as/v20180419/as_client.d.ts +1 -5
- package/tencentcloud/services/as/v20180419/as_client.js +0 -6
- package/tencentcloud/services/as/v20180419/as_models.d.ts +0 -62
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +11 -3
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +15 -3
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +141 -61
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +5 -1
- package/tencentcloud/services/clb/v20180317/clb_client.js +6 -0
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +47 -16
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +1 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +9 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +12 -0
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +569 -451
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -0
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +9 -6
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +10 -1
- package/tencentcloud/services/ie/v20200304/ie_models.d.ts +1 -1
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +15 -3
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +21 -3
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +214 -54
- package/tencentcloud/services/iotvideo/v20201215/iotvideo_models.d.ts +5 -1
- package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
- package/tencentcloud/services/live/v20180801/live_client.js +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +1 -1
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +2 -2
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +12 -4
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +6 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +7 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +173 -27
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +14 -11
- package/tencentcloud/services/sms/v20210111/sms_client.d.ts +1 -1
- package/tencentcloud/services/sms/v20210111/sms_client.js +1 -1
- package/tencentcloud/services/sms/v20210111/sms_models.d.ts +8 -6
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +7 -3
- package/tencentcloud/services/tcb/v20180608/tcb_client.js +9 -3
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +77 -1
- package/tencentcloud/services/tcm/index.d.ts +6 -0
- package/tencentcloud/services/tcm/index.js +7 -0
- package/tencentcloud/services/tcm/v20210413/index.d.ts +6 -0
- package/tencentcloud/services/tcm/v20210413/index.js +9 -0
- package/tencentcloud/services/tcm/v20210413/tcm_client.d.ts +18 -0
- package/tencentcloud/services/tcm/v20210413/tcm_client.js +43 -0
- package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +746 -0
- package/tencentcloud/services/tcm/v20210413/tcm_models.js +18 -0
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +25 -0
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +3 -2
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +1 -1
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +1 -1
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +6 -6
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +120 -16
- package/test/apigateway.v20180808.test.js +34 -4
- package/test/as.v20180419.test.js +0 -10
- package/test/cdb.v20170320.test.js +22 -2
- package/test/clb.v20180317.test.js +10 -0
- package/test/cpdp.v20190820.test.js +20 -0
- package/test/iotexplorer.v20190423.test.js +32 -2
- package/test/ocr.v20181119.test.js +10 -0
- package/test/tcb.v20180608.test.js +12 -2
- package/test/tcm.v20210413.test.js +41 -0
|
@@ -210,6 +210,7 @@ import {
|
|
|
210
210
|
CloudBaseProjectVersion,
|
|
211
211
|
DescribeEnvDealRegionRequest,
|
|
212
212
|
DescribeDatabaseACLResponse,
|
|
213
|
+
ModifyCloudBaseRunServerVersionResponse,
|
|
213
214
|
DescribeExtensionUploadInfoResponse,
|
|
214
215
|
ModifyEnvRequest,
|
|
215
216
|
PostpayEnvQuota,
|
|
@@ -217,6 +218,7 @@ import {
|
|
|
217
218
|
DescribePostpayPackageFreeQuotasResponse,
|
|
218
219
|
DescribeExtraPkgBillingInfoResponse,
|
|
219
220
|
CloudBaseCodeRepoName,
|
|
221
|
+
ModifyCloudBaseRunServerVersionRequest,
|
|
220
222
|
RollUpdateCloudBaseRunServerVersionRequest,
|
|
221
223
|
} from "./tcb_models"
|
|
222
224
|
|
|
@@ -472,6 +474,16 @@ export class Client extends AbstractClient {
|
|
|
472
474
|
return this.request("CreatePostpayPackage", req, cb)
|
|
473
475
|
}
|
|
474
476
|
|
|
477
|
+
/**
|
|
478
|
+
* 更新活动详情
|
|
479
|
+
*/
|
|
480
|
+
async ReplaceActivityRecord(
|
|
481
|
+
req: ReplaceActivityRecordRequest,
|
|
482
|
+
cb?: (error: string, rep: ReplaceActivityRecordResponse) => void
|
|
483
|
+
): Promise<ReplaceActivityRecordResponse> {
|
|
484
|
+
return this.request("ReplaceActivityRecord", req, cb)
|
|
485
|
+
}
|
|
486
|
+
|
|
475
487
|
/**
|
|
476
488
|
* 查询用户活动信息
|
|
477
489
|
*/
|
|
@@ -823,13 +835,13 @@ export class Client extends AbstractClient {
|
|
|
823
835
|
}
|
|
824
836
|
|
|
825
837
|
/**
|
|
826
|
-
*
|
|
838
|
+
* 修改服务版本的副本数,环境变量
|
|
827
839
|
*/
|
|
828
|
-
async
|
|
829
|
-
req:
|
|
830
|
-
cb?: (error: string, rep:
|
|
831
|
-
): Promise<
|
|
832
|
-
return this.request("
|
|
840
|
+
async ModifyCloudBaseRunServerVersion(
|
|
841
|
+
req: ModifyCloudBaseRunServerVersionRequest,
|
|
842
|
+
cb?: (error: string, rep: ModifyCloudBaseRunServerVersionResponse) => void
|
|
843
|
+
): Promise<ModifyCloudBaseRunServerVersionResponse> {
|
|
844
|
+
return this.request("ModifyCloudBaseRunServerVersion", req, cb)
|
|
833
845
|
}
|
|
834
846
|
|
|
835
847
|
/**
|
|
@@ -2661,7 +2661,7 @@ export interface DescribeCloudBaseRunOneClickTaskExternalResponse {
|
|
|
2661
2661
|
ExternalId: string
|
|
2662
2662
|
|
|
2663
2663
|
/**
|
|
2664
|
-
*
|
|
2664
|
+
* 弃用
|
|
2665
2665
|
*/
|
|
2666
2666
|
EnvId: string
|
|
2667
2667
|
|
|
@@ -2707,6 +2707,11 @@ finished
|
|
|
2707
2707
|
*/
|
|
2708
2708
|
FailReason: string
|
|
2709
2709
|
|
|
2710
|
+
/**
|
|
2711
|
+
* 用户envId
|
|
2712
|
+
*/
|
|
2713
|
+
UserEnvId: string
|
|
2714
|
+
|
|
2710
2715
|
/**
|
|
2711
2716
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2712
2717
|
*/
|
|
@@ -4036,6 +4041,12 @@ export interface CloudBaseRunServerVersionItem {
|
|
|
4036
4041
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4037
4042
|
*/
|
|
4038
4043
|
CurrentReplicas: number
|
|
4044
|
+
|
|
4045
|
+
/**
|
|
4046
|
+
* Monolithic,Microservice
|
|
4047
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4048
|
+
*/
|
|
4049
|
+
Architecture: string
|
|
4039
4050
|
}
|
|
4040
4051
|
|
|
4041
4052
|
/**
|
|
@@ -5708,6 +5719,22 @@ export interface DescribeDatabaseACLResponse {
|
|
|
5708
5719
|
RequestId?: string
|
|
5709
5720
|
}
|
|
5710
5721
|
|
|
5722
|
+
/**
|
|
5723
|
+
* ModifyCloudBaseRunServerVersion返回参数结构体
|
|
5724
|
+
*/
|
|
5725
|
+
export interface ModifyCloudBaseRunServerVersionResponse {
|
|
5726
|
+
/**
|
|
5727
|
+
* 返回结果(succ为成功)
|
|
5728
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5729
|
+
*/
|
|
5730
|
+
Result?: string
|
|
5731
|
+
|
|
5732
|
+
/**
|
|
5733
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5734
|
+
*/
|
|
5735
|
+
RequestId?: string
|
|
5736
|
+
}
|
|
5737
|
+
|
|
5711
5738
|
/**
|
|
5712
5739
|
* DescribeExtensionUploadInfo返回参数结构体
|
|
5713
5740
|
*/
|
|
@@ -5839,6 +5866,71 @@ export interface CloudBaseCodeRepoName {
|
|
|
5839
5866
|
FullName?: string
|
|
5840
5867
|
}
|
|
5841
5868
|
|
|
5869
|
+
/**
|
|
5870
|
+
* ModifyCloudBaseRunServerVersion请求参数结构体
|
|
5871
|
+
*/
|
|
5872
|
+
export interface ModifyCloudBaseRunServerVersionRequest {
|
|
5873
|
+
/**
|
|
5874
|
+
* 环境ID
|
|
5875
|
+
*/
|
|
5876
|
+
EnvId: string
|
|
5877
|
+
|
|
5878
|
+
/**
|
|
5879
|
+
* 服务名称
|
|
5880
|
+
*/
|
|
5881
|
+
ServerName: string
|
|
5882
|
+
|
|
5883
|
+
/**
|
|
5884
|
+
* 版本名称
|
|
5885
|
+
*/
|
|
5886
|
+
VersionName: string
|
|
5887
|
+
|
|
5888
|
+
/**
|
|
5889
|
+
* 环境变量
|
|
5890
|
+
*/
|
|
5891
|
+
EnvParams?: string
|
|
5892
|
+
|
|
5893
|
+
/**
|
|
5894
|
+
* 最小副本数
|
|
5895
|
+
*/
|
|
5896
|
+
MinNum?: string
|
|
5897
|
+
|
|
5898
|
+
/**
|
|
5899
|
+
* 最大副本数
|
|
5900
|
+
*/
|
|
5901
|
+
MaxNum?: string
|
|
5902
|
+
|
|
5903
|
+
/**
|
|
5904
|
+
* 端口
|
|
5905
|
+
*/
|
|
5906
|
+
ContainerPort?: string
|
|
5907
|
+
|
|
5908
|
+
/**
|
|
5909
|
+
* 备注
|
|
5910
|
+
*/
|
|
5911
|
+
Remark?: string
|
|
5912
|
+
|
|
5913
|
+
/**
|
|
5914
|
+
* 日志采集路径
|
|
5915
|
+
*/
|
|
5916
|
+
CustomLogs?: string
|
|
5917
|
+
|
|
5918
|
+
/**
|
|
5919
|
+
* 是否重设备注
|
|
5920
|
+
*/
|
|
5921
|
+
IsResetRemark?: boolean
|
|
5922
|
+
|
|
5923
|
+
/**
|
|
5924
|
+
* 修改基础信息
|
|
5925
|
+
*/
|
|
5926
|
+
BasicModify?: boolean
|
|
5927
|
+
|
|
5928
|
+
/**
|
|
5929
|
+
* 操作备注
|
|
5930
|
+
*/
|
|
5931
|
+
OperatorRemark?: string
|
|
5932
|
+
}
|
|
5933
|
+
|
|
5842
5934
|
/**
|
|
5843
5935
|
* RollUpdateCloudBaseRunServerVersion请求参数结构体
|
|
5844
5936
|
*/
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
|
+
import { ClientConfig } from "../../../common/interface"
|
|
20
|
+
import {
|
|
21
|
+
HorizontalPodAutoscalerSpec,
|
|
22
|
+
Service,
|
|
23
|
+
MeshConfig,
|
|
24
|
+
LoadBalancerStatus,
|
|
25
|
+
DescribeMeshResponse,
|
|
26
|
+
AutoInjectionNamespaceState,
|
|
27
|
+
IngressGatewayStatus,
|
|
28
|
+
ResourceMetricSource,
|
|
29
|
+
DescribeMeshListRequest,
|
|
30
|
+
ClusterConfig,
|
|
31
|
+
MetricSpec,
|
|
32
|
+
WorkloadConfig,
|
|
33
|
+
EgressGateway,
|
|
34
|
+
Mesh,
|
|
35
|
+
GrafanaInfo,
|
|
36
|
+
MeshStatus,
|
|
37
|
+
IstiodConfig,
|
|
38
|
+
SelectedRange,
|
|
39
|
+
PodsMetricSource,
|
|
40
|
+
Resource,
|
|
41
|
+
DeployConfig,
|
|
42
|
+
DescribeMeshRequest,
|
|
43
|
+
ActiveOperation,
|
|
44
|
+
PrometheusStatus,
|
|
45
|
+
Filter,
|
|
46
|
+
PrometheusConfig,
|
|
47
|
+
IstioConfig,
|
|
48
|
+
CLS,
|
|
49
|
+
TracingConfig,
|
|
50
|
+
IngressGateway,
|
|
51
|
+
SelectedItems,
|
|
52
|
+
Cluster,
|
|
53
|
+
DescribeMeshListResponse,
|
|
54
|
+
ResourceRequirements,
|
|
55
|
+
ClusterStatus,
|
|
56
|
+
AccessLogConfig,
|
|
57
|
+
LoadBalancer,
|
|
58
|
+
} from "./tcm_models"
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* tcm client
|
|
62
|
+
* @class
|
|
63
|
+
*/
|
|
64
|
+
export class Client extends AbstractClient {
|
|
65
|
+
constructor(clientConfig: ClientConfig) {
|
|
66
|
+
super("tcm.tencentcloudapi.com", "2021-04-13", clientConfig)
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* 查询网格列表
|
|
71
|
+
*/
|
|
72
|
+
async DescribeMeshList(
|
|
73
|
+
req: DescribeMeshListRequest,
|
|
74
|
+
cb?: (error: string, rep: DescribeMeshListResponse) => void
|
|
75
|
+
): Promise<DescribeMeshListResponse> {
|
|
76
|
+
return this.request("DescribeMeshList", req, cb)
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* 查询网格详情
|
|
81
|
+
*/
|
|
82
|
+
async DescribeMesh(
|
|
83
|
+
req: DescribeMeshRequest,
|
|
84
|
+
cb?: (error: string, rep: DescribeMeshResponse) => void
|
|
85
|
+
): Promise<DescribeMeshResponse> {
|
|
86
|
+
return this.request("DescribeMesh", req, cb)
|
|
87
|
+
}
|
|
88
|
+
}
|