tencentcloud-sdk-nodejs 4.0.1035 → 4.0.1037
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/package.json +1 -1
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apm/v20210622/apm_client.ts +12 -0
- package/src/services/apm/v20210622/apm_models.ts +66 -0
- package/src/services/asr/v20190614/asr_client.ts +1 -1
- package/src/services/batch/v20170312/batch_models.ts +0 -2
- package/src/services/ccc/v20200210/ccc_models.ts +5 -5
- package/src/services/cvm/v20170312/cvm_models.ts +0 -4
- package/src/services/dc/v20180410/dc_models.ts +4 -0
- package/src/services/emr/v20190103/emr_client.ts +33 -20
- package/src/services/emr/v20190103/emr_models.ts +338 -256
- package/src/services/ess/v20201111/ess_models.ts +2 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +2 -2
- package/src/services/live/v20180801/live_models.ts +4 -0
- package/src/services/mna/v20210119/mna_models.ts +7 -36
- package/src/services/ocr/v20181119/ocr_client.ts +5 -3
- package/src/services/rce/v20201103/rce_models.ts +15 -34
- package/src/services/scf/v20180416/scf_models.ts +1 -1
- package/src/services/trtc/v20190722/trtc_models.ts +4 -31
- package/src/services/waf/v20180125/waf_client.ts +1 -0
- package/src/services/waf/v20180125/waf_models.ts +102 -15
- 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 +5 -1
- package/tencentcloud/services/apm/v20210622/apm_client.js +6 -0
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +64 -0
- package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
- package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +0 -2
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +5 -5
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +0 -4
- package/tencentcloud/services/dc/v20180410/dc_models.d.ts +4 -0
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +7 -3
- package/tencentcloud/services/emr/v20190103/emr_client.js +9 -3
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +335 -256
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -2
- package/tencentcloud/services/live/v20180801/live_models.d.ts +4 -0
- package/tencentcloud/services/mna/v20210119/mna_models.d.ts +6 -35
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +3 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +3 -1
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +15 -34
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +1 -1
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +4 -31
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +101 -15
|
@@ -1638,7 +1638,8 @@ export interface Strategy {
|
|
|
1638
1638
|
* 匹配字段
|
|
1639
1639
|
|
|
1640
1640
|
匹配字段不同,相应的匹配参数、逻辑符号、匹配内容有所不同具体如下所示:
|
|
1641
|
-
<table><thead><tr><th>匹配字段</th><th>匹配参数</th><th>逻辑符号</th><th>匹配内容</th></tr></thead><tbody><tr><td>IP(来源IP)</td><td>不支持参数</td><td>ipmatch(匹配)<br/>ipnmatch(不匹配)</td><td>多个IP以英文逗号隔开,最多20个</td></tr><tr><td>IPV6(来源IPv6)</td><td>不支持参数</td><td>ipmatch(匹配)<br/>ipnmatch(不匹配)</td><td>支持单个IPV6地址</td></tr><tr><td>Referer(Referer)</td><td>不支持参数</td><td>empty(内容为空)<br/>null(不存在)<br/>eq(等于)<br/>neq(不等于)<br/>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>URL(请求路径)</td><td>不支持参数</td><td>eq(等于)<br/>neq(不等于)<br/>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)<br/></td><td>请以/开头,512个字符以内</td></tr><tr><td>UserAgent(UserAgent)</td><td>不支持参数</td><td>同匹配字段<font color="Red">Referer</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>HTTP_METHOD(HTTP请求方法)</td><td>不支持参数</td><td>eq(等于)<br/>neq(不等于)</td><td>请输入方法名称,建议大写</td></tr><tr><td>QUERY_STRING(请求字符串)</td><td>不支持参数</td><td>同匹配字段<font color="Red">请求路径</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET(GET参数值)</td><td>支持参数录入</td><td>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET_PARAMS_NAMES(GET参数名)</td><td>不支持参数</td><td>exsit(存在参数)<br/>nexsit(不存在参数)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>POST(POST参数值)</td><td>支持参数录入</td><td>同匹配字段<font color="Red">GET参数值</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET_POST_NAMES(POST参数名)</td><td>不支持参数</td><td>同匹配字段<font color="Red">GET参数名</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>POST_BODY(完整BODY)</td><td>不支持参数</td><td>同匹配字段<font color="Red">请求路径</font>逻辑符号</td><td>请输入BODY内容,512个字符以内</td></tr><tr><td>COOKIE(Cookie)</td><td>不支持参数</td><td>empty(内容为空)<br/>null(不存在)<br/>rematch(正则匹配)</td><td><font color="Red">暂不支持</font></td></tr><tr><td>GET_COOKIES_NAMES(Cookie参数名)</td><td>不支持参数</td><td>同匹配字段<font color="Red">GET参数名</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>ARGS_COOKIE(Cookie参数值)</td><td>支持参数录入</td><td>同匹配字段<font color="Red">GET参数值</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET_HEADERS_NAMES(Header参数名)</td><td>不支持参数</td><td>exsit(存在参数)<br/>nexsit(不存在参数)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)</td><td>请输入内容,建议小写,512个字符以内</td></tr><tr><td>ARGS_HEADER(Header参数值)</td><td>支持参数录入</td><td>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)</td><td>请输入内容,512个字符以内</td></tr></
|
|
1641
|
+
<table><thead><tr><th>匹配字段</th><th>匹配参数</th><th>逻辑符号</th><th>匹配内容</th></tr></thead><tbody><tr><td>IP(来源IP)</td><td>不支持参数</td><td>ipmatch(匹配)<br/>ipnmatch(不匹配)</td><td>多个IP以英文逗号隔开,最多20个</td></tr><tr><td>IPV6(来源IPv6)</td><td>不支持参数</td><td>ipmatch(匹配)<br/>ipnmatch(不匹配)</td><td>支持单个IPV6地址</td></tr><tr><td>Referer(Referer)</td><td>不支持参数</td><td>empty(内容为空)<br/>null(不存在)<br/>eq(等于)<br/>neq(不等于)<br/>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>URL(请求路径)</td><td>不支持参数</td><td>eq(等于)<br/>neq(不等于)<br/>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)<br/></td><td>请以/开头,512个字符以内</td></tr><tr><td>UserAgent(UserAgent)</td><td>不支持参数</td><td>同匹配字段<font color="Red">Referer</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>HTTP_METHOD(HTTP请求方法)</td><td>不支持参数</td><td>eq(等于)<br/>neq(不等于)</td><td>请输入方法名称,建议大写</td></tr><tr><td>QUERY_STRING(请求字符串)</td><td>不支持参数</td><td>同匹配字段<font color="Red">请求路径</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET(GET参数值)</td><td>支持参数录入</td><td>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET_PARAMS_NAMES(GET参数名)</td><td>不支持参数</td><td>exsit(存在参数)<br/>nexsit(不存在参数)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>POST(POST参数值)</td><td>支持参数录入</td><td>同匹配字段<font color="Red">GET参数值</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET_POST_NAMES(POST参数名)</td><td>不支持参数</td><td>同匹配字段<font color="Red">GET参数名</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>POST_BODY(完整BODY)</td><td>不支持参数</td><td>同匹配字段<font color="Red">请求路径</font>逻辑符号</td><td>请输入BODY内容,512个字符以内</td></tr><tr><td>COOKIE(Cookie)</td><td>不支持参数</td><td>empty(内容为空)<br/>null(不存在)<br/>rematch(正则匹配)</td><td><font color="Red">暂不支持</font></td></tr><tr><td>GET_COOKIES_NAMES(Cookie参数名)</td><td>不支持参数</td><td>同匹配字段<font color="Red">GET参数名</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>ARGS_COOKIE(Cookie参数值)</td><td>支持参数录入</td><td>同匹配字段<font color="Red">GET参数值</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET_HEADERS_NAMES(Header参数名)</td><td>不支持参数</td><td>exsit(存在参数)<br/>nexsit(不存在参数)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)</td><td>请输入内容,建议小写,512个字符以内</td></tr><tr><td>ARGS_HEADER(Header参数值)</td><td>支持参数录入</td><td>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>CONTENT_LENGTH(Content-length)</td><td>支持参数录入</td><td>numgt(数值大于)<br/>numlt(数值小于)<br/>numeq(数值等于)<br/></td><td>请输入0-9999999999999之间的整数</td></tr><tr><td>IP_GEO(来源IP归属地)</td><td>支持参数录入</td><td>geo_in(属于)<br/>geo_not_in(不属于)<br/></td><td>请输入内容,10240字符以内,格式为序列化的JSON,格式为:[{"Country":"中国","Region":"广东","City":"深圳"}]</td></tr>
|
|
1642
|
+
</tbody></table>
|
|
1642
1643
|
*/
|
|
1643
1644
|
Field: string
|
|
1644
1645
|
/**
|
|
@@ -1658,6 +1659,11 @@ export interface Strategy {
|
|
|
1658
1659
|
len_lt ( 长度小于)
|
|
1659
1660
|
ipmatch ( 属于)
|
|
1660
1661
|
ipnmatch ( 不属于)
|
|
1662
|
+
numgt ( 数值大于)
|
|
1663
|
+
numlt ( 数值小于)
|
|
1664
|
+
numeq ( 数值等于)
|
|
1665
|
+
geo_in ( IP地理属于)
|
|
1666
|
+
geo_not_in ( IP地理不属于)
|
|
1661
1667
|
各匹配字段对应的逻辑符号不同,详见上述匹配字段表格
|
|
1662
1668
|
|
|
1663
1669
|
*/
|
|
@@ -1835,14 +1841,17 @@ export interface ModifyApiSecEventChangeRequest {
|
|
|
1835
1841
|
export interface JobDateTime {
|
|
1836
1842
|
/**
|
|
1837
1843
|
* 定时执行的时间参数
|
|
1844
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1838
1845
|
*/
|
|
1839
1846
|
Timed?: Array<TimedJob>
|
|
1840
1847
|
/**
|
|
1841
1848
|
* 周期执行的时间参数
|
|
1849
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1842
1850
|
*/
|
|
1843
1851
|
Cron?: Array<CronJob>
|
|
1844
1852
|
/**
|
|
1845
1853
|
* 时区
|
|
1854
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1846
1855
|
*/
|
|
1847
1856
|
TimeTZone?: string
|
|
1848
1857
|
}
|
|
@@ -2212,6 +2221,14 @@ https:使用https协议回源
|
|
|
2212
2221
|
* GmCertType为2时,需要填充此参数,表示腾讯云SSL平台托管的证书id
|
|
2213
2222
|
*/
|
|
2214
2223
|
GmSSLId?: string
|
|
2224
|
+
/**
|
|
2225
|
+
* 回源策略,支持负载均衡回源和分流回源两种方式。0:默认值,负载均衡回源;1:分流回源
|
|
2226
|
+
*/
|
|
2227
|
+
UpstreamPolicy?: number
|
|
2228
|
+
/**
|
|
2229
|
+
* 分流回源时生效,分流回源的规则。
|
|
2230
|
+
*/
|
|
2231
|
+
UpstreamRules?: Array<UpstreamRule>
|
|
2215
2232
|
}
|
|
2216
2233
|
|
|
2217
2234
|
/**
|
|
@@ -2558,6 +2575,10 @@ export interface DescribeCustomRulesRspRuleListItem {
|
|
|
2558
2575
|
* 域名
|
|
2559
2576
|
*/
|
|
2560
2577
|
Domain?: string
|
|
2578
|
+
/**
|
|
2579
|
+
* 匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
|
|
2580
|
+
*/
|
|
2581
|
+
LogicalOp?: string
|
|
2561
2582
|
}
|
|
2562
2583
|
|
|
2563
2584
|
/**
|
|
@@ -4085,6 +4106,7 @@ export interface DeleteIpAccessControlResponse {
|
|
|
4085
4106
|
export interface BatchIpAccessControlItem {
|
|
4086
4107
|
/**
|
|
4087
4108
|
* mongo表自增Id
|
|
4109
|
+
* @deprecated
|
|
4088
4110
|
*/
|
|
4089
4111
|
Id?: string
|
|
4090
4112
|
/**
|
|
@@ -4093,6 +4115,7 @@ export interface BatchIpAccessControlItem {
|
|
|
4093
4115
|
ActionType?: number
|
|
4094
4116
|
/**
|
|
4095
4117
|
* 黑白名单的IP
|
|
4118
|
+
* @deprecated
|
|
4096
4119
|
*/
|
|
4097
4120
|
Ip?: string
|
|
4098
4121
|
/**
|
|
@@ -4100,7 +4123,7 @@ export interface BatchIpAccessControlItem {
|
|
|
4100
4123
|
*/
|
|
4101
4124
|
Note?: string
|
|
4102
4125
|
/**
|
|
4103
|
-
*
|
|
4126
|
+
* batch为批量域名,batch-group为防护对象组
|
|
4104
4127
|
*/
|
|
4105
4128
|
Source?: string
|
|
4106
4129
|
/**
|
|
@@ -4143,6 +4166,10 @@ export interface BatchIpAccessControlItem {
|
|
|
4143
4166
|
* 生效状态
|
|
4144
4167
|
*/
|
|
4145
4168
|
ValidStatus?: number
|
|
4169
|
+
/**
|
|
4170
|
+
* 防护对象组ID列表,如果绑定的是防护对象组
|
|
4171
|
+
*/
|
|
4172
|
+
GroupIds?: Array<number | bigint>
|
|
4146
4173
|
}
|
|
4147
4174
|
|
|
4148
4175
|
/**
|
|
@@ -4462,7 +4489,7 @@ export interface DescribeIpAccessControlRequest {
|
|
|
4462
4489
|
*/
|
|
4463
4490
|
Ip?: string
|
|
4464
4491
|
/**
|
|
4465
|
-
*
|
|
4492
|
+
* 生效状态,1表示生效中,2表示过期,0表示全部
|
|
4466
4493
|
*/
|
|
4467
4494
|
ValidStatus?: number
|
|
4468
4495
|
/**
|
|
@@ -4478,7 +4505,7 @@ export interface DescribeIpAccessControlRequest {
|
|
|
4478
4505
|
*/
|
|
4479
4506
|
RuleId?: number
|
|
4480
4507
|
/**
|
|
4481
|
-
*
|
|
4508
|
+
* 0表示全部,1表示永久生效,2表示定时生效,3表示周粒度生效,4表示月粒度生效
|
|
4482
4509
|
*/
|
|
4483
4510
|
TimerType?: number
|
|
4484
4511
|
}
|
|
@@ -4606,7 +4633,7 @@ export interface DescribeIpHitItemsRequest {
|
|
|
4606
4633
|
*/
|
|
4607
4634
|
Skip?: number
|
|
4608
4635
|
/**
|
|
4609
|
-
*
|
|
4636
|
+
* 限制数目,category不等于threat_intelligence时,该值需要必传
|
|
4610
4637
|
*/
|
|
4611
4638
|
Limit?: number
|
|
4612
4639
|
/**
|
|
@@ -4618,7 +4645,7 @@ export interface DescribeIpHitItemsRequest {
|
|
|
4618
4645
|
*/
|
|
4619
4646
|
Sort?: string
|
|
4620
4647
|
/**
|
|
4621
|
-
* IP
|
|
4648
|
+
* IP,category传threat_intelligence的时候,该值必传
|
|
4622
4649
|
*/
|
|
4623
4650
|
Ip?: string
|
|
4624
4651
|
/**
|
|
@@ -6872,7 +6899,7 @@ export interface ModifyAntiFakeUrlResponse {
|
|
|
6872
6899
|
*/
|
|
6873
6900
|
export interface DescribeBatchIpAccessControlRequest {
|
|
6874
6901
|
/**
|
|
6875
|
-
* 筛选条件,支持 ActionType
|
|
6902
|
+
* 筛选条件,支持 ActionType(可选的值为40:白名单,42:黑名单),ValidStatus(可选的值0:全部,1:生效,2:过期),Ip,Domains(域名列表),GroupId(防护对象组ID),GroupName(防护对象组名),RuleId(规则ID),TimerType(生效方式,1:永久生效,2:定时生效,3:按周周期生效,4:按月周期生效)
|
|
6876
6903
|
*/
|
|
6877
6904
|
Filters: Array<FiltersItemNew>
|
|
6878
6905
|
/**
|
|
@@ -7643,6 +7670,38 @@ export interface DeleteCustomRuleResponse {
|
|
|
7643
7670
|
RequestId?: string
|
|
7644
7671
|
}
|
|
7645
7672
|
|
|
7673
|
+
/**
|
|
7674
|
+
* SAASWAF规则回源时的规则数据结构
|
|
7675
|
+
*/
|
|
7676
|
+
export interface UpstreamRule {
|
|
7677
|
+
/**
|
|
7678
|
+
* 匹配的关键字。目前支持host、uri两种
|
|
7679
|
+
*/
|
|
7680
|
+
KeyName: string
|
|
7681
|
+
/**
|
|
7682
|
+
* 逻辑符号。
|
|
7683
|
+
equal:等于
|
|
7684
|
+
not equal:不等于
|
|
7685
|
+
belong:属于
|
|
7686
|
+
not belong:不属于
|
|
7687
|
+
*/
|
|
7688
|
+
Symbol: string
|
|
7689
|
+
/**
|
|
7690
|
+
* 匹配的内容。equal和not equal时,数组只能有一个元素
|
|
7691
|
+
*/
|
|
7692
|
+
ContentList: Array<string>
|
|
7693
|
+
/**
|
|
7694
|
+
* 规则匹配后生效的回源地址。
|
|
7695
|
+
*/
|
|
7696
|
+
AddressList: Array<string>
|
|
7697
|
+
/**
|
|
7698
|
+
* 回源负载均衡类型,仅多个回源地址时生效。
|
|
7699
|
+
0:轮询
|
|
7700
|
+
1:IP_HASH
|
|
7701
|
+
*/
|
|
7702
|
+
BalanceType: number
|
|
7703
|
+
}
|
|
7704
|
+
|
|
7646
7705
|
/**
|
|
7647
7706
|
* DescribeHistogram请求参数结构体
|
|
7648
7707
|
*/
|
|
@@ -7762,7 +7821,7 @@ export interface UpsertCCRuleRequest {
|
|
|
7762
7821
|
*/
|
|
7763
7822
|
Url: string
|
|
7764
7823
|
/**
|
|
7765
|
-
* 匹配方法,0表示等于,1表示前缀匹配,2
|
|
7824
|
+
* 匹配方法,0表示等于,1表示前缀匹配,2表示包含,3表示不等于,6表示后缀匹配,7表示不包含
|
|
7766
7825
|
*/
|
|
7767
7826
|
MatchFunc: number
|
|
7768
7827
|
/**
|
|
@@ -7778,7 +7837,7 @@ export interface UpsertCCRuleRequest {
|
|
|
7778
7837
|
*/
|
|
7779
7838
|
ValidTime: number
|
|
7780
7839
|
/**
|
|
7781
|
-
*
|
|
7840
|
+
* [{\"key\":\"Method\",\"args\":[\"=R0VU\"],\"match\":\"0\",\"encodeflag\":true}] Key可选值为 Method、Post、Referer、Cookie、User-Agent、CustomHeader match可选值为,当Key为Method的时候可选值为0(等于)、3(不等于)。 Key为Post的时候可选值为0(等于)、3(不等于),Key为Cookie的时候可选值为0(等于)、2(包含),3(不等于)、7(不包含)、 当Key为Referer的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为Cookie的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为User-Agent的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为CustomHeader的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空)。 args用来表示匹配内容,需要设置encodeflag为true,当Key为Post、Cookie、CustomHeader时,用等号=来分别串接Key和Value,并分别用Base64编码,类似YWJj=YWJj。当Key为Referer、User-Agent时,用等号=来串接Value,类似=YWJj。
|
|
7782
7841
|
*/
|
|
7783
7842
|
OptionsArr?: string
|
|
7784
7843
|
/**
|
|
@@ -8259,6 +8318,7 @@ export interface ModifyCustomRuleRequest {
|
|
|
8259
8318
|
/**
|
|
8260
8319
|
* 放行时是否继续执行其它检查逻辑,继续执行地域封禁防护:geoip、继续执行CC策略防护:cc、继续执行WEB应用防护:owasp、继续执行AI引擎防护:ai、继续执行信息防泄漏防护:antileakage。如果多个勾选那么以,串接。
|
|
8261
8320
|
默认是"geoip,cc,owasp,ai,antileakage"
|
|
8321
|
+
* @deprecated
|
|
8262
8322
|
*/
|
|
8263
8323
|
Bypass?: string
|
|
8264
8324
|
/**
|
|
@@ -8291,6 +8351,10 @@ export interface ModifyCustomRuleRequest {
|
|
|
8291
8351
|
* 拦截页面id
|
|
8292
8352
|
*/
|
|
8293
8353
|
PageId?: string
|
|
8354
|
+
/**
|
|
8355
|
+
* 匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
|
|
8356
|
+
*/
|
|
8357
|
+
LogicalOp?: string
|
|
8294
8358
|
}
|
|
8295
8359
|
|
|
8296
8360
|
/**
|
|
@@ -8751,7 +8815,7 @@ export interface ModifyCustomWhiteRuleRequest {
|
|
|
8751
8815
|
*/
|
|
8752
8816
|
SortId: number
|
|
8753
8817
|
/**
|
|
8754
|
-
*
|
|
8818
|
+
* 如果没有设置JobDateTime字段则用此字段,0表示永久生效,其它表示定时生效的截止时间(单位为秒)
|
|
8755
8819
|
*/
|
|
8756
8820
|
ExpireTime: number
|
|
8757
8821
|
/**
|
|
@@ -8828,10 +8892,6 @@ export interface AddCustomWhiteRuleRequest {
|
|
|
8828
8892
|
* 优先级
|
|
8829
8893
|
*/
|
|
8830
8894
|
SortId: string
|
|
8831
|
-
/**
|
|
8832
|
-
* 过期时间
|
|
8833
|
-
*/
|
|
8834
|
-
ExpireTime: string
|
|
8835
8895
|
/**
|
|
8836
8896
|
* 策略详情
|
|
8837
8897
|
*/
|
|
@@ -8841,9 +8901,13 @@ export interface AddCustomWhiteRuleRequest {
|
|
|
8841
8901
|
*/
|
|
8842
8902
|
Domain: string
|
|
8843
8903
|
/**
|
|
8844
|
-
*
|
|
8904
|
+
* 放行的模块,多个模块之间用逗号连接。支持的模块:acl(自定义规则)、owasp(规则引擎)、webshell(恶意文件检测)、geoip(地域封禁)、bwip(IP黑白名单)、cc、botrpc(BOT防护)、antileakage(信息防泄露)、api(API安全)、ai(AI引擎)、ip_auto_deny(IP封禁)、applet(小程序流量风控)
|
|
8845
8905
|
*/
|
|
8846
8906
|
Bypass: string
|
|
8907
|
+
/**
|
|
8908
|
+
* 如果没有设置JobDateTime字段则用此字段,0表示永久生效,其它表示定时生效的截止时间(单位为秒)
|
|
8909
|
+
*/
|
|
8910
|
+
ExpireTime?: string
|
|
8847
8911
|
/**
|
|
8848
8912
|
* 规则执行的方式,TimedJob为定时执行,CronJob为周期执行
|
|
8849
8913
|
*/
|
|
@@ -9129,6 +9193,16 @@ https:使用https协议回源
|
|
|
9129
9193
|
* 拨测状态。 0: 禁用拨测, 1: 启用拨测
|
|
9130
9194
|
*/
|
|
9131
9195
|
ProbeStatus?: number
|
|
9196
|
+
/**
|
|
9197
|
+
* 回源策略。
|
|
9198
|
+
0:负载均衡回源
|
|
9199
|
+
1:分流回源
|
|
9200
|
+
*/
|
|
9201
|
+
UpstreamPolicy?: number
|
|
9202
|
+
/**
|
|
9203
|
+
* 分流回源策略
|
|
9204
|
+
*/
|
|
9205
|
+
UpstreamRules?: Array<UpstreamRule>
|
|
9132
9206
|
}
|
|
9133
9207
|
|
|
9134
9208
|
/**
|
|
@@ -9409,6 +9483,14 @@ cdn-waf:CDN上的Web防护能力
|
|
|
9409
9483
|
* GmCertType为2时,需要填充此参数,表示腾讯云SSL平台托管的证书id
|
|
9410
9484
|
*/
|
|
9411
9485
|
GmSSLId?: string
|
|
9486
|
+
/**
|
|
9487
|
+
* 回源策略,支持负载均衡回源和分流回源两种方式。0:默认值,负载均衡回源;1:分流回源
|
|
9488
|
+
*/
|
|
9489
|
+
UpstreamPolicy?: number
|
|
9490
|
+
/**
|
|
9491
|
+
* 分流回源时生效,分流回源的规则。
|
|
9492
|
+
*/
|
|
9493
|
+
UpstreamRules?: Array<UpstreamRule>
|
|
9412
9494
|
}
|
|
9413
9495
|
|
|
9414
9496
|
/**
|
|
@@ -9934,6 +10016,7 @@ export interface AddCustomRuleRequest {
|
|
|
9934
10016
|
Edition?: string
|
|
9935
10017
|
/**
|
|
9936
10018
|
* 放行时是否继续执行其它检查逻辑,继续执行地域封禁防护:geoip、继续执行CC策略防护:cc、继续执行WEB应用防护:owasp、继续执行AI引擎防护:ai、继续执行信息防泄漏防护:antileakage。如果多个勾选那么以,串接。默认是"geoip,cc,owasp,ai,antileakage"
|
|
10019
|
+
* @deprecated
|
|
9937
10020
|
*/
|
|
9938
10021
|
Bypass?: string
|
|
9939
10022
|
/**
|
|
@@ -9964,6 +10047,10 @@ export interface AddCustomRuleRequest {
|
|
|
9964
10047
|
* 拦截页面id
|
|
9965
10048
|
*/
|
|
9966
10049
|
PageId?: string
|
|
10050
|
+
/**
|
|
10051
|
+
* 匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
|
|
10052
|
+
*/
|
|
10053
|
+
LogicalOp?: string
|
|
9967
10054
|
}
|
|
9968
10055
|
|
|
9969
10056
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.1037";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { ModifyApmInstanceRequest, CreateApmInstanceRequest, ModifyGeneralApmApplicationConfigRequest, DescribeServiceOverviewResponse, TerminateApmInstanceRequest, DescribeApmInstancesResponse, DescribeTagValuesResponse, DescribeGeneralSpanListResponse, DescribeServiceOverviewRequest, DescribeApmAgentResponse, DescribeTagValuesRequest, DescribeMetricRecordsResponse, DescribeGeneralSpanListRequest, DescribeApmAgentRequest, DescribeMetricRecordsRequest, DescribeGeneralApmApplicationConfigResponse, DescribeGeneralMetricDataRequest, CreateApmInstanceResponse, DescribeGeneralApmApplicationConfigRequest, ModifyApmInstanceResponse, DescribeApmInstancesRequest, DescribeGeneralMetricDataResponse, ModifyGeneralApmApplicationConfigResponse, TerminateApmInstanceResponse } from "./apm_models";
|
|
3
|
+
import { ModifyApmInstanceRequest, CreateApmInstanceRequest, ModifyGeneralApmApplicationConfigRequest, DescribeServiceOverviewResponse, TerminateApmInstanceRequest, DescribeApmInstancesResponse, DescribeTagValuesResponse, DescribeGeneralSpanListResponse, DescribeServiceOverviewRequest, DescribeApmAgentResponse, DescribeTagValuesRequest, DescribeMetricRecordsResponse, DescribeGeneralOTSpanListResponse, DescribeGeneralSpanListRequest, DescribeGeneralOTSpanListRequest, DescribeApmAgentRequest, DescribeMetricRecordsRequest, DescribeGeneralApmApplicationConfigResponse, DescribeGeneralMetricDataRequest, CreateApmInstanceResponse, DescribeGeneralApmApplicationConfigRequest, ModifyApmInstanceResponse, DescribeApmInstancesRequest, DescribeGeneralMetricDataResponse, ModifyGeneralApmApplicationConfigResponse, TerminateApmInstanceResponse } from "./apm_models";
|
|
4
4
|
/**
|
|
5
5
|
* apm client
|
|
6
6
|
* @class
|
|
@@ -27,6 +27,10 @@ export declare class Client extends AbstractClient {
|
|
|
27
27
|
* 获取 APM 接入点
|
|
28
28
|
*/
|
|
29
29
|
DescribeApmAgent(req: DescribeApmAgentRequest, cb?: (error: string, rep: DescribeApmAgentResponse) => void): Promise<DescribeApmAgentResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* 通用查询 OpenTelemetry 调用链列表
|
|
32
|
+
*/
|
|
33
|
+
DescribeGeneralOTSpanList(req: DescribeGeneralOTSpanListRequest, cb?: (error: string, rep: DescribeGeneralOTSpanListResponse) => void): Promise<DescribeGeneralOTSpanListResponse>;
|
|
30
34
|
/**
|
|
31
35
|
* 修改APM业务系统接口
|
|
32
36
|
*/
|
|
@@ -57,6 +57,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
57
57
|
async DescribeApmAgent(req, cb) {
|
|
58
58
|
return this.request("DescribeApmAgent", req, cb);
|
|
59
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* 通用查询 OpenTelemetry 调用链列表
|
|
62
|
+
*/
|
|
63
|
+
async DescribeGeneralOTSpanList(req, cb) {
|
|
64
|
+
return this.request("DescribeGeneralOTSpanList", req, cb);
|
|
65
|
+
}
|
|
60
66
|
/**
|
|
61
67
|
* 修改APM业务系统接口
|
|
62
68
|
*/
|
|
@@ -797,6 +797,23 @@ export interface DescribeMetricRecordsResponse {
|
|
|
797
797
|
*/
|
|
798
798
|
RequestId?: string;
|
|
799
799
|
}
|
|
800
|
+
/**
|
|
801
|
+
* DescribeGeneralOTSpanList返回参数结构体
|
|
802
|
+
*/
|
|
803
|
+
export interface DescribeGeneralOTSpanListResponse {
|
|
804
|
+
/**
|
|
805
|
+
* 总数量
|
|
806
|
+
*/
|
|
807
|
+
TotalCount?: number;
|
|
808
|
+
/**
|
|
809
|
+
* 装有查询结果 Spans 的 Trace 结构体。OpenTelemetry 标准 Trace 结构体哈希后的字符串,先将 Trace 利用 ptrace.JSONMarshaler 转换成 Json 字符串,再用 gzip 压缩,最后转换成 base64 标准的字符串。
|
|
810
|
+
*/
|
|
811
|
+
Spans?: string;
|
|
812
|
+
/**
|
|
813
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
814
|
+
*/
|
|
815
|
+
RequestId?: string;
|
|
816
|
+
}
|
|
800
817
|
/**
|
|
801
818
|
* DescribeGeneralSpanList请求参数结构体
|
|
802
819
|
*/
|
|
@@ -874,6 +891,53 @@ export interface APMKV {
|
|
|
874
891
|
*/
|
|
875
892
|
Value?: number;
|
|
876
893
|
}
|
|
894
|
+
/**
|
|
895
|
+
* DescribeGeneralOTSpanList请求参数结构体
|
|
896
|
+
*/
|
|
897
|
+
export interface DescribeGeneralOTSpanListRequest {
|
|
898
|
+
/**
|
|
899
|
+
* 业务系统 ID
|
|
900
|
+
*/
|
|
901
|
+
InstanceId: string;
|
|
902
|
+
/**
|
|
903
|
+
* Span 查询开始时间戳(单位:秒)
|
|
904
|
+
*/
|
|
905
|
+
StartTime: number;
|
|
906
|
+
/**
|
|
907
|
+
* Span 查询结束时间戳(单位:秒)
|
|
908
|
+
*/
|
|
909
|
+
EndTime: number;
|
|
910
|
+
/**
|
|
911
|
+
* 通用过滤参数
|
|
912
|
+
*/
|
|
913
|
+
Filters?: Array<Filter>;
|
|
914
|
+
/**
|
|
915
|
+
* 排序
|
|
916
|
+
现支持的 Key 有:
|
|
917
|
+
|
|
918
|
+
- startTime(开始时间)
|
|
919
|
+
- endTime(结束时间)
|
|
920
|
+
- duration(响应时间)
|
|
921
|
+
|
|
922
|
+
现支持的 Value 有:
|
|
923
|
+
|
|
924
|
+
- desc(降序排序)
|
|
925
|
+
- asc(升序排序)
|
|
926
|
+
*/
|
|
927
|
+
OrderBy?: OrderBy;
|
|
928
|
+
/**
|
|
929
|
+
* 业务自身服务名,控制台用户请填写taw
|
|
930
|
+
*/
|
|
931
|
+
BusinessName?: string;
|
|
932
|
+
/**
|
|
933
|
+
* 单页项目个数,默认为10000,合法取值范围为0~10000
|
|
934
|
+
*/
|
|
935
|
+
Limit?: number;
|
|
936
|
+
/**
|
|
937
|
+
* 分页
|
|
938
|
+
*/
|
|
939
|
+
Offset?: number;
|
|
940
|
+
}
|
|
877
941
|
/**
|
|
878
942
|
* DescribeApmAgent请求参数结构体
|
|
879
943
|
*/
|
|
@@ -94,7 +94,7 @@ export declare class Client extends AbstractClient {
|
|
|
94
94
|
• 返回时效:异步回调,非实时返回。最长3小时返回识别结果,**大多数情况下,1小时的音频1-3分钟即可完成识别**。请注意:上述返回时长不含音频下载时延,且30分钟内发送超过1000小时录音或2万条任务的情况除外
|
|
95
95
|
• 音频格式:wav、mp3、m4a、flv、mp4、wma、3gp、amr、aac、ogg-opus、flac
|
|
96
96
|
• 支持语言:在本页面上搜索 **EngineModelType**,或前往 [产品功能](https://cloud.tencent.com/document/product/1093/35682) 查看
|
|
97
|
-
• 音频提交方式:本接口支持**音频 URL 、本地音频文件**两种请求方式。推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储、生成URL
|
|
97
|
+
• 音频提交方式:本接口支持**音频 URL 、本地音频文件**两种请求方式。推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储、生成URL并提交任务,此种方式将不产生外网和流量下行费用,可节约成本、提升任务速度(具体对接可提工单咨询COS生成预签名URL)
|
|
98
98
|
• 音频限制:音频 URL 时长不能大于5小时,文件大小不超过1GB;本地音频文件不能大于5MB
|
|
99
99
|
• 如何获取识别结果:支持**回调或轮询**的方式获取结果,具体请参考 [录音文件识别结果查询](https://cloud.tencent.com/document/product/1093/37822)
|
|
100
100
|
• 识别结果有效时间:识别结果在服务端保存24小时
|
|
@@ -148,7 +148,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
148
148
|
• 返回时效:异步回调,非实时返回。最长3小时返回识别结果,**大多数情况下,1小时的音频1-3分钟即可完成识别**。请注意:上述返回时长不含音频下载时延,且30分钟内发送超过1000小时录音或2万条任务的情况除外
|
|
149
149
|
• 音频格式:wav、mp3、m4a、flv、mp4、wma、3gp、amr、aac、ogg-opus、flac
|
|
150
150
|
• 支持语言:在本页面上搜索 **EngineModelType**,或前往 [产品功能](https://cloud.tencent.com/document/product/1093/35682) 查看
|
|
151
|
-
• 音频提交方式:本接口支持**音频 URL 、本地音频文件**两种请求方式。推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储、生成URL
|
|
151
|
+
• 音频提交方式:本接口支持**音频 URL 、本地音频文件**两种请求方式。推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储、生成URL并提交任务,此种方式将不产生外网和流量下行费用,可节约成本、提升任务速度(具体对接可提工单咨询COS生成预签名URL)
|
|
152
152
|
• 音频限制:音频 URL 时长不能大于5小时,文件大小不超过1GB;本地音频文件不能大于5MB
|
|
153
153
|
• 如何获取识别结果:支持**回调或轮询**的方式获取结果,具体请参考 [录音文件识别结果查询](https://cloud.tencent.com/document/product/1093/37822)
|
|
154
154
|
• 识别结果有效时间:识别结果在服务端保存24小时
|
|
@@ -294,14 +294,12 @@ export interface SystemDisk {
|
|
|
294
294
|
DiskSize?: number;
|
|
295
295
|
/**
|
|
296
296
|
* 所属的独享集群ID。
|
|
297
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
298
297
|
*/
|
|
299
298
|
CdcId?: string;
|
|
300
299
|
/**
|
|
301
300
|
* 磁盘名称,长度不超过128 个字符。
|
|
302
301
|
|
|
303
302
|
该参数正在邀测中,暂未开放使用。
|
|
304
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
305
303
|
*/
|
|
306
304
|
DiskName?: string;
|
|
307
305
|
}
|
|
@@ -2371,11 +2371,11 @@ export interface Message {
|
|
|
2371
2371
|
/**
|
|
2372
2372
|
* 消息类型
|
|
2373
2373
|
*/
|
|
2374
|
-
Type
|
|
2374
|
+
Type?: string;
|
|
2375
2375
|
/**
|
|
2376
2376
|
* 消息内容
|
|
2377
2377
|
*/
|
|
2378
|
-
Content
|
|
2378
|
+
Content?: string;
|
|
2379
2379
|
}
|
|
2380
2380
|
/**
|
|
2381
2381
|
* AbortPredictiveDialingCampaign返回参数结构体
|
|
@@ -3292,15 +3292,15 @@ export interface MessageBody {
|
|
|
3292
3292
|
/**
|
|
3293
3293
|
* 消息时间戳
|
|
3294
3294
|
*/
|
|
3295
|
-
Timestamp
|
|
3295
|
+
Timestamp?: number;
|
|
3296
3296
|
/**
|
|
3297
3297
|
* 发消息的用户ID
|
|
3298
3298
|
*/
|
|
3299
|
-
From
|
|
3299
|
+
From?: string;
|
|
3300
3300
|
/**
|
|
3301
3301
|
* 消息列表
|
|
3302
3302
|
*/
|
|
3303
|
-
Messages
|
|
3303
|
+
Messages?: Array<Message>;
|
|
3304
3304
|
}
|
|
3305
3305
|
/**
|
|
3306
3306
|
* 号码购买信息
|
|
@@ -814,14 +814,12 @@ export interface SystemDisk {
|
|
|
814
814
|
DiskSize?: number;
|
|
815
815
|
/**
|
|
816
816
|
* 所属的独享集群ID。
|
|
817
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
818
817
|
*/
|
|
819
818
|
CdcId?: string;
|
|
820
819
|
/**
|
|
821
820
|
* 磁盘名称,长度不超过128 个字符。
|
|
822
821
|
|
|
823
822
|
该参数正在邀测中,暂未开放使用。
|
|
824
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
825
823
|
*/
|
|
826
824
|
DiskName?: string;
|
|
827
825
|
}
|
|
@@ -5825,12 +5823,10 @@ export interface ModifyInstancesProjectResponse {
|
|
|
5825
5823
|
export interface InstanceChargePrepaid {
|
|
5826
5824
|
/**
|
|
5827
5825
|
* 购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60。
|
|
5828
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5829
5826
|
*/
|
|
5830
5827
|
Period: number;
|
|
5831
5828
|
/**
|
|
5832
5829
|
* 自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费</li><br><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费</li><br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费</li><br><br>默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
|
|
5833
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5834
5830
|
*/
|
|
5835
5831
|
RenewFlag?: string;
|
|
5836
5832
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { AddNodeResourceConfigRequest, ModifyResourceResponse, DescribeHBaseTableOverviewRequest, DescribeClusterFlowStatusDetailResponse, RunJobFlowResponse, DescribeHDFSStorageInfoResponse, ModifyUserManagerPwdResponse, DescribeHiveQueriesRequest, ModifyPodNumResponse, CreateInstanceResponse, TerminateTasksRequest, DescribeServiceNodeInfosRequest, DescribeServiceNodeInfosResponse,
|
|
3
|
+
import { AddNodeResourceConfigRequest, ModifyResourceResponse, DescribeHBaseTableOverviewRequest, DescribeClusterFlowStatusDetailResponse, RunJobFlowResponse, DescribeHDFSStorageInfoResponse, ModifyUserManagerPwdResponse, DescribeHiveQueriesRequest, ModifyPodNumResponse, CreateInstanceResponse, TerminateTasksRequest, DescribeServiceNodeInfosRequest, DescribeServiceNodeInfosResponse, ResetYarnConfigRequest, DescribeTrinoQueryInfoResponse, DescribeSparkQueriesRequest, DeleteAutoScaleStrategyResponse, ModifyPodNumRequest, ModifyResourcesTagsResponse, CreateCloudInstanceResponse, ScaleOutInstanceRequest, DescribeInstanceRenewNodesResponse, DescribeHBaseTableOverviewResponse, DescribeAutoScaleGroupGlobalConfRequest, ModifyAutoScaleStrategyRequest, AttachDisksRequest, DescribeInstancesResponse, ModifyYarnDeployResponse, ModifyResourceScheduleConfigResponse, DescribeKyuubiQueryInfoResponse, TerminateSLInstanceRequest, AddUsersForUserManagerResponse, DescribeResourceScheduleDiffDetailResponse, DescribeYarnQueueResponse, ScaleOutInstanceResponse, AddMetricScaleStrategyRequest, DeleteNodeResourceConfigRequest, DescribeInstancesListResponse, DescribeInstanceRenewNodesRequest, DescribeSparkQueriesResponse, DescribeAutoScaleStrategiesResponse, DescribeNodeDataDisksRequest, ModifyGlobalConfigRequest, InquiryPriceRenewInstanceResponse, DescribeJobFlowRequest, InquiryPriceCreateInstanceResponse, StartStopServiceOrMonitorRequest, DescribeHDFSStorageInfoRequest, DescribeResourceScheduleRequest, SyncPodStateResponse, DescribeGlobalConfigResponse, ModifyYarnDeployRequest, DeleteNodeResourceConfigResponse, DescribeClusterFlowStatusDetailRequest, DescribeUsersForUserManagerRequest, TerminateClusterNodesResponse, DescribeDAGInfoResponse, DescribeInsightListRequest, DescribeSLInstanceListRequest, StartStopServiceOrMonitorResponse, DescribeHiveQueriesResponse, ResizeDataDisksResponse, DescribeYarnQueueRequest, ModifyResourceRequest, CreateSLInstanceResponse, SetNodeResourceConfigDefaultRequest, DescribeYarnScheduleHistoryResponse, DescribeDAGInfoRequest, DescribeAutoScaleGroupGlobalConfResponse, ResetYarnConfigResponse, DescribeClusterNodesResponse, DescribeYarnApplicationsRequest, DescribeYarnScheduleHistoryRequest, DeleteUserManagerUserListRequest, DescribeResourceScheduleResponse, TerminateInstanceRequest, DescribeNodeResourceConfigFastRequest, ModifyResourceSchedulerRequest, RunJobFlowRequest, DescribeKyuubiQueryInfoRequest, ModifyGlobalConfigResponse, DescribeNodeResourceConfigFastResponse, ModifySLInstanceRequest, DescribeInsightListResponse, CreateClusterResponse, DescribeAutoScaleRecordsResponse, DescribeCvmQuotaResponse, CreateClusterRequest, CreateCloudInstanceRequest, AddMetricScaleStrategyResponse, DescribeClusterNodesRequest, ModifyInstanceBasicResponse, ModifyYarnQueueV2Request, DescribeCvmQuotaRequest, DescribeImpalaQueriesRequest, CreateInstanceRequest, DescribeSLInstanceListResponse, DescribeEmrOverviewMetricsResponse, DescribeInstancesRequest, TerminateSLInstanceResponse, ModifyAutoRenewFlagResponse, InquiryPriceUpdateInstanceRequest, DescribeAutoScaleStrategiesRequest, DeployYarnConfRequest, DescribeNodeDataDisksResponse, DescribeInstancesListRequest, AttachDisksResponse, ResizeDataDisksRequest, DeleteAutoScaleStrategyRequest, DeployYarnConfResponse, DeleteUserManagerUserListResponse, ModifyResourcePoolsResponse, DescribeEmrApplicationStaticsRequest, ModifyInstanceBasicRequest, DescribeYarnApplicationsResponse, DescribeUsersForUserManagerResponse, DescribeResourceScheduleDiffDetailRequest, InquiryPriceRenewInstanceRequest, ModifyResourcesTagsRequest, InquirePriceRenewEmrResponse, AddUsersForUserManagerRequest, DescribeSLInstanceRequest, ScaleOutClusterRequest, InquiryPriceCreateInstanceRequest, DescribeSLInstanceResponse, SyncPodStateRequest, ModifyAutoRenewFlagRequest, AddNodeResourceConfigResponse, ModifyResourceScheduleConfigRequest, DescribeEmrOverviewMetricsRequest, ScaleOutClusterResponse, InquiryPriceUpdateInstanceResponse, ModifyAutoScaleStrategyResponse, InquiryPriceScaleOutInstanceRequest, DescribeStarRocksQueryInfoRequest, ModifySLInstanceResponse, DescribeEmrApplicationStaticsResponse, InquirePriceRenewEmrRequest, DescribeImpalaQueriesResponse, SetNodeResourceConfigDefaultResponse, DescribeStarRocksQueryInfoResponse, ModifyYarnQueueV2Response, ModifyUserManagerPwdRequest, InquiryPriceScaleOutInstanceResponse, DescribeJobFlowResponse, ModifyResourceSchedulerResponse, DescribeTrinoQueryInfoRequest, TerminateTasksResponse, DescribeAutoScaleRecordsRequest, TerminateClusterNodesRequest, ModifyResourcePoolsRequest, CreateSLInstanceRequest, DescribeGlobalConfigRequest, TerminateInstanceResponse } from "./emr_models";
|
|
4
4
|
/**
|
|
5
5
|
* emr client
|
|
6
6
|
* @class
|
|
@@ -112,9 +112,9 @@ export declare class Client extends AbstractClient {
|
|
|
112
112
|
*/
|
|
113
113
|
ModifyYarnDeploy(req: ModifyYarnDeployRequest, cb?: (error: string, rep: ModifyYarnDeployResponse) => void): Promise<ModifyYarnDeployResponse>;
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* 查询DAG信息
|
|
116
116
|
*/
|
|
117
|
-
|
|
117
|
+
DescribeDAGInfo(req: DescribeDAGInfoRequest, cb?: (error: string, rep: DescribeDAGInfoResponse) => void): Promise<DescribeDAGInfoResponse>;
|
|
118
118
|
/**
|
|
119
119
|
* 销毁EMR实例。此接口仅支持弹性MapReduce正式计费版本。
|
|
120
120
|
*/
|
|
@@ -149,6 +149,10 @@ export declare class Client extends AbstractClient {
|
|
|
149
149
|
新增用户列表(用户管理)。
|
|
150
150
|
*/
|
|
151
151
|
AddUsersForUserManager(req: AddUsersForUserManagerRequest, cb?: (error: string, rep: AddUsersForUserManagerResponse) => void): Promise<AddUsersForUserManagerResponse>;
|
|
152
|
+
/**
|
|
153
|
+
* 缩容Task节点
|
|
154
|
+
*/
|
|
155
|
+
TerminateTasks(req: TerminateTasksRequest, cb?: (error: string, rep: TerminateTasksResponse) => void): Promise<TerminateTasksResponse>;
|
|
152
156
|
/**
|
|
153
157
|
* 前提:预付费集群
|
|
154
158
|
资源级别开启或关闭自动续费
|
|
@@ -184,10 +184,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
184
184
|
return this.request("ModifyYarnDeploy", req, cb);
|
|
185
185
|
}
|
|
186
186
|
/**
|
|
187
|
-
*
|
|
187
|
+
* 查询DAG信息
|
|
188
188
|
*/
|
|
189
|
-
async
|
|
190
|
-
return this.request("
|
|
189
|
+
async DescribeDAGInfo(req, cb) {
|
|
190
|
+
return this.request("DescribeDAGInfo", req, cb);
|
|
191
191
|
}
|
|
192
192
|
/**
|
|
193
193
|
* 销毁EMR实例。此接口仅支持弹性MapReduce正式计费版本。
|
|
@@ -239,6 +239,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
239
239
|
async AddUsersForUserManager(req, cb) {
|
|
240
240
|
return this.request("AddUsersForUserManager", req, cb);
|
|
241
241
|
}
|
|
242
|
+
/**
|
|
243
|
+
* 缩容Task节点
|
|
244
|
+
*/
|
|
245
|
+
async TerminateTasks(req, cb) {
|
|
246
|
+
return this.request("TerminateTasks", req, cb);
|
|
247
|
+
}
|
|
242
248
|
/**
|
|
243
249
|
* 前提:预付费集群
|
|
244
250
|
资源级别开启或关闭自动续费
|