tencentcloud-sdk-nodejs 4.1.92 → 4.1.94
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/es/common/sdk_version.js +1 -1
- package/es/services/cfw/v20190904/cfw_client.js +2 -11
- package/es/services/thpc/v20230321/thpc_client.js +22 -4
- package/es/services/tsf/v20180326/tsf_client.js +9 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +4 -0
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +4 -0
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +3 -21
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +3 -27
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +166 -334
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +19 -12
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +2 -2
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +2 -2
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +4 -4
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +32 -4
- package/tencentcloud/services/es/v20180416/es_models.d.ts +100 -40
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +0 -3
- package/tencentcloud/services/ess/v20201111/ess_client.js +0 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +0 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +0 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +69 -2
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +62 -62
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +2 -2
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +2 -2
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +8 -8
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +16 -0
- package/tencentcloud/services/sts/v20180813/sts_client.d.ts +16 -4
- package/tencentcloud/services/sts/v20180813/sts_client.js +16 -4
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +28 -0
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +8 -2
- package/tencentcloud/services/teo/v20220901/teo_client.js +8 -2
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +7 -47
- package/tencentcloud/services/thpc/v20230321/thpc_client.d.ts +29 -5
- package/tencentcloud/services/thpc/v20230321/thpc_client.js +42 -6
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +464 -129
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +21 -0
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +13 -1
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +18 -0
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +487 -162
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +6 -2
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +2 -2
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +95 -24
@@ -1326,8 +1326,6 @@ export interface DescribeTopL7AnalysisDataRequest {
|
|
1326
1326
|
<li> l7Flow_request_ua_browser:按浏览器类型维度统计 L7 访问请求数指标;</li>
|
1327
1327
|
<li> l7Flow_request_ua_os:按操作系统类型维度统计 L7 访问请求数指标;</li>
|
1328
1328
|
<li> l7Flow_request_ua:按 User-Agent 维度统计 L7 访问请求数指标。</li>
|
1329
|
-
|
1330
|
-
|
1331
1329
|
*/
|
1332
1330
|
MetricName: string;
|
1333
1331
|
/**
|
@@ -1339,37 +1337,16 @@ export interface DescribeTopL7AnalysisDataRequest {
|
|
1339
1337
|
*/
|
1340
1338
|
Limit?: number;
|
1341
1339
|
/**
|
1342
|
-
*
|
1343
|
-
|
1344
|
-
<li>province:按照省份进行过滤,此参数只支持服务区域为中国大陆。省份代码参考<a href="https://cloud.tencent.com/document/product/228/6316#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8">境内省份映射表</a>,示例值:22。</li>
|
1345
|
-
<li>isp:按照运营商进行过滤,此参数只支持服务区域为中国大陆。对应的 Value 可选项如下:<br> 2:中国电信;<br> 26:中国联通;<br> 1046:中国移动;<br> 3947:中国铁通;<br> 38:教育网;<br> 43:长城宽带;<br> 0:其他运营商。</li>
|
1346
|
-
<li>domain:按照子域名进行过滤,示例值: www.example.com。</li>
|
1347
|
-
<li>url:按照 URL Path 进行过滤,示例值:/content 或 /content/test.jpg。若填写 url 参数,则最多可查询近 30 天的数据。</li>
|
1348
|
-
<li>referer:按照 Referer 请求头部进行过滤,示例值:http://www.example.com/。若填写 referer 参数,则最多可查询近 30 天的数据;</li>
|
1349
|
-
<li>resourceType:按照资源类型进行过滤,资源类型一般是文件后缀,示例值:.jpg。若填写 resourceType 参数,则最多可查询近 30 天的数据;</li>
|
1350
|
-
<li>protocol:按照 HTTP 协议版本进行过滤。对应的 Value 可选项如下:<br> HTTP/1.0;<br> HTTP/1.1;<br> HTTP/2.0;<br> HTTP/3;<br> WebSocket。</li>
|
1351
|
-
<li>socket:按照 HTTP协议类型进行过滤。对应的 Value 可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS 协议;<br> QUIC:QUIC 协议。</li>
|
1352
|
-
<li>statusCode:按照边缘状态码进行过滤。若填写 statusCode 参数,则最多可查询近 30 天的数据。对应的 Value 可选项如下:<br> 1XX:1xx类型的状态码;<br> 2XX:2xx类型的状态码;<br> 3XX:3xx类型的状态码;<br> 4XX:4xx类型的状态码;<br> 5XX:5xx类型的状态码;<br> 在 [0,600) 范围内的整数。</li>
|
1353
|
-
<li>browserType:按照浏览器类型进行过滤。若填写 browserType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> Firefox:Firefox浏览器;<br> Chrome:Chrome浏览器;<br> Safari:Safari浏览器;<br> Other:其他浏览器类型;<br> Empty:浏览器类型为空;<br> Bot:搜索引擎爬虫;<br> MicrosoftEdge:MicrosoftEdge浏览器;<br> IE:IE浏览器;<br> Opera:Opera浏览器;<br> QQBrowser:QQ浏览器;<br> LBBrowser:LB浏览器;<br> MaxthonBrowser:Maxthon浏览器;<br> SouGouBrowser:搜狗浏览器;<br> BIDUBrowser:百度浏览器;<br> TaoBrowser:淘浏览器;<br> UBrowser:UC浏览器。</li>
|
1354
|
-
<li>deviceType:按照设备类型进行过滤。若填写 deviceType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> TV:TV设备;<br> Tablet:Tablet设备;<br> Mobile:Mobile设备;<br> Desktop:Desktop设备;<br> Other:其他设备类型;<br> Empty:设备类型为空。</li>
|
1355
|
-
<li>operatingSystemType:按照操作系统类型进行过滤。若填写 operatingSystemType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> Linux:Linux操作系统;<br> MacOS:MacOs操作系统;<br> Android:Android操作系统;<br> IOS:IOS操作系统;<br> Windows:Windows操作系统;<br> NetBSD:NetBSD;<br> ChromiumOS:ChromiumOS;<br> Bot:搜索引擎爬虫;<br> Other:其他类型的操作系统;<br> Empty:操作系统为空。</li>
|
1356
|
-
<li>tlsVersion:按照 TLS 版本进行过滤。若填写 tlsVersion 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> TLS1.0;<br> TLS1.1;<br> TLS1.2;<br> TLS1.3。</li>
|
1357
|
-
<li>ipVersion:按照 IP 版本进行过滤。对应 Value 的可选项如下:<br> 4:IPv4;<br> 6:IPv6。</li>
|
1358
|
-
<li>cacheType:按照缓存状态进行过滤。对应 Value 的可选项如下:<br> hit:请求命中 EdgeOne 节点缓存,资源由节点缓存提供。资源部分命中缓存也会记录为 hit。<br> miss:请求未命中 EdgeOne 节点缓存,资源由源站提供。<br> dynamic:请求的资源无法缓存/未配置被节点缓存,资源由源站提供。<br> other:无法被识别的缓存状态。边缘函数响应的请求会记录为 other。</li>
|
1359
|
-
<li>clientIp:按照客户端 IP 进行过滤。若填写 clientIp 参数,则最多可查询近 30 天的数据。</li>
|
1360
|
-
<li>userAgent:按照 User-Agent 请求头部进行过滤。若填写 userAgent 参数,则最多可查询近 30 天的数据。</li>
|
1340
|
+
* 筛选数据时使用的过滤条件,取值参考 [指标分析筛选条件说明](https://cloud.tencent.com/document/product/1552/98219#1aaf1150-55a4-4b4d-b103-3a8317ac7945) 中针对 L7 访问流量、带宽、请求数的可用筛选项。
|
1341
|
+
如需限定站点或内容标识符,请在 `ZoneIds.N` 参数中另行传入对应的值。
|
1361
1342
|
*/
|
1362
1343
|
Filters?: Array<QueryCondition>;
|
1363
1344
|
/**
|
1364
|
-
*
|
1365
|
-
<li>min: 1分钟;</li>
|
1366
|
-
<li>5min: 5分钟;</li>
|
1367
|
-
<li>hour: 1小时;</li>
|
1368
|
-
<li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:2 小时范围内以 min 粒度查询,2 天范围内以 5min 粒度查询,7 天范围内以 hour 粒度查询,超过 7 天以 day 粒度查询。
|
1345
|
+
* 查询时间粒度,该参数无效,待废弃。
|
1369
1346
|
*/
|
1370
1347
|
Interval?: string;
|
1371
1348
|
/**
|
1372
|
-
* 数据归属地区。该参数已废弃。请在 Filters.country 中按客户端地域过滤数据。
|
1349
|
+
* 数据归属地区。该参数已废弃。请在 `Filters.country` 中按客户端地域过滤数据。
|
1373
1350
|
*/
|
1374
1351
|
Area?: string;
|
1375
1352
|
}
|
@@ -9241,29 +9218,12 @@ export interface DescribeTimingL7AnalysisDataRequest {
|
|
9241
9218
|
*/
|
9242
9219
|
Interval?: string;
|
9243
9220
|
/**
|
9244
|
-
*
|
9245
|
-
|
9246
|
-
<li>province:按照省份进行过滤,此参数只支持服务区域为中国大陆。省份代码参考<a href="https://cloud.tencent.com/document/product/228/6316#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8">境内省份映射表</a>,示例值:22。</li>
|
9247
|
-
<li>isp:按照运营商进行过滤,此参数只支持服务区域为中国大陆。对应的 Value 可选项如下:<br> 2:中国电信;<br> 26:中国联通;<br> 1046:中国移动;<br> 3947:中国铁通;<br> 38:教育网;<br> 43:长城宽带;<br> 0:其他运营商。</li>
|
9248
|
-
<li>domain:按照子域名进行过滤,示例值: www.example.com。</li>
|
9249
|
-
<li>url:按照 URL Path 进行过滤,示例值:/content 或 /content/test.jpg。若填写 url 参数,则最多可查询近 30 天的数据。</li>
|
9250
|
-
<li>referer:按照 Referer 请求头部进行过滤,示例值:http://www.example.com/。若填写 referer 参数,则最多可查询近 30 天的数据;</li>
|
9251
|
-
<li>resourceType:按照资源类型进行过滤,资源类型一般是文件后缀,示例值:.jpg。若填写 resourceType 参数,则最多可查询近 30 天的数据;</li>
|
9252
|
-
<li>protocol:按照 HTTP 协议版本进行过滤。对应的 Value 可选项如下:<br> HTTP/1.0;<br> HTTP/1.1;<br> HTTP/2.0;<br> HTTP/3;<br> WebSocket。</li>
|
9253
|
-
<li>socket:按照 HTTP协议类型进行过滤。对应的 Value 可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS 协议;<br> QUIC:QUIC 协议。</li>
|
9254
|
-
<li>statusCode:按照边缘状态码进行过滤。若填写 statusCode 参数,则最多可查询近 30 天的数据。对应的 Value 可选项如下:<br> 1XX:1xx类型的状态码;<br> 2XX:2xx类型的状态码;<br> 3XX:3xx类型的状态码;<br> 4XX:4xx类型的状态码;<br> 5XX:5xx类型的状态码;<br> 在 [0,600) 范围内的整数。</li>
|
9255
|
-
<li>browserType:按照浏览器类型进行过滤。若填写 browserType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> Firefox:Firefox浏览器;<br> Chrome:Chrome浏览器;<br> Safari:Safari浏览器;<br> Other:其他浏览器类型;<br> Empty:浏览器类型为空;<br> Bot:搜索引擎爬虫;<br> MicrosoftEdge:MicrosoftEdge浏览器;<br> IE:IE浏览器;<br> Opera:Opera浏览器;<br> QQBrowser:QQ浏览器;<br> LBBrowser:LB浏览器;<br> MaxthonBrowser:Maxthon浏览器;<br> SouGouBrowser:搜狗浏览器;<br> BIDUBrowser:百度浏览器;<br> TaoBrowser:淘浏览器;<br> UBrowser:UC浏览器。</li>
|
9256
|
-
<li>deviceType:按照设备类型进行过滤。若填写 deviceType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> TV:TV设备;<br> Tablet:Tablet设备;<br> Mobile:Mobile设备;<br> Desktop:Desktop设备;<br> Other:其他设备类型;<br> Empty:设备类型为空。</li>
|
9257
|
-
<li>operatingSystemType:按照操作系统类型进行过滤。若填写 operatingSystemType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> Linux:Linux操作系统;<br> MacOS:MacOs操作系统;<br> Android:Android操作系统;<br> IOS:IOS操作系统;<br> Windows:Windows操作系统;<br> NetBSD:NetBSD;<br> ChromiumOS:ChromiumOS;<br> Bot:搜索引擎爬虫;<br> Other:其他类型的操作系统;<br> Empty:操作系统为空。</li>
|
9258
|
-
<li>tlsVersion:按照 TLS 版本进行过滤。若填写 tlsVersion 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> TLS1.0;<br> TLS1.1;<br> TLS1.2;<br> TLS1.3。</li>
|
9259
|
-
<li>ipVersion:按照 IP 版本进行过滤。对应 Value 的可选项如下:<br> 4:IPv4;<br> 6:IPv6。</li>
|
9260
|
-
<li>cacheType:按照缓存状态进行过滤。对应 Value 的可选项如下:<br> hit:请求命中 EdgeOne 节点缓存,资源由节点缓存提供。资源部分命中缓存也会记录为 hit。<br> miss:请求未命中 EdgeOne 节点缓存,资源由源站提供。<br> dynamic:请求的资源无法缓存/未配置被节点缓存,资源由源站提供。<br> other:无法被识别的缓存状态。边缘函数响应的请求会记录为 other。</li>
|
9261
|
-
<li>clientIp:按照客户端 IP 进行过滤。若填写 clientIp 参数,则最多可查询近 30 天的数据。</li>
|
9262
|
-
<li>userAgent:按照 User-Agent 请求头部进行过滤。若填写 userAgent 参数,则最多可查询近 30 天的数据。</li>
|
9221
|
+
* 筛选数据时使用的过滤条件,取值参考 [指标分析筛选条件说明](https://cloud.tencent.com/document/product/1552/98219#1aaf1150-55a4-4b4d-b103-3a8317ac7945) 中针对 L7 访问流量、带宽、请求数的可用筛选项。
|
9222
|
+
如需限定站点或内容标识符,请在 `ZoneIds.N` 参数中另行传入对应的值。
|
9263
9223
|
*/
|
9264
9224
|
Filters?: Array<QueryCondition>;
|
9265
9225
|
/**
|
9266
|
-
* 数据归属地区。该参数已废弃。请在 Filters.country 中按客户端地域过滤数据。
|
9226
|
+
* 数据归属地区。该参数已废弃。请在 `Filters.country` 中按客户端地域过滤数据。
|
9267
9227
|
*/
|
9268
9228
|
Area?: string;
|
9269
9229
|
}
|
@@ -1,12 +1,16 @@
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
3
|
-
import { DescribeInitNodeScriptsRequest,
|
3
|
+
import { DescribeInitNodeScriptsRequest, AddNodesResponse, CreateWorkspacesResponse, DeleteClusterRequest, TerminateWorkspacesResponse, ModifyInitNodeScriptsRequest, AttachNodesRequest, DescribeWorkspacesResponse, DescribeJobsOverviewRequest, DeleteClusterResponse, DescribeAutoScalingConfigurationResponse, DescribeClustersRequest, TerminateJobRequest, DeleteNodesResponse, AddClusterStorageOptionResponse, DescribeWorkspacesRequest, AddQueueRequest, DescribeQueuesResponse, SubmitJobRequest, ModifyWorkspacesRenewFlagResponse, DescribeNodesResponse, DeleteClusterStorageOptionRequest, DeleteJobRequest, DetachNodesResponse, DescribeClusterStorageOptionRequest, ModifyWorkspacesAttributeResponse, DescribeClustersResponse, DescribeClusterActivitiesResponse, DescribeInitNodeScriptsResponse, DeleteQueueResponse, DeleteJobResponse, DescribeJobSubmitInfoResponse, CreateClusterResponse, DescribeQueuesRequest, SetAutoScalingConfigurationResponse, CreateClusterRequest, AddQueueResponse, DescribeClusterStorageOptionResponse, ModifyInitNodeScriptsResponse, DescribeJobSubmitInfoRequest, ModifyWorkspacesAttributeRequest, TerminateWorkspacesRequest, DeleteNodesRequest, DeleteClusterStorageOptionResponse, TerminateJobResponse, DescribeJobsRequest, SetAutoScalingConfigurationRequest, SubmitJobResponse, DescribeNodesRequest, DetachNodesRequest, AttachNodesResponse, DescribeJobsOverviewResponse, ModifyWorkspacesRenewFlagRequest, CreateWorkspacesRequest, DescribeClusterActivitiesRequest, DescribeJobsResponse, AddNodesRequest, DeleteQueueRequest, AddClusterStorageOptionRequest, DescribeAutoScalingConfigurationRequest } from "./thpc_models";
|
4
4
|
/**
|
5
5
|
* thpc client
|
6
6
|
* @class
|
7
7
|
*/
|
8
8
|
export declare class Client extends AbstractClient {
|
9
9
|
constructor(clientConfig: ClientConfig);
|
10
|
+
/**
|
11
|
+
* 本接口(DescribeAutoScalingConfiguration)用于查询集群弹性伸缩配置信息。本接口仅适用于弹性伸缩类型为THPC_AS的集群。
|
12
|
+
*/
|
13
|
+
DescribeAutoScalingConfiguration(req: DescribeAutoScalingConfigurationRequest, cb?: (error: string, rep: DescribeAutoScalingConfigurationResponse) => void): Promise<DescribeAutoScalingConfigurationResponse>;
|
10
14
|
/**
|
11
15
|
* 本接口(DeleteNodes)用于删除指定集群中一个或者多个计算节点或者登录节点。
|
12
16
|
*/
|
@@ -38,13 +42,17 @@ export declare class Client extends AbstractClient {
|
|
38
42
|
*/
|
39
43
|
AddNodes(req: AddNodesRequest, cb?: (error: string, rep: AddNodesResponse) => void): Promise<AddNodesResponse>;
|
40
44
|
/**
|
41
|
-
* 本接口 (
|
45
|
+
* 本接口 (DescribeJobs) 用于查询作业任务列表信息。
|
42
46
|
*/
|
43
|
-
|
47
|
+
DescribeJobs(req: DescribeJobsRequest, cb?: (error: string, rep: DescribeJobsResponse) => void): Promise<DescribeJobsResponse>;
|
44
48
|
/**
|
45
49
|
* 本接口(DeleteCluster)用于删除一个指定的集群。
|
46
50
|
*/
|
47
51
|
DeleteCluster(req: DeleteClusterRequest, cb?: (error: string, rep: DeleteClusterResponse) => void): Promise<DeleteClusterResponse>;
|
52
|
+
/**
|
53
|
+
* 本接口 (DetachNodes) 用于将一个或者多个计算节点从集群中移除,但是不销毁指定计算资源。
|
54
|
+
*/
|
55
|
+
DetachNodes(req: DetachNodesRequest, cb?: (error: string, rep: DetachNodesResponse) => void): Promise<DetachNodesResponse>;
|
48
56
|
/**
|
49
57
|
* 本接口 (DeleteClusterStorageOption) 用于删除集群存储选项信息。
|
50
58
|
*/
|
@@ -53,6 +61,10 @@ export declare class Client extends AbstractClient {
|
|
53
61
|
* 本接口(DescribeWorkspaces)用于查询工作空间列表。
|
54
62
|
*/
|
55
63
|
DescribeWorkspaces(req: DescribeWorkspacesRequest, cb?: (error: string, rep: DescribeWorkspacesResponse) => void): Promise<DescribeWorkspacesResponse>;
|
64
|
+
/**
|
65
|
+
* 本接口 (TerminateJob) 用于终止一个作业任务。
|
66
|
+
*/
|
67
|
+
TerminateJob(req: TerminateJobRequest, cb?: (error: string, rep: TerminateJobResponse) => void): Promise<TerminateJobResponse>;
|
56
68
|
/**
|
57
69
|
* 本接口 (DescribeNodes) 用于查询指定集群节点概览信息列表。
|
58
70
|
*/
|
@@ -80,13 +92,17 @@ export declare class Client extends AbstractClient {
|
|
80
92
|
*/
|
81
93
|
AttachNodes(req: AttachNodesRequest, cb?: (error: string, rep: AttachNodesResponse) => void): Promise<AttachNodesResponse>;
|
82
94
|
/**
|
83
|
-
*
|
95
|
+
* 本接口用于查询作业的提交信息。
|
84
96
|
*/
|
85
|
-
|
97
|
+
DescribeJobSubmitInfo(req: DescribeJobSubmitInfoRequest, cb?: (error: string, rep: DescribeJobSubmitInfoResponse) => void): Promise<DescribeJobSubmitInfoResponse>;
|
86
98
|
/**
|
87
99
|
* 本接口(DescribeClusterActivities)用于查询集群活动历史记录列表。
|
88
100
|
*/
|
89
101
|
DescribeClusterActivities(req: DescribeClusterActivitiesRequest, cb?: (error: string, rep: DescribeClusterActivitiesResponse) => void): Promise<DescribeClusterActivitiesResponse>;
|
102
|
+
/**
|
103
|
+
* 本接口 (SubmitJob) 用于提交一个作业任务。
|
104
|
+
*/
|
105
|
+
SubmitJob(req?: SubmitJobRequest, cb?: (error: string, rep: SubmitJobResponse) => void): Promise<SubmitJobResponse>;
|
90
106
|
/**
|
91
107
|
* 本接口 (DescribeClusterStorageOption) 用于查询集群存储选项信息。
|
92
108
|
*/
|
@@ -99,6 +115,14 @@ export declare class Client extends AbstractClient {
|
|
99
115
|
* 本接口(AddClusterStorageOption)用于添加集群存储选项信息。
|
100
116
|
*/
|
101
117
|
AddClusterStorageOption(req: AddClusterStorageOptionRequest, cb?: (error: string, rep: AddClusterStorageOptionResponse) => void): Promise<AddClusterStorageOptionResponse>;
|
118
|
+
/**
|
119
|
+
* 本接口 (DescribeJobs) 用于查询作业任务列表信息。
|
120
|
+
*/
|
121
|
+
DescribeJobsOverview(req?: DescribeJobsOverviewRequest, cb?: (error: string, rep: DescribeJobsOverviewResponse) => void): Promise<DescribeJobsOverviewResponse>;
|
122
|
+
/**
|
123
|
+
* 本接口 (DeleteJob) 用于删除一个作业任务。
|
124
|
+
*/
|
125
|
+
DeleteJob(req: DeleteJobRequest, cb?: (error: string, rep: DeleteJobResponse) => void): Promise<DeleteJobResponse>;
|
102
126
|
/**
|
103
127
|
* 本接口 (ModifyWorkspacesAttribute) 用于修改工作空间的属性(目前只支持修改工作空间的名称)。
|
104
128
|
*/
|
@@ -27,6 +27,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
27
27
|
constructor(clientConfig) {
|
28
28
|
super("thpc.tencentcloudapi.com", "2023-03-21", clientConfig);
|
29
29
|
}
|
30
|
+
/**
|
31
|
+
* 本接口(DescribeAutoScalingConfiguration)用于查询集群弹性伸缩配置信息。本接口仅适用于弹性伸缩类型为THPC_AS的集群。
|
32
|
+
*/
|
33
|
+
async DescribeAutoScalingConfiguration(req, cb) {
|
34
|
+
return this.request("DescribeAutoScalingConfiguration", req, cb);
|
35
|
+
}
|
30
36
|
/**
|
31
37
|
* 本接口(DeleteNodes)用于删除指定集群中一个或者多个计算节点或者登录节点。
|
32
38
|
*/
|
@@ -72,10 +78,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
72
78
|
return this.request("AddNodes", req, cb);
|
73
79
|
}
|
74
80
|
/**
|
75
|
-
* 本接口 (
|
81
|
+
* 本接口 (DescribeJobs) 用于查询作业任务列表信息。
|
76
82
|
*/
|
77
|
-
async
|
78
|
-
return this.request("
|
83
|
+
async DescribeJobs(req, cb) {
|
84
|
+
return this.request("DescribeJobs", req, cb);
|
79
85
|
}
|
80
86
|
/**
|
81
87
|
* 本接口(DeleteCluster)用于删除一个指定的集群。
|
@@ -83,6 +89,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
83
89
|
async DeleteCluster(req, cb) {
|
84
90
|
return this.request("DeleteCluster", req, cb);
|
85
91
|
}
|
92
|
+
/**
|
93
|
+
* 本接口 (DetachNodes) 用于将一个或者多个计算节点从集群中移除,但是不销毁指定计算资源。
|
94
|
+
*/
|
95
|
+
async DetachNodes(req, cb) {
|
96
|
+
return this.request("DetachNodes", req, cb);
|
97
|
+
}
|
86
98
|
/**
|
87
99
|
* 本接口 (DeleteClusterStorageOption) 用于删除集群存储选项信息。
|
88
100
|
*/
|
@@ -95,6 +107,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
95
107
|
async DescribeWorkspaces(req, cb) {
|
96
108
|
return this.request("DescribeWorkspaces", req, cb);
|
97
109
|
}
|
110
|
+
/**
|
111
|
+
* 本接口 (TerminateJob) 用于终止一个作业任务。
|
112
|
+
*/
|
113
|
+
async TerminateJob(req, cb) {
|
114
|
+
return this.request("TerminateJob", req, cb);
|
115
|
+
}
|
98
116
|
/**
|
99
117
|
* 本接口 (DescribeNodes) 用于查询指定集群节点概览信息列表。
|
100
118
|
*/
|
@@ -134,10 +152,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
134
152
|
return this.request("AttachNodes", req, cb);
|
135
153
|
}
|
136
154
|
/**
|
137
|
-
*
|
155
|
+
* 本接口用于查询作业的提交信息。
|
138
156
|
*/
|
139
|
-
async
|
140
|
-
return this.request("
|
157
|
+
async DescribeJobSubmitInfo(req, cb) {
|
158
|
+
return this.request("DescribeJobSubmitInfo", req, cb);
|
141
159
|
}
|
142
160
|
/**
|
143
161
|
* 本接口(DescribeClusterActivities)用于查询集群活动历史记录列表。
|
@@ -145,6 +163,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
145
163
|
async DescribeClusterActivities(req, cb) {
|
146
164
|
return this.request("DescribeClusterActivities", req, cb);
|
147
165
|
}
|
166
|
+
/**
|
167
|
+
* 本接口 (SubmitJob) 用于提交一个作业任务。
|
168
|
+
*/
|
169
|
+
async SubmitJob(req, cb) {
|
170
|
+
return this.request("SubmitJob", req, cb);
|
171
|
+
}
|
148
172
|
/**
|
149
173
|
* 本接口 (DescribeClusterStorageOption) 用于查询集群存储选项信息。
|
150
174
|
*/
|
@@ -163,6 +187,18 @@ class Client extends abstract_client_1.AbstractClient {
|
|
163
187
|
async AddClusterStorageOption(req, cb) {
|
164
188
|
return this.request("AddClusterStorageOption", req, cb);
|
165
189
|
}
|
190
|
+
/**
|
191
|
+
* 本接口 (DescribeJobs) 用于查询作业任务列表信息。
|
192
|
+
*/
|
193
|
+
async DescribeJobsOverview(req, cb) {
|
194
|
+
return this.request("DescribeJobsOverview", req, cb);
|
195
|
+
}
|
196
|
+
/**
|
197
|
+
* 本接口 (DeleteJob) 用于删除一个作业任务。
|
198
|
+
*/
|
199
|
+
async DeleteJob(req, cb) {
|
200
|
+
return this.request("DeleteJob", req, cb);
|
201
|
+
}
|
166
202
|
/**
|
167
203
|
* 本接口 (ModifyWorkspacesAttribute) 用于修改工作空间的属性(目前只支持修改工作空间的名称)。
|
168
204
|
*/
|