tencentcloud-sdk-nodejs 4.0.319 → 4.0.320
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 +2 -0
- package/SERVICE_CHANGELOG.md +431 -193
- package/package.json +1 -1
- package/products.md +170 -169
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_models.ts +14 -4
- package/src/services/ams/v20201229/ams_models.ts +14 -0
- package/src/services/as/v20180419/as_client.ts +2 -18
- package/src/services/as/v20180419/as_models.ts +32 -97
- package/src/services/batch/v20170312/batch_models.ts +69 -69
- package/src/services/bsca/index.ts +5 -0
- package/src/services/bsca/v20210811/bsca_client.ts +93 -0
- package/src/services/bsca/v20210811/bsca_models.ts +636 -0
- package/src/services/bsca/v20210811/index.ts +6 -0
- package/src/services/cam/v20190116/cam_client.ts +59 -11
- package/src/services/cam/v20190116/cam_models.ts +275 -68
- package/src/services/cdb/v20170320/cdb_models.ts +7 -2
- package/src/services/cdn/v20180606/cdn_client.ts +2 -2
- package/src/services/cdn/v20180606/cdn_models.ts +20 -14
- package/src/services/cls/v20201016/cls_models.ts +2 -2
- package/src/services/cwp/v20180228/cwp_models.ts +17 -9
- package/src/services/ess/v20201111/ess_models.ts +7 -3
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/faceid/v20180301/faceid_models.ts +7 -1
- package/src/services/index.ts +1 -0
- package/src/services/iotcloud/v20180614/iotcloud_client.ts +24 -0
- package/src/services/iotcloud/v20180614/iotcloud_models.ts +85 -0
- package/src/services/iotcloud/v20210408/iotcloud_client.ts +175 -64
- package/src/services/iotcloud/v20210408/iotcloud_models.ts +579 -82
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +1 -1
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +13 -7
- package/src/services/mongodb/v20190725/mongodb_client.ts +13 -0
- package/src/services/mongodb/v20190725/mongodb_models.ts +55 -0
- package/src/services/ocr/v20181119/ocr_models.ts +5 -7
- package/src/services/ssa/v20180608/ssa_models.ts +70 -23
- package/src/services/ssl/v20191205/ssl_models.ts +2 -2
- package/src/services/thpc/index.ts +2 -0
- package/src/services/thpc/v20211109/thpc_client.ts +3 -1
- package/src/services/thpc/v20211109/thpc_models.ts +93 -14
- package/src/services/thpc/v20220401/index.ts +6 -0
- package/src/services/thpc/v20220401/thpc_client.ts +121 -0
- package/src/services/thpc/v20220401/thpc_models.ts +805 -0
- package/src/services/tke/v20180525/tke_client.ts +63 -11
- package/src/services/tke/v20180525/tke_models.ts +398 -117
- package/src/services/vpc/v20170312/vpc_models.ts +2 -2
- package/src/services/wav/v20210129/wav_client.ts +154 -76
- package/src/services/wav/v20210129/wav_models.ts +541 -25
- 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 +9 -0
- package/tencentcloud/services/ams/v20201229/ams_models.d.ts +12 -0
- package/tencentcloud/services/as/v20180419/as_client.d.ts +1 -8
- package/tencentcloud/services/as/v20180419/as_client.js +0 -9
- package/tencentcloud/services/as/v20180419/as_models.d.ts +28 -83
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +69 -69
- package/tencentcloud/services/bsca/index.d.ts +6 -0
- package/tencentcloud/services/bsca/index.js +7 -0
- package/tencentcloud/services/bsca/v20210811/bsca_client.d.ts +26 -0
- package/tencentcloud/services/bsca/v20210811/bsca_client.js +55 -0
- package/tencentcloud/services/bsca/v20210811/bsca_models.d.ts +533 -0
- package/tencentcloud/services/bsca/v20210811/bsca_models.js +18 -0
- package/tencentcloud/services/bsca/v20210811/index.d.ts +6 -0
- package/tencentcloud/services/bsca/v20210811/index.js +9 -0
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +19 -3
- package/tencentcloud/services/cam/v20190116/cam_client.js +27 -3
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +232 -60
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +6 -2
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +2 -2
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +2 -2
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +18 -13
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +2 -2
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +16 -9
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +6 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +6 -1
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iotcloud/v20180614/iotcloud_client.d.ts +9 -1
- package/tencentcloud/services/iotcloud/v20180614/iotcloud_client.js +12 -0
- package/tencentcloud/services/iotcloud/v20180614/iotcloud_models.d.ts +72 -0
- package/tencentcloud/services/iotcloud/v20210408/iotcloud_client.d.ts +57 -21
- package/tencentcloud/services/iotcloud/v20210408/iotcloud_client.js +84 -30
- package/tencentcloud/services/iotcloud/v20210408/iotcloud_models.d.ts +497 -77
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +1 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +1 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +12 -7
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +5 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +6 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +47 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +5 -7
- package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +62 -23
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +2 -2
- package/tencentcloud/services/thpc/index.d.ts +4 -0
- package/tencentcloud/services/thpc/index.js +2 -0
- package/tencentcloud/services/thpc/v20211109/thpc_client.d.ts +1 -1
- package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +79 -12
- package/tencentcloud/services/thpc/v20220401/index.d.ts +6 -0
- package/tencentcloud/services/thpc/v20220401/index.js +9 -0
- package/tencentcloud/services/thpc/v20220401/thpc_client.d.ts +34 -0
- package/tencentcloud/services/thpc/v20220401/thpc_client.js +67 -0
- package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +671 -0
- package/tencentcloud/services/thpc/v20220401/thpc_models.js +18 -0
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +19 -3
- package/tencentcloud/services/tke/v20180525/tke_client.js +27 -3
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +337 -100
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +2 -2
- package/tencentcloud/services/wav/v20210129/wav_client.d.ts +51 -27
- package/tencentcloud/services/wav/v20210129/wav_client.js +75 -39
- package/tencentcloud/services/wav/v20210129/wav_models.d.ts +459 -24
- package/test/as.v20180419.test.js +0 -10
- package/test/bsca.v20210811.test.js +61 -0
- package/test/cam.v20190116.test.js +42 -2
- package/test/iotcloud.v20180614.test.js +20 -0
- package/test/iotcloud.v20210408.test.js +110 -20
- package/test/mongodb.v20190725.test.js +10 -0
- package/test/thpc.v20220401.test.js +81 -0
- package/test/tke.v20180525.test.js +42 -2
- package/test/wav.v20210129.test.js +86 -26
|
@@ -45,6 +45,12 @@ export interface TextResult {
|
|
|
45
45
|
2:自定义库;
|
|
46
46
|
*/
|
|
47
47
|
LibType: number;
|
|
48
|
+
/**
|
|
49
|
+
* 该字段用于返回当前标签(Lable)下的二级标签。
|
|
50
|
+
注意:此字段可能返回null,表示取不到有效值。
|
|
51
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
52
|
+
*/
|
|
53
|
+
SubLabel: string;
|
|
48
54
|
}
|
|
49
55
|
/**
|
|
50
56
|
* DescribeTasks请求参数结构体
|
|
@@ -525,6 +531,12 @@ export interface MoanResult {
|
|
|
525
531
|
* 违规事件结束时间,单位为毫秒(ms);
|
|
526
532
|
*/
|
|
527
533
|
EndTime: number;
|
|
534
|
+
/**
|
|
535
|
+
* 该字段用于返回当前标签(Lable)下的二级标签。
|
|
536
|
+
注意:此字段可能返回null,表示取不到有效值。
|
|
537
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
538
|
+
*/
|
|
539
|
+
SubLabel: string;
|
|
528
540
|
}
|
|
529
541
|
/**
|
|
530
542
|
* CancelTask返回参数结构体
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DisableAutoScalingGroupResponse, ModifyLaunchConfigurationAttributesRequest, DisableAutoScalingGroupRequest, ModifyAutoScalingGroupRequest, ScaleOutInstancesRequest, ModifyScheduledActionRequest, DescribeAutoScalingGroupsRequest, DescribeAccountLimitsResponse, CreateLaunchConfigurationResponse, CreateLifecycleHookResponse, ClearLaunchConfigurationAttributesResponse, DescribeAutoScalingGroupsResponse, CreateScheduledActionRequest, StopAutoScalingInstancesResponse, DescribeScalingPoliciesRequest, ModifyScheduledActionResponse, AttachLoadBalancersResponse, ExecuteScalingPolicyResponse, DeleteAutoScalingGroupRequest, SetInstancesProtectionResponse, StartAutoScalingInstancesResponse, CompleteLifecycleActionRequest, CreateScalingPolicyResponse, CreateNotificationConfigurationResponse, DescribeLaunchConfigurationsResponse, RemoveInstancesRequest, DeleteScalingPolicyResponse, DetachLoadBalancersRequest, DescribeAutoScalingInstancesRequest, ModifyLoadBalancersRequest, RemoveInstancesResponse, ModifyScalingPolicyResponse, SetInstancesProtectionRequest, DeleteNotificationConfigurationResponse, DetachInstancesResponse, ModifyLaunchConfigurationAttributesResponse, CreateLaunchConfigurationRequest, AttachInstancesResponse, DescribeAutoScalingGroupLastActivitiesResponse, DescribeAccountLimitsRequest, UpgradeLifecycleHookRequest, DetachLoadBalancersResponse, DescribeAutoScalingGroupLastActivitiesRequest, ModifyLoadBalancersResponse,
|
|
3
|
+
import { DisableAutoScalingGroupResponse, ModifyLaunchConfigurationAttributesRequest, DisableAutoScalingGroupRequest, ModifyAutoScalingGroupRequest, ScaleOutInstancesRequest, ModifyScheduledActionRequest, DescribeAutoScalingGroupsRequest, DescribeAccountLimitsResponse, CreateLaunchConfigurationResponse, CreateLifecycleHookResponse, ClearLaunchConfigurationAttributesResponse, DescribeAutoScalingGroupsResponse, CreateScheduledActionRequest, StopAutoScalingInstancesResponse, DescribeScalingPoliciesRequest, ModifyScheduledActionResponse, AttachLoadBalancersResponse, ExecuteScalingPolicyResponse, DeleteAutoScalingGroupRequest, SetInstancesProtectionResponse, StartAutoScalingInstancesResponse, CompleteLifecycleActionRequest, CreateScalingPolicyResponse, CreateNotificationConfigurationResponse, DescribeLaunchConfigurationsResponse, RemoveInstancesRequest, DeleteScalingPolicyResponse, DetachLoadBalancersRequest, DescribeAutoScalingInstancesRequest, ModifyLoadBalancersRequest, RemoveInstancesResponse, ModifyScalingPolicyResponse, SetInstancesProtectionRequest, DeleteNotificationConfigurationResponse, DetachInstancesResponse, ModifyLaunchConfigurationAttributesResponse, CreateLaunchConfigurationRequest, AttachInstancesResponse, DescribeAutoScalingGroupLastActivitiesResponse, DescribeAccountLimitsRequest, UpgradeLifecycleHookRequest, DetachLoadBalancersResponse, DescribeAutoScalingGroupLastActivitiesRequest, ModifyLoadBalancersResponse, CreateNotificationConfigurationRequest, DescribeScheduledActionsResponse, DeleteLifecycleHookRequest, ModifyLoadBalancerTargetAttributesResponse, ModifyAutoScalingGroupResponse, DeleteLaunchConfigurationRequest, ModifyScalingPolicyRequest, UpgradeLifecycleHookResponse, DescribeAutoScalingAdvicesResponse, CreateAutoScalingGroupRequest, DeleteScheduledActionResponse, UpgradeLaunchConfigurationRequest, DescribeAutoScalingActivitiesResponse, DescribeNotificationConfigurationsResponse, DeleteScalingPolicyRequest, CreateAutoScalingGroupFromInstanceResponse, DetachInstancesRequest, DescribeAutoScalingInstancesResponse, DeleteLaunchConfigurationResponse, DescribeScheduledActionsRequest, DeleteScheduledActionRequest, DescribeAutoScalingActivitiesRequest, ModifyDesiredCapacityRequest, CreateScheduledActionResponse, CreateLifecycleHookRequest, CompleteLifecycleActionResponse, ScaleOutInstancesResponse, DescribeLifecycleHooksRequest, CreateAutoScalingGroupResponse, ModifyNotificationConfigurationResponse, DescribeLifecycleHooksResponse, CreateScalingPolicyRequest, ScaleInInstancesResponse, DescribeAutoScalingAdvicesRequest, DeleteNotificationConfigurationRequest, DescribeLaunchConfigurationsRequest, ModifyLoadBalancerTargetAttributesRequest, DeleteAutoScalingGroupResponse, EnableAutoScalingGroupRequest, DescribeNotificationConfigurationsRequest, ScaleInInstancesRequest, ClearLaunchConfigurationAttributesRequest, StartAutoScalingInstancesRequest, AttachInstancesRequest, AttachLoadBalancersRequest, DescribeScalingPoliciesResponse, ModifyDesiredCapacityResponse, StopAutoScalingInstancesRequest, ModifyNotificationConfigurationRequest, CreateAutoScalingGroupFromInstanceRequest, EnableAutoScalingGroupResponse, UpgradeLaunchConfigurationResponse, DeleteLifecycleHookResponse, ExecuteScalingPolicyRequest } from "./as_models";
|
|
4
4
|
/**
|
|
5
5
|
* as client
|
|
6
6
|
* @class
|
|
@@ -266,13 +266,6 @@ export declare class Client extends AbstractClient {
|
|
|
266
266
|
* 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的启动配置。
|
|
267
267
|
*/
|
|
268
268
|
DescribeLaunchConfigurations(req: DescribeLaunchConfigurationsRequest, cb?: (error: string, rep: DescribeLaunchConfigurationsResponse) => void): Promise<DescribeLaunchConfigurationsResponse>;
|
|
269
|
-
/**
|
|
270
|
-
* 本接口(DescribePaiInstances)用于查询PAI实例信息。
|
|
271
|
-
|
|
272
|
-
* 可以根据实例ID、实例域名等信息来查询PAI实例的详细信息。过滤信息详细请见过滤器`Filter`。
|
|
273
|
-
* 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的PAI实例。
|
|
274
|
-
*/
|
|
275
|
-
DescribePaiInstances(req: DescribePaiInstancesRequest, cb?: (error: string, rep: DescribePaiInstancesResponse) => void): Promise<DescribePaiInstancesResponse>;
|
|
276
269
|
/**
|
|
277
270
|
* 本接口(CreateScalingPolicy)用于创建告警触发策略。
|
|
278
271
|
*/
|
|
@@ -358,15 +358,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
358
358
|
async DescribeLaunchConfigurations(req, cb) {
|
|
359
359
|
return this.request("DescribeLaunchConfigurations", req, cb);
|
|
360
360
|
}
|
|
361
|
-
/**
|
|
362
|
-
* 本接口(DescribePaiInstances)用于查询PAI实例信息。
|
|
363
|
-
|
|
364
|
-
* 可以根据实例ID、实例域名等信息来查询PAI实例的详细信息。过滤信息详细请见过滤器`Filter`。
|
|
365
|
-
* 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的PAI实例。
|
|
366
|
-
*/
|
|
367
|
-
async DescribePaiInstances(req, cb) {
|
|
368
|
-
return this.request("DescribePaiInstances", req, cb);
|
|
369
|
-
}
|
|
370
361
|
/**
|
|
371
362
|
* 本接口(CreateScalingPolicy)用于创建告警触发策略。
|
|
372
363
|
*/
|
|
@@ -1417,27 +1417,6 @@ export interface ModifyLoadBalancersResponse {
|
|
|
1417
1417
|
*/
|
|
1418
1418
|
RequestId?: string;
|
|
1419
1419
|
}
|
|
1420
|
-
/**
|
|
1421
|
-
* DescribePaiInstances请求参数结构体
|
|
1422
|
-
*/
|
|
1423
|
-
export interface DescribePaiInstancesRequest {
|
|
1424
|
-
/**
|
|
1425
|
-
* 依据PAI实例的实例ID进行查询。
|
|
1426
|
-
*/
|
|
1427
|
-
InstanceIds?: Array<string>;
|
|
1428
|
-
/**
|
|
1429
|
-
* 过滤条件。
|
|
1430
|
-
*/
|
|
1431
|
-
Filters?: Array<Filter>;
|
|
1432
|
-
/**
|
|
1433
|
-
* 返回数量,默认为20,最大值为100。
|
|
1434
|
-
*/
|
|
1435
|
-
Limit?: number;
|
|
1436
|
-
/**
|
|
1437
|
-
* 偏移量,默认为0。
|
|
1438
|
-
*/
|
|
1439
|
-
Offset?: number;
|
|
1440
|
-
}
|
|
1441
1420
|
/**
|
|
1442
1421
|
* CreateNotificationConfiguration请求参数结构体
|
|
1443
1422
|
*/
|
|
@@ -1497,37 +1476,6 @@ export interface DescribeScheduledActionsResponse {
|
|
|
1497
1476
|
*/
|
|
1498
1477
|
RequestId?: string;
|
|
1499
1478
|
}
|
|
1500
|
-
/**
|
|
1501
|
-
* ModifyNotificationConfiguration请求参数结构体
|
|
1502
|
-
*/
|
|
1503
|
-
export interface ModifyNotificationConfigurationRequest {
|
|
1504
|
-
/**
|
|
1505
|
-
* 待修改的通知ID。
|
|
1506
|
-
*/
|
|
1507
|
-
AutoScalingNotificationId: string;
|
|
1508
|
-
/**
|
|
1509
|
-
* 通知类型,即为需要订阅的通知类型集合,取值范围如下:
|
|
1510
|
-
<li>SCALE_OUT_SUCCESSFUL:扩容成功</li>
|
|
1511
|
-
<li>SCALE_OUT_FAILED:扩容失败</li>
|
|
1512
|
-
<li>SCALE_IN_SUCCESSFUL:缩容成功</li>
|
|
1513
|
-
<li>SCALE_IN_FAILED:缩容失败</li>
|
|
1514
|
-
<li>REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功</li>
|
|
1515
|
-
<li>REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败</li>
|
|
1516
|
-
*/
|
|
1517
|
-
NotificationTypes?: Array<string>;
|
|
1518
|
-
/**
|
|
1519
|
-
* 通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)查询。
|
|
1520
|
-
*/
|
|
1521
|
-
NotificationUserGroupIds?: Array<string>;
|
|
1522
|
-
/**
|
|
1523
|
-
* CMQ 队列或 TDMQ CMQ 队列名。
|
|
1524
|
-
*/
|
|
1525
|
-
QueueName?: string;
|
|
1526
|
-
/**
|
|
1527
|
-
* CMQ 主题或 TDMQ CMQ 主题名。
|
|
1528
|
-
*/
|
|
1529
|
-
TopicName?: string;
|
|
1530
|
-
}
|
|
1531
1479
|
/**
|
|
1532
1480
|
* DeleteLifecycleHook请求参数结构体
|
|
1533
1481
|
*/
|
|
@@ -1638,23 +1586,6 @@ export interface InstanceTag {
|
|
|
1638
1586
|
*/
|
|
1639
1587
|
Value: string;
|
|
1640
1588
|
}
|
|
1641
|
-
/**
|
|
1642
|
-
* PAI实例
|
|
1643
|
-
*/
|
|
1644
|
-
export interface PaiInstance {
|
|
1645
|
-
/**
|
|
1646
|
-
* 实例ID
|
|
1647
|
-
*/
|
|
1648
|
-
InstanceId: string;
|
|
1649
|
-
/**
|
|
1650
|
-
* 实例域名
|
|
1651
|
-
*/
|
|
1652
|
-
DomainName: string;
|
|
1653
|
-
/**
|
|
1654
|
-
* PAI管理页面URL
|
|
1655
|
-
*/
|
|
1656
|
-
PaiMateUrl: string;
|
|
1657
|
-
}
|
|
1658
1589
|
/**
|
|
1659
1590
|
* DescribeAutoScalingAdvices返回参数结构体
|
|
1660
1591
|
*/
|
|
@@ -3048,13 +2979,35 @@ export interface RunMonitorServiceEnabled {
|
|
|
3048
2979
|
Enabled?: boolean;
|
|
3049
2980
|
}
|
|
3050
2981
|
/**
|
|
3051
|
-
*
|
|
2982
|
+
* ModifyNotificationConfiguration请求参数结构体
|
|
3052
2983
|
*/
|
|
3053
|
-
export interface
|
|
2984
|
+
export interface ModifyNotificationConfigurationRequest {
|
|
3054
2985
|
/**
|
|
3055
|
-
*
|
|
2986
|
+
* 待修改的通知ID。
|
|
3056
2987
|
*/
|
|
3057
|
-
|
|
2988
|
+
AutoScalingNotificationId: string;
|
|
2989
|
+
/**
|
|
2990
|
+
* 通知类型,即为需要订阅的通知类型集合,取值范围如下:
|
|
2991
|
+
<li>SCALE_OUT_SUCCESSFUL:扩容成功</li>
|
|
2992
|
+
<li>SCALE_OUT_FAILED:扩容失败</li>
|
|
2993
|
+
<li>SCALE_IN_SUCCESSFUL:缩容成功</li>
|
|
2994
|
+
<li>SCALE_IN_FAILED:缩容失败</li>
|
|
2995
|
+
<li>REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功</li>
|
|
2996
|
+
<li>REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败</li>
|
|
2997
|
+
*/
|
|
2998
|
+
NotificationTypes?: Array<string>;
|
|
2999
|
+
/**
|
|
3000
|
+
* 通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)查询。
|
|
3001
|
+
*/
|
|
3002
|
+
NotificationUserGroupIds?: Array<string>;
|
|
3003
|
+
/**
|
|
3004
|
+
* CMQ 队列或 TDMQ CMQ 队列名。
|
|
3005
|
+
*/
|
|
3006
|
+
QueueName?: string;
|
|
3007
|
+
/**
|
|
3008
|
+
* CMQ 主题或 TDMQ CMQ 主题名。
|
|
3009
|
+
*/
|
|
3010
|
+
TopicName?: string;
|
|
3058
3011
|
}
|
|
3059
3012
|
/**
|
|
3060
3013
|
* 与本次伸缩活动相关的实例信息。
|
|
@@ -3159,17 +3112,9 @@ export interface InstanceChargePrepaid {
|
|
|
3159
3112
|
RenewFlag?: string;
|
|
3160
3113
|
}
|
|
3161
3114
|
/**
|
|
3162
|
-
*
|
|
3115
|
+
* DeleteLifecycleHook返回参数结构体
|
|
3163
3116
|
*/
|
|
3164
|
-
export interface
|
|
3165
|
-
/**
|
|
3166
|
-
* 符合条件的PAI实例数量
|
|
3167
|
-
*/
|
|
3168
|
-
TotalCount?: number;
|
|
3169
|
-
/**
|
|
3170
|
-
* PAI实例详细信息
|
|
3171
|
-
*/
|
|
3172
|
-
PaiInstanceSet?: Array<PaiInstance>;
|
|
3117
|
+
export interface DeleteLifecycleHookResponse {
|
|
3173
3118
|
/**
|
|
3174
3119
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3175
3120
|
*/
|
|
@@ -350,7 +350,7 @@ export interface Task {
|
|
|
350
350
|
*/
|
|
351
351
|
RestartComputeNode?: boolean;
|
|
352
352
|
/**
|
|
353
|
-
* 启动任务过程中,创建计算资源如CVM失败后的最大重试次数,默认为0。
|
|
353
|
+
* 启动任务过程中,创建计算资源如CVM失败后的最大重试次数,默认为0。最大值100。
|
|
354
354
|
*/
|
|
355
355
|
ResourceMaxRetryCount?: number;
|
|
356
356
|
}
|
|
@@ -412,11 +412,11 @@ export interface DescribeComputeEnvActivitiesResponse {
|
|
|
412
412
|
/**
|
|
413
413
|
* 计算环境中的活动列表
|
|
414
414
|
*/
|
|
415
|
-
ActivitySet
|
|
415
|
+
ActivitySet: Array<Activity>;
|
|
416
416
|
/**
|
|
417
417
|
* 活动数量
|
|
418
418
|
*/
|
|
419
|
-
TotalCount
|
|
419
|
+
TotalCount: number;
|
|
420
420
|
/**
|
|
421
421
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
422
422
|
*/
|
|
@@ -608,52 +608,52 @@ export interface DescribeComputeEnvResponse {
|
|
|
608
608
|
/**
|
|
609
609
|
* 计算环境ID
|
|
610
610
|
*/
|
|
611
|
-
EnvId
|
|
611
|
+
EnvId: string;
|
|
612
612
|
/**
|
|
613
613
|
* 计算环境名称
|
|
614
614
|
*/
|
|
615
|
-
EnvName
|
|
615
|
+
EnvName: string;
|
|
616
616
|
/**
|
|
617
617
|
* 位置信息
|
|
618
618
|
*/
|
|
619
|
-
Placement
|
|
619
|
+
Placement: Placement;
|
|
620
620
|
/**
|
|
621
621
|
* 计算环境创建时间
|
|
622
622
|
*/
|
|
623
|
-
CreateTime
|
|
623
|
+
CreateTime: string;
|
|
624
624
|
/**
|
|
625
625
|
* 计算节点列表信息
|
|
626
626
|
*/
|
|
627
|
-
ComputeNodeSet
|
|
627
|
+
ComputeNodeSet: Array<ComputeNode>;
|
|
628
628
|
/**
|
|
629
629
|
* 计算节点统计指标
|
|
630
630
|
*/
|
|
631
|
-
ComputeNodeMetrics
|
|
631
|
+
ComputeNodeMetrics: ComputeNodeMetrics;
|
|
632
632
|
/**
|
|
633
633
|
* 计算节点期望个数
|
|
634
634
|
*/
|
|
635
|
-
DesiredComputeNodeCount
|
|
635
|
+
DesiredComputeNodeCount: number;
|
|
636
636
|
/**
|
|
637
637
|
* 计算环境类型
|
|
638
638
|
*/
|
|
639
|
-
EnvType
|
|
639
|
+
EnvType: string;
|
|
640
640
|
/**
|
|
641
641
|
* 计算环境资源类型,当前为CVM和CPM(黑石)
|
|
642
642
|
*/
|
|
643
|
-
ResourceType
|
|
643
|
+
ResourceType: string;
|
|
644
644
|
/**
|
|
645
645
|
* 下一步动作
|
|
646
646
|
*/
|
|
647
|
-
NextAction
|
|
647
|
+
NextAction: string;
|
|
648
648
|
/**
|
|
649
649
|
* 用户添加到计算环境中的计算节点个数
|
|
650
650
|
*/
|
|
651
|
-
AttachedComputeNodeCount
|
|
651
|
+
AttachedComputeNodeCount: number;
|
|
652
652
|
/**
|
|
653
653
|
* 计算环境绑定的标签列表。
|
|
654
654
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
655
655
|
*/
|
|
656
|
-
Tags
|
|
656
|
+
Tags: Array<Tag>;
|
|
657
657
|
/**
|
|
658
658
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
659
659
|
*/
|
|
@@ -666,7 +666,7 @@ export interface DescribeCpmOsInfoResponse {
|
|
|
666
666
|
/**
|
|
667
667
|
* 操作系统信息列表。
|
|
668
668
|
*/
|
|
669
|
-
OsInfoSet
|
|
669
|
+
OsInfoSet: Array<OsInfo>;
|
|
670
670
|
/**
|
|
671
671
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
672
672
|
*/
|
|
@@ -1058,49 +1058,49 @@ export interface DescribeComputeEnvCreateInfoResponse {
|
|
|
1058
1058
|
/**
|
|
1059
1059
|
* 计算环境 ID
|
|
1060
1060
|
*/
|
|
1061
|
-
EnvId
|
|
1061
|
+
EnvId: string;
|
|
1062
1062
|
/**
|
|
1063
1063
|
* 计算环境名称
|
|
1064
1064
|
*/
|
|
1065
|
-
EnvName
|
|
1065
|
+
EnvName: string;
|
|
1066
1066
|
/**
|
|
1067
1067
|
* 计算环境描述
|
|
1068
1068
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1069
1069
|
*/
|
|
1070
|
-
EnvDescription
|
|
1070
|
+
EnvDescription: string;
|
|
1071
1071
|
/**
|
|
1072
1072
|
* 计算环境类型,仅支持“MANAGED”类型
|
|
1073
1073
|
*/
|
|
1074
|
-
EnvType
|
|
1074
|
+
EnvType: string;
|
|
1075
1075
|
/**
|
|
1076
1076
|
* 计算环境参数
|
|
1077
1077
|
*/
|
|
1078
|
-
EnvData
|
|
1078
|
+
EnvData: EnvData;
|
|
1079
1079
|
/**
|
|
1080
1080
|
* 数据盘挂载选项
|
|
1081
1081
|
*/
|
|
1082
|
-
MountDataDisks
|
|
1082
|
+
MountDataDisks: Array<MountDataDisk>;
|
|
1083
1083
|
/**
|
|
1084
1084
|
* 输入映射
|
|
1085
1085
|
*/
|
|
1086
|
-
InputMappings
|
|
1086
|
+
InputMappings: Array<InputMapping>;
|
|
1087
1087
|
/**
|
|
1088
1088
|
* 授权信息
|
|
1089
1089
|
*/
|
|
1090
|
-
Authentications
|
|
1090
|
+
Authentications: Array<Authentication>;
|
|
1091
1091
|
/**
|
|
1092
1092
|
* 通知信息
|
|
1093
1093
|
*/
|
|
1094
|
-
Notifications
|
|
1094
|
+
Notifications: Array<Notification>;
|
|
1095
1095
|
/**
|
|
1096
1096
|
* 计算节点期望个数
|
|
1097
1097
|
*/
|
|
1098
|
-
DesiredComputeNodeCount
|
|
1098
|
+
DesiredComputeNodeCount: number;
|
|
1099
1099
|
/**
|
|
1100
1100
|
* 计算环境绑定的标签列表
|
|
1101
1101
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1102
1102
|
*/
|
|
1103
|
-
Tags
|
|
1103
|
+
Tags: Array<Tag>;
|
|
1104
1104
|
/**
|
|
1105
1105
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1106
1106
|
*/
|
|
@@ -1225,11 +1225,11 @@ export interface DescribeTaskTemplatesResponse {
|
|
|
1225
1225
|
/**
|
|
1226
1226
|
* 任务模板列表
|
|
1227
1227
|
*/
|
|
1228
|
-
TaskTemplateSet
|
|
1228
|
+
TaskTemplateSet: Array<TaskTemplateView>;
|
|
1229
1229
|
/**
|
|
1230
1230
|
* 任务模板数量
|
|
1231
1231
|
*/
|
|
1232
|
-
TotalCount
|
|
1232
|
+
TotalCount: number;
|
|
1233
1233
|
/**
|
|
1234
1234
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1235
1235
|
*/
|
|
@@ -1281,11 +1281,11 @@ export interface DescribeTaskLogsResponse {
|
|
|
1281
1281
|
/**
|
|
1282
1282
|
* 任务实例总数
|
|
1283
1283
|
*/
|
|
1284
|
-
TotalCount
|
|
1284
|
+
TotalCount: number;
|
|
1285
1285
|
/**
|
|
1286
1286
|
* 任务实例日志详情集合
|
|
1287
1287
|
*/
|
|
1288
|
-
TaskInstanceLogSet
|
|
1288
|
+
TaskInstanceLogSet: Array<TaskInstanceLog>;
|
|
1289
1289
|
/**
|
|
1290
1290
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1291
1291
|
*/
|
|
@@ -1332,7 +1332,7 @@ export interface NamedCpmComputeEnv {
|
|
|
1332
1332
|
*/
|
|
1333
1333
|
ActionIfComputeNodeInactive?: string;
|
|
1334
1334
|
/**
|
|
1335
|
-
* 对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值
|
|
1335
|
+
* 对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值100,如果不设置的话,系统会设置一个默认值,当前为7。
|
|
1336
1336
|
*/
|
|
1337
1337
|
ResourceMaxRetryCount?: number;
|
|
1338
1338
|
/**
|
|
@@ -1363,61 +1363,61 @@ export interface DescribeJobResponse {
|
|
|
1363
1363
|
/**
|
|
1364
1364
|
* 作业ID
|
|
1365
1365
|
*/
|
|
1366
|
-
JobId
|
|
1366
|
+
JobId: string;
|
|
1367
1367
|
/**
|
|
1368
1368
|
* 作业名称
|
|
1369
1369
|
*/
|
|
1370
|
-
JobName
|
|
1370
|
+
JobName: string;
|
|
1371
1371
|
/**
|
|
1372
1372
|
* 可用区信息
|
|
1373
1373
|
*/
|
|
1374
|
-
Zone
|
|
1374
|
+
Zone: string;
|
|
1375
1375
|
/**
|
|
1376
1376
|
* 作业优先级
|
|
1377
1377
|
*/
|
|
1378
|
-
Priority
|
|
1378
|
+
Priority: number;
|
|
1379
1379
|
/**
|
|
1380
1380
|
* 作业状态
|
|
1381
1381
|
*/
|
|
1382
|
-
JobState
|
|
1382
|
+
JobState: string;
|
|
1383
1383
|
/**
|
|
1384
1384
|
* 创建时间
|
|
1385
1385
|
*/
|
|
1386
|
-
CreateTime
|
|
1386
|
+
CreateTime: string;
|
|
1387
1387
|
/**
|
|
1388
1388
|
* 结束时间
|
|
1389
1389
|
*/
|
|
1390
|
-
EndTime
|
|
1390
|
+
EndTime: string;
|
|
1391
1391
|
/**
|
|
1392
1392
|
* 任务视图信息
|
|
1393
1393
|
*/
|
|
1394
|
-
TaskSet
|
|
1394
|
+
TaskSet: Array<TaskView>;
|
|
1395
1395
|
/**
|
|
1396
1396
|
* 任务间依赖信息
|
|
1397
1397
|
*/
|
|
1398
|
-
DependenceSet
|
|
1398
|
+
DependenceSet: Array<Dependence>;
|
|
1399
1399
|
/**
|
|
1400
1400
|
* 任务统计指标
|
|
1401
1401
|
*/
|
|
1402
|
-
TaskMetrics
|
|
1402
|
+
TaskMetrics: TaskMetrics;
|
|
1403
1403
|
/**
|
|
1404
1404
|
* 任务实例统计指标
|
|
1405
1405
|
*/
|
|
1406
|
-
TaskInstanceMetrics
|
|
1406
|
+
TaskInstanceMetrics: TaskInstanceMetrics;
|
|
1407
1407
|
/**
|
|
1408
1408
|
* 作业失败原因
|
|
1409
1409
|
*/
|
|
1410
|
-
StateReason
|
|
1410
|
+
StateReason: string;
|
|
1411
1411
|
/**
|
|
1412
1412
|
* 作业绑定的标签列表。
|
|
1413
1413
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1414
1414
|
*/
|
|
1415
|
-
Tags
|
|
1415
|
+
Tags: Array<Tag>;
|
|
1416
1416
|
/**
|
|
1417
1417
|
* 下一步动作
|
|
1418
1418
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1419
1419
|
*/
|
|
1420
|
-
NextAction
|
|
1420
|
+
NextAction: string;
|
|
1421
1421
|
/**
|
|
1422
1422
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1423
1423
|
*/
|
|
@@ -1569,7 +1569,7 @@ export interface NamedComputeEnv {
|
|
|
1569
1569
|
*/
|
|
1570
1570
|
ActionIfComputeNodeInactive?: string;
|
|
1571
1571
|
/**
|
|
1572
|
-
* 对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值
|
|
1572
|
+
* 对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值100,如果不设置的话,系统会设置一个默认值,当前为7
|
|
1573
1573
|
*/
|
|
1574
1574
|
ResourceMaxRetryCount?: number;
|
|
1575
1575
|
/**
|
|
@@ -1708,32 +1708,32 @@ export interface DescribeJobSubmitInfoResponse {
|
|
|
1708
1708
|
/**
|
|
1709
1709
|
* 作业ID
|
|
1710
1710
|
*/
|
|
1711
|
-
JobId
|
|
1711
|
+
JobId: string;
|
|
1712
1712
|
/**
|
|
1713
1713
|
* 作业名称
|
|
1714
1714
|
*/
|
|
1715
|
-
JobName
|
|
1715
|
+
JobName: string;
|
|
1716
1716
|
/**
|
|
1717
1717
|
* 作业描述
|
|
1718
1718
|
*/
|
|
1719
|
-
JobDescription
|
|
1719
|
+
JobDescription: string;
|
|
1720
1720
|
/**
|
|
1721
1721
|
* 作业优先级,任务(Task)和任务实例(TaskInstance)会继承作业优先级
|
|
1722
1722
|
*/
|
|
1723
|
-
Priority
|
|
1723
|
+
Priority: number;
|
|
1724
1724
|
/**
|
|
1725
1725
|
* 任务信息
|
|
1726
1726
|
*/
|
|
1727
|
-
Tasks
|
|
1727
|
+
Tasks: Array<Task>;
|
|
1728
1728
|
/**
|
|
1729
1729
|
* 依赖信息
|
|
1730
1730
|
*/
|
|
1731
|
-
Dependences
|
|
1731
|
+
Dependences: Array<Dependence>;
|
|
1732
1732
|
/**
|
|
1733
1733
|
* 作业绑定的标签列表。
|
|
1734
1734
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1735
1735
|
*/
|
|
1736
|
-
Tags
|
|
1736
|
+
Tags: Array<Tag>;
|
|
1737
1737
|
/**
|
|
1738
1738
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1739
1739
|
*/
|
|
@@ -1746,11 +1746,11 @@ export interface DescribeComputeEnvCreateInfosResponse {
|
|
|
1746
1746
|
/**
|
|
1747
1747
|
* 计算环境数量
|
|
1748
1748
|
*/
|
|
1749
|
-
TotalCount
|
|
1749
|
+
TotalCount: number;
|
|
1750
1750
|
/**
|
|
1751
1751
|
* 计算环境创建信息列表
|
|
1752
1752
|
*/
|
|
1753
|
-
ComputeEnvCreateInfoSet
|
|
1753
|
+
ComputeEnvCreateInfoSet: Array<ComputeEnvCreateInfo>;
|
|
1754
1754
|
/**
|
|
1755
1755
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1756
1756
|
*/
|
|
@@ -2240,7 +2240,7 @@ export interface CreateTaskTemplateResponse {
|
|
|
2240
2240
|
/**
|
|
2241
2241
|
* 任务模板ID
|
|
2242
2242
|
*/
|
|
2243
|
-
TaskTemplateId
|
|
2243
|
+
TaskTemplateId: string;
|
|
2244
2244
|
/**
|
|
2245
2245
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2246
2246
|
*/
|
|
@@ -2473,35 +2473,35 @@ export interface DescribeTaskResponse {
|
|
|
2473
2473
|
/**
|
|
2474
2474
|
* 作业ID
|
|
2475
2475
|
*/
|
|
2476
|
-
JobId
|
|
2476
|
+
JobId: string;
|
|
2477
2477
|
/**
|
|
2478
2478
|
* 任务名称
|
|
2479
2479
|
*/
|
|
2480
|
-
TaskName
|
|
2480
|
+
TaskName: string;
|
|
2481
2481
|
/**
|
|
2482
2482
|
* 任务状态
|
|
2483
2483
|
*/
|
|
2484
|
-
TaskState
|
|
2484
|
+
TaskState: string;
|
|
2485
2485
|
/**
|
|
2486
2486
|
* 创建时间
|
|
2487
2487
|
*/
|
|
2488
|
-
CreateTime
|
|
2488
|
+
CreateTime: string;
|
|
2489
2489
|
/**
|
|
2490
2490
|
* 结束时间
|
|
2491
2491
|
*/
|
|
2492
|
-
EndTime
|
|
2492
|
+
EndTime: string;
|
|
2493
2493
|
/**
|
|
2494
2494
|
* 任务实例总数
|
|
2495
2495
|
*/
|
|
2496
|
-
TaskInstanceTotalCount
|
|
2496
|
+
TaskInstanceTotalCount: number;
|
|
2497
2497
|
/**
|
|
2498
2498
|
* 任务实例信息
|
|
2499
2499
|
*/
|
|
2500
|
-
TaskInstanceSet
|
|
2500
|
+
TaskInstanceSet: Array<TaskInstanceView>;
|
|
2501
2501
|
/**
|
|
2502
2502
|
* 任务实例统计指标
|
|
2503
2503
|
*/
|
|
2504
|
-
TaskInstanceMetrics
|
|
2504
|
+
TaskInstanceMetrics: TaskInstanceMetrics;
|
|
2505
2505
|
/**
|
|
2506
2506
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2507
2507
|
*/
|
|
@@ -2577,11 +2577,11 @@ export interface DescribeComputeEnvsResponse {
|
|
|
2577
2577
|
/**
|
|
2578
2578
|
* 计算环境列表
|
|
2579
2579
|
*/
|
|
2580
|
-
ComputeEnvSet
|
|
2580
|
+
ComputeEnvSet: Array<ComputeEnvView>;
|
|
2581
2581
|
/**
|
|
2582
2582
|
* 计算环境数量
|
|
2583
2583
|
*/
|
|
2584
|
-
TotalCount
|
|
2584
|
+
TotalCount: number;
|
|
2585
2585
|
/**
|
|
2586
2586
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2587
2587
|
*/
|
|
@@ -2675,11 +2675,11 @@ export interface DescribeJobsResponse {
|
|
|
2675
2675
|
/**
|
|
2676
2676
|
* 作业列表
|
|
2677
2677
|
*/
|
|
2678
|
-
JobSet
|
|
2678
|
+
JobSet: Array<JobView>;
|
|
2679
2679
|
/**
|
|
2680
2680
|
* 符合条件的作业数量
|
|
2681
2681
|
*/
|
|
2682
|
-
TotalCount
|
|
2682
|
+
TotalCount: number;
|
|
2683
2683
|
/**
|
|
2684
2684
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2685
2685
|
*/
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
|
+
import { ClientConfig } from "../../../common/interface";
|
|
3
|
+
import { DescribeKBComponentVulnerabilityRequest, DescribeKBComponentVulnerabilityResponse, DescribeKBVulnerabilityResponse, DescribeKBLicenseResponse, DescribeKBVulnerabilityRequest, DescribeKBComponentResponse, DescribeKBLicenseRequest, DescribeKBComponentRequest } from "./bsca_models";
|
|
4
|
+
/**
|
|
5
|
+
* bsca client
|
|
6
|
+
* @class
|
|
7
|
+
*/
|
|
8
|
+
export declare class Client extends AbstractClient {
|
|
9
|
+
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 本接口(DescribeKBComponentVulnerability)用于在知识库中查询开源组件的漏洞信息。
|
|
12
|
+
*/
|
|
13
|
+
DescribeKBComponentVulnerability(req: DescribeKBComponentVulnerabilityRequest, cb?: (error: string, rep: DescribeKBComponentVulnerabilityResponse) => void): Promise<DescribeKBComponentVulnerabilityResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* 本接口(DescribeKBComponent)用于在知识库中查询开源组件信息。本接口根据用户输入的PURL在知识库中寻找对应的开源组件,其中Name为必填字段。
|
|
16
|
+
*/
|
|
17
|
+
DescribeKBComponent(req: DescribeKBComponentRequest, cb?: (error: string, rep: DescribeKBComponentResponse) => void): Promise<DescribeKBComponentResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* 本接口(DescribeKBLicense)用于在知识库中查询许可证信息。
|
|
20
|
+
*/
|
|
21
|
+
DescribeKBLicense(req: DescribeKBLicenseRequest, cb?: (error: string, rep: DescribeKBLicenseResponse) => void): Promise<DescribeKBLicenseResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* 本接口(DescribeKBVulnerability)用于在知识库中查询漏洞详细信息,支持根据CVE ID查询或者根据Vul ID查询。
|
|
24
|
+
*/
|
|
25
|
+
DescribeKBVulnerability(req: DescribeKBVulnerabilityRequest, cb?: (error: string, rep: DescribeKBVulnerabilityResponse) => void): Promise<DescribeKBVulnerabilityResponse>;
|
|
26
|
+
}
|