tencentcloud-sdk-nodejs 4.0.341 → 4.0.342
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 +137 -0
- package/SERVICE_CHANGELOG.md +239 -173
- package/package.json +1 -1
- package/products.md +14 -14
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apm/v20210622/apm_client.ts +47 -32
- package/src/services/apm/v20210622/apm_models.ts +310 -195
- package/src/services/cdn/v20180606/cdn_models.ts +2 -2
- package/src/services/cpdp/v20190820/cpdp_client.ts +1 -1
- package/src/services/cpdp/v20190820/cpdp_models.ts +17 -9
- package/src/services/redis/v20180412/redis_models.ts +5 -0
- package/src/services/sts/v20180813/sts_client.ts +1 -0
- package/src/services/sts/v20180813/sts_models.ts +23 -3
- package/src/services/teo/v20220106/teo_client.ts +23 -10
- package/src/services/teo/v20220106/teo_models.ts +130 -9
- package/src/services/tke/v20180525/tke_client.ts +498 -270
- package/src/services/tke/v20180525/tke_models.ts +4357 -4017
- package/src/services/tmt/v20180321/tmt_client.ts +61 -33
- package/src/services/tmt/v20180321/tmt_models.ts +285 -131
- package/src/services/trtc/v20190722/trtc_models.ts +6 -6
- package/src/services/vod/v20180717/vod_models.ts +13 -6
- package/src/services/vpc/v20170312/vpc_client.ts +36 -12
- package/src/services/vpc/v20170312/vpc_models.ts +40 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apm/v20210622/apm_client.d.ts +14 -9
- package/tencentcloud/services/apm/v20210622/apm_client.js +19 -12
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +267 -169
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +2 -2
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +1 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +1 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +14 -6
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +4 -0
- package/tencentcloud/services/sts/v20180813/sts_models.d.ts +20 -3
- package/tencentcloud/services/teo/v20220106/teo_client.d.ts +9 -5
- package/tencentcloud/services/teo/v20220106/teo_client.js +12 -6
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +108 -4
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +87 -11
- package/tencentcloud/services/tke/v20180525/tke_client.js +129 -15
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +3903 -3606
- package/tencentcloud/services/tmt/v20180321/tmt_client.d.ts +23 -13
- package/tencentcloud/services/tmt/v20180321/tmt_client.js +31 -17
- package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +259 -123
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +6 -6
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +13 -6
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +13 -5
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +18 -6
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +36 -0
- package/test/apm.v20210622.test.js +18 -8
- package/test/teo.v20220106.test.js +14 -4
- package/test/tke.v20180525.test.js +200 -10
- package/test/tmt.v20180321.test.js +28 -8
- package/test/vpc.v20170312.test.js +24 -4
|
@@ -81,7 +81,7 @@ export interface CloudStorage {
|
|
|
81
81
|
SecretKey: string
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
|
-
* 第三方云存储bucket 的指定位置,由字符串数组组成。合法的字符串范围a~z,A~Z,0~9,举个例子,录制文件xxx.m3u8在 ["prefix1", "prefix2"]作用下,会变成prefix1/prefix2/TaskId/xxx.m3u8。
|
|
84
|
+
* 第三方云存储bucket 的指定位置,由字符串数组组成。合法的字符串范围a~z,A~Z,0~9,'_'和'-',举个例子,录制文件xxx.m3u8在 ["prefix1", "prefix2"]作用下,会变成prefix1/prefix2/TaskId/xxx.m3u8。
|
|
85
85
|
*/
|
|
86
86
|
FileNamePrefix?: Array<string>
|
|
87
87
|
}
|
|
@@ -343,26 +343,26 @@ export interface RemoveUserByStrRoomIdRequest {
|
|
|
343
343
|
}
|
|
344
344
|
|
|
345
345
|
/**
|
|
346
|
-
* 指定订阅流白名单或者黑名单,音频的白名单和音频黑名单不能同时设置,视频亦然。同时实际并发订阅的媒体流路数最大支持25路流,混流场景下视频的多画面最大支持24
|
|
346
|
+
* 指定订阅流白名单或者黑名单,音频的白名单和音频黑名单不能同时设置,视频亦然。同时实际并发订阅的媒体流路数最大支持25路流,混流场景下视频的多画面最大支持24画面。支持通过设置".*$"通配符,来前缀匹配黑白名单的UserId,注意房间里不能有和通配符规则相同的用户,否则将视为订阅具体用户,前缀规则会失效。
|
|
347
347
|
*/
|
|
348
348
|
export interface SubscribeStreamUserIds {
|
|
349
349
|
/**
|
|
350
|
-
* 订阅音频流白名单,指定订阅哪几个UserId的音频流,例如["1", "2", "3"], 代表订阅UserId 1,2,3
|
|
350
|
+
* 订阅音频流白名单,指定订阅哪几个UserId的音频流,例如["1", "2", "3"], 代表订阅UserId 1,2,3的音频流;["1.*$"], 代表订阅UserId前缀为1的音频流。默认不填订阅房间内所有的音频流,订阅列表用户数不超过32。
|
|
351
351
|
*/
|
|
352
352
|
SubscribeAudioUserIds?: Array<string>
|
|
353
353
|
|
|
354
354
|
/**
|
|
355
|
-
* 订阅音频流黑名单,指定不订阅哪几个UserId的音频流,例如["1", "2", "3"], 代表不订阅UserId 1,2,3
|
|
355
|
+
* 订阅音频流黑名单,指定不订阅哪几个UserId的音频流,例如["1", "2", "3"], 代表不订阅UserId 1,2,3的音频流;["1.*$"], 代表不订阅UserId前缀为1的音频流。默认不填订阅房间内所有音频流,订阅列表用户数不超过32。
|
|
356
356
|
*/
|
|
357
357
|
UnSubscribeAudioUserIds?: Array<string>
|
|
358
358
|
|
|
359
359
|
/**
|
|
360
|
-
* 订阅视频流白名单,指定订阅哪几个UserId的视频流,例如["1", "2", "3"], 代表订阅UserId 1,2,3
|
|
360
|
+
* 订阅视频流白名单,指定订阅哪几个UserId的视频流,例如["1", "2", "3"], 代表订阅UserId 1,2,3的视频流;["1.*$"], 代表订阅UserId前缀为1的视频流。默认不填订阅房间内所有视频流,订阅列表用户数不超过32。
|
|
361
361
|
*/
|
|
362
362
|
SubscribeVideoUserIds?: Array<string>
|
|
363
363
|
|
|
364
364
|
/**
|
|
365
|
-
* 订阅视频流黑名单,指定不订阅哪几个UserId的视频流,例如["1", "2", "3"], 代表不订阅UserId 1,2,3
|
|
365
|
+
* 订阅视频流黑名单,指定不订阅哪几个UserId的视频流,例如["1", "2", "3"], 代表不订阅UserId 1,2,3的视频流;["1.*$"], 代表不订阅UserId前缀为1的视频流。默认不填订阅房间内所有视频流,订阅列表用户数不超过32。
|
|
366
366
|
*/
|
|
367
367
|
UnSubscribeVideoUserIds?: Array<string>
|
|
368
368
|
}
|
|
@@ -12152,10 +12152,13 @@ export interface MediaInfo {
|
|
|
12152
12152
|
export interface VideoTemplateInfoForUpdate {
|
|
12153
12153
|
/**
|
|
12154
12154
|
* 视频流的编码格式,可选值:
|
|
12155
|
-
<li>libx264:H.264
|
|
12156
|
-
<li>libx265:H.265
|
|
12157
|
-
<li>av1:AOMedia Video 1
|
|
12158
|
-
|
|
12155
|
+
<li>libx264:H.264 编码;</li>
|
|
12156
|
+
<li>libx265:H.265 编码;</li>
|
|
12157
|
+
<li>av1:AOMedia Video 1 编码;</li>
|
|
12158
|
+
<li>H.266:H.266 编码。</li>
|
|
12159
|
+
<font color=red>注意:</font>
|
|
12160
|
+
<li> av1,H.266 编码容器目前只支持 mp4 ;</li>
|
|
12161
|
+
<li> H.266 目前只支持恒定 CRF 码率控制方式。 </li>
|
|
12159
12162
|
*/
|
|
12160
12163
|
Codec?: string
|
|
12161
12164
|
|
|
@@ -12202,8 +12205,12 @@ export interface VideoTemplateInfoForUpdate {
|
|
|
12202
12205
|
FillType?: string
|
|
12203
12206
|
|
|
12204
12207
|
/**
|
|
12205
|
-
*
|
|
12206
|
-
|
|
12208
|
+
* 视频恒定码率控制因子,取值范围为[1, 51],填 0 表示禁用该参数。
|
|
12209
|
+
|
|
12210
|
+
<font color=red>注意:</font>
|
|
12211
|
+
<li>如果指定该参数,将使用 CRF 的码率控制方式做转码(视频码率将不再生效);</li>
|
|
12212
|
+
<li>当指定视频流编码格式为 H.266 时,该字段必填,推荐值为 28;</li>
|
|
12213
|
+
<li>如果没有特殊需求,不建议指定该参数。</li>
|
|
12207
12214
|
*/
|
|
12208
12215
|
Vcrf?: number
|
|
12209
12216
|
|
|
@@ -325,6 +325,7 @@ import {
|
|
|
325
325
|
DescribeProductQuotaResponse,
|
|
326
326
|
Price,
|
|
327
327
|
HaVipDisassociateAddressIpRequest,
|
|
328
|
+
DisableFlowLogsResponse,
|
|
328
329
|
DescribeBandwidthPackageResourcesResponse,
|
|
329
330
|
DescribeCrossBorderComplianceResponse,
|
|
330
331
|
ModifyVpnGatewayAttributeResponse,
|
|
@@ -471,6 +472,7 @@ import {
|
|
|
471
472
|
DeleteCcnRequest,
|
|
472
473
|
ModifyLocalGatewayResponse,
|
|
473
474
|
AssociateNetworkInterfaceSecurityGroupsResponse,
|
|
475
|
+
EnableFlowLogsRequest,
|
|
474
476
|
ModifyVpnGatewayAttributeRequest,
|
|
475
477
|
CreateNatGatewayRequest,
|
|
476
478
|
DeleteNetDetectRequest,
|
|
@@ -620,6 +622,7 @@ import {
|
|
|
620
622
|
ModifyNetDetectResponse,
|
|
621
623
|
CreateHaVipRequest,
|
|
622
624
|
Ipv6SubnetCidrBlock,
|
|
625
|
+
EnableFlowLogsResponse,
|
|
623
626
|
LockCcnBandwidthsResponse,
|
|
624
627
|
DescribeAddressQuotaResponse,
|
|
625
628
|
CreateCustomerGatewayRequest,
|
|
@@ -659,6 +662,7 @@ import {
|
|
|
659
662
|
DescribeServiceTemplateGroupsRequest,
|
|
660
663
|
CreateSecurityGroupWithPoliciesRequest,
|
|
661
664
|
CreateVpcRequest,
|
|
665
|
+
DisableFlowLogsRequest,
|
|
662
666
|
DeleteServiceTemplateRequest,
|
|
663
667
|
DescribeSecurityGroupAssociationStatisticsRequest,
|
|
664
668
|
NotifyRoutesResponse,
|
|
@@ -2343,6 +2347,16 @@ export class Client extends AbstractClient {
|
|
|
2343
2347
|
return this.request("DeleteNetDetect", req, cb)
|
|
2344
2348
|
}
|
|
2345
2349
|
|
|
2350
|
+
/**
|
|
2351
|
+
* 本接口(DescribePriceCreateDirectConnectGateway)用于创建专线网关询价。
|
|
2352
|
+
*/
|
|
2353
|
+
async InquirePriceCreateDirectConnectGateway(
|
|
2354
|
+
req?: InquirePriceCreateDirectConnectGatewayRequest,
|
|
2355
|
+
cb?: (error: string, rep: InquirePriceCreateDirectConnectGatewayResponse) => void
|
|
2356
|
+
): Promise<InquirePriceCreateDirectConnectGatewayResponse> {
|
|
2357
|
+
return this.request("InquirePriceCreateDirectConnectGateway", req, cb)
|
|
2358
|
+
}
|
|
2359
|
+
|
|
2346
2360
|
/**
|
|
2347
2361
|
* 本接口(ModifySecurityGroupAttribute)用于修改安全组(SecurityGroupPolicy)属性。
|
|
2348
2362
|
*/
|
|
@@ -2457,13 +2471,13 @@ export class Client extends AbstractClient {
|
|
|
2457
2471
|
}
|
|
2458
2472
|
|
|
2459
2473
|
/**
|
|
2460
|
-
* 本接口(
|
|
2474
|
+
* 本接口(DisableFlowLogs)用于停止流日志。
|
|
2461
2475
|
*/
|
|
2462
|
-
async
|
|
2463
|
-
req:
|
|
2464
|
-
cb?: (error: string, rep:
|
|
2465
|
-
): Promise<
|
|
2466
|
-
return this.request("
|
|
2476
|
+
async DisableFlowLogs(
|
|
2477
|
+
req: DisableFlowLogsRequest,
|
|
2478
|
+
cb?: (error: string, rep: DisableFlowLogsResponse) => void
|
|
2479
|
+
): Promise<DisableFlowLogsResponse> {
|
|
2480
|
+
return this.request("DisableFlowLogs", req, cb)
|
|
2467
2481
|
}
|
|
2468
2482
|
|
|
2469
2483
|
/**
|
|
@@ -2614,6 +2628,16 @@ export class Client extends AbstractClient {
|
|
|
2614
2628
|
return this.request("DescribeVpnGateways", req, cb)
|
|
2615
2629
|
}
|
|
2616
2630
|
|
|
2631
|
+
/**
|
|
2632
|
+
* 本接口(ModifySubnetAttribute)用于修改子网属性。
|
|
2633
|
+
*/
|
|
2634
|
+
async ModifySubnetAttribute(
|
|
2635
|
+
req: ModifySubnetAttributeRequest,
|
|
2636
|
+
cb?: (error: string, rep: ModifySubnetAttributeResponse) => void
|
|
2637
|
+
): Promise<ModifySubnetAttributeResponse> {
|
|
2638
|
+
return this.request("ModifySubnetAttribute", req, cb)
|
|
2639
|
+
}
|
|
2640
|
+
|
|
2617
2641
|
/**
|
|
2618
2642
|
* 本接口(DownloadCustomerGatewayConfiguration)用于下载VPN通道配置。
|
|
2619
2643
|
*/
|
|
@@ -2764,13 +2788,13 @@ export class Client extends AbstractClient {
|
|
|
2764
2788
|
}
|
|
2765
2789
|
|
|
2766
2790
|
/**
|
|
2767
|
-
* 本接口(
|
|
2791
|
+
* 本接口(EnableFlowLogs)用于启动流日志。
|
|
2768
2792
|
*/
|
|
2769
|
-
async
|
|
2770
|
-
req
|
|
2771
|
-
cb?: (error: string, rep:
|
|
2772
|
-
): Promise<
|
|
2773
|
-
return this.request("
|
|
2793
|
+
async EnableFlowLogs(
|
|
2794
|
+
req: EnableFlowLogsRequest,
|
|
2795
|
+
cb?: (error: string, rep: EnableFlowLogsResponse) => void
|
|
2796
|
+
): Promise<EnableFlowLogsResponse> {
|
|
2797
|
+
return this.request("EnableFlowLogs", req, cb)
|
|
2774
2798
|
}
|
|
2775
2799
|
|
|
2776
2800
|
/**
|
|
@@ -6991,6 +6991,16 @@ export interface HaVipDisassociateAddressIpRequest {
|
|
|
6991
6991
|
HaVipId: string
|
|
6992
6992
|
}
|
|
6993
6993
|
|
|
6994
|
+
/**
|
|
6995
|
+
* DisableFlowLogs返回参数结构体
|
|
6996
|
+
*/
|
|
6997
|
+
export interface DisableFlowLogsResponse {
|
|
6998
|
+
/**
|
|
6999
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7000
|
+
*/
|
|
7001
|
+
RequestId?: string
|
|
7002
|
+
}
|
|
7003
|
+
|
|
6994
7004
|
/**
|
|
6995
7005
|
* DescribeBandwidthPackageResources返回参数结构体
|
|
6996
7006
|
*/
|
|
@@ -9956,6 +9966,16 @@ export interface AssociateNetworkInterfaceSecurityGroupsResponse {
|
|
|
9956
9966
|
RequestId?: string
|
|
9957
9967
|
}
|
|
9958
9968
|
|
|
9969
|
+
/**
|
|
9970
|
+
* EnableFlowLogs请求参数结构体
|
|
9971
|
+
*/
|
|
9972
|
+
export interface EnableFlowLogsRequest {
|
|
9973
|
+
/**
|
|
9974
|
+
* 流日志Id。
|
|
9975
|
+
*/
|
|
9976
|
+
FlowLogIds: Array<string>
|
|
9977
|
+
}
|
|
9978
|
+
|
|
9959
9979
|
/**
|
|
9960
9980
|
* ModifyVpnGatewayAttribute请求参数结构体
|
|
9961
9981
|
*/
|
|
@@ -13007,6 +13027,16 @@ export interface Ipv6SubnetCidrBlock {
|
|
|
13007
13027
|
Ipv6CidrBlock?: string
|
|
13008
13028
|
}
|
|
13009
13029
|
|
|
13030
|
+
/**
|
|
13031
|
+
* EnableFlowLogs返回参数结构体
|
|
13032
|
+
*/
|
|
13033
|
+
export interface EnableFlowLogsResponse {
|
|
13034
|
+
/**
|
|
13035
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
13036
|
+
*/
|
|
13037
|
+
RequestId?: string
|
|
13038
|
+
}
|
|
13039
|
+
|
|
13010
13040
|
/**
|
|
13011
13041
|
* LockCcnBandwidths返回参数结构体
|
|
13012
13042
|
*/
|
|
@@ -13677,6 +13707,16 @@ export interface CreateVpcRequest {
|
|
|
13677
13707
|
Tags?: Array<Tag>
|
|
13678
13708
|
}
|
|
13679
13709
|
|
|
13710
|
+
/**
|
|
13711
|
+
* DisableFlowLogs请求参数结构体
|
|
13712
|
+
*/
|
|
13713
|
+
export interface DisableFlowLogsRequest {
|
|
13714
|
+
/**
|
|
13715
|
+
* 流日志Id。
|
|
13716
|
+
*/
|
|
13717
|
+
FlowLogIds: Array<string>
|
|
13718
|
+
}
|
|
13719
|
+
|
|
13680
13720
|
/**
|
|
13681
13721
|
* DeleteServiceTemplate请求参数结构体
|
|
13682
13722
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.342";
|
|
@@ -1,20 +1,12 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import {
|
|
3
|
+
import { CreateApmInstanceRequest, DescribeServiceOverviewResponse, DescribeApmInstancesResponse, DescribeServiceOverviewRequest, DescribeApmAgentResponse, DescribeMetricRecordsResponse, DescribeApmAgentRequest, DescribeMetricRecordsRequest, DescribeGeneralMetricDataRequest, CreateApmInstanceResponse, DescribeApmInstancesRequest, DescribeGeneralMetricDataResponse } from "./apm_models";
|
|
4
4
|
/**
|
|
5
5
|
* apm client
|
|
6
6
|
* @class
|
|
7
7
|
*/
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
|
-
/**
|
|
11
|
-
* 业务购买APM实例,调用该接口创建
|
|
12
|
-
*/
|
|
13
|
-
CreateApmInstance(req: CreateApmInstanceRequest, cb?: (error: string, rep: CreateApmInstanceResponse) => void): Promise<CreateApmInstanceResponse>;
|
|
14
|
-
/**
|
|
15
|
-
* 拉取通用指标列表
|
|
16
|
-
*/
|
|
17
|
-
DescribeMetricRecords(req: DescribeMetricRecordsRequest, cb?: (error: string, rep: DescribeMetricRecordsResponse) => void): Promise<DescribeMetricRecordsResponse>;
|
|
18
10
|
/**
|
|
19
11
|
* APM实例列表拉取
|
|
20
12
|
*/
|
|
@@ -23,6 +15,19 @@ export declare class Client extends AbstractClient {
|
|
|
23
15
|
* 获取Apm Agent信息
|
|
24
16
|
*/
|
|
25
17
|
DescribeApmAgent(req: DescribeApmAgentRequest, cb?: (error: string, rep: DescribeApmAgentResponse) => void): Promise<DescribeApmAgentResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* 获取指标数据通用接口。用户根据需要上送请求参数,返回对应的指标数据。
|
|
20
|
+
接口调用频率限制为:20次/秒,1200次/分钟。单请求的数据点数限制为1440个。
|
|
21
|
+
*/
|
|
22
|
+
DescribeGeneralMetricData(req: DescribeGeneralMetricDataRequest, cb?: (error: string, rep: DescribeGeneralMetricDataResponse) => void): Promise<DescribeGeneralMetricDataResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* 拉取通用指标列表
|
|
25
|
+
*/
|
|
26
|
+
DescribeMetricRecords(req: DescribeMetricRecordsRequest, cb?: (error: string, rep: DescribeMetricRecordsResponse) => void): Promise<DescribeMetricRecordsResponse>;
|
|
27
|
+
/**
|
|
28
|
+
* 业务购买APM实例,调用该接口创建
|
|
29
|
+
*/
|
|
30
|
+
CreateApmInstance(req: CreateApmInstanceRequest, cb?: (error: string, rep: CreateApmInstanceResponse) => void): Promise<CreateApmInstanceResponse>;
|
|
26
31
|
/**
|
|
27
32
|
* 服务概览数据拉取
|
|
28
33
|
*/
|
|
@@ -27,18 +27,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
27
27
|
constructor(clientConfig) {
|
|
28
28
|
super("apm.tencentcloudapi.com", "2021-06-22", clientConfig);
|
|
29
29
|
}
|
|
30
|
-
/**
|
|
31
|
-
* 业务购买APM实例,调用该接口创建
|
|
32
|
-
*/
|
|
33
|
-
async CreateApmInstance(req, cb) {
|
|
34
|
-
return this.request("CreateApmInstance", req, cb);
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* 拉取通用指标列表
|
|
38
|
-
*/
|
|
39
|
-
async DescribeMetricRecords(req, cb) {
|
|
40
|
-
return this.request("DescribeMetricRecords", req, cb);
|
|
41
|
-
}
|
|
42
30
|
/**
|
|
43
31
|
* APM实例列表拉取
|
|
44
32
|
*/
|
|
@@ -51,6 +39,25 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
51
39
|
async DescribeApmAgent(req, cb) {
|
|
52
40
|
return this.request("DescribeApmAgent", req, cb);
|
|
53
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* 获取指标数据通用接口。用户根据需要上送请求参数,返回对应的指标数据。
|
|
44
|
+
接口调用频率限制为:20次/秒,1200次/分钟。单请求的数据点数限制为1440个。
|
|
45
|
+
*/
|
|
46
|
+
async DescribeGeneralMetricData(req, cb) {
|
|
47
|
+
return this.request("DescribeGeneralMetricData", req, cb);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* 拉取通用指标列表
|
|
51
|
+
*/
|
|
52
|
+
async DescribeMetricRecords(req, cb) {
|
|
53
|
+
return this.request("DescribeMetricRecords", req, cb);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* 业务购买APM实例,调用该接口创建
|
|
57
|
+
*/
|
|
58
|
+
async CreateApmInstance(req, cb) {
|
|
59
|
+
return this.request("CreateApmInstance", req, cb);
|
|
60
|
+
}
|
|
54
61
|
/**
|
|
55
62
|
* 服务概览数据拉取
|
|
56
63
|
*/
|