tencentcloud-sdk-nodejs 4.0.541 → 4.0.542
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 +111 -0
- package/SERVICE_CHANGELOG.md +144 -216
- package/package.json +1 -1
- package/products.md +16 -16
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_models.ts +20 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +2 -2
- package/src/services/captcha/v20190722/captcha_client.ts +2 -2
- package/src/services/captcha/v20190722/captcha_models.ts +69 -2
- package/src/services/cfw/v20190904/cfw_client.ts +23 -10
- package/src/services/cfw/v20190904/cfw_models.ts +236 -71
- package/src/services/cls/v20201016/cls_models.ts +8 -8
- package/src/services/dts/v20211206/dts_models.ts +7 -7
- package/src/services/live/v20180801/live_client.ts +2 -2
- package/src/services/mariadb/v20170312/mariadb_client.ts +12 -0
- package/src/services/mariadb/v20170312/mariadb_models.ts +25 -0
- package/src/services/partners/v20180321/partners_client.ts +2 -2
- package/src/services/tat/v20201028/tat_models.ts +15 -0
- package/src/services/tke/v20180525/tke_models.ts +12 -12
- package/src/services/vpc/v20170312/vpc_client.ts +2 -2
- package/src/services/vpc/v20170312/vpc_models.ts +52 -33
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ame/v20190916/ame_models.d.ts +17 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +2 -2
- package/tencentcloud/services/captcha/v20190722/captcha_client.d.ts +2 -2
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +58 -2
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +7 -3
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +9 -3
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +202 -64
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +8 -8
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +7 -7
- package/tencentcloud/services/live/v20180801/live_client.d.ts +2 -2
- package/tencentcloud/services/live/v20180801/live_client.js +2 -2
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +5 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +6 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +22 -0
- package/tencentcloud/services/partners/v20180321/partners_client.d.ts +2 -2
- package/tencentcloud/services/partners/v20180321/partners_client.js +2 -2
- package/tencentcloud/services/tat/v20201028/tat_models.d.ts +12 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +12 -12
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +52 -33
- package/test/cfw.v20190904.test.js +12 -2
- package/test/mariadb.v20170312.test.js +10 -0
|
@@ -498,7 +498,7 @@ export interface DescribeClusterControllersResponse {
|
|
|
498
498
|
/**
|
|
499
499
|
* 描述集群中各个控制器的状态
|
|
500
500
|
*/
|
|
501
|
-
ControllerStatusSet
|
|
501
|
+
ControllerStatusSet?: Array<ControllerStatus>
|
|
502
502
|
|
|
503
503
|
/**
|
|
504
504
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -2443,7 +2443,7 @@ export interface GetTkeAppChartListResponse {
|
|
|
2443
2443
|
* 所支持的chart列表
|
|
2444
2444
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2445
2445
|
*/
|
|
2446
|
-
AppCharts
|
|
2446
|
+
AppCharts?: Array<AppChart>
|
|
2447
2447
|
|
|
2448
2448
|
/**
|
|
2449
2449
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -5346,13 +5346,13 @@ export interface DescribeClusterEndpointStatusResponse {
|
|
|
5346
5346
|
* 查询集群访问端口状态(Created 开启成功,Creating 开启中,NotFound 未开启)
|
|
5347
5347
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5348
5348
|
*/
|
|
5349
|
-
Status
|
|
5349
|
+
Status?: string
|
|
5350
5350
|
|
|
5351
5351
|
/**
|
|
5352
5352
|
* 开启访问入口失败信息
|
|
5353
5353
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5354
5354
|
*/
|
|
5355
|
-
ErrorMsg
|
|
5355
|
+
ErrorMsg?: string
|
|
5356
5356
|
|
|
5357
5357
|
/**
|
|
5358
5358
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -8070,19 +8070,19 @@ export interface DescribeClusterAuthenticationOptionsResponse {
|
|
|
8070
8070
|
* ServiceAccount认证配置
|
|
8071
8071
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8072
8072
|
*/
|
|
8073
|
-
ServiceAccounts
|
|
8073
|
+
ServiceAccounts?: ServiceAccountAuthenticationOptions
|
|
8074
8074
|
|
|
8075
8075
|
/**
|
|
8076
8076
|
* 最近一次修改操作结果,返回值可能为:Updating,Success,Failed,TimeOut
|
|
8077
8077
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8078
8078
|
*/
|
|
8079
|
-
LatestOperationState
|
|
8079
|
+
LatestOperationState?: string
|
|
8080
8080
|
|
|
8081
8081
|
/**
|
|
8082
8082
|
* OIDC认证配置
|
|
8083
8083
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8084
8084
|
*/
|
|
8085
|
-
OIDCConfig
|
|
8085
|
+
OIDCConfig?: OIDCConfigAuthenticationOptions
|
|
8086
8086
|
|
|
8087
8087
|
/**
|
|
8088
8088
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -9330,19 +9330,19 @@ export interface DeleteClusterInstancesResponse {
|
|
|
9330
9330
|
* 删除成功的实例ID列表
|
|
9331
9331
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9332
9332
|
*/
|
|
9333
|
-
SuccInstanceIds
|
|
9333
|
+
SuccInstanceIds?: Array<string>
|
|
9334
9334
|
|
|
9335
9335
|
/**
|
|
9336
9336
|
* 删除失败的实例ID列表
|
|
9337
9337
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9338
9338
|
*/
|
|
9339
|
-
FailedInstanceIds
|
|
9339
|
+
FailedInstanceIds?: Array<string>
|
|
9340
9340
|
|
|
9341
9341
|
/**
|
|
9342
9342
|
* 未匹配到的实例ID列表
|
|
9343
9343
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9344
9344
|
*/
|
|
9345
|
-
NotFoundInstanceIds
|
|
9345
|
+
NotFoundInstanceIds?: Array<string>
|
|
9346
9346
|
|
|
9347
9347
|
/**
|
|
9348
9348
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -10310,13 +10310,13 @@ export interface DescribeImagesResponse {
|
|
|
10310
10310
|
* 镜像数量
|
|
10311
10311
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10312
10312
|
*/
|
|
10313
|
-
TotalCount
|
|
10313
|
+
TotalCount?: number
|
|
10314
10314
|
|
|
10315
10315
|
/**
|
|
10316
10316
|
* 镜像信息列表
|
|
10317
10317
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10318
10318
|
*/
|
|
10319
|
-
ImageInstanceSet
|
|
10319
|
+
ImageInstanceSet?: Array<ImageInstance>
|
|
10320
10320
|
|
|
10321
10321
|
/**
|
|
10322
10322
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1777,7 +1777,7 @@ export class Client extends AbstractClient {
|
|
|
1777
1777
|
}
|
|
1778
1778
|
|
|
1779
1779
|
/**
|
|
1780
|
-
* 本接口(DescribeFlowLogs
|
|
1780
|
+
* 本接口(DescribeFlowLogs)用于查询获取流日志集合。
|
|
1781
1781
|
*/
|
|
1782
1782
|
async DescribeFlowLogs(
|
|
1783
1783
|
req: DescribeFlowLogsRequest,
|
|
@@ -3986,7 +3986,7 @@ LimitTypes取值范围:
|
|
|
3986
3986
|
}
|
|
3987
3987
|
|
|
3988
3988
|
/**
|
|
3989
|
-
*
|
|
3989
|
+
* 本接口(DescribeVpcEndPoint)用于查询终端节点列表。
|
|
3990
3990
|
*/
|
|
3991
3991
|
async DescribeVpcEndPoint(
|
|
3992
3992
|
req: DescribeVpcEndPointRequest,
|
|
@@ -344,8 +344,8 @@ export interface DescribeNetworkInterfacesRequest {
|
|
|
344
344
|
<li>tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。使用请参考示例2</li>
|
|
345
345
|
<li>tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例2。</li>
|
|
346
346
|
<li>is-primary - Boolean - 是否必填:否 - (过滤条件)按照是否主网卡进行过滤。值为true时,仅过滤主网卡;值为false时,仅过滤辅助网卡;此过滤参数未提供时,同时过滤主网卡和辅助网卡。</li>
|
|
347
|
-
<li>eni-type - String -是否必填:否- (过滤条件)按照网卡类型进行过滤。“0”-辅助网卡,“1”-主网卡,“2
|
|
348
|
-
<li>eni-qos - String -是否必填:否- (过滤条件)按照网卡服务质量进行过滤。“AG
|
|
347
|
+
<li>eni-type - String -是否必填:否- (过滤条件)按照网卡类型进行过滤。“0”-辅助网卡,“1”-主网卡,“2”:中继网卡。</li>
|
|
348
|
+
<li>eni-qos - String -是否必填:否- (过滤条件)按照网卡服务质量进行过滤。“AG”-服务质量为云铜,“AU”-服务质量为云银。</li>
|
|
349
349
|
<li>address-ipv6 - String - 是否必填:否 -(过滤条件)内网IPv6地址过滤,支持多ipv6地址查询,如果和address-ip一起使用取交集。</li>
|
|
350
350
|
*/
|
|
351
351
|
Filters?: Array<Filter>
|
|
@@ -950,13 +950,13 @@ export interface FlowLog {
|
|
|
950
950
|
StorageType: string
|
|
951
951
|
|
|
952
952
|
/**
|
|
953
|
-
* 消费端信息,当消费端类型为ckafka
|
|
953
|
+
* 消费端信息,当消费端类型为ckafka时返回。
|
|
954
954
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
955
955
|
*/
|
|
956
956
|
FlowLogStorage: FlowLogStorage
|
|
957
957
|
|
|
958
958
|
/**
|
|
959
|
-
* 流日志存储ID
|
|
959
|
+
* 流日志存储ID对应的地域信息。
|
|
960
960
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
961
961
|
*/
|
|
962
962
|
CloudLogRegion: string
|
|
@@ -1313,52 +1313,52 @@ export interface CreateIp6TranslatorsResponse {
|
|
|
1313
1313
|
*/
|
|
1314
1314
|
export interface DescribeFlowLogsRequest {
|
|
1315
1315
|
/**
|
|
1316
|
-
* 私用网络ID或者统一ID,建议使用统一ID
|
|
1316
|
+
* 私用网络ID或者统一ID,建议使用统一ID。
|
|
1317
1317
|
*/
|
|
1318
1318
|
VpcId?: string
|
|
1319
1319
|
|
|
1320
1320
|
/**
|
|
1321
|
-
* 流日志唯一ID
|
|
1321
|
+
* 流日志唯一ID。
|
|
1322
1322
|
*/
|
|
1323
1323
|
FlowLogId?: string
|
|
1324
1324
|
|
|
1325
1325
|
/**
|
|
1326
|
-
*
|
|
1326
|
+
* 流日志实例名字。
|
|
1327
1327
|
*/
|
|
1328
1328
|
FlowLogName?: string
|
|
1329
1329
|
|
|
1330
1330
|
/**
|
|
1331
|
-
* 流日志所属资源类型,VPC|SUBNET|NETWORKINTERFACE
|
|
1331
|
+
* 流日志所属资源类型,VPC|SUBNET|NETWORKINTERFACE。
|
|
1332
1332
|
*/
|
|
1333
1333
|
ResourceType?: string
|
|
1334
1334
|
|
|
1335
1335
|
/**
|
|
1336
|
-
* 资源唯一ID
|
|
1336
|
+
* 资源唯一ID。
|
|
1337
1337
|
*/
|
|
1338
1338
|
ResourceId?: string
|
|
1339
1339
|
|
|
1340
1340
|
/**
|
|
1341
|
-
* 流日志采集类型,ACCEPT|REJECT|ALL
|
|
1341
|
+
* 流日志采集类型,ACCEPT|REJECT|ALL。
|
|
1342
1342
|
*/
|
|
1343
1343
|
TrafficType?: string
|
|
1344
1344
|
|
|
1345
1345
|
/**
|
|
1346
|
-
* 流日志存储ID
|
|
1346
|
+
* 流日志存储ID。
|
|
1347
1347
|
*/
|
|
1348
1348
|
CloudLogId?: string
|
|
1349
1349
|
|
|
1350
1350
|
/**
|
|
1351
|
-
* 流日志存储ID
|
|
1351
|
+
* 流日志存储ID状态。
|
|
1352
1352
|
*/
|
|
1353
1353
|
CloudLogState?: string
|
|
1354
1354
|
|
|
1355
1355
|
/**
|
|
1356
|
-
* 按某个字段排序,支持字段:flowLogName,createTime,默认按createTime
|
|
1356
|
+
* 按某个字段排序,支持字段:flowLogName,createTime,默认按createTime。
|
|
1357
1357
|
*/
|
|
1358
1358
|
OrderField?: string
|
|
1359
1359
|
|
|
1360
1360
|
/**
|
|
1361
|
-
* 升序(asc)还是降序(desc),默认:desc
|
|
1361
|
+
* 升序(asc)还是降序(desc),默认:desc。
|
|
1362
1362
|
*/
|
|
1363
1363
|
OrderDirection?: string
|
|
1364
1364
|
|
|
@@ -1368,7 +1368,7 @@ export interface DescribeFlowLogsRequest {
|
|
|
1368
1368
|
Offset?: number
|
|
1369
1369
|
|
|
1370
1370
|
/**
|
|
1371
|
-
* 每页行数,默认为10
|
|
1371
|
+
* 每页行数,默认为10。
|
|
1372
1372
|
*/
|
|
1373
1373
|
Limit?: number
|
|
1374
1374
|
|
|
@@ -1380,7 +1380,7 @@ export interface DescribeFlowLogsRequest {
|
|
|
1380
1380
|
Filters?: Filter
|
|
1381
1381
|
|
|
1382
1382
|
/**
|
|
1383
|
-
* 流日志存储ID
|
|
1383
|
+
* 流日志存储ID对应的地域信息。
|
|
1384
1384
|
*/
|
|
1385
1385
|
CloudLogRegion?: string
|
|
1386
1386
|
}
|
|
@@ -2338,6 +2338,8 @@ export interface DescribeVpcsRequest {
|
|
|
2338
2338
|
<li>tag-key :按照标签键进行过滤,非必填参数。</li>
|
|
2339
2339
|
<li>tag:tag-key:按照标签键值对进行过滤,非必填参数。 其中 tag-key 请使用具体的标签键进行替换,可参考示例2。</li>
|
|
2340
2340
|
**说明:**若同一个过滤条件(Filter)存在多个Values,则同一Filter下Values间的关系为逻辑或(OR)关系;若存在多个过滤条件(Filter),Filter之间的关系为逻辑与(AND)关系。
|
|
2341
|
+
<li>ipv6-cidr-block - String - (过滤条件)IPv6子网网段,形如: 2402:4e00:1717:8700::/64 。</li>
|
|
2342
|
+
<li>isp-type - String - (过滤条件)运营商类型,形如: BGP 取值范围:'BGP'-默认, 'CMCC'-中国移动, 'CTCC'-中国电信, 'CUCC'-中国联调。</li>
|
|
2341
2343
|
*/
|
|
2342
2344
|
Filters?: Array<Filter>
|
|
2343
2345
|
|
|
@@ -2876,12 +2878,12 @@ export interface DescribeVpcEndPointServiceResponse {
|
|
|
2876
2878
|
/**
|
|
2877
2879
|
* 终端节点服务对象数组。
|
|
2878
2880
|
*/
|
|
2879
|
-
EndPointServiceSet
|
|
2881
|
+
EndPointServiceSet?: Array<EndPointService>
|
|
2880
2882
|
|
|
2881
2883
|
/**
|
|
2882
2884
|
* 符合查询条件的个数。
|
|
2883
2885
|
*/
|
|
2884
|
-
TotalCount
|
|
2886
|
+
TotalCount?: number
|
|
2885
2887
|
|
|
2886
2888
|
/**
|
|
2887
2889
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -4998,7 +5000,7 @@ export interface SecurityGroupPolicy {
|
|
|
4998
5000
|
SecurityGroupId?: string
|
|
4999
5001
|
|
|
5000
5002
|
/**
|
|
5001
|
-
* IP地址ID或者
|
|
5003
|
+
* IP地址ID或者IP地址组ID。
|
|
5002
5004
|
*/
|
|
5003
5005
|
AddressTemplate?: AddressTemplateSpecification
|
|
5004
5006
|
|
|
@@ -6795,9 +6797,10 @@ export interface CreateSubnetsRequest {
|
|
|
6795
6797
|
export interface DescribeVpcEndPointServiceRequest {
|
|
6796
6798
|
/**
|
|
6797
6799
|
* 过滤条件。
|
|
6798
|
-
<li> service-id- String - (过滤条件)终端节点服务唯一ID。</li>
|
|
6800
|
+
<li> service-id - String - (过滤条件)终端节点服务唯一ID。</li>
|
|
6799
6801
|
<li>service-name - String - (过滤条件)终端节点实例名称。</li>
|
|
6800
6802
|
<li>service-instance-id - String - (过滤条件)后端服务的唯一ID,比如lb-xxx。</li>
|
|
6803
|
+
<li>service-type - String - (过滤条件)后端PAAS服务类型,CLB,CDB,CRS,不填默认查询类型为CLB。</li>
|
|
6801
6804
|
*/
|
|
6802
6805
|
Filters?: Array<Filter>
|
|
6803
6806
|
|
|
@@ -7037,12 +7040,12 @@ export interface DescribeVpcsResponse {
|
|
|
7037
7040
|
/**
|
|
7038
7041
|
* 符合条件的对象数。
|
|
7039
7042
|
*/
|
|
7040
|
-
TotalCount
|
|
7043
|
+
TotalCount?: number
|
|
7041
7044
|
|
|
7042
7045
|
/**
|
|
7043
7046
|
* VPC对象。
|
|
7044
7047
|
*/
|
|
7045
|
-
VpcSet
|
|
7048
|
+
VpcSet?: Array<Vpc>
|
|
7046
7049
|
|
|
7047
7050
|
/**
|
|
7048
7051
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -7201,12 +7204,12 @@ export interface DescribeVpcEndPointResponse {
|
|
|
7201
7204
|
/**
|
|
7202
7205
|
* 终端节点对象。
|
|
7203
7206
|
*/
|
|
7204
|
-
EndPointSet
|
|
7207
|
+
EndPointSet?: Array<EndPoint>
|
|
7205
7208
|
|
|
7206
7209
|
/**
|
|
7207
7210
|
* 符合查询条件的终端节点个数。
|
|
7208
7211
|
*/
|
|
7209
|
-
TotalCount
|
|
7212
|
+
TotalCount?: number
|
|
7210
7213
|
|
|
7211
7214
|
/**
|
|
7212
7215
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -8373,14 +8376,14 @@ export interface DeleteHaVipResponse {
|
|
|
8373
8376
|
*/
|
|
8374
8377
|
export interface DescribeFlowLogsResponse {
|
|
8375
8378
|
/**
|
|
8376
|
-
*
|
|
8379
|
+
* 流日志实例集合。
|
|
8377
8380
|
*/
|
|
8378
|
-
FlowLog
|
|
8381
|
+
FlowLog?: Array<FlowLog>
|
|
8379
8382
|
|
|
8380
8383
|
/**
|
|
8381
|
-
*
|
|
8384
|
+
* 流日志总数目。
|
|
8382
8385
|
*/
|
|
8383
|
-
TotalNum
|
|
8386
|
+
TotalNum?: number
|
|
8384
8387
|
|
|
8385
8388
|
/**
|
|
8386
8389
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -8548,6 +8551,8 @@ export interface DescribeSubnetsRequest {
|
|
|
8548
8551
|
<li>tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例2。</li>
|
|
8549
8552
|
<li>cdc-id - String - 是否必填:否 - (过滤条件)按照cdc信息进行过滤。过滤出来制定cdc下的子网。</li>
|
|
8550
8553
|
<li>is-cdc-subnet - String - 是否必填:否 - (过滤条件)按照是否是cdc子网进行过滤。取值:“0”-非cdc子网,“1”--cdc子网</li>
|
|
8554
|
+
<li>ipv6-cidr-block - String - (过滤条件)IPv6子网网段,形如: 2402:4e00:1717:8700::/64 。</li>
|
|
8555
|
+
<li>isp-type - String - (过滤条件)运营商类型,形如: BGP 。</li>
|
|
8551
8556
|
*/
|
|
8552
8557
|
Filters?: Array<Filter>
|
|
8553
8558
|
|
|
@@ -10486,8 +10491,22 @@ export interface DescribeRouteTablesRequest {
|
|
|
10486
10491
|
<li>route-table-name - String - (过滤条件)路由表名称。</li>
|
|
10487
10492
|
<li>vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-f49l6u0z。</li>
|
|
10488
10493
|
<li>association.main - String - (过滤条件)是否主路由表。</li>
|
|
10489
|
-
<li>tag-key - String
|
|
10494
|
+
<li>tag-key - String -是否必填:否 - (过滤条件)按照标签键进行过滤。</li>
|
|
10490
10495
|
<li>tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例2。</li>
|
|
10496
|
+
<li>next-hop-type - String - 是否必填:否 - (过滤条件)按下一跳类型进行过滤。使用next-hop-type进行过滤时,必须同时携带route-table-id与vpc-id。
|
|
10497
|
+
目前我们支持的类型有:
|
|
10498
|
+
LOCAL: 本地路由
|
|
10499
|
+
CVM:公网网关类型的云服务器;
|
|
10500
|
+
VPN:VPN网关;
|
|
10501
|
+
DIRECTCONNECT:专线网关;
|
|
10502
|
+
PEERCONNECTION:对等连接;
|
|
10503
|
+
HAVIP:高可用虚拟IP;
|
|
10504
|
+
NAT:NAT网关;
|
|
10505
|
+
NORMAL_CVM:普通云服务器;
|
|
10506
|
+
EIP:云服务器的公网IP;
|
|
10507
|
+
CCN:云联网;
|
|
10508
|
+
LOCAL_GATEWAY:本地网关。
|
|
10509
|
+
</li>
|
|
10491
10510
|
*/
|
|
10492
10511
|
Filters?: Array<Filter>
|
|
10493
10512
|
|
|
@@ -12504,12 +12523,12 @@ export interface DescribeSubnetsResponse {
|
|
|
12504
12523
|
/**
|
|
12505
12524
|
* 符合条件的实例数量。
|
|
12506
12525
|
*/
|
|
12507
|
-
TotalCount
|
|
12526
|
+
TotalCount?: number
|
|
12508
12527
|
|
|
12509
12528
|
/**
|
|
12510
12529
|
* 子网对象。
|
|
12511
12530
|
*/
|
|
12512
|
-
SubnetSet
|
|
12531
|
+
SubnetSet?: Array<Subnet>
|
|
12513
12532
|
|
|
12514
12533
|
/**
|
|
12515
12534
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -15052,12 +15071,12 @@ export interface DescribeNetworkInterfacesResponse {
|
|
|
15052
15071
|
/**
|
|
15053
15072
|
* 实例详细信息列表。
|
|
15054
15073
|
*/
|
|
15055
|
-
NetworkInterfaceSet
|
|
15074
|
+
NetworkInterfaceSet?: Array<NetworkInterface>
|
|
15056
15075
|
|
|
15057
15076
|
/**
|
|
15058
15077
|
* 符合条件的实例数量。
|
|
15059
15078
|
*/
|
|
15060
|
-
TotalCount
|
|
15079
|
+
TotalCount?: number
|
|
15061
15080
|
|
|
15062
15081
|
/**
|
|
15063
15082
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.542";
|
|
@@ -1167,6 +1167,17 @@ export interface TRTCJoinRoomInput {
|
|
|
1167
1167
|
* 用户唯一标识。
|
|
1168
1168
|
*/
|
|
1169
1169
|
UserId: string;
|
|
1170
|
+
/**
|
|
1171
|
+
* 进房钥匙,若需要权限控制请携带该参数。
|
|
1172
|
+
[privateMapKey 权限设置](/document/product/647/32240)
|
|
1173
|
+
*/
|
|
1174
|
+
PrivateMapKey?: string;
|
|
1175
|
+
/**
|
|
1176
|
+
* 用户角色,目前支持两种角色:
|
|
1177
|
+
<li>anchor:主播</li>
|
|
1178
|
+
<li>audience:观众</li>
|
|
1179
|
+
*/
|
|
1180
|
+
Role?: string;
|
|
1170
1181
|
}
|
|
1171
1182
|
/**
|
|
1172
1183
|
* DescribePackageItems请求参数结构体
|
|
@@ -1360,9 +1371,14 @@ export interface SetPlaylistCommandInput {
|
|
|
1360
1371
|
*/
|
|
1361
1372
|
ChangedIndex?: number;
|
|
1362
1373
|
/**
|
|
1363
|
-
* 歌曲 ID 列表,当 Type 取 Add
|
|
1374
|
+
* 歌曲 ID 列表,当 Type 取 Add 时,与MusicURLs必填其中一项。
|
|
1364
1375
|
*/
|
|
1365
1376
|
MusicIds?: Array<string>;
|
|
1377
|
+
/**
|
|
1378
|
+
* 歌曲 URL 列表,当 Type 取 Add 时,与MusicIds必填其中一项。
|
|
1379
|
+
注:URL必须以.mp3结尾且必须是mp3编码文件。
|
|
1380
|
+
*/
|
|
1381
|
+
MusicURLs?: Array<string>;
|
|
1366
1382
|
}
|
|
1367
1383
|
/**
|
|
1368
1384
|
* SyncKTVRobotCommand返回参数结构体
|
|
@@ -4157,11 +4157,11 @@ export interface DescribeBizTrendResponse {
|
|
|
4157
4157
|
/**
|
|
4158
4158
|
* 曲线图各个时间点的值
|
|
4159
4159
|
*/
|
|
4160
|
-
DataList
|
|
4160
|
+
DataList?: Array<number>;
|
|
4161
4161
|
/**
|
|
4162
4162
|
* 统计纬度
|
|
4163
4163
|
*/
|
|
4164
|
-
MetricName
|
|
4164
|
+
MetricName?: string;
|
|
4165
4165
|
/**
|
|
4166
4166
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4167
4167
|
*/
|
|
@@ -18,7 +18,7 @@ export declare class Client extends AbstractClient {
|
|
|
18
18
|
/**
|
|
19
19
|
* 查询全部验证的统计数据,包括:总请求量、总验证量、总验证通过量、总验证拦截量等数据。
|
|
20
20
|
*/
|
|
21
|
-
GetTotalRequestStatistics(req
|
|
21
|
+
GetTotalRequestStatistics(req: GetTotalRequestStatisticsRequest, cb?: (error: string, rep: GetTotalRequestStatisticsResponse) => void): Promise<GetTotalRequestStatisticsResponse>;
|
|
22
22
|
/**
|
|
23
23
|
* 安全验证码查询请求数据概况,例如:按照时间段查询数据 昨日请求量、昨日恶意比例、昨日验证量、昨日通过量、昨日恶意拦截量……
|
|
24
24
|
*/
|
|
@@ -66,7 +66,7 @@ export declare class Client extends AbstractClient {
|
|
|
66
66
|
/**
|
|
67
67
|
* 查询单个CaptchaAppID验证的统计数据,包括:请求量、验证量、验证通过量、验证拦截量。
|
|
68
68
|
*/
|
|
69
|
-
GetRequestStatistics(req
|
|
69
|
+
GetRequestStatistics(req: GetRequestStatisticsRequest, cb?: (error: string, rep: GetRequestStatisticsResponse) => void): Promise<GetRequestStatisticsResponse>;
|
|
70
70
|
/**
|
|
71
71
|
* 查询安全验证码应用APPId信息
|
|
72
72
|
*/
|
|
@@ -156,6 +156,19 @@ export interface DescribeCaptchaMiniDataSumResponse {
|
|
|
156
156
|
* GetRequestStatistics返回参数结构体
|
|
157
157
|
*/
|
|
158
158
|
export interface GetRequestStatisticsResponse {
|
|
159
|
+
/**
|
|
160
|
+
* 查询后数据块
|
|
161
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
162
|
+
*/
|
|
163
|
+
Data?: CaptchaStatisticObj;
|
|
164
|
+
/**
|
|
165
|
+
* 验证码返回码
|
|
166
|
+
*/
|
|
167
|
+
CaptchaCode?: number;
|
|
168
|
+
/**
|
|
169
|
+
* 验证码返回信息
|
|
170
|
+
*/
|
|
171
|
+
CaptchaMsg?: string;
|
|
159
172
|
/**
|
|
160
173
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
161
174
|
*/
|
|
@@ -164,7 +177,24 @@ export interface GetRequestStatisticsResponse {
|
|
|
164
177
|
/**
|
|
165
178
|
* GetRequestStatistics请求参数结构体
|
|
166
179
|
*/
|
|
167
|
-
export
|
|
180
|
+
export interface GetRequestStatisticsRequest {
|
|
181
|
+
/**
|
|
182
|
+
* 验证码AppId
|
|
183
|
+
*/
|
|
184
|
+
CaptchaAppId: string;
|
|
185
|
+
/**
|
|
186
|
+
* 开始时间字符串
|
|
187
|
+
*/
|
|
188
|
+
StartTimeStr: string;
|
|
189
|
+
/**
|
|
190
|
+
* 结束时间字符串
|
|
191
|
+
*/
|
|
192
|
+
EndTimeStr: string;
|
|
193
|
+
/**
|
|
194
|
+
* 查询粒度
|
|
195
|
+
*/
|
|
196
|
+
Dimension: string;
|
|
197
|
+
}
|
|
168
198
|
/**
|
|
169
199
|
* 拦截策略返回信息
|
|
170
200
|
*/
|
|
@@ -713,7 +743,20 @@ export interface GetTicketStatisticsResponse {
|
|
|
713
743
|
/**
|
|
714
744
|
* GetTotalRequestStatistics请求参数结构体
|
|
715
745
|
*/
|
|
716
|
-
export
|
|
746
|
+
export interface GetTotalRequestStatisticsRequest {
|
|
747
|
+
/**
|
|
748
|
+
* 开始时间字符串
|
|
749
|
+
*/
|
|
750
|
+
StartTimeStr: string;
|
|
751
|
+
/**
|
|
752
|
+
* 结束时间字符串
|
|
753
|
+
*/
|
|
754
|
+
EndTimeStr: string;
|
|
755
|
+
/**
|
|
756
|
+
* 查询粒度
|
|
757
|
+
*/
|
|
758
|
+
Dimension: string;
|
|
759
|
+
}
|
|
717
760
|
/**
|
|
718
761
|
* DescribeCaptchaTicketData 返回的数据结构
|
|
719
762
|
*/
|
|
@@ -731,6 +774,19 @@ export interface TicketAmountUnit {
|
|
|
731
774
|
* GetTotalRequestStatistics返回参数结构体
|
|
732
775
|
*/
|
|
733
776
|
export interface GetTotalRequestStatisticsResponse {
|
|
777
|
+
/**
|
|
778
|
+
* 查询后数据块
|
|
779
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
780
|
+
*/
|
|
781
|
+
Data?: CaptchaStatisticObj;
|
|
782
|
+
/**
|
|
783
|
+
* 验证码返回码
|
|
784
|
+
*/
|
|
785
|
+
CaptchaCode?: number;
|
|
786
|
+
/**
|
|
787
|
+
* 验证码返回信息
|
|
788
|
+
*/
|
|
789
|
+
CaptchaMsg?: string;
|
|
734
790
|
/**
|
|
735
791
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
736
792
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeNatFwInstanceRequest, ModifyNatFwVpcDnsSwitchResponse, DescribeNatFwInstanceWithRegionRequest, DescribeRuleOverviewResponse,
|
|
3
|
+
import { DescribeNatFwInstanceRequest, ModifyNatFwVpcDnsSwitchResponse, DescribeNatFwInstanceWithRegionRequest, DescribeRuleOverviewResponse, ModifyPublicIPSwitchStatusResponse, ModifyAcRuleResponse, DescribeTableStatusResponse, AddAcRuleRequest, ModifyNatFwVpcDnsSwitchRequest, DeleteNatFwInstanceResponse, DeleteAllAccessControlRuleRequest, ModifySecurityGroupRuleRequest, ModifyAllVPCSwitchStatusResponse, DescribeNatFwVpcDnsLstRequest, DescribeCfwEipsRequest, DescribeTLogInfoResponse, DescribeUnHandleEventTabListRequest, DescribeAssociatedInstanceListResponse, RemoveAcRuleResponse, CreateSecurityGroupRulesResponse, ExpandCfwVerticalRequest, ModifyAllPublicIPSwitchStatusResponse, DeleteVpcInstanceResponse, ModifyAssetScanRequest, ModifyBlockIgnoreListRequest, AddEnterpriseSecurityGroupRulesRequest, DeleteSecurityGroupRuleResponse, ModifySequenceRulesRequest, CreateNatFwInstanceRequest, ModifySecurityGroupItemRuleStatusResponse, DescribeEnterpriseSecurityGroupRuleResponse, DescribeEnterpriseSecurityGroupRuleRequest, ModifyNatFwReSelectResponse, DescribeSwitchListsRequest, SetNatFwEipRequest, SetNatFwEipResponse, ModifyPublicIPSwitchStatusRequest, DescribeSourceAssetRequest, DescribeSourceAssetResponse, DescribeTLogInfoRequest, DescribeSecurityGroupListResponse, DescribeTLogIpListRequest, DescribeNatFwInstancesInfoRequest, DescribeTableStatusRequest, DescribeSecurityGroupListRequest, ModifyResourceGroupRequest, CreateNatFwInstanceResponse, DescribeNatFwInfoCountResponse, DescribeDefenseSwitchRequest, CreateNatFwInstanceWithDomainResponse, RemoveAcRuleRequest, ModifyAllRuleStatusRequest, DescribeAcListsResponse, ModifyAllPublicIPSwitchStatusRequest, DescribeBlockStaticListResponse, ModifySecurityGroupSequenceRulesRequest, CreateDatabaseWhiteListRulesResponse, CreateChooseVpcsResponse, DescribeUnHandleEventTabListResponse, ModifyRunSyncAssetResponse, ModifySecurityGroupSequenceRulesResponse, AddEnterpriseSecurityGroupRulesResponse, RemoveEnterpriseSecurityGroupRuleRequest, DeleteResourceGroupRequest, DescribeBlockByIpTimesListRequest, RemoveEnterpriseSecurityGroupRuleResponse, ModifySequenceRulesResponse, DescribeResourceGroupNewResponse, DescribeNatFwInstanceWithRegionResponse, DescribeResourceGroupNewRequest, ModifyBlockTopRequest, DeleteAcRuleResponse, DescribeIPStatusListRequest, ModifyNatFwSwitchResponse, DescribeBlockByIpTimesListResponse, SetNatFwDnatRuleResponse, DescribeRuleOverviewRequest, DescribeDefenseSwitchResponse, DescribeAcListsRequest, DescribeGuideScanInfoRequest, DescribeAssociatedInstanceListRequest, DeleteAcRuleRequest, DeleteAllAccessControlRuleResponse, ModifyNatFwSwitchRequest, DescribeIPStatusListResponse, CreateDatabaseWhiteListRulesRequest, DescribeResourceGroupResponse, DescribeTLogIpListResponse, StopSecurityGroupRuleDispatchResponse, DescribeNatFwInfoCountRequest, AddAcRuleResponse, ModifyNatFwReSelectRequest, SetNatFwDnatRuleRequest, ModifyAllVPCSwitchStatusRequest, ModifyAllRuleStatusResponse, StopSecurityGroupRuleDispatchRequest, DescribeBlockIgnoreListRequest, ModifyBlockTopResponse, DeleteNatFwInstanceRequest, DescribeNatFwVpcDnsLstResponse, CreateChooseVpcsRequest, ExpandCfwVerticalResponse, DescribeBlockStaticListRequest, CreateSecurityGroupRulesRequest, DeleteVpcInstanceRequest, CreateNatFwInstanceWithDomainRequest, DescribeSwitchListsResponse, DescribeCfwEipsResponse, ModifyResourceGroupResponse, DeleteResourceGroupResponse, DeleteSecurityGroupRuleRequest, ModifySecurityGroupItemRuleStatusRequest, ModifyRunSyncAssetRequest, CreateAcRulesResponse, ModifyAssetScanResponse, ModifyAcRuleRequest, DescribeNatFwInstancesInfoResponse, ModifyBlockIgnoreListResponse, DescribeNatFwInstanceResponse, ModifySecurityGroupRuleResponse, DescribeResourceGroupRequest, CreateAcRulesRequest, DescribeBlockIgnoreListResponse, ModifyTableStatusRequest, ModifyTableStatusResponse, DescribeGuideScanInfoResponse } from "./cfw_models";
|
|
4
4
|
/**
|
|
5
5
|
* cfw client
|
|
6
6
|
* @class
|
|
@@ -49,6 +49,10 @@ export declare class Client extends AbstractClient {
|
|
|
49
49
|
|
|
50
50
|
*/
|
|
51
51
|
ModifyResourceGroup(req: ModifyResourceGroupRequest, cb?: (error: string, rep: ModifyResourceGroupResponse) => void): Promise<ModifyResourceGroupResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* 启用停用单条企业安全组规则
|
|
54
|
+
*/
|
|
55
|
+
ModifySecurityGroupItemRuleStatus(req: ModifySecurityGroupItemRuleStatusRequest, cb?: (error: string, rep: ModifySecurityGroupItemRuleStatusResponse) => void): Promise<ModifySecurityGroupItemRuleStatusResponse>;
|
|
52
56
|
/**
|
|
53
57
|
* DescribeResourceGroupNew资产中心资产树信息
|
|
54
58
|
*/
|
|
@@ -241,9 +245,9 @@ export declare class Client extends AbstractClient {
|
|
|
241
245
|
*/
|
|
242
246
|
DescribeTLogIpList(req: DescribeTLogIpListRequest, cb?: (error: string, rep: DescribeTLogIpListResponse) => void): Promise<DescribeTLogIpListResponse>;
|
|
243
247
|
/**
|
|
244
|
-
*
|
|
248
|
+
* 查询入侵防御放通封禁列表
|
|
245
249
|
*/
|
|
246
|
-
|
|
250
|
+
DescribeBlockIgnoreList(req: DescribeBlockIgnoreListRequest, cb?: (error: string, rep: DescribeBlockIgnoreListResponse) => void): Promise<DescribeBlockIgnoreListResponse>;
|
|
247
251
|
/**
|
|
248
252
|
* 访问控制列表
|
|
249
253
|
*/
|
|
@@ -89,6 +89,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
89
89
|
async ModifyResourceGroup(req, cb) {
|
|
90
90
|
return this.request("ModifyResourceGroup", req, cb);
|
|
91
91
|
}
|
|
92
|
+
/**
|
|
93
|
+
* 启用停用单条企业安全组规则
|
|
94
|
+
*/
|
|
95
|
+
async ModifySecurityGroupItemRuleStatus(req, cb) {
|
|
96
|
+
return this.request("ModifySecurityGroupItemRuleStatus", req, cb);
|
|
97
|
+
}
|
|
92
98
|
/**
|
|
93
99
|
* DescribeResourceGroupNew资产中心资产树信息
|
|
94
100
|
*/
|
|
@@ -373,10 +379,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
373
379
|
return this.request("DescribeTLogIpList", req, cb);
|
|
374
380
|
}
|
|
375
381
|
/**
|
|
376
|
-
*
|
|
382
|
+
* 查询入侵防御放通封禁列表
|
|
377
383
|
*/
|
|
378
|
-
async
|
|
379
|
-
return this.request("
|
|
384
|
+
async DescribeBlockIgnoreList(req, cb) {
|
|
385
|
+
return this.request("DescribeBlockIgnoreList", req, cb);
|
|
380
386
|
}
|
|
381
387
|
/**
|
|
382
388
|
* 访问控制列表
|