tencentcloud-sdk-nodejs 4.0.582 → 4.0.583
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 +389 -0
- package/SERVICE_CHANGELOG.md +649 -46
- package/package.json +1 -1
- package/products.md +23 -23
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdb/v20170320/cdb_client.ts +24 -12
- package/src/services/cdn/v20180606/cdn_models.ts +8 -2
- package/src/services/ckafka/v20190819/ckafka_client.ts +12 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +32 -0
- package/src/services/cls/v20201016/cls_client.ts +177 -162
- package/src/services/cls/v20201016/cls_models.ts +195 -21
- package/src/services/cwp/v20180228/cwp_models.ts +11 -2
- package/src/services/dlc/v20210125/dlc_models.ts +57 -7
- package/src/services/domain/v20180808/domain_client.ts +2 -3
- package/src/services/domain/v20180808/domain_models.ts +21 -3
- package/src/services/ess/v20201111/ess_client.ts +3 -2
- package/src/services/ess/v20201111/ess_models.ts +44 -34
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/lcic/v20220817/lcic_client.ts +69 -21
- package/src/services/lcic/v20220817/lcic_models.ts +205 -33
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +23 -1
- package/src/services/live/v20180801/live_models.ts +21 -0
- package/src/services/postgres/v20170312/postgres_client.ts +1 -0
- package/src/services/postgres/v20170312/postgres_models.ts +36 -1
- package/src/services/redis/v20180412/redis_client.ts +1 -1
- package/src/services/redis/v20180412/redis_models.ts +95 -63
- package/src/services/sqlserver/v20180328/sqlserver_client.ts +61 -23
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +239 -34
- package/src/services/tcss/v20201101/tcss_models.ts +5 -4
- package/src/services/tke/v20180525/tke_client.ts +12 -0
- package/src/services/tke/v20180525/tke_models.ts +31 -0
- package/src/services/tsf/v20180326/tsf_client.ts +49 -25
- package/src/services/tsf/v20180326/tsf_models.ts +142 -5
- package/src/services/waf/v20180125/waf_client.ts +1 -1
- package/src/services/waf/v20180125/waf_models.ts +131 -7
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +18 -6
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +18 -6
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +7 -2
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +5 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +6 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +28 -0
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +161 -157
- package/tencentcloud/services/cls/v20201016/cls_client.js +163 -157
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +176 -30
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +10 -2
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +48 -7
- package/tencentcloud/services/domain/v20180808/domain_client.d.ts +0 -1
- package/tencentcloud/services/domain/v20180808/domain_client.js +0 -1
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +18 -3
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +3 -2
- package/tencentcloud/services/ess/v20201111/ess_client.js +3 -2
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +41 -33
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +23 -7
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +33 -9
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +176 -29
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +22 -1
- package/tencentcloud/services/live/v20180801/live_models.d.ts +18 -0
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +30 -1
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_client.js +1 -1
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +80 -48
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +21 -9
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +30 -12
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +202 -30
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +4 -3
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +5 -1
- package/tencentcloud/services/tke/v20180525/tke_client.js +6 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +27 -0
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +17 -9
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +24 -12
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +118 -4
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +1 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +1 -1
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +110 -6
- package/test/ckafka.v20190819.test.js +10 -0
- package/test/cls.v20201016.test.js +12 -2
- package/test/lcic.v20220817.test.js +46 -6
- package/test/sqlserver.v20180328.test.js +44 -14
- package/test/tke.v20180525.test.js +10 -0
- package/test/tsf.v20180326.test.js +28 -8
|
@@ -76,10 +76,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
76
76
|
return this.request("DescribePodInstances", req, cb);
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* 创建配置项,返回详细信息
|
|
80
80
|
*/
|
|
81
|
-
async
|
|
82
|
-
return this.request("
|
|
81
|
+
async CreateConfigWithDetailResp(req, cb) {
|
|
82
|
+
return this.request("CreateConfigWithDetailResp", req, cb);
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
85
|
* 创建命名空间
|
|
@@ -130,10 +130,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
130
130
|
return this.request("DescribeGroupAttribute", req, cb);
|
|
131
131
|
}
|
|
132
132
|
/**
|
|
133
|
-
*
|
|
133
|
+
* 创建文件配置项,返回详细信息
|
|
134
134
|
*/
|
|
135
|
-
async
|
|
136
|
-
return this.request("
|
|
135
|
+
async CreateFileConfigWithDetailResp(req, cb) {
|
|
136
|
+
return this.request("CreateFileConfigWithDetailResp", req, cb);
|
|
137
137
|
}
|
|
138
138
|
/**
|
|
139
139
|
* 创建参数模板
|
|
@@ -238,10 +238,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
238
238
|
return this.request("RevokeFileConfig", req, cb);
|
|
239
239
|
}
|
|
240
240
|
/**
|
|
241
|
-
*
|
|
241
|
+
* 获取单个投递项配置信息
|
|
242
242
|
*/
|
|
243
|
-
async
|
|
244
|
-
return this.request("
|
|
243
|
+
async DescribeDeliveryConfig(req, cb) {
|
|
244
|
+
return this.request("DescribeDeliveryConfig", req, cb);
|
|
245
245
|
}
|
|
246
246
|
/**
|
|
247
247
|
* 查询某个插件下绑定或未绑定的API分组
|
|
@@ -352,6 +352,12 @@ COS相关文档请查阅:https://cloud.tencent.com/document/product/436
|
|
|
352
352
|
async UpdateRepository(req, cb) {
|
|
353
353
|
return this.request("UpdateRepository", req, cb);
|
|
354
354
|
}
|
|
355
|
+
/**
|
|
356
|
+
* 查询可用于被导入的命名空间列表
|
|
357
|
+
*/
|
|
358
|
+
async DescribeUsableUnitNamespaces(req, cb) {
|
|
359
|
+
return this.request("DescribeUsableUnitNamespaces", req, cb);
|
|
360
|
+
}
|
|
355
361
|
/**
|
|
356
362
|
* 查询网关分组监控明细数据
|
|
357
363
|
*/
|
|
@@ -622,6 +628,12 @@ COS相关文档请查阅:https://cloud.tencent.com/document/product/436
|
|
|
622
628
|
async DescribeSimpleGroups(req, cb) {
|
|
623
629
|
return this.request("DescribeSimpleGroups", req, cb);
|
|
624
630
|
}
|
|
631
|
+
/**
|
|
632
|
+
* 查询配置项列表
|
|
633
|
+
*/
|
|
634
|
+
async DescribeConfigs(req, cb) {
|
|
635
|
+
return this.request("DescribeConfigs", req, cb);
|
|
636
|
+
}
|
|
625
637
|
/**
|
|
626
638
|
* 服务统计页面:接口和服务维度
|
|
627
639
|
*/
|
|
@@ -1171,10 +1183,10 @@ COS相关文档请查阅:https://cloud.tencent.com/document/product/436
|
|
|
1171
1183
|
return this.request("ModifyGroup", req, cb);
|
|
1172
1184
|
}
|
|
1173
1185
|
/**
|
|
1174
|
-
*
|
|
1186
|
+
* (已废弃,请使用 CreateGroup 和 DeployContainerGroup 创建和部署容器部署组)创建容器部署组
|
|
1175
1187
|
*/
|
|
1176
|
-
async
|
|
1177
|
-
return this.request("
|
|
1188
|
+
async CreateContainGroup(req, cb) {
|
|
1189
|
+
return this.request("CreateContainGroup", req, cb);
|
|
1178
1190
|
}
|
|
1179
1191
|
/**
|
|
1180
1192
|
* 查询生效的单元化规则
|
|
@@ -2109,6 +2109,55 @@ false:操作失败。
|
|
|
2109
2109
|
*/
|
|
2110
2110
|
RequestId?: string;
|
|
2111
2111
|
}
|
|
2112
|
+
/**
|
|
2113
|
+
* CreateFileConfigWithDetailResp请求参数结构体
|
|
2114
|
+
*/
|
|
2115
|
+
export interface CreateFileConfigWithDetailRespRequest {
|
|
2116
|
+
/**
|
|
2117
|
+
* 配置项名称
|
|
2118
|
+
*/
|
|
2119
|
+
ConfigName: string;
|
|
2120
|
+
/**
|
|
2121
|
+
* 配置项版本
|
|
2122
|
+
*/
|
|
2123
|
+
ConfigVersion: string;
|
|
2124
|
+
/**
|
|
2125
|
+
* 配置项文件名
|
|
2126
|
+
*/
|
|
2127
|
+
ConfigFileName: string;
|
|
2128
|
+
/**
|
|
2129
|
+
* 配置项文件内容(原始内容编码需要 utf-8 格式,如果 ConfigFileCode 为 gbk,后台会进行转换)
|
|
2130
|
+
*/
|
|
2131
|
+
ConfigFileValue: string;
|
|
2132
|
+
/**
|
|
2133
|
+
* 配置项关联应用ID
|
|
2134
|
+
*/
|
|
2135
|
+
ApplicationId: string;
|
|
2136
|
+
/**
|
|
2137
|
+
* 发布路径
|
|
2138
|
+
*/
|
|
2139
|
+
ConfigFilePath: string;
|
|
2140
|
+
/**
|
|
2141
|
+
* 配置项版本描述
|
|
2142
|
+
*/
|
|
2143
|
+
ConfigVersionDesc?: string;
|
|
2144
|
+
/**
|
|
2145
|
+
* 配置项文件编码,utf-8 或 gbk。注:如果选择 gbk,需要新版本 tsf-consul-template (公有云虚拟机需要使用 1.32 tsf-agent,容器需要从文档中获取最新的 tsf-consul-template-docker.tar.gz)的支持
|
|
2146
|
+
*/
|
|
2147
|
+
ConfigFileCode?: string;
|
|
2148
|
+
/**
|
|
2149
|
+
* 后置命令
|
|
2150
|
+
*/
|
|
2151
|
+
ConfigPostCmd?: string;
|
|
2152
|
+
/**
|
|
2153
|
+
* Base64编码的配置项
|
|
2154
|
+
*/
|
|
2155
|
+
EncodeWithBase64?: boolean;
|
|
2156
|
+
/**
|
|
2157
|
+
* 无
|
|
2158
|
+
*/
|
|
2159
|
+
ProgramIdList?: Array<string>;
|
|
2160
|
+
}
|
|
2112
2161
|
/**
|
|
2113
2162
|
* 部署javaagent的类型、版本信息
|
|
2114
2163
|
*/
|
|
@@ -2122,6 +2171,19 @@ export interface AgentProfile {
|
|
|
2122
2171
|
*/
|
|
2123
2172
|
AgentVersion?: string;
|
|
2124
2173
|
}
|
|
2174
|
+
/**
|
|
2175
|
+
* ModifyContainerReplicas返回参数结构体
|
|
2176
|
+
*/
|
|
2177
|
+
export interface ModifyContainerReplicasResponse {
|
|
2178
|
+
/**
|
|
2179
|
+
* 结果true:成功;false:失败;
|
|
2180
|
+
*/
|
|
2181
|
+
Result?: boolean;
|
|
2182
|
+
/**
|
|
2183
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2184
|
+
*/
|
|
2185
|
+
RequestId?: string;
|
|
2186
|
+
}
|
|
2125
2187
|
/**
|
|
2126
2188
|
* StopGroup请求参数结构体
|
|
2127
2189
|
*/
|
|
@@ -3628,6 +3690,20 @@ export interface ContainGroup {
|
|
|
3628
3690
|
*/
|
|
3629
3691
|
UpdatedTime?: string;
|
|
3630
3692
|
}
|
|
3693
|
+
/**
|
|
3694
|
+
* CreateConfigWithDetailResp返回参数结构体
|
|
3695
|
+
*/
|
|
3696
|
+
export interface CreateConfigWithDetailRespResponse {
|
|
3697
|
+
/**
|
|
3698
|
+
* 配置项
|
|
3699
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3700
|
+
*/
|
|
3701
|
+
Result?: Config;
|
|
3702
|
+
/**
|
|
3703
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3704
|
+
*/
|
|
3705
|
+
RequestId?: string;
|
|
3706
|
+
}
|
|
3631
3707
|
/**
|
|
3632
3708
|
* DescribeGroupBusinessLogConfigs返回参数结构体
|
|
3633
3709
|
*/
|
|
@@ -4444,6 +4520,43 @@ export interface CreatePublicConfigWithDetailRespResponse {
|
|
|
4444
4520
|
*/
|
|
4445
4521
|
RequestId?: string;
|
|
4446
4522
|
}
|
|
4523
|
+
/**
|
|
4524
|
+
* CreateConfigWithDetailResp请求参数结构体
|
|
4525
|
+
*/
|
|
4526
|
+
export interface CreateConfigWithDetailRespRequest {
|
|
4527
|
+
/**
|
|
4528
|
+
* 配置项名称
|
|
4529
|
+
*/
|
|
4530
|
+
ConfigName: string;
|
|
4531
|
+
/**
|
|
4532
|
+
* 配置项版本
|
|
4533
|
+
*/
|
|
4534
|
+
ConfigVersion: string;
|
|
4535
|
+
/**
|
|
4536
|
+
* 配置项值
|
|
4537
|
+
*/
|
|
4538
|
+
ConfigValue: string;
|
|
4539
|
+
/**
|
|
4540
|
+
* 应用ID
|
|
4541
|
+
*/
|
|
4542
|
+
ApplicationId: string;
|
|
4543
|
+
/**
|
|
4544
|
+
* 配置项版本描述
|
|
4545
|
+
*/
|
|
4546
|
+
ConfigVersionDesc?: string;
|
|
4547
|
+
/**
|
|
4548
|
+
* 配置项值类型
|
|
4549
|
+
*/
|
|
4550
|
+
ConfigType?: string;
|
|
4551
|
+
/**
|
|
4552
|
+
* Base64编码的配置项
|
|
4553
|
+
*/
|
|
4554
|
+
EncodeWithBase64?: boolean;
|
|
4555
|
+
/**
|
|
4556
|
+
* 无
|
|
4557
|
+
*/
|
|
4558
|
+
ProgramIdList?: Array<string>;
|
|
4559
|
+
}
|
|
4447
4560
|
/**
|
|
4448
4561
|
* RemoveInstances返回参数结构体
|
|
4449
4562
|
*/
|
|
@@ -7190,13 +7303,14 @@ export interface CreateTaskFlowRequest {
|
|
|
7190
7303
|
ProgramIdList?: Array<string>;
|
|
7191
7304
|
}
|
|
7192
7305
|
/**
|
|
7193
|
-
*
|
|
7306
|
+
* CreateFileConfigWithDetailResp返回参数结构体
|
|
7194
7307
|
*/
|
|
7195
|
-
export interface
|
|
7308
|
+
export interface CreateFileConfigWithDetailRespResponse {
|
|
7196
7309
|
/**
|
|
7197
|
-
*
|
|
7310
|
+
* 文件配置项
|
|
7311
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7198
7312
|
*/
|
|
7199
|
-
Result?:
|
|
7313
|
+
Result?: FileConfig;
|
|
7200
7314
|
/**
|
|
7201
7315
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7202
7316
|
*/
|
|
@@ -66,7 +66,7 @@ export declare class Client extends AbstractClient {
|
|
|
66
66
|
*/
|
|
67
67
|
ModifyWafAutoDenyStatus(req: ModifyWafAutoDenyStatusRequest, cb?: (error: string, rep: ModifyWafAutoDenyStatusResponse) => void): Promise<ModifyWafAutoDenyStatusResponse>;
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* 本接口用于修改访问日志保存期限及大字段是否存储
|
|
70
70
|
*/
|
|
71
71
|
ModifyAccessPeriod(req: ModifyAccessPeriodRequest, cb?: (error: string, rep: ModifyAccessPeriodResponse) => void): Promise<ModifyAccessPeriodResponse>;
|
|
72
72
|
/**
|
|
@@ -114,7 +114,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
114
114
|
return this.request("ModifyWafAutoDenyStatus", req, cb);
|
|
115
115
|
}
|
|
116
116
|
/**
|
|
117
|
-
*
|
|
117
|
+
* 本接口用于修改访问日志保存期限及大字段是否存储
|
|
118
118
|
*/
|
|
119
119
|
async ModifyAccessPeriod(req, cb) {
|
|
120
120
|
return this.request("ModifyAccessPeriod", req, cb);
|
|
@@ -437,13 +437,20 @@ export interface DescribePeakPointsRequest {
|
|
|
437
437
|
*/
|
|
438
438
|
InstanceID?: string;
|
|
439
439
|
/**
|
|
440
|
-
*
|
|
440
|
+
* 十三个值可选:
|
|
441
441
|
access-峰值qps趋势图
|
|
442
442
|
botAccess- bot峰值qps趋势图
|
|
443
443
|
down-下行峰值带宽趋势图
|
|
444
444
|
up-上行峰值带宽趋势图
|
|
445
445
|
attack-Web攻击总数趋势图
|
|
446
446
|
cc-CC攻击总数趋势图
|
|
447
|
+
StatusServerError-WAF返回给客户端状态码次数趋势图
|
|
448
|
+
StatusClientError-WAF返回给客户端状态码次数趋势图
|
|
449
|
+
StatusRedirect-WAF返回给客户端状态码次数趋势图
|
|
450
|
+
StatusOk-WAF返回给客户端状态码次数趋势图
|
|
451
|
+
UpstreamServerError-源站返回给WAF状态码次数趋势图
|
|
452
|
+
UpstreamClientError-源站返回给WAF状态码次数趋势图
|
|
453
|
+
UpstreamRedirect-源站返回给WAF状态码次数趋势图
|
|
447
454
|
*/
|
|
448
455
|
MetricName?: string;
|
|
449
456
|
}
|
|
@@ -1054,6 +1061,26 @@ export interface DomainsPartInfo {
|
|
|
1054
1061
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1055
1062
|
*/
|
|
1056
1063
|
ProxySendTimeout: number;
|
|
1064
|
+
/**
|
|
1065
|
+
* 0:关闭SNI;1:开启SNI,SNI=源请求host;2:开启SNI,SNI=修改为源站host;3:开启SNI,自定义host,SNI=SniHost;
|
|
1066
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1067
|
+
*/
|
|
1068
|
+
SniType: number;
|
|
1069
|
+
/**
|
|
1070
|
+
* SniType=3时,需要填此参数,表示自定义的host;
|
|
1071
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1072
|
+
*/
|
|
1073
|
+
SniHost: string;
|
|
1074
|
+
/**
|
|
1075
|
+
* 无
|
|
1076
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1077
|
+
*/
|
|
1078
|
+
Weights?: Array<string>;
|
|
1079
|
+
/**
|
|
1080
|
+
* IsCdn=3时,表示自定义header
|
|
1081
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1082
|
+
*/
|
|
1083
|
+
IpHeaders: Array<string>;
|
|
1057
1084
|
}
|
|
1058
1085
|
/**
|
|
1059
1086
|
* DescribeAutoDenyIP请求参数结构体
|
|
@@ -1232,6 +1259,16 @@ export interface HostRecord {
|
|
|
1232
1259
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1233
1260
|
*/
|
|
1234
1261
|
AlbType?: string;
|
|
1262
|
+
/**
|
|
1263
|
+
* IsCdn=3时,需要填此参数,表示自定义header
|
|
1264
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1265
|
+
*/
|
|
1266
|
+
IpHeaders?: Array<string>;
|
|
1267
|
+
/**
|
|
1268
|
+
* 规则引擎类型, 1: menshen, 2:tiga
|
|
1269
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1270
|
+
*/
|
|
1271
|
+
EngineType?: number;
|
|
1235
1272
|
}
|
|
1236
1273
|
/**
|
|
1237
1274
|
* CreateHost请求参数结构体
|
|
@@ -1340,7 +1377,7 @@ export interface AddSpartaProtectionRequest {
|
|
|
1340
1377
|
*/
|
|
1341
1378
|
Ports?: Array<PortItem>;
|
|
1342
1379
|
/**
|
|
1343
|
-
*
|
|
1380
|
+
* WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF,cdn-waf表示CDN上的Web防护能力
|
|
1344
1381
|
*/
|
|
1345
1382
|
Edition?: string;
|
|
1346
1383
|
/**
|
|
@@ -1383,6 +1420,18 @@ export interface AddSpartaProtectionRequest {
|
|
|
1383
1420
|
* 300s
|
|
1384
1421
|
*/
|
|
1385
1422
|
ProxySendTimeout?: number;
|
|
1423
|
+
/**
|
|
1424
|
+
* 0:关闭SNI;1:开启SNI,SNI=源请求host;2:开启SNI,SNI=修改为源站host;3:开启SNI,自定义host,SNI=SniHost;
|
|
1425
|
+
*/
|
|
1426
|
+
SniType?: number;
|
|
1427
|
+
/**
|
|
1428
|
+
* SniType=3时,需要填此参数,表示自定义的host;
|
|
1429
|
+
*/
|
|
1430
|
+
SniHost?: string;
|
|
1431
|
+
/**
|
|
1432
|
+
* is_cdn=3时,需要填此参数,表示自定义header
|
|
1433
|
+
*/
|
|
1434
|
+
IpHeaders?: Array<string>;
|
|
1386
1435
|
}
|
|
1387
1436
|
/**
|
|
1388
1437
|
* PeakPoints数组项
|
|
@@ -1414,9 +1463,43 @@ export interface PeakPointsItem {
|
|
|
1414
1463
|
Cc: number;
|
|
1415
1464
|
/**
|
|
1416
1465
|
* Bot qps
|
|
1417
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1418
1466
|
*/
|
|
1419
1467
|
BotAccess: number;
|
|
1468
|
+
/**
|
|
1469
|
+
* WAF返回给客户端状态码次数
|
|
1470
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1471
|
+
*/
|
|
1472
|
+
StatusServerError: number;
|
|
1473
|
+
/**
|
|
1474
|
+
* WAF返回给客户端状态码次数
|
|
1475
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1476
|
+
*/
|
|
1477
|
+
StatusClientError: number;
|
|
1478
|
+
/**
|
|
1479
|
+
* WAF返回给客户端状态码次数
|
|
1480
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1481
|
+
*/
|
|
1482
|
+
StatusRedirect: number;
|
|
1483
|
+
/**
|
|
1484
|
+
* WAF返回给客户端状态码次数
|
|
1485
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1486
|
+
*/
|
|
1487
|
+
StatusOk: number;
|
|
1488
|
+
/**
|
|
1489
|
+
* 源站返回给WAF状态码次数
|
|
1490
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1491
|
+
*/
|
|
1492
|
+
UpstreamServerError: number;
|
|
1493
|
+
/**
|
|
1494
|
+
* 源站返回给WAF状态码次数
|
|
1495
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1496
|
+
*/
|
|
1497
|
+
UpstreamClientError: number;
|
|
1498
|
+
/**
|
|
1499
|
+
* 源站返回给WAF状态码次数
|
|
1500
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1501
|
+
*/
|
|
1502
|
+
UpstreamRedirect: number;
|
|
1420
1503
|
}
|
|
1421
1504
|
/**
|
|
1422
1505
|
* PostAttackDownloadTask请求参数结构体
|
|
@@ -2263,9 +2346,30 @@ export interface InstanceInfo {
|
|
|
2263
2346
|
MaxBandwidth?: number;
|
|
2264
2347
|
}
|
|
2265
2348
|
/**
|
|
2266
|
-
*
|
|
2349
|
+
* 服务端口配置
|
|
2267
2350
|
*/
|
|
2268
|
-
export
|
|
2351
|
+
export interface PortInfo {
|
|
2352
|
+
/**
|
|
2353
|
+
* Nginx的服务器id
|
|
2354
|
+
*/
|
|
2355
|
+
NginxServerId: number;
|
|
2356
|
+
/**
|
|
2357
|
+
* 监听端口配置
|
|
2358
|
+
*/
|
|
2359
|
+
Port: string;
|
|
2360
|
+
/**
|
|
2361
|
+
* 与端口对应的协议
|
|
2362
|
+
*/
|
|
2363
|
+
Protocol: string;
|
|
2364
|
+
/**
|
|
2365
|
+
* 回源端口
|
|
2366
|
+
*/
|
|
2367
|
+
UpstreamPort: string;
|
|
2368
|
+
/**
|
|
2369
|
+
* 回源协议
|
|
2370
|
+
*/
|
|
2371
|
+
UpstreamProtocol: string;
|
|
2372
|
+
}
|
|
2269
2373
|
/**
|
|
2270
2374
|
* DescribeDomainDetailsSaas返回参数结构体
|
|
2271
2375
|
*/
|
|
@@ -2273,7 +2377,7 @@ export interface DescribeDomainDetailsSaasResponse {
|
|
|
2273
2377
|
/**
|
|
2274
2378
|
* 域名详情
|
|
2275
2379
|
*/
|
|
2276
|
-
DomainsPartInfo
|
|
2380
|
+
DomainsPartInfo?: DomainsPartInfo;
|
|
2277
2381
|
/**
|
|
2278
2382
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2279
2383
|
*/
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.ckafka.v20190819.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("ckafka.v20190819.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("ckafka.v20190819.RenewCkafkaInstance", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.RenewCkafkaInstance({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
21
31
|
it("ckafka.v20190819.DescribeRoute", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.DescribeRoute({})
|
|
@@ -48,6 +48,16 @@ it("cls.v20201016.GetAlarmLog", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
+
it("cls.v20201016.UploadLog", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.UploadLog({})
|
|
54
|
+
expect(data).to.be.ok
|
|
55
|
+
} catch(error) {
|
|
56
|
+
expect(error.requestId).to.be.ok
|
|
57
|
+
expect(error.code).to.be.ok
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
51
61
|
it("cls.v20201016.CreateConsumer", async function () {
|
|
52
62
|
try {
|
|
53
63
|
const data = await client.CreateConsumer({})
|
|
@@ -438,9 +448,9 @@ it("cls.v20201016.ModifyConfig", async function () {
|
|
|
438
448
|
}
|
|
439
449
|
})
|
|
440
450
|
|
|
441
|
-
it("cls.v20201016.
|
|
451
|
+
it("cls.v20201016.DescribeAlertRecordHistory", async function () {
|
|
442
452
|
try {
|
|
443
|
-
const data = await client.
|
|
453
|
+
const data = await client.DescribeAlertRecordHistory({})
|
|
444
454
|
expect(data).to.be.ok
|
|
445
455
|
} catch(error) {
|
|
446
456
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +38,9 @@ it("lcic.v20220817.GetRoomMessage", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("lcic.v20220817.
|
|
41
|
+
it("lcic.v20220817.DescribeDocuments", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.DescribeDocuments({})
|
|
44
44
|
expect(data).to.be.ok
|
|
45
45
|
} catch(error) {
|
|
46
46
|
expect(error.requestId).to.be.ok
|
|
@@ -78,6 +78,26 @@ it("lcic.v20220817.DeleteAppCustomContent", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
+
it("lcic.v20220817.SetWatermark", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.SetWatermark({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
it("lcic.v20220817.ModifyUserProfile", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.ModifyUserProfile({})
|
|
94
|
+
expect(data).to.be.ok
|
|
95
|
+
} catch(error) {
|
|
96
|
+
expect(error.requestId).to.be.ok
|
|
97
|
+
expect(error.code).to.be.ok
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
|
|
81
101
|
it("lcic.v20220817.GetWatermark", async function () {
|
|
82
102
|
try {
|
|
83
103
|
const data = await client.GetWatermark({})
|
|
@@ -128,6 +148,16 @@ it("lcic.v20220817.DescribeSdkAppIdUsers", async function () {
|
|
|
128
148
|
}
|
|
129
149
|
})
|
|
130
150
|
|
|
151
|
+
it("lcic.v20220817.StartRoom", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.StartRoom({})
|
|
154
|
+
expect(data).to.be.ok
|
|
155
|
+
} catch(error) {
|
|
156
|
+
expect(error.requestId).to.be.ok
|
|
157
|
+
expect(error.code).to.be.ok
|
|
158
|
+
}
|
|
159
|
+
})
|
|
160
|
+
|
|
131
161
|
it("lcic.v20220817.DeleteGroupMember", async function () {
|
|
132
162
|
try {
|
|
133
163
|
const data = await client.DeleteGroupMember({})
|
|
@@ -208,9 +238,9 @@ it("lcic.v20220817.BatchRegister", async function () {
|
|
|
208
238
|
}
|
|
209
239
|
})
|
|
210
240
|
|
|
211
|
-
it("lcic.v20220817.
|
|
241
|
+
it("lcic.v20220817.DeleteSupervisor", async function () {
|
|
212
242
|
try {
|
|
213
|
-
const data = await client.
|
|
243
|
+
const data = await client.DeleteSupervisor({})
|
|
214
244
|
expect(data).to.be.ok
|
|
215
245
|
} catch(error) {
|
|
216
246
|
expect(error.requestId).to.be.ok
|
|
@@ -268,9 +298,9 @@ it("lcic.v20220817.DescribeGroupList", async function () {
|
|
|
268
298
|
}
|
|
269
299
|
})
|
|
270
300
|
|
|
271
|
-
it("lcic.v20220817.
|
|
301
|
+
it("lcic.v20220817.BatchAddGroupMember", async function () {
|
|
272
302
|
try {
|
|
273
|
-
const data = await client.
|
|
303
|
+
const data = await client.BatchAddGroupMember({})
|
|
274
304
|
expect(data).to.be.ok
|
|
275
305
|
} catch(error) {
|
|
276
306
|
expect(error.requestId).to.be.ok
|
|
@@ -438,6 +468,16 @@ it("lcic.v20220817.BatchDeleteRecord", async function () {
|
|
|
438
468
|
}
|
|
439
469
|
})
|
|
440
470
|
|
|
471
|
+
it("lcic.v20220817.EndRoom", async function () {
|
|
472
|
+
try {
|
|
473
|
+
const data = await client.EndRoom({})
|
|
474
|
+
expect(data).to.be.ok
|
|
475
|
+
} catch(error) {
|
|
476
|
+
expect(error.requestId).to.be.ok
|
|
477
|
+
expect(error.code).to.be.ok
|
|
478
|
+
}
|
|
479
|
+
})
|
|
480
|
+
|
|
441
481
|
it("lcic.v20220817.GetRooms", async function () {
|
|
442
482
|
try {
|
|
443
483
|
const data = await client.GetRooms({})
|
|
@@ -38,16 +38,6 @@ it("sqlserver.v20180328.RecycleReadOnlyGroup", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("sqlserver.v20180328.ModifyDBInstanceRenewFlag", async function () {
|
|
42
|
-
try {
|
|
43
|
-
const data = await client.ModifyDBInstanceRenewFlag({})
|
|
44
|
-
expect(data).to.be.ok
|
|
45
|
-
} catch(error) {
|
|
46
|
-
expect(error.requestId).to.be.ok
|
|
47
|
-
expect(error.code).to.be.ok
|
|
48
|
-
}
|
|
49
|
-
})
|
|
50
|
-
|
|
51
41
|
it("sqlserver.v20180328.StartIncrementalMigration", async function () {
|
|
52
42
|
try {
|
|
53
43
|
const data = await client.StartIncrementalMigration({})
|
|
@@ -178,9 +168,9 @@ it("sqlserver.v20180328.CreatePublishSubscribe", async function () {
|
|
|
178
168
|
}
|
|
179
169
|
})
|
|
180
170
|
|
|
181
|
-
it("sqlserver.v20180328.
|
|
171
|
+
it("sqlserver.v20180328.DescribeReadOnlyGroupByReadOnlyInstance", async function () {
|
|
182
172
|
try {
|
|
183
|
-
const data = await client.
|
|
173
|
+
const data = await client.DescribeReadOnlyGroupByReadOnlyInstance({})
|
|
184
174
|
expect(data).to.be.ok
|
|
185
175
|
} catch(error) {
|
|
186
176
|
expect(error.requestId).to.be.ok
|
|
@@ -728,6 +718,16 @@ it("sqlserver.v20180328.DescribeBackupUploadSize", async function () {
|
|
|
728
718
|
}
|
|
729
719
|
})
|
|
730
720
|
|
|
721
|
+
it("sqlserver.v20180328.StartInstanceXEvent", async function () {
|
|
722
|
+
try {
|
|
723
|
+
const data = await client.StartInstanceXEvent({})
|
|
724
|
+
expect(data).to.be.ok
|
|
725
|
+
} catch(error) {
|
|
726
|
+
expect(error.requestId).to.be.ok
|
|
727
|
+
expect(error.code).to.be.ok
|
|
728
|
+
}
|
|
729
|
+
})
|
|
730
|
+
|
|
731
731
|
it("sqlserver.v20180328.DeleteMigration", async function () {
|
|
732
732
|
try {
|
|
733
733
|
const data = await client.DeleteMigration({})
|
|
@@ -958,6 +958,16 @@ it("sqlserver.v20180328.InquiryPriceUpgradeDBInstance", async function () {
|
|
|
958
958
|
}
|
|
959
959
|
})
|
|
960
960
|
|
|
961
|
+
it("sqlserver.v20180328.DescribeBackupFiles", async function () {
|
|
962
|
+
try {
|
|
963
|
+
const data = await client.DescribeBackupFiles({})
|
|
964
|
+
expect(data).to.be.ok
|
|
965
|
+
} catch(error) {
|
|
966
|
+
expect(error.requestId).to.be.ok
|
|
967
|
+
expect(error.code).to.be.ok
|
|
968
|
+
}
|
|
969
|
+
})
|
|
970
|
+
|
|
961
971
|
it("sqlserver.v20180328.InquiryPriceRenewDBInstance", async function () {
|
|
962
972
|
try {
|
|
963
973
|
const data = await client.InquiryPriceRenewDBInstance({})
|
|
@@ -968,6 +978,16 @@ it("sqlserver.v20180328.InquiryPriceRenewDBInstance", async function () {
|
|
|
968
978
|
}
|
|
969
979
|
})
|
|
970
980
|
|
|
981
|
+
it("sqlserver.v20180328.DescribeXEvents", async function () {
|
|
982
|
+
try {
|
|
983
|
+
const data = await client.DescribeXEvents({})
|
|
984
|
+
expect(data).to.be.ok
|
|
985
|
+
} catch(error) {
|
|
986
|
+
expect(error.requestId).to.be.ok
|
|
987
|
+
expect(error.code).to.be.ok
|
|
988
|
+
}
|
|
989
|
+
})
|
|
990
|
+
|
|
971
991
|
it("sqlserver.v20180328.ModifyBackupMigration", async function () {
|
|
972
992
|
try {
|
|
973
993
|
const data = await client.ModifyBackupMigration({})
|
|
@@ -1028,6 +1048,16 @@ it("sqlserver.v20180328.DeleteBackupMigration", async function () {
|
|
|
1028
1048
|
}
|
|
1029
1049
|
})
|
|
1030
1050
|
|
|
1051
|
+
it("sqlserver.v20180328.DescribeDBInstancesAttribute", async function () {
|
|
1052
|
+
try {
|
|
1053
|
+
const data = await client.DescribeDBInstancesAttribute({})
|
|
1054
|
+
expect(data).to.be.ok
|
|
1055
|
+
} catch(error) {
|
|
1056
|
+
expect(error.requestId).to.be.ok
|
|
1057
|
+
expect(error.code).to.be.ok
|
|
1058
|
+
}
|
|
1059
|
+
})
|
|
1060
|
+
|
|
1031
1061
|
it("sqlserver.v20180328.UpgradeDBInstance", async function () {
|
|
1032
1062
|
try {
|
|
1033
1063
|
const data = await client.UpgradeDBInstance({})
|
|
@@ -1048,9 +1078,9 @@ it("sqlserver.v20180328.ModifyReadOnlyGroupDetails", async function () {
|
|
|
1048
1078
|
}
|
|
1049
1079
|
})
|
|
1050
1080
|
|
|
1051
|
-
it("sqlserver.v20180328.
|
|
1081
|
+
it("sqlserver.v20180328.ModifyDBInstanceRenewFlag", async function () {
|
|
1052
1082
|
try {
|
|
1053
|
-
const data = await client.
|
|
1083
|
+
const data = await client.ModifyDBInstanceRenewFlag({})
|
|
1054
1084
|
expect(data).to.be.ok
|
|
1055
1085
|
} catch(error) {
|
|
1056
1086
|
expect(error.requestId).to.be.ok
|