tencentcloud-sdk-nodejs 4.0.451 → 4.0.452
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 +131 -0
- package/SERVICE_CHANGELOG.md +162 -58
- package/package.json +1 -1
- package/products.md +7 -7
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bma/v20210624/bma_models.ts +100 -0
- package/src/services/cwp/v20180228/cwp_client.ts +4 -16
- package/src/services/cwp/v20180228/cwp_models.ts +28 -63
- package/src/services/es/v20180416/es_models.ts +10 -0
- package/src/services/tem/v20210701/tem_client.ts +1 -0
- package/src/services/tem/v20210701/tem_models.ts +53 -0
- package/src/services/tke/v20180525/tke_client.ts +2 -2
- package/src/services/tke/v20180525/tke_models.ts +29 -2
- package/src/services/trtc/v20190722/trtc_models.ts +2 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bma/v20210624/bma_models.d.ts +80 -0
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +2 -6
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +1 -7
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +25 -55
- package/tencentcloud/services/es/v20180416/es_models.d.ts +8 -0
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +45 -0
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +2 -2
- package/tencentcloud/services/tke/v20180525/tke_client.js +1 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +25 -2
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -2
- package/test/cwp.v20180228.test.js +0 -10
|
@@ -2316,23 +2316,6 @@ export interface ExportMalwaresResponse {
|
|
|
2316
2316
|
* DescribeScanVulSetting请求参数结构体
|
|
2317
2317
|
*/
|
|
2318
2318
|
export declare type DescribeScanVulSettingRequest = null;
|
|
2319
|
-
/**
|
|
2320
|
-
* DescribeESHits请求参数结构体
|
|
2321
|
-
*/
|
|
2322
|
-
export interface DescribeESHitsRequest {
|
|
2323
|
-
/**
|
|
2324
|
-
* ES查询条件JSON
|
|
2325
|
-
*/
|
|
2326
|
-
Query: string;
|
|
2327
|
-
/**
|
|
2328
|
-
* 偏移量,默认为0。
|
|
2329
|
-
*/
|
|
2330
|
-
Offset?: number;
|
|
2331
|
-
/**
|
|
2332
|
-
* 返回数量,最大值为100。
|
|
2333
|
-
*/
|
|
2334
|
-
Limit?: number;
|
|
2335
|
-
}
|
|
2336
2319
|
/**
|
|
2337
2320
|
* DescribeAssetPlanTaskList返回参数结构体
|
|
2338
2321
|
*/
|
|
@@ -3547,13 +3530,17 @@ export interface DeleteMaliciousRequestsResponse {
|
|
|
3547
3530
|
RequestId?: string;
|
|
3548
3531
|
}
|
|
3549
3532
|
/**
|
|
3550
|
-
*
|
|
3533
|
+
* ExportBruteAttacks返回参数结构体
|
|
3551
3534
|
*/
|
|
3552
|
-
export interface
|
|
3535
|
+
export interface ExportBruteAttacksResponse {
|
|
3553
3536
|
/**
|
|
3554
|
-
*
|
|
3537
|
+
* 导出文件下载链接地址。
|
|
3555
3538
|
*/
|
|
3556
|
-
|
|
3539
|
+
DownloadUrl: string;
|
|
3540
|
+
/**
|
|
3541
|
+
* 导出任务ID
|
|
3542
|
+
*/
|
|
3543
|
+
TaskId: string;
|
|
3557
3544
|
/**
|
|
3558
3545
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3559
3546
|
*/
|
|
@@ -4508,19 +4495,6 @@ export interface DescribeIndexListResponse {
|
|
|
4508
4495
|
*/
|
|
4509
4496
|
RequestId?: string;
|
|
4510
4497
|
}
|
|
4511
|
-
/**
|
|
4512
|
-
* DescribeTagMachines返回参数结构体
|
|
4513
|
-
*/
|
|
4514
|
-
export interface DescribeTagMachinesResponse {
|
|
4515
|
-
/**
|
|
4516
|
-
* 列表数据
|
|
4517
|
-
*/
|
|
4518
|
-
List: Array<TagMachine>;
|
|
4519
|
-
/**
|
|
4520
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4521
|
-
*/
|
|
4522
|
-
RequestId?: string;
|
|
4523
|
-
}
|
|
4524
4498
|
/**
|
|
4525
4499
|
* ModifyWebPageProtectDir请求参数结构体
|
|
4526
4500
|
*/
|
|
@@ -4868,6 +4842,19 @@ export interface AssetUserBaseInfo {
|
|
|
4868
4842
|
*/
|
|
4869
4843
|
IsNew: number;
|
|
4870
4844
|
}
|
|
4845
|
+
/**
|
|
4846
|
+
* DescribeMachineOsList返回参数结构体
|
|
4847
|
+
*/
|
|
4848
|
+
export interface DescribeMachineOsListResponse {
|
|
4849
|
+
/**
|
|
4850
|
+
* 操作系统列表
|
|
4851
|
+
*/
|
|
4852
|
+
List: Array<OsName>;
|
|
4853
|
+
/**
|
|
4854
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4855
|
+
*/
|
|
4856
|
+
RequestId?: string;
|
|
4857
|
+
}
|
|
4871
4858
|
/**
|
|
4872
4859
|
* 授权绑定任务详情
|
|
4873
4860
|
*/
|
|
@@ -4976,13 +4963,13 @@ export interface DescribeVulCountByDatesResponse {
|
|
|
4976
4963
|
RequestId?: string;
|
|
4977
4964
|
}
|
|
4978
4965
|
/**
|
|
4979
|
-
*
|
|
4966
|
+
* DescribeTagMachines返回参数结构体
|
|
4980
4967
|
*/
|
|
4981
|
-
export interface
|
|
4968
|
+
export interface DescribeTagMachinesResponse {
|
|
4982
4969
|
/**
|
|
4983
|
-
*
|
|
4970
|
+
* 列表数据
|
|
4984
4971
|
*/
|
|
4985
|
-
List: Array<
|
|
4972
|
+
List: Array<TagMachine>;
|
|
4986
4973
|
/**
|
|
4987
4974
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4988
4975
|
*/
|
|
@@ -12327,23 +12314,6 @@ export interface DescribeAccountStatisticsRequest {
|
|
|
12327
12314
|
*/
|
|
12328
12315
|
Filters?: Array<Filter>;
|
|
12329
12316
|
}
|
|
12330
|
-
/**
|
|
12331
|
-
* ExportBruteAttacks返回参数结构体
|
|
12332
|
-
*/
|
|
12333
|
-
export interface ExportBruteAttacksResponse {
|
|
12334
|
-
/**
|
|
12335
|
-
* 导出文件下载链接地址。
|
|
12336
|
-
*/
|
|
12337
|
-
DownloadUrl: string;
|
|
12338
|
-
/**
|
|
12339
|
-
* 导出任务ID
|
|
12340
|
-
*/
|
|
12341
|
-
TaskId: string;
|
|
12342
|
-
/**
|
|
12343
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
12344
|
-
*/
|
|
12345
|
-
RequestId?: string;
|
|
12346
|
-
}
|
|
12347
12317
|
/**
|
|
12348
12318
|
* 安全管家列表信息
|
|
12349
12319
|
*/
|
|
@@ -2855,6 +2855,10 @@ export interface UpdateInstanceRequest {
|
|
|
2855
2855
|
* 可维护时间段
|
|
2856
2856
|
*/
|
|
2857
2857
|
OperationDuration?: OperationDurationUpdated;
|
|
2858
|
+
/**
|
|
2859
|
+
* 是否开启Altering 外网告警输出
|
|
2860
|
+
*/
|
|
2861
|
+
KibanaAlteringPublicAccess?: string;
|
|
2858
2862
|
}
|
|
2859
2863
|
/**
|
|
2860
2864
|
* DescribeLogstashInstanceLogs请求参数结构体
|
|
@@ -3038,6 +3042,10 @@ export interface UpgradeInstanceRequest {
|
|
|
3038
3042
|
* 升级版本前是否对集群进行备份,默认不备份
|
|
3039
3043
|
*/
|
|
3040
3044
|
CosBackup?: boolean;
|
|
3045
|
+
/**
|
|
3046
|
+
* 滚动模式时,是否跳过检查,进行强制重启。默认值为false
|
|
3047
|
+
*/
|
|
3048
|
+
SkipCheckForceRestart?: boolean;
|
|
3041
3049
|
}
|
|
3042
3050
|
/**
|
|
3043
3051
|
* DescribeViews返回参数结构体
|
|
@@ -60,6 +60,11 @@ export interface NamespacePage {
|
|
|
60
60
|
* 页数
|
|
61
61
|
*/
|
|
62
62
|
Pages: number;
|
|
63
|
+
/**
|
|
64
|
+
* 当前条目
|
|
65
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
66
|
+
*/
|
|
67
|
+
Current: number;
|
|
63
68
|
}
|
|
64
69
|
/**
|
|
65
70
|
* DescribeApplicationInfo返回参数结构体
|
|
@@ -1478,6 +1483,21 @@ export interface ModifyIngressRequest {
|
|
|
1478
1483
|
*/
|
|
1479
1484
|
SourceChannel?: number;
|
|
1480
1485
|
}
|
|
1486
|
+
/**
|
|
1487
|
+
* 标签
|
|
1488
|
+
*/
|
|
1489
|
+
export interface Tag {
|
|
1490
|
+
/**
|
|
1491
|
+
* 标签键
|
|
1492
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1493
|
+
*/
|
|
1494
|
+
TagKey?: string;
|
|
1495
|
+
/**
|
|
1496
|
+
* 标签值
|
|
1497
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1498
|
+
*/
|
|
1499
|
+
TagValue?: string;
|
|
1500
|
+
}
|
|
1481
1501
|
/**
|
|
1482
1502
|
* 开启prometheus监控配置
|
|
1483
1503
|
*/
|
|
@@ -2439,6 +2459,31 @@ export interface TemNamespaceInfo {
|
|
|
2439
2459
|
* 环境锁,1为上锁,0则为上锁
|
|
2440
2460
|
*/
|
|
2441
2461
|
Locked: number;
|
|
2462
|
+
/**
|
|
2463
|
+
* 用户AppId
|
|
2464
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2465
|
+
*/
|
|
2466
|
+
AppId: string;
|
|
2467
|
+
/**
|
|
2468
|
+
* 用户Uin
|
|
2469
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2470
|
+
*/
|
|
2471
|
+
Uin: string;
|
|
2472
|
+
/**
|
|
2473
|
+
* 用户SubAccountUin
|
|
2474
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2475
|
+
*/
|
|
2476
|
+
SubAccountUin: string;
|
|
2477
|
+
/**
|
|
2478
|
+
* 集群ID
|
|
2479
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2480
|
+
*/
|
|
2481
|
+
ClusterId: string;
|
|
2482
|
+
/**
|
|
2483
|
+
* 标签
|
|
2484
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2485
|
+
*/
|
|
2486
|
+
Tags: Array<Tag>;
|
|
2442
2487
|
}
|
|
2443
2488
|
/**
|
|
2444
2489
|
* CreateApplicationAutoscaler请求参数结构体
|
|
@@ -104,9 +104,9 @@ export declare class Client extends AbstractClient {
|
|
|
104
104
|
*/
|
|
105
105
|
DescribeTKEEdgeScript(req: DescribeTKEEdgeScriptRequest, cb?: (error: string, rep: DescribeTKEEdgeScriptResponse) => void): Promise<DescribeTKEEdgeScriptResponse>;
|
|
106
106
|
/**
|
|
107
|
-
*
|
|
107
|
+
* 边缘计算支持版本和k8s版本
|
|
108
108
|
*/
|
|
109
|
-
DescribeAvailableTKEEdgeVersion(req
|
|
109
|
+
DescribeAvailableTKEEdgeVersion(req: DescribeAvailableTKEEdgeVersionRequest, cb?: (error: string, rep: DescribeAvailableTKEEdgeVersionResponse) => void): Promise<DescribeAvailableTKEEdgeVersionResponse>;
|
|
110
110
|
/**
|
|
111
111
|
* 查询边缘集群列表
|
|
112
112
|
*/
|
|
@@ -172,7 +172,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
172
172
|
return this.request("DescribeTKEEdgeScript", req, cb);
|
|
173
173
|
}
|
|
174
174
|
/**
|
|
175
|
-
*
|
|
175
|
+
* 边缘计算支持版本和k8s版本
|
|
176
176
|
*/
|
|
177
177
|
async DescribeAvailableTKEEdgeVersion(req, cb) {
|
|
178
178
|
return this.request("DescribeAvailableTKEEdgeVersion", req, cb);
|
|
@@ -2800,7 +2800,12 @@ export interface DescribeTKEEdgeClustersResponse {
|
|
|
2800
2800
|
/**
|
|
2801
2801
|
* DescribeAvailableTKEEdgeVersion请求参数结构体
|
|
2802
2802
|
*/
|
|
2803
|
-
export
|
|
2803
|
+
export interface DescribeAvailableTKEEdgeVersionRequest {
|
|
2804
|
+
/**
|
|
2805
|
+
* 填写ClusterId获取当前集群各个组件版本和最新版本
|
|
2806
|
+
*/
|
|
2807
|
+
ClusterId?: string;
|
|
2808
|
+
}
|
|
2804
2809
|
/**
|
|
2805
2810
|
* DeleteClusterAsGroups请求参数结构体
|
|
2806
2811
|
*/
|
|
@@ -7270,6 +7275,14 @@ export interface CreateTKEEdgeClusterRequest {
|
|
|
7270
7275
|
* 集群计费方式
|
|
7271
7276
|
*/
|
|
7272
7277
|
ChargeType?: string;
|
|
7278
|
+
/**
|
|
7279
|
+
* 边缘集群版本,此版本区别于k8s版本,是整个集群各组件版本集合
|
|
7280
|
+
*/
|
|
7281
|
+
EdgeVersion?: string;
|
|
7282
|
+
/**
|
|
7283
|
+
* 边缘组件镜像仓库前缀
|
|
7284
|
+
*/
|
|
7285
|
+
RegistryPrefix?: string;
|
|
7273
7286
|
}
|
|
7274
7287
|
/**
|
|
7275
7288
|
* CreateEKSCluster返回参数结构体
|
|
@@ -7313,7 +7326,17 @@ export interface DescribeAvailableTKEEdgeVersionResponse {
|
|
|
7313
7326
|
/**
|
|
7314
7327
|
* 版本列表
|
|
7315
7328
|
*/
|
|
7316
|
-
Versions
|
|
7329
|
+
Versions: Array<string>;
|
|
7330
|
+
/**
|
|
7331
|
+
* 边缘集群最新版本
|
|
7332
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7333
|
+
*/
|
|
7334
|
+
EdgeVersionLatest: string;
|
|
7335
|
+
/**
|
|
7336
|
+
* 边缘集群当前版本
|
|
7337
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7338
|
+
*/
|
|
7339
|
+
EdgeVersionCurrent: string;
|
|
7317
7340
|
/**
|
|
7318
7341
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7319
7342
|
*/
|
|
@@ -556,11 +556,11 @@ export interface DescribeRoomInfoRequest {
|
|
|
556
556
|
*/
|
|
557
557
|
export interface StorageParams {
|
|
558
558
|
/**
|
|
559
|
-
*
|
|
559
|
+
* 第三方云存储的账号信息(CloudStorage参数暂不可用,请使用CloudVod参数存储至云点播)。
|
|
560
560
|
*/
|
|
561
561
|
CloudStorage?: CloudStorage;
|
|
562
562
|
/**
|
|
563
|
-
*
|
|
563
|
+
* 【必填】腾讯云云点播的账号信息,目前仅支持存储至腾讯云点播VOD。
|
|
564
564
|
*/
|
|
565
565
|
CloudVod?: CloudVod;
|
|
566
566
|
}
|
|
@@ -1568,16 +1568,6 @@ it("cwp.v20180228.DescribeAssetEnvList", async function () {
|
|
|
1568
1568
|
}
|
|
1569
1569
|
})
|
|
1570
1570
|
|
|
1571
|
-
it("cwp.v20180228.DescribeESHits", async function () {
|
|
1572
|
-
try {
|
|
1573
|
-
const data = await client.DescribeESHits({})
|
|
1574
|
-
expect(data).to.be.ok
|
|
1575
|
-
} catch(error) {
|
|
1576
|
-
expect(error.requestId).to.be.ok
|
|
1577
|
-
expect(error.code).to.be.ok
|
|
1578
|
-
}
|
|
1579
|
-
})
|
|
1580
|
-
|
|
1581
1571
|
it("cwp.v20180228.CreateEmergencyVulScan", async function () {
|
|
1582
1572
|
try {
|
|
1583
1573
|
const data = await client.CreateEmergencyVulScan({})
|