tencentcloud-sdk-nodejs 4.0.913 → 4.0.915
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 +277 -0
- package/SERVICE_CHANGELOG.md +288 -104
- package/examples/hunyuan/v20230901/{chat_std.js → chat_completions.js} +5 -3
- package/examples/hunyuan/v20230901/{chat_std.ts → chat_completions.ts} +5 -3
- package/package.json +1 -1
- package/products.md +18 -18
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aiart/v20221229/aiart_models.ts +10 -0
- package/src/services/cls/v20201016/cls_client.ts +61 -11
- package/src/services/cls/v20201016/cls_models.ts +328 -149
- package/src/services/cwp/v20180228/cwp_client.ts +17 -3
- package/src/services/cwp/v20180228/cwp_models.ts +89 -25
- package/src/services/emr/v20190103/emr_client.ts +55 -13
- package/src/services/emr/v20190103/emr_models.ts +614 -160
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +4 -4
- package/src/services/ioa/v20220601/ioa_models.ts +6 -5
- package/src/services/organization/v20210331/organization_client.ts +51 -13
- package/src/services/organization/v20210331/organization_models.ts +204 -39
- package/src/services/pts/v20210728/pts_models.ts +9 -9
- package/src/services/smh/v20210712/smh_client.ts +68 -7
- package/src/services/smh/v20210712/smh_models.ts +425 -32
- package/src/services/tcss/v20201101/tcss_models.ts +99 -52
- package/src/services/trocket/v20230308/trocket_client.ts +16 -4
- package/src/services/trocket/v20230308/trocket_models.ts +94 -58
- package/src/services/trtc/v20190722/trtc_client.ts +0 -3
- package/src/services/trtc/v20190722/trtc_models.ts +3 -28
- package/src/services/vod/v20180717/vod_models.ts +5 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +10 -0
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +19 -3
- package/tencentcloud/services/cls/v20201016/cls_client.js +27 -3
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +313 -144
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +8 -2
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +9 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +87 -25
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +15 -3
- package/tencentcloud/services/emr/v20190103/emr_client.js +21 -3
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +607 -165
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +4 -4
- package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +6 -5
- package/tencentcloud/services/organization/v20210331/organization_client.d.ts +17 -5
- package/tencentcloud/services/organization/v20210331/organization_client.js +24 -6
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +196 -39
- package/tencentcloud/services/pts/v20210728/pts_models.d.ts +9 -9
- package/tencentcloud/services/smh/v20210712/smh_client.d.ts +23 -3
- package/tencentcloud/services/smh/v20210712/smh_client.js +33 -3
- package/tencentcloud/services/smh/v20210712/smh_models.d.ts +414 -32
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +99 -52
- package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +5 -1
- package/tencentcloud/services/trocket/v20230308/trocket_client.js +6 -0
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +91 -57
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +0 -3
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +0 -3
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +3 -28
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +5 -0
- package/test/cls.v20201016.test.js +42 -2
- package/test/cwp.v20180228.test.js +10 -0
- package/test/emr.v20190103.test.js +32 -2
- package/test/organization.v20210331.test.js +34 -4
- package/test/smh.v20210712.test.js +52 -2
- package/test/trocket.v20230308.test.js +10 -0
|
@@ -13713,6 +13713,16 @@ export interface ModifyWebPageProtectDirRequest {
|
|
|
13713
13713
|
HostConfig: Array<ProtectHostConfig>
|
|
13714
13714
|
}
|
|
13715
13715
|
|
|
13716
|
+
/**
|
|
13717
|
+
* ModifyReverseShellRulesAggregation返回参数结构体
|
|
13718
|
+
*/
|
|
13719
|
+
export interface ModifyReverseShellRulesAggregationResponse {
|
|
13720
|
+
/**
|
|
13721
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13722
|
+
*/
|
|
13723
|
+
RequestId?: string
|
|
13724
|
+
}
|
|
13725
|
+
|
|
13716
13726
|
/**
|
|
13717
13727
|
* 资源管理Web应用列表信息
|
|
13718
13728
|
*/
|
|
@@ -27102,6 +27112,53 @@ export interface DescribeBaselineRuleDetectListResponse {
|
|
|
27102
27112
|
RequestId?: string
|
|
27103
27113
|
}
|
|
27104
27114
|
|
|
27115
|
+
/**
|
|
27116
|
+
* UpdateBaselineStrategy请求参数结构体
|
|
27117
|
+
*/
|
|
27118
|
+
export interface UpdateBaselineStrategyRequest {
|
|
27119
|
+
/**
|
|
27120
|
+
* 策略id
|
|
27121
|
+
*/
|
|
27122
|
+
StrategyId: number
|
|
27123
|
+
/**
|
|
27124
|
+
* 策略名称
|
|
27125
|
+
*/
|
|
27126
|
+
StrategyName: string
|
|
27127
|
+
/**
|
|
27128
|
+
* 检测周期
|
|
27129
|
+
*/
|
|
27130
|
+
ScanCycle: number
|
|
27131
|
+
/**
|
|
27132
|
+
* 定期检测时间,该时间下发扫描
|
|
27133
|
+
*/
|
|
27134
|
+
ScanAt: string
|
|
27135
|
+
/**
|
|
27136
|
+
* 该策略下选择的基线id数组
|
|
27137
|
+
*/
|
|
27138
|
+
CategoryIds: Array<string>
|
|
27139
|
+
/**
|
|
27140
|
+
* 扫描范围是否全部服务器, 1:是 0:否, 为1则为全部专业版主机
|
|
27141
|
+
*/
|
|
27142
|
+
IsGlobal: number
|
|
27143
|
+
/**
|
|
27144
|
+
* 云主机类型:
|
|
27145
|
+
cvm:腾讯云服务器
|
|
27146
|
+
bm:裸金属
|
|
27147
|
+
ecm:边缘计算主机
|
|
27148
|
+
lh:轻量应用服务器
|
|
27149
|
+
other:混合云机器
|
|
27150
|
+
*/
|
|
27151
|
+
MachineType: string
|
|
27152
|
+
/**
|
|
27153
|
+
* 主机地域 ap-guangzhou
|
|
27154
|
+
*/
|
|
27155
|
+
RegionCode: string
|
|
27156
|
+
/**
|
|
27157
|
+
* 主机id数组
|
|
27158
|
+
*/
|
|
27159
|
+
Quuids: Array<string>
|
|
27160
|
+
}
|
|
27161
|
+
|
|
27105
27162
|
/**
|
|
27106
27163
|
* 资产管理内核模块参数
|
|
27107
27164
|
*/
|
|
@@ -30003,50 +30060,57 @@ export interface DescribeScanTaskDetailsResponse {
|
|
|
30003
30060
|
}
|
|
30004
30061
|
|
|
30005
30062
|
/**
|
|
30006
|
-
*
|
|
30063
|
+
* ModifyReverseShellRulesAggregation请求参数结构体
|
|
30007
30064
|
*/
|
|
30008
|
-
export interface
|
|
30065
|
+
export interface ModifyReverseShellRulesAggregationRequest {
|
|
30009
30066
|
/**
|
|
30010
|
-
*
|
|
30067
|
+
* 规则ID(新增时请留空)
|
|
30011
30068
|
*/
|
|
30012
|
-
|
|
30069
|
+
Id?: number
|
|
30013
30070
|
/**
|
|
30014
|
-
*
|
|
30071
|
+
* 客户端ID数组
|
|
30015
30072
|
*/
|
|
30016
|
-
|
|
30073
|
+
Uuids?: Array<string>
|
|
30017
30074
|
/**
|
|
30018
|
-
*
|
|
30075
|
+
* 主机IP
|
|
30019
30076
|
*/
|
|
30020
|
-
|
|
30077
|
+
HostIp?: string
|
|
30021
30078
|
/**
|
|
30022
|
-
*
|
|
30079
|
+
* 目标IP
|
|
30023
30080
|
*/
|
|
30024
|
-
|
|
30081
|
+
DestIp?: string
|
|
30025
30082
|
/**
|
|
30026
|
-
*
|
|
30083
|
+
* 目标端口
|
|
30027
30084
|
*/
|
|
30028
|
-
|
|
30085
|
+
DestPort?: string
|
|
30029
30086
|
/**
|
|
30030
|
-
*
|
|
30087
|
+
* 进程名
|
|
30031
30088
|
*/
|
|
30032
|
-
|
|
30089
|
+
ProcessName?: string
|
|
30033
30090
|
/**
|
|
30034
|
-
*
|
|
30035
|
-
cvm:腾讯云服务器
|
|
30036
|
-
bm:裸金属
|
|
30037
|
-
ecm:边缘计算主机
|
|
30038
|
-
lh:轻量应用服务器
|
|
30039
|
-
other:混合云机器
|
|
30091
|
+
* 是否全局规则(默认否)
|
|
30040
30092
|
*/
|
|
30041
|
-
|
|
30093
|
+
IsGlobal?: number
|
|
30042
30094
|
/**
|
|
30043
|
-
*
|
|
30095
|
+
* 事件列表和详情点击加白时关联的事件id (新增规则时请留空)
|
|
30044
30096
|
*/
|
|
30045
|
-
|
|
30097
|
+
EventId?: number
|
|
30046
30098
|
/**
|
|
30047
|
-
*
|
|
30099
|
+
* 加白方式, 0:常规加白 1:正则加白
|
|
30048
30100
|
*/
|
|
30049
|
-
|
|
30101
|
+
WhiteType?: number
|
|
30102
|
+
/**
|
|
30103
|
+
* 正则表达式
|
|
30104
|
+
*/
|
|
30105
|
+
RuleRegexp?: string
|
|
30106
|
+
/**
|
|
30107
|
+
* 处理历史事件, 0:不处理 1:处理
|
|
30108
|
+
*/
|
|
30109
|
+
HandleHistory?: number
|
|
30110
|
+
/**
|
|
30111
|
+
* 批次id
|
|
30112
|
+
*/
|
|
30113
|
+
GroupID?: string
|
|
30050
30114
|
}
|
|
30051
30115
|
|
|
30052
30116
|
/**
|
|
@@ -25,6 +25,7 @@ import {
|
|
|
25
25
|
DescribeHBaseTableOverviewRequest,
|
|
26
26
|
ScaleOutInstanceResponse,
|
|
27
27
|
DescribeClusterFlowStatusDetailResponse,
|
|
28
|
+
SchedulerTaskInfo,
|
|
28
29
|
ModifyUserManagerPwdResponse,
|
|
29
30
|
ImpalaQuery,
|
|
30
31
|
PodVolume,
|
|
@@ -33,12 +34,12 @@ import {
|
|
|
33
34
|
PersistentVolumeContext,
|
|
34
35
|
TerminateTasksRequest,
|
|
35
36
|
HostVolumeContext,
|
|
36
|
-
|
|
37
|
+
DescribeServiceNodeInfosRequest,
|
|
37
38
|
DiskSpecInfo,
|
|
38
39
|
HiveQuery,
|
|
39
40
|
Step,
|
|
40
41
|
KeyValue,
|
|
41
|
-
|
|
42
|
+
DescribeAutoScaleGroupGlobalConfRequest,
|
|
42
43
|
EmrProductConfigDetail,
|
|
43
44
|
DayRepeatStrategy,
|
|
44
45
|
DescribeTrinoQueryInfoResponse,
|
|
@@ -57,19 +58,23 @@ import {
|
|
|
57
58
|
ScaleOutInstanceRequest,
|
|
58
59
|
ZoneDetailPriceResult,
|
|
59
60
|
DescribeHBaseTableOverviewResponse,
|
|
60
|
-
|
|
61
|
+
DescribeServiceNodeInfosResponse,
|
|
61
62
|
ModifyAutoScaleStrategyRequest,
|
|
62
|
-
|
|
63
|
-
|
|
63
|
+
FlowParamsDesc,
|
|
64
|
+
ModifyYarnDeployResponse,
|
|
64
65
|
ModifyResourceScheduleConfigResponse,
|
|
65
66
|
InsightResult,
|
|
66
67
|
NodeDetailPriceResult,
|
|
67
68
|
Tag,
|
|
69
|
+
HealthStatus,
|
|
68
70
|
Arg,
|
|
69
71
|
ClusterIDToFlowID,
|
|
70
72
|
EmrListInstance,
|
|
73
|
+
ServiceNodeDetailInfo,
|
|
71
74
|
AddUsersForUserManagerResponse,
|
|
72
75
|
TopologyInfo,
|
|
76
|
+
SchedulerTaskDetail,
|
|
77
|
+
NodeResourceSpec,
|
|
73
78
|
AddMetricScaleStrategyRequest,
|
|
74
79
|
EmrProductConfigOutter,
|
|
75
80
|
VPCSettings,
|
|
@@ -90,23 +95,26 @@ import {
|
|
|
90
95
|
OverviewMetricData,
|
|
91
96
|
AutoScaleRecord,
|
|
92
97
|
JobFlowResourceSpec,
|
|
93
|
-
|
|
98
|
+
Configuration,
|
|
94
99
|
DescribeResourceScheduleRequest,
|
|
95
100
|
AllNodeResourceSpec,
|
|
96
101
|
Placement,
|
|
97
102
|
QuotaEntity,
|
|
103
|
+
ModifyYarnDeployRequest,
|
|
98
104
|
PodParameter,
|
|
99
105
|
DescribeClusterFlowStatusDetailRequest,
|
|
100
106
|
DescribeUsersForUserManagerRequest,
|
|
101
107
|
RenewInstancesInfo,
|
|
102
108
|
DescribeInsightListRequest,
|
|
103
|
-
|
|
109
|
+
DescribeYarnScheduleHistoryRequest,
|
|
104
110
|
StartStopServiceOrMonitorResponse,
|
|
105
111
|
DescribeHiveQueriesResponse,
|
|
112
|
+
RunJobFlowResponse,
|
|
106
113
|
PodNewParameter,
|
|
107
114
|
DescribeInstanceRenewNodesResponse,
|
|
108
115
|
ModifyResourcesTagsResponse,
|
|
109
116
|
ScaleOutServiceConfGroupsInfo,
|
|
117
|
+
DescribeYarnScheduleHistoryResponse,
|
|
110
118
|
DescribeAutoScaleGroupGlobalConfResponse,
|
|
111
119
|
DescribeEmrApplicationStaticsRequest,
|
|
112
120
|
DescribeClusterNodesResponse,
|
|
@@ -152,6 +160,7 @@ import {
|
|
|
152
160
|
ScriptBootstrapActionConfig,
|
|
153
161
|
DescribeInstancesRequest,
|
|
154
162
|
NotRepeatStrategy,
|
|
163
|
+
PodNewSpec,
|
|
155
164
|
InquiryPriceUpdateInstanceRequest,
|
|
156
165
|
DescribeAutoScaleStrategiesRequest,
|
|
157
166
|
TerminateClusterNodesRequest,
|
|
@@ -180,13 +189,16 @@ import {
|
|
|
180
189
|
ApplicationStatics,
|
|
181
190
|
InquiryPriceCreateInstanceRequest,
|
|
182
191
|
MultiZoneSetting,
|
|
192
|
+
ScaleOutClusterRequest,
|
|
183
193
|
ModifyResourceScheduleConfigRequest,
|
|
184
194
|
UserInfoForUserManager,
|
|
185
195
|
DescribeEmrOverviewMetricsRequest,
|
|
186
196
|
PodState,
|
|
187
197
|
ScaleOutClusterResponse,
|
|
198
|
+
ServiceProcessFunctionInfo,
|
|
188
199
|
PartDetailPriceItem,
|
|
189
200
|
ExternalService,
|
|
201
|
+
RestartPolicy,
|
|
190
202
|
PreExecuteFileSettings,
|
|
191
203
|
ClusterExternalServiceInfo,
|
|
192
204
|
SoftDependInfo,
|
|
@@ -382,6 +394,16 @@ export class Client extends AbstractClient {
|
|
|
382
394
|
return this.request("DescribeHBaseTableOverview", req, cb)
|
|
383
395
|
}
|
|
384
396
|
|
|
397
|
+
/**
|
|
398
|
+
* 查询服务进程信息
|
|
399
|
+
*/
|
|
400
|
+
async DescribeServiceNodeInfos(
|
|
401
|
+
req: DescribeServiceNodeInfosRequest,
|
|
402
|
+
cb?: (error: string, rep: DescribeServiceNodeInfosResponse) => void
|
|
403
|
+
): Promise<DescribeServiceNodeInfosResponse> {
|
|
404
|
+
return this.request("DescribeServiceNodeInfos", req, cb)
|
|
405
|
+
}
|
|
406
|
+
|
|
385
407
|
/**
|
|
386
408
|
* 查询集群实例信息
|
|
387
409
|
*/
|
|
@@ -393,13 +415,13 @@ export class Client extends AbstractClient {
|
|
|
393
415
|
}
|
|
394
416
|
|
|
395
417
|
/**
|
|
396
|
-
*
|
|
418
|
+
* 部署生效
|
|
397
419
|
*/
|
|
398
|
-
async
|
|
399
|
-
req:
|
|
400
|
-
cb?: (error: string, rep:
|
|
401
|
-
): Promise<
|
|
402
|
-
return this.request("
|
|
420
|
+
async ModifyYarnDeploy(
|
|
421
|
+
req: ModifyYarnDeployRequest,
|
|
422
|
+
cb?: (error: string, rep: ModifyYarnDeployResponse) => void
|
|
423
|
+
): Promise<ModifyYarnDeployResponse> {
|
|
424
|
+
return this.request("ModifyYarnDeploy", req, cb)
|
|
403
425
|
}
|
|
404
426
|
|
|
405
427
|
/**
|
|
@@ -544,6 +566,16 @@ export class Client extends AbstractClient {
|
|
|
544
566
|
return this.request("AddMetricScaleStrategy", req, cb)
|
|
545
567
|
}
|
|
546
568
|
|
|
569
|
+
/**
|
|
570
|
+
* 查看yarn资源调度的调度历史
|
|
571
|
+
*/
|
|
572
|
+
async DescribeYarnScheduleHistory(
|
|
573
|
+
req: DescribeYarnScheduleHistoryRequest,
|
|
574
|
+
cb?: (error: string, rep: DescribeYarnScheduleHistoryResponse) => void
|
|
575
|
+
): Promise<DescribeYarnScheduleHistoryResponse> {
|
|
576
|
+
return this.request("DescribeYarnScheduleHistory", req, cb)
|
|
577
|
+
}
|
|
578
|
+
|
|
547
579
|
/**
|
|
548
580
|
* 查询流程任务
|
|
549
581
|
*/
|
|
@@ -683,4 +715,14 @@ export class Client extends AbstractClient {
|
|
|
683
715
|
): Promise<ScaleOutClusterResponse> {
|
|
684
716
|
return this.request("ScaleOutCluster", req, cb)
|
|
685
717
|
}
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* 创建流程作业
|
|
721
|
+
*/
|
|
722
|
+
async RunJobFlow(
|
|
723
|
+
req: RunJobFlowRequest,
|
|
724
|
+
cb?: (error: string, rep: RunJobFlowResponse) => void
|
|
725
|
+
): Promise<RunJobFlowResponse> {
|
|
726
|
+
return this.request("RunJobFlow", req, cb)
|
|
727
|
+
}
|
|
686
728
|
}
|