tencentcloud-sdk-nodejs 4.0.611 → 4.0.613
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 +341 -0
- package/SERVICE_CHANGELOG.md +409 -69
- package/package.json +1 -1
- package/products.md +18 -18
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdn/v20180606/cdn_client.ts +1 -0
- package/src/services/cdn/v20180606/cdn_models.ts +24 -0
- package/src/services/cfw/v20190904/cfw_models.ts +18 -1
- package/src/services/clb/v20180317/clb_client.ts +2 -1
- package/src/services/clb/v20180317/clb_models.ts +50 -5
- package/src/services/cwp/v20180228/cwp_client.ts +26 -27
- package/src/services/cwp/v20180228/cwp_models.ts +132 -23
- package/src/services/dcdb/v20180411/dcdb_models.ts +10 -0
- package/src/services/dlc/v20210125/dlc_client.ts +1 -0
- package/src/services/dlc/v20210125/dlc_models.ts +123 -1
- package/src/services/ess/v20201111/ess_client.ts +22 -17
- package/src/services/ess/v20201111/ess_models.ts +155 -126
- package/src/services/essbasic/v20210526/essbasic_client.ts +2 -2
- package/src/services/partners/v20180321/partners_client.ts +4 -2
- package/src/services/ssl/v20191205/ssl_client.ts +24 -12
- package/src/services/ssl/v20191205/ssl_models.ts +189 -79
- package/src/services/tbp/v20190627/tbp_models.ts +6 -0
- package/src/services/tcss/v20201101/tcss_client.ts +13 -0
- package/src/services/tcss/v20201101/tcss_models.ts +108 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +21 -0
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +15 -1
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +0 -1
- package/tencentcloud/services/clb/v20180317/clb_client.js +0 -1
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +44 -5
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +9 -11
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +12 -14
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +109 -19
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +8 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +103 -1
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +20 -15
- package/tencentcloud/services/ess/v20201111/ess_client.js +20 -15
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +146 -121
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +2 -2
- package/tencentcloud/services/partners/v20180321/partners_client.d.ts +3 -1
- package/tencentcloud/services/partners/v20180321/partners_client.js +3 -1
- package/tencentcloud/services/ssl/v20191205/ssl_client.d.ts +7 -3
- package/tencentcloud/services/ssl/v20191205/ssl_client.js +9 -3
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +160 -70
- package/tencentcloud/services/tbp/v20190627/tbp_models.d.ts +5 -0
- package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +5 -1
- package/tencentcloud/services/tcss/v20201101/tcss_client.js +6 -0
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +91 -0
- package/test/cwp.v20180228.test.js +14 -14
- package/test/ssl.v20191205.test.js +12 -2
- package/test/tcss.v20201101.test.js +10 -0
|
@@ -10367,6 +10367,43 @@ export interface ModifyVirusFileStatusRequest {
|
|
|
10367
10367
|
*/
|
|
10368
10368
|
AutoIsolate?: boolean;
|
|
10369
10369
|
}
|
|
10370
|
+
/**
|
|
10371
|
+
* 漏洞影响的仓库镜像列表
|
|
10372
|
+
*/
|
|
10373
|
+
export interface VulAffectedRegistryImageInfo {
|
|
10374
|
+
/**
|
|
10375
|
+
* 镜像ID
|
|
10376
|
+
*/
|
|
10377
|
+
ImageID: string;
|
|
10378
|
+
/**
|
|
10379
|
+
* 镜像名称
|
|
10380
|
+
*/
|
|
10381
|
+
ImageName: string;
|
|
10382
|
+
/**
|
|
10383
|
+
* 镜像版本
|
|
10384
|
+
*/
|
|
10385
|
+
ImageTag: string;
|
|
10386
|
+
/**
|
|
10387
|
+
* 镜像命名空间
|
|
10388
|
+
*/
|
|
10389
|
+
Namespace: string;
|
|
10390
|
+
/**
|
|
10391
|
+
* 镜像地址
|
|
10392
|
+
*/
|
|
10393
|
+
ImageRepoAddress: string;
|
|
10394
|
+
/**
|
|
10395
|
+
* 组件列表
|
|
10396
|
+
*/
|
|
10397
|
+
ComponentList: Array<VulAffectedImageComponentInfo>;
|
|
10398
|
+
/**
|
|
10399
|
+
* 是否为镜像的最新版本
|
|
10400
|
+
*/
|
|
10401
|
+
IsLatestImage: boolean;
|
|
10402
|
+
/**
|
|
10403
|
+
* 内部镜像资产ID
|
|
10404
|
+
*/
|
|
10405
|
+
ImageAssetId: number;
|
|
10406
|
+
}
|
|
10370
10407
|
/**
|
|
10371
10408
|
* CreateVulContainerExportJob返回参数结构体
|
|
10372
10409
|
*/
|
|
@@ -13133,6 +13170,43 @@ export interface DescribeK8sApiAbnormalRuleInfoRequest {
|
|
|
13133
13170
|
*/
|
|
13134
13171
|
RuleID: string;
|
|
13135
13172
|
}
|
|
13173
|
+
/**
|
|
13174
|
+
* DescribeVulRegistryImageList请求参数结构体
|
|
13175
|
+
*/
|
|
13176
|
+
export interface DescribeVulRegistryImageListRequest {
|
|
13177
|
+
/**
|
|
13178
|
+
* 漏洞ID
|
|
13179
|
+
*/
|
|
13180
|
+
PocID: string;
|
|
13181
|
+
/**
|
|
13182
|
+
* 需要返回的数量,默认为10,最大值为100
|
|
13183
|
+
*/
|
|
13184
|
+
Limit?: number;
|
|
13185
|
+
/**
|
|
13186
|
+
* 偏移量,默认为0。
|
|
13187
|
+
*/
|
|
13188
|
+
Offset?: number;
|
|
13189
|
+
/**
|
|
13190
|
+
* 过滤条件。
|
|
13191
|
+
OnlyAffectedNewestImage bool 是否影响最新镜像
|
|
13192
|
+
ImageDigest 镜像Digest,支持模糊查询
|
|
13193
|
+
ImageId 镜像ID,支持模糊查询
|
|
13194
|
+
Namespace 命名空间,支持模糊查询
|
|
13195
|
+
ImageTag 镜像版本,支持模糊查询
|
|
13196
|
+
InstanceName 实例名称,支持模糊查询
|
|
13197
|
+
ImageName 镜像名,支持模糊查询
|
|
13198
|
+
ImageRepoAddress 镜像地址,支持模糊查询
|
|
13199
|
+
*/
|
|
13200
|
+
Filters?: Array<AssetFilters>;
|
|
13201
|
+
/**
|
|
13202
|
+
* 排序方式
|
|
13203
|
+
*/
|
|
13204
|
+
Order?: string;
|
|
13205
|
+
/**
|
|
13206
|
+
* 排序字段
|
|
13207
|
+
*/
|
|
13208
|
+
By?: string;
|
|
13209
|
+
}
|
|
13136
13210
|
/**
|
|
13137
13211
|
* 运行时安全事件基本信息
|
|
13138
13212
|
*/
|
|
@@ -15676,6 +15750,23 @@ Name 可取值:ClusterName,ClusterId,ClusterType,Region,ClusterCheckMode,Clust
|
|
|
15676
15750
|
*/
|
|
15677
15751
|
Order?: string;
|
|
15678
15752
|
}
|
|
15753
|
+
/**
|
|
15754
|
+
* DescribeVulRegistryImageList返回参数结构体
|
|
15755
|
+
*/
|
|
15756
|
+
export interface DescribeVulRegistryImageListResponse {
|
|
15757
|
+
/**
|
|
15758
|
+
* 镜像总数
|
|
15759
|
+
*/
|
|
15760
|
+
TotalCount: number;
|
|
15761
|
+
/**
|
|
15762
|
+
* 仓库镜像列表
|
|
15763
|
+
*/
|
|
15764
|
+
List: Array<VulAffectedRegistryImageInfo>;
|
|
15765
|
+
/**
|
|
15766
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
15767
|
+
*/
|
|
15768
|
+
RequestId?: string;
|
|
15769
|
+
}
|
|
15679
15770
|
/**
|
|
15680
15771
|
* CreateVulDefenceEventExportJob返回参数结构体
|
|
15681
15772
|
*/
|
|
@@ -618,9 +618,9 @@ it("cwp.v20180228.ExportAssetWebServiceInfoList", async function () {
|
|
|
618
618
|
}
|
|
619
619
|
})
|
|
620
620
|
|
|
621
|
-
it("cwp.v20180228.
|
|
621
|
+
it("cwp.v20180228.DescribeVulStoreList", async function () {
|
|
622
622
|
try {
|
|
623
|
-
const data = await client.
|
|
623
|
+
const data = await client.DescribeVulStoreList({})
|
|
624
624
|
expect(data).to.be.ok
|
|
625
625
|
} catch(error) {
|
|
626
626
|
expect(error.requestId).to.be.ok
|
|
@@ -1268,9 +1268,9 @@ it("cwp.v20180228.DescribeOpenPortStatistics", async function () {
|
|
|
1268
1268
|
}
|
|
1269
1269
|
})
|
|
1270
1270
|
|
|
1271
|
-
it("cwp.v20180228.
|
|
1271
|
+
it("cwp.v20180228.DescribeUndoVulCounts", async function () {
|
|
1272
1272
|
try {
|
|
1273
|
-
const data = await client.
|
|
1273
|
+
const data = await client.DescribeUndoVulCounts({})
|
|
1274
1274
|
expect(data).to.be.ok
|
|
1275
1275
|
} catch(error) {
|
|
1276
1276
|
expect(error.requestId).to.be.ok
|
|
@@ -2598,6 +2598,16 @@ it("cwp.v20180228.DescribeMonthInspectionReport", async function () {
|
|
|
2598
2598
|
}
|
|
2599
2599
|
})
|
|
2600
2600
|
|
|
2601
|
+
it("cwp.v20180228.DescribeWebPageGeneralize", async function () {
|
|
2602
|
+
try {
|
|
2603
|
+
const data = await client.DescribeWebPageGeneralize({})
|
|
2604
|
+
expect(data).to.be.ok
|
|
2605
|
+
} catch(error) {
|
|
2606
|
+
expect(error.requestId).to.be.ok
|
|
2607
|
+
expect(error.code).to.be.ok
|
|
2608
|
+
}
|
|
2609
|
+
})
|
|
2610
|
+
|
|
2601
2611
|
it("cwp.v20180228.DescribeAssetInfo", async function () {
|
|
2602
2612
|
try {
|
|
2603
2613
|
const data = await client.DescribeAssetInfo({})
|
|
@@ -2748,16 +2758,6 @@ it("cwp.v20180228.DescribeMalwareFile", async function () {
|
|
|
2748
2758
|
}
|
|
2749
2759
|
})
|
|
2750
2760
|
|
|
2751
|
-
it("cwp.v20180228.DescribeUndoVulCounts", async function () {
|
|
2752
|
-
try {
|
|
2753
|
-
const data = await client.DescribeUndoVulCounts({})
|
|
2754
|
-
expect(data).to.be.ok
|
|
2755
|
-
} catch(error) {
|
|
2756
|
-
expect(error.requestId).to.be.ok
|
|
2757
|
-
expect(error.code).to.be.ok
|
|
2758
|
-
}
|
|
2759
|
-
})
|
|
2760
|
-
|
|
2761
2761
|
it("cwp.v20180228.ModifyBaselinePolicyState", async function () {
|
|
2762
2762
|
try {
|
|
2763
2763
|
const data = await client.ModifyBaselinePolicyState({})
|
|
@@ -128,6 +128,16 @@ it("ssl.v20191205.SubmitCertificateInformation", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
+
it("ssl.v20191205.UpdateCertificateRecordRollback", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.UpdateCertificateRecordRollback({})
|
|
134
|
+
expect(data).to.be.ok
|
|
135
|
+
} catch(error) {
|
|
136
|
+
expect(error.requestId).to.be.ok
|
|
137
|
+
expect(error.code).to.be.ok
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
|
|
131
141
|
it("ssl.v20191205.DescribeHostDdosInstanceList", async function () {
|
|
132
142
|
try {
|
|
133
143
|
const data = await client.DescribeHostDdosInstanceList({})
|
|
@@ -468,9 +478,9 @@ it("ssl.v20191205.DescribeHostApiGatewayInstanceList", async function () {
|
|
|
468
478
|
}
|
|
469
479
|
})
|
|
470
480
|
|
|
471
|
-
it("ssl.v20191205.
|
|
481
|
+
it("ssl.v20191205.CreateCertificateByPackage", async function () {
|
|
472
482
|
try {
|
|
473
|
-
const data = await client.
|
|
483
|
+
const data = await client.CreateCertificateByPackage({})
|
|
474
484
|
expect(data).to.be.ok
|
|
475
485
|
} catch(error) {
|
|
476
486
|
expect(error.requestId).to.be.ok
|
|
@@ -2008,6 +2008,16 @@ it("tcss.v20201101.DescribeImageRiskSummary", async function () {
|
|
|
2008
2008
|
}
|
|
2009
2009
|
})
|
|
2010
2010
|
|
|
2011
|
+
it("tcss.v20201101.DescribeVulRegistryImageList", async function () {
|
|
2012
|
+
try {
|
|
2013
|
+
const data = await client.DescribeVulRegistryImageList({})
|
|
2014
|
+
expect(data).to.be.ok
|
|
2015
|
+
} catch(error) {
|
|
2016
|
+
expect(error.requestId).to.be.ok
|
|
2017
|
+
expect(error.code).to.be.ok
|
|
2018
|
+
}
|
|
2019
|
+
})
|
|
2020
|
+
|
|
2011
2021
|
it("tcss.v20201101.DescribeEmergencyVulList", async function () {
|
|
2012
2022
|
try {
|
|
2013
2023
|
const data = await client.DescribeEmergencyVulList({})
|